feat: support for u128

Description
Problem*
Resolves
Summary*
First basic implementation of u128 in Noir, doing only addition, and with some conversion utilities.
It assumes the base field is larger than 128 bits.
Additional Context
Documentation*
No documentation yet because it is an on-going development (more PRs will follow) of an experimental feature
Check one:

[X No documentation needed.
[ ] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

It assumes the base field is larger than 128 bits.

We have the modulus_num_bits stdlib function  which we can assert on.

We have the modulus_num_bits stdlib function which we can assert on. This'll then get compiled out again if we're using a compatible field.

Good point, but I wonder where I would add the check. Doing it on every function seems laborious, may be in a U128::new(lo,hi) function?

Yeah, I think a new function would be useful here. We don't want users to be instantiating this directly due to the risk of passing invalid values anyway.

I have enriched the features with subtraction, multiplication and division, and the new() method as well.

I added the U128 to the prelude and have the frontend to replace u128 with U128 under the hood so it can be used like a native type.

I've implemented the Ord trait and switched over to using operator overloads rather than calling methods directly.

What is there left to do on this?

u128 is reverted to U128, PR should be ready for merge.


[link] live demo bugs

Live demo bugs:

Missing visited state
Missing size modifiers

Replaced with storybook demo https://github.com/carbon-design-system/carbon-website/pull/3716


Added link to jQuery code

Added link to use jQuery in your page

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

Thank you for your contribution.  At this time we have decided not to merge your pull request.  We welcome future pull requests from you.
Reason:

We won't accept a PR that only adds links to the More Information or References section.

Please reference how to work on guide articles when submitting new PRs for guide updates.
Happy Coding!


Object.assign should be transpiled when language out is ES5

If I compile code with the language_in as ES6 and language_out as ES5 then Object.assign should undergo transpilation since the feature is not available in the ES5 spec.

Maybe it uses a polyfill?
Jeff
From: Marc Fallows<EMAIL_ADDRESS>Sent: Monday, June 20, 2016 2:39 AM
To: google/closure-compiler<EMAIL_ADDRESS>Subject: [google/closure-compiler] Object.assign should be transpiled when language out is ES5 (#1853)
If I compile code with the language_in as ES6 and language_out as ES5 then Object.assign should undergo transpilation since the feature is not available in the ES5 spec.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/google/closure-compiler/issues/1853 , or mute the thread https://github.com/notifications/unsubscribe/AGxpM2IVlPAU5OKntD-pOyjS_WghUMyXks5qNjWRgaJpZM4I5Zql .  https://github.com/notifications/beacon/AGxpM4SdT6cveX32xUTTVQRqo0fN1WlWks5qNjWRgaJpZM4I5Zql.gif

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

This is a polyfill, defined here:
https://github.com/google/closure-compiler/blob/master/src/com/google/javascript/jscomp/js/es6/object.js#L34
To use the polyfilles, pass the flag --rewrite_polyfills.

Thanks @dimvar, I wasn't aware that this was a flag and just assumed it would be default behaviour. This addresses my issue completely.


Fix issue 347 by adding plausibility check to URI schemes

Task/Issue URL: #347
Problem: Anything before the first instance of a ‘:’ is interpreted as a scheme, even if it is not plausible for it to be a valid scheme.  For example, for “foo site:duckduckgo.com”, the scheme is thought to be “foo site”; for “:wq”, the scheme is thought to be “”.  Hence, both examples are erroneously treated as intent links.
Solution: I thought this problem was a good candidate for a regular expression.  Before trying to process the uri as an intent, the “scheme” is now checked against a regex pattern to see if its validity is plausible.  If it is not plausible, a search query is launched.  This brings the behavior in line with how I would expect the browser to handle various schemes.
Thoughts: It bothers me that there are two lines in the when statement that both launch a search query.  Is there possibly a better way to write this?  I am a newcomer to Kotlin and I have not investigated this much as I would like to hear some thoughts on this approach before I delve deeper into this.
Steps to test this PR:
1. Test various invalid schemes that do not conform to the regex pattern and verify that they result in a search query.
2. Test intent links and other valid/invalid schemes that conform to the regex pattern and verify that they behave as expected.

Internal references:
Software Engineering Expectations
Technical Design Template

Hey, thanks for getting the ball rolling on this.
I'm not sure if a regex is the best way here; it's hard to predict what a valid scheme is. For instance, running your branch, if i enter site:example.com foo into the URL bar, it still returns that it can't handle this type of link. Really, here, it should perform a search just like if you enter foo example.com.
I wonder if instead, what we need is to check if any other apps could handle it inside SpecialUrlDetector.buildIntent function. And if no other app could handle it, treat it like a query.
 private fun buildIntent(uriString: String): UrlType {
    try {
        val intent = Intent.parseUri(uriString, 0)
        val fallbackUrl = intent.getStringExtra(EXTRA_FALLBACK_URL)

        val pm = context.packageManager
        val activities = pm.queryIntentActivities(intent, 0)

        Timber.i("Found ${activities.size} that could consume $uriString")
        return if(activities.size == 0){
            UrlType.SearchQuery(uriString)
        } else {
            UrlType.IntentType(url = uriString, intent = intent, fallbackUrl = fallbackUrl)
        }
    } catch (e: URISyntaxException) {
        Timber.w(e, "Failed to parse uri $uriString")
        return UrlType.Unknown(uriString)
    }
}

Something like the above? I don't have time to test out the various cases right now to see if that breaks other things.
If you have time, you could experiment with this approach maybe? Otherwise, happy to see revisions on the regex approach which accounts for the case i described above.
And again, thanks for getting started on this!

Hello @CDRussell,
Thank you for your response and suggestions.

Hey, thanks for getting the ball rolling on this.

Not a problem; I enjoy doing these kinds of things, and being able to work on a piece of software that I actually use alongside the developers is, for lack of a better term, “wicked awesome.”

Really, here, it should perform a search just like if you enter foo site:example.com.

Yes!  I did not consider this.

I wonder if instead, what we need is to check if any other apps could handle it inside SpecialUrlDetector.buildIntent function. And if no other app could handle it, treat it like a query.

I had originally thought about doing something like this, but upon more careful consideration I thought the regex method might deliver a more stable user experience.  I’ll illustrate this with a thought-provoking magnification of a semi-real(ish) problem: I don’t like how if I am, for example, on www.SuperImportantWebsite.eu.nl.co.uk and click on a valid intent link for which no specialized handler is available, that the browser would navigate away from the super important page and redirect me to a search engine.  I personally think it’s best in this case to err on the side of staying on the current page, and I feel like the end user should have a somewhat reasonable expectation of this behavior as well [when clicking on certain links – especially in the case of a hypothetical http link that may redirect to an intent link; this would be especially frustrating for the user].  Staying on the page and giving a toast also gives the user a better idea of what’s going on; I feel most users wouldn’t understand that they need to install an app to open this kind of link and would be very confused to see a search query launched.  Perhaps some kind of dialog box asking the user if they would like to launch a search query would alleviate these concerns somewhat, but it would still not be a behavior that I, as a user, would expect.
I propose that we keep the regex (see new commit), but I am all about that hashtag respect and would like to hear your thoughts on this as I trust your judgment over my own and would only want to keep the regex if you agreed it was preferable in light of the concerns I’ve raised.  I do like the idea of trying to launch a search query if no handler is available, but I feel like we might need an entire IntentURIUtilities.kt class with some more complex logic to implement this well.  If you disagree with my thought process, I would be happy to implement the packageManager fix you suggested and test it for you.  The concerns I raised about it aren’t really as bad as my paradoxical illustrative rant made them out to be, and I do understand that to some extent the problems I referenced will always exist in some capacity.  I just feel like the regex would be a slightly safer option for the time being.
I may have over-complicated things in the new commit, but I thought it was more interesting to implement it the way I did as opposed to hard-coding the “site” string into the regex, and it’s nice to have a separate blacklist ArrayList of strings to make future additions/subtractions/testing simpler.  I’m really not sure if this is the best idea, however, and would like to hear your input on this.
Thank you for taking the time to read this, sir!

Weighing in as an outsider here. @In2deep73: The current approach seems to assume that site is the only non-scheme keyword that might have a : after it. I frequently perform searches for define:<word> out of habit, and I imagine many people might arbitrarily use colons in what they intend to be searches.
Re: what about valid intent links with no intent handler available on device? This seems like an exceedingly rare case. Why would a website use intent links if they're not confident that users will be able to open them? My impression is that the preferred way of linking into apps it to use an HTTP scheme with a URL that their app declares it can handle. Android will then prompt the user to choose which app to use to open the link.
It might also be helpful to handle links on websites and the Search/URL bar differently. For both UX and privacy reasons, I don't think links from websites should ever result in a DuckDuckGo search unless they are specifically linking to a DuckDuckGo search, ie. something like https://duckduckgo.com/?q=hello.
I like @CDRussell's suggestion to check whether the query can be handled as an intent. It might be helpful to test how other browsers handle things as well, user expectations are shaped by what they've experienced elsewhere and we may discover some helpful solutions.

Hello @ngsilverman,
Thank you for taking the time to give your feedback; I really appreciate it!

I frequently perform searches for define: out of habit, and I imagine many people might arbitrarily use colons in what they intend to be searches.

I agree with this as I also use define:<word> to search for things.

This seems like an exceedingly rare case. Why would a website use intent links if they're not confident that users will be able to open them?

It is true that these kinds of links are becoming rarer, but I have still managed to come across some of these in my day to day browsing.

It might also be helpful to handle links on websites and the Search/URL bar differently.

It seems as if clicked links and those manually entered into the search bar are actually treated differently.  This was a misunderstanding on my part.

It might be helpful to test how other browsers handle things as well

The thing here is that every browser seems to handle this differently, and I suspect many have more complex logic to process these kinds of links.  My original approach drew lots of inspiration from Firefox.  Firefox feels very much like it has something similar going on under the hood.  For example, "site:", "define:" and other schemes that conform to the regex will always be treated as valid schemes and will result in a redirection to an error page.  I have tested @CDRussell's approach and will elaborate on this in my message to him below so I don't repeat myself.
Thank you again for raising these issues!

Hello @CDRussell,
I have implemented the package manager approach on my fork (https://github.com/In2deep73/Android/tree/issue347_package_manager_approach).  The only thing I did differently than you suggested was to change return if(activities.size == 0) to return if(activities.size == 0 && fallbackUrl == null) so that the link is not treated as a search query if a fallbackUrl exists.
This seems to work well, but it behaves a little differently than I had anticipated.  When I, for example, go to reddit.com (amongst others) and click on the "open in app" button (without the reddit app installed), I am redirected to a "Webpage not available" page that says "...could not be loaded because: net::ERR_UNKNOWN_URL_SCHEME".  If I manually type the address into the navigation bar, only then is it treated as a search query.  I am happy to see it behave this way, as I thought it would be better for the user to see an error with hints on what they need to do to resolve the issue vs launching an unwanted search query.
I have no strong preferences on which approach we should use.  I feel we have outlined the pros and cons of each approach adequately and will wait for you to make the final judgment on this.  If you decide to go with the regex method, I definitely think we should add "define" to the blacklist as @ngsilverman suggested.

Closing this PR in light of comments posted in issue 347.

Thanks for submitting this and for all the brainstorming and exploration. This is the top reference in our internal task.


Terminal constraints

Terminal constraints are often needed to ensure the stability of MPC.
Therefore, it is nice if we can design the terminal constraints independently from the constraints on the other time stages.
The following classes should be implemented:

[ ] TerminalConstraintComponentBase
[ ] TerminalJointPositionLowerLimit
[ ] TerminalJointPositionUpperLimit
[ ] TerminalBasePositionLowerLimit
[ ] TerminalBasePositionUpperLimit
[ ] TerminalJointVelocityLowerLimit
[ ] TerminalJointVelocityUpperLimit
[ ] TerminalBaseVelocityLowerLimit
[ ] TerminalBaseVelocityUpperLimit

Low priority


Challenge http://www.freecodecamp.com/challenges/waypoint-use-the-bootstrap-grid-to-put-elements-side-by-side has an issue

This isn't exactly a bug, but in the description for the challenge, there is an image that shows how bootstrap lays out elements on a page. This image is way too small to see or read any of the text in the image, and there doesn't seem to be a good way to get a larger version of the image.

Thanks, we've updated the copy to have the image link to the specific section of the bootstrap website!


Coding Guidelines: Resolve the issues under Rule 21.2

Describe the bug
Code should be compliant with the Rule 21.2 - A reserved identifier or reserved macro name shall not be declared
https://docs.zephyrproject.org/latest/guides/coding_guidelines/index.html?highlight=guidelines
Also refer to the discussion in RFC #32590
To Reproduce
Static analysis scans with enabled coding guideline checkers will show all the issues.
Expected behavior
Code should be compliant with the rule.
Additional context
Code should be compliant with the rules for Functional Safety

we should not have bugs/enhancements for each coding guideline, this is unmanageable, This is a project direction and should be tracked in the tools we use, not here.


docs: update/fix interesting queries

Supercedes https://github.com/input-output-hk/cardano-db-sync/pull/465 .

Supercedes #465 .

Works great!

Supercedes #465 .

Works great!


check database schema and app structure

I sent file via slack

Once database schema been approved, let us write down on wiki page.
AP: Documentation


remove tableName.toUppderCase() for hbase table Name,

Description
HBase is case sensitive，tableName.toUpperCase() will lead to the created table could not be found.
If my tableName of HBase is lowercase, kylin can't find the table created in the HFile generated step.
Improvement
just remove toUpperCase() for HBase tableName on master-hadoop3.1.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?


When i import version 1.4.9 ,and use method 'get()' is someting wrong

The param "Header[] headers" in CallBack Function "OnSuccess" and "onFailure" prompt "Cannot resolve symbol Header" ,and my compileSdkVersion is 23.I just want to the reason

Use my snippet:
public static HashMap<String, String> convertHeadersToHashMap(Header[] headers) {
HashMap<String, String> result = new HashMap<String, String>(headers.length);
for (Header header : headers) {
result.put(header.getName(), header.getValue());
}
return result;
}
Then... you can use it like convertHeadersToHashMap(headers).toString(); or
int totalPages = Integer.parseInt(convertHeadersToHashMap(headers).get("X-WP-TotalPages"));
to get the total of pages, for example. (that header key works for WordPress... but you get the idea and use your key there)

Thanks for you helping,i've resolved this problem with other way.


Unable to unzip mac app

I'm unzipping an mac app and for some reason if I use node-unzip I get this message.

I opened up mac Console and can see it logs the following when I try to run:
1/21/15 4:02:11.440 PM com.apple.xpc.launchd[1]: (com.github.atom-shell.255064[19701]) Could not find and/or execute program specified by service: 13: Permission denied: /Users/thomas/Desktop/wallpaper/wallpaper-app/build/Atom.app/Contents/MacOS/Atom
1/21/15 4:02:11.440 PM com.apple.xpc.launchd[1]: (com.github.atom-shell.255064[19701]) Service setup event to handle failure and will not launch until it fires.
1/21/15 4:02:11.440 PM Finder[339]: spawn_via_launchd() failed, errno=111 label=com.github.atom-shell.255064 path=/Users/thomas/Desktop/wallpaper/wallpaper-app/build/Atom.app/Contents/MacOS/Atom flags=1 : LaunchApplicationClient.cp #1136 LaunchApplicationViaLaunchDJobLabel() q=com.apple.root.default-qos
1/21/15 4:02:11.440 PM Finder[339]: spawn_via_launchd() failed, errno=111 label=com.github.atom-shell.255064 path=/Users/thomas/Desktop/wallpaper/wallpaper-app/build/Atom.app/Contents/MacOS/Atom flags=1

I think I might have figured out why this is happening.
When I unzip with archive utility or tar It works because they follow simlinks. None of the node unzippers seem to do this.

This problem seems can not be resolved.


<IP_ADDRESS>

Sometimes, two self IP address entries are shown : <IP_ADDRESS> and the real one

Exclusion for <IP_ADDRESS> added


error in comments

Challenge http://www.freecodecamp.com/challenges/waypoint-manipulate-arrays-with-unshift has an issue. Please describe how to reproduce it, and include links to screenshots if possible.
Error in hint in comment:

it should be:
// ourArray now equals [[happy,joy],J,[cat]]"

https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2008
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1829


Time is displaying as UTC even though my docker container is setup per the docs, and my timezone is set correctly in settings.

In the image below you can see that my latest speeders time is 4 hours ahead of the local time shown in the top left corner of my iPhone screen. I did set the time zone both in the docker compose file as well as in the speed test settings and I also created the volume with /etc/localtime

I don't know if it's exactly the same bug, but I just built a brand new container with v0.11.20, and confirmed that TZ environment var is set correctly in the compose file. But, after creation, when I logged into the app for the first time, I had to set the Timezone manually from UTC to America/New_York
Does the TZ var need to be set on the MariaDB container as well? (it wasn't...)

After reading another issue, I tried removing the TZ env variable and the /etc/localtime volume from the docker-compose.yaml and then just setting the TZ in the GUI and that seems to work fine. Maybe update the docs to reflect this?

After reading another issue, I tried removing the TZ env variable and the /etc/localtime volume from the docker-compose.yaml and then just setting the TZ in the GUI and that seems to work fine. Maybe update the docs to reflect this?

Can confirm this worked for me.

Adding to the discussions above...
Setting TZ as an environment variable and then mounting the system time updates the container's time zone but unfortunately PHP doesn't pick that up by default and defaults to UTC. This is why there is a setting for it currently so you can override UTC in views for your current time zone.
Fix planned after I get some other jank with Docker / resource usage fixed.


Update package.json

you have to include other necessary dependencies in "dependencies" field，otherwise people who use your module won't be able to get it work

You're right, I must have missed adding these two modules as dependencies. I'd request to remove them from dev-dependencies before merging, but I think it's faster if I just do it myself. Thank you.


train() function in evaluation_loc_det.py

File evaluation_loc_det.py needs to call the train() function, but the definition of the function is not given, so I copied the train() function in file train_loc_det.py to file evaluation_loc_det.py, but an error was reported. How to solve it?

Hi, sorry for the late reply. Thank you for your interest in our work. I updated the code. Can you please try now?

Thank you for your reply, but I encountered another problem. The program ran to the last line and reported an error. I tried to figure out the reason, so I output the variable all_dist_fake_enc. The output values were all 'nan'.

Hi,
Can you please provide more information on what input dataset you are using? And can you tell me more about your environment that you have used? Meanwhile, can you post how the localization map looks for you? Thanks!

Thank you for your reply, but I encountered another problem. The program ran to the last line and reported an error. I tried to figure out the reason, so I output the variable all_dist_fake_enc. The output values were all 'nan'.

Hi, have you solved this problem, I also encountered the same problem. Thanks for your answer!


[HELP WANTED]How the share of database connection between child process implemented

I noticed that the architecture says that:
This version of the of-watchdog brings new features for high-throughput and enables re-use of expensive resources such as database connection pools or machine-learning models.
as well as the golang-http-template mentioned that.
How is this feature implemented?

The functions are running as a un-stop process, so the resource is able to reuse.


use next images for when the spritesheet is missing the required image

Argh. Missed this. I'll merge it by hand Kyle. I moved some files around. There are some mobile crashes that need to be dealt with first anyway. Thanks for the improvement 🙏 .


Making other tutorials more accessible

Adding a hyperlink upfront for those that want to use GitHub Desktop, Visual Studio and GitKraken and might otherwise miss them.

@Roshanjossey @cloudstalker sorry, I missed the previous conversation. But the next text does look better :)

@sara-02, cool. I'm merging.
@cloudstalker, thank you for your contribution. 🖖 🎉

@Roshanjossey happy to help


List form webpart gives error in SharePoint Online

Category

[X] Question
[ ] Bug
[ ] Enhancement

I have tested the 'List form' sample from github in workbench and it worked. When i uploaded the app and tried it in SharePoint Online I got the following error:

Anyone an idea what I am doing wrong?
Thanks for your contribution! Sharing is caring.

The error is related to 'FormFieldStrings' under your en-us.js file.
Please check, if you are you able to reference string value under en-us.js file?

I had a similar issue I think I had to make an update to the config.json to map to the location of the string files

I had same issue, I wasn't packaging the solution properly, I used the following commands to package the solution and works like a charm!
clone
cd react-list-form
npm install
gulp build --ship
gulp bundle --ship
gulp package-solution --ship


provision_x509.py

i am getting this error while running this sketch
Unexpected error in <azure.iot.device.common.pipeline.pipeline_stages_mqtt.MQTTTransportStage object at 0x7f1982eb7e80>._run_op() call
Traceback (most recent call last):
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_stages_base.py", line 102, in run_op
self._run_op(op)
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_thread.py", line 198, in wrapper
return func(*args, **kwargs)
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_stages_mqtt.py", line 127, in _run_op
proxy_options=self.pipeline_root.pipeline_configuration.proxy_options,
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/mqtt_transport.py", line 133, in init
self._mqtt_client = self._create_mqtt_client()
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/mqtt_transport.py", line 154, in _create_mqtt_client
client_id=self._client_id, clean_session=False, protocol=mqtt.MQTTv311
File "/home/omer/.local/lib/python3.6/site-packages/paho/mqtt/client.py", line 555, in init
'A client id must be provided if clean session is False.')
ValueError: A client id must be provided if clean session is False.
SetMQTTConnectionArgsOperation: completing with error A client id must be provided if clean session is False.
SetProvisioningClientConnectionArgsOperation: completing with error A client id must be provided if clean session is False.
SetX509SecurityClientOperation: completing with error A client id must be provided if clean session is False.
Callback completed with error A client id must be provided if clean session is False.
NoneType: None
Traceback (most recent call last):
File "provision_x509.py", line 39, in
loop.run_until_complete(main())
File "/usr/lib/python3.6/asyncio/base_events.py", line 484, in run_until_complete
return future.result()
File "provision_x509.py", line 26, in main
x509=x509,
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/aio/patch_documentation.py", line 255, in create_from_x509_certificate
provisioning_host, registration_id, id_scope, x509, **kwargs
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/provisioning/abstract_provisioning_device_client.py", line 144, in create_from_x509_certificate
security_client, pipeline_configuration
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/provisioning/pipeline/provisioning_pipeline.py", line 132, in init
callback.wait_for_completion()
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/evented_callback.py", line 70, in wait_for_completion
raise self.exception
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_stages_base.py", line 102, in run_op
self._run_op(op)
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_thread.py", line 198, in wrapper
return func(*args, **kwargs)
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_stages_mqtt.py", line 127, in _run_op
proxy_options=self.pipeline_root.pipeline_configuration.proxy_options,
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/mqtt_transport.py", line 133, in init
self._mqtt_client = self._create_mqtt_client()
File "/home/omer/.local/lib/python3.6/site-packages/azure/iot/device/common/mqtt_transport.py", line 154, in _create_mqtt_client
client_id=self._client_id, clean_session=False, protocol=mqtt.MQTTv311
File "/home/omer/.local/lib/python3.6/site-packages/paho/mqtt/client.py", line 555, in init
'A client id must be provided if clean session is False.')
ValueError: A client id must be provided if clean session is False.
Exception ignored in: <bound method Client.del of <paho.mqtt.client.Client object at 0x7f1982e3f630>>
Traceback (most recent call last):
File "/home/omer/.local/lib/python3.6/site-packages/paho/mqtt/client.py", line 656, in del
File "/home/omer/.local/lib/python3.6/site-packages/paho/mqtt/client.py", line 700, in _reset_sockets
File "/home/omer/.local/lib/python3.6/site-packages/paho/mqtt/client.py", line 687, in _sock_close
AttributeError: 'Client' object has no attribute '_sock'

In helping omer - I get the same error as above...

I created a root and device cert using the ./certGen.sh script from the SDK
uploaded the root cert to DPS and went successfully through the verification process
set the environment variables  (I changed a random character in my IDScope below to not leak my real scope ehre
declare -x PROVISIONING_HOST="http://global.azure-devices-provisioning.net"
declare -x PROVISIONING_IDSCOPE="0ne00022505"
declare -x PROVISIONING_REGISTRATION_ID="omertestdevice1"
declare -x X509_CERT_FILE="/home/stevebus/edge/certs/iot-device-omertestdevice1-full-chain.cert.pem"
declare -x X509_KEY_FILE="/home/stevebus/edge/private/iot-device-omertestdevice1.key.pem"

the x509_PASS_PHRASE is empty because my private key doesn't have a pass phrase..
so when I run python3 provisioning_x509.py, I get the same error @omersalam got above...
below is the CN of my cert to confirm
Validity
Not Before: Apr 27 18:36:36 2020 GMT
Not After : May 27 18:36:36 2020 GMT
Subject: CN=omertestdevice1
Subject Public Key Info:

FYI - got this to work by removing the environment variables and hard-coding the values in the script..  somewhere the env var values are getting lost
(I also realized that the provisioning host does not need 'http://' on the front of it  (i.e. just 'global.azure-devices-provisioning.net')

@omersalam did the above fix your issue ?
Can this issue be closed then ?

In case of executing in the shell don't forget to export the variable, e.g. export PROVISIONING_HOST="global.azure-devices-provisioning.net"

Not sure if he'll respond here, but I've been corresponding with omer separately and he got this to work.

@omersalam, @stevebus, @reppners, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


Sync calendar to the watch

App should sync all user's calendar events to the watch's timeline.

When event is added or removed from the phone's calendar, watch should be updated as fast as possible.
When watch disconnects and then reconnect, all changed events should be synced to the watch upon connecting

User should also be able to select which calendars should be synced.
Depends on https://github.com/pebble-dev/mobile-app/issues/15
It should work somewhat like this:

Android native side detects whenever user's calendar changes
It transmits that to the Flutter side
Flutter merges new events with existing calendar db
Flutter transmits any changes to the watch, if necessary

Actions that should be on timeline pins:

Cancel
Remove (presumably just hides the event?)
Mute Calendar

Example pins by original Pebble app:

That last part is the email/calendar name
(Thanks to UDXS for the pictures)

Watch displays 3 days of events into the future.


Help page does not show up anymore

From @lrochette on August 9, 2018 19:20
The page is not there anymore
This is an artifact of moving to ecpluginbuilder
Copied from original issue: electric-cloud/Unplug#6

The help page shows for v<IP_ADDRESS>.
Closing this out of date issue


Can the Settings UI indicate when a profile is dynamic

I thought we were going to be adding that text to the SUI at some point, but clearly we forgot to do that.
Originally posted by @zadjii-msft in https://github.com/microsoft/terminal/issues/8270#issuecomment-882519058

I didn't know we even wanted that haha. Is there a value to that though? I thought it'd be cleaner to abstract that detail away from the user.
If we're going this route, how do we wanna do it? Just throw a text block at the top of the page saying Dynamic Profile? I feel like there'd be a nicer way than that. Tagging @cinnamon-msft for her thoughts.

I know this doesn't apply to dynamic profiles so much, but when we have an "extensions" page in the SUI (see #10436), we might want to link back to the source for that profile.


Python 3.12 compatibility

Description
Add compatibility for Python 3.12 and some misc code cleanup

Fix #235

Checklist
Please update this checklist as you complete each item:

[x] Tests have been developed for bug fixes or new functionality.
[x] The changelog has been updated, if necessary.
[x] Documentation has been updated, if necessary.
[x] GitHub Issues closed by this PR have been linked.

By submitting this pull request I agree that all contributions comply with this project's open source license(s).

@rmorshea just a reminder that I still don't have permissions to change required workflows.


Make Http* syntax available without an import

As discussed in #5062 - by adding these implicits to the companion of one of the type parameters, we remove the need for an import.

Oops.  I backported that ->> and it merged clean and compiled clean but failed MiMa.  Those build failures are my fault.

Merging #5084 should clear the debris I left for you.

I think this is good to go.

I'm excited about this one.

Just realised this technique can also be used to allocate things effectfully and then define operations directly on the allocating effect. Not particularly relevant here but wanted to shout about it because it's cool: https://github.com/fd4s/fs2-kafka/pull/662


3 to 4

Forward port ign-gazebo3 to ign-gazebo4 in preparation for an ign-gazebo4 release.
Comparison between ign-gazebo3 and ign-gazebo4: https://github.com/ignitionrobotics/ign-gazebo/compare/ign-gazebo4...ign-gazebo3

It looks like there's a mismatch between the author and sign-off emails in https://github.com/ignitionrobotics/ign-gazebo/pull/623/commits/87b2f4ba27cc10a1a586bda8d635aa929e1070ce, causing DCO to fail. I don't think I can fix this commit without re-writing history - if this is true, should I just set DCO to pass manually?

should I just set DCO to pass manually?

I set DCO to pass manually. I'm just waiting for checks to finish so that I can merge forward.

I think the changes from #584 got lost in the merge forward. When merging that forward, we need to combine the use of if (_sdf->HasElement("topic")) with AsValidTopic

I noticed that there was a check for if (topic.empty()) after the AsValidTopic line, which I kept. Should we keep both the if (topic.empty()) AND if (_sdf->HasElement("topic")) lines? I thought we only needed one, but perhaps I misread/misunderstood the code.

Should we keep both the if (topic.empty()) AND if (_sdf->HasElement("topic")) lines?

Yup, so the HasElement is checking if the user provided a topic through the SDF. And topic.empty() is checking if a valid topic could be created.
I just remembered there's a nice helper function to help with this use case:
https://github.com/ignitionrobotics/ign-gazebo/blob/e647570f25f962d63af75cf669ff72731d57bd5e/include/ignition/gazebo/Util.hh#L143-L156
Here's an example use:
https://github.com/ignitionrobotics/ign-gazebo/blob/e647570f25f962d63af75cf669ff72731d57bd5e/src/systems/detachable_joint/DetachableJoint.cc#L98-L106

Thanks for updating the merge to get the topic from SDF. Like I mentioned offline, it would be nice to run the topic that comes from _sdf->Get<std::string>("topic") through AsValidTopic, possibly using validTopic. But I don't want to block this PR on this, it can be addressed later.

I created an issue for this so that we don't forget: https://github.com/ignitionrobotics/ign-gazebo/issues/624


[Support]: colortest API fails with an internal error (500)

Describe the problem you are having
When trying to call the colortest API (/api/colortest/values) from postman with an image a 500 Internal Server Error is returned:

Version
3.1.0
Swatch config file
N/A

Relevant log output
<!doctype html>

<title>500 Internal Server Error</title>

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or
	there is an error in the application.

Any other information that may be helpful
I have also tried using the Color Playground option from the UI, but after entering the URL of the camera I haven´t found a way to crop the image as indicated in the text:

No response

same here

@NickM-27 the colortest API is an important part of this project, any chance you can look into this issue or guide us on how to debug it and fix it? happy to provide any logs

what type of image was submitted / what was the url

The api is returning the same error with every image I tried, the url is in the screenshot I attached: http://<IP_ADDRESS>:4500/api/colortest/values

not sure, when I passed http://<IP_ADDRESS>:5000/api/front_cam/latest.jpg to the frontend and it calls the backend api the color testx works as expected.

Can you try to call the "/api/colortest/values" endpoint using my image to see if it works for you?

@NickM-27 as I mentioned in the issue I also tried using the Color Playground option from the UI, but after entering the URL of the camera I didn´t find a way to crop the image, so that option is not useful either, is there a way to crop the image in the UI?

I mean even if it is the full image you can still see how different color values affect that part of the image just the same.
When I was running things I used the zone feature and then used the url from the swatch api for that zone to use the color tuner. It could be improved in the future most likely

@NickM-27 how do you get the url from the swatch api for a zone?
The problem is that not having the /api/colortest available makes it hard as there is no help in term of dominant color, this is the error from the logs just in case it helps:
[2023-10-02 19:09:47,442]: ERROR - Exception on /colortest/values [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1519, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1517, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1503, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/opt/swatch/swatch/http.py", line 91, in test_colors
    main_color, palette = current_app.image_processor.parse_colors_from_image(
AttributeError: 'ImageProcessor' object has no attribute 'parse_colors_from_image'

@NickM-27 I just realised you updated this container 3 days ago to fix this issue, thanks!!
I cannot test it yet as the update has not appeared in Home Assistant, do you know how long it takes for the updated version to be available in Home Assistant?

I updated the container but now for me the container is failing to start entirely, don't have time to look in to why right now

Im also having issues with the container starting. https://github.com/NickM-27/swatch/issues/62


Implement compressors composition

https://tools.ietf.org/html/rfc7231#section-<IP_ADDRESS>

If one or more encodings have been applied to a representation, the sender that applied the encodings MUST generate a Content-Encoding header field that lists the content codings in the order in which they were applied.

I don't see any need to support this for compressors. No-one in their right mind does multiple-compression, this has literally never come up in Requests which has enormous usage, so I think we simply don't need to support it.

No-one in their right mind does multiple-compression

I think this part of spec is such because they wanted to allow the features of tweaking compression for data types (s.a. machine code or natural language text) by applying filters.

Sure, but that's not really super-relevant in this case. Unless we can point to anyone actually deploying multiple compressors in one go, it doesn't really matter whether we support it or not.

I think that people expect from the spec impls to follow the specs. If someone started to experiment with compression filters he would have encountered the bug.

Ok, what compression filter pipeline are you expecting to see?

Don't know, for now there are no filters defined in the rfc. For example we can think about filters defined in https://tukaani.org/xz/xz-file-format.txt.

So my general position on this is that there is no need for us to ship code to support hypothetical use-cases. As deployed the content-encoding field is basically used only for monolithic compression algorithms. There are no defined specifications for compression algorithms that can be chained. As-and-when they are, we can revisit this decision, but I'm disinclined to add support for a use-case that is not deployed, and has never been deployed in the 20 year history of this protocol.

Then we should not walk the array, but just take the first item in #336

Fair enough, sounds like a reasonable position. =)


[Feature] Add 'Blank' System

Usage: When adding a system, type a system name(ex: Blank) to create a system that doesn't exist in Anoikis or New Eden, to be corrected later.
Intended Usage(s): 1)When scouting a system scanners may be unwilling to scout an EOL hole, but something may come through and knowing there's an unscouted system may prove useful.
2)Ability to create friendly system name prior to bookmarking without misinforming other users.

The best way to represent this would be by creating a wormhole with the 'System Name' set to the sig ID. Validation could check for the presence of a pattern matching '[A-Z]{3}-[0-9]{3}' (e.g. ABC-123) and bypass matching against a known system name.

The best way to represent this would be by creating a wormhole with the 'System Name' set to the sig ID. Validation could check for the presence of a pattern matching '[A-Z]{3}-[0-9]{3}' (e.g. ABC-123) and bypass matching against a known system name.


Feature Request: Ricochet

Tool like ricochet that makes it easy to put distance between utxos.
Ideall with configurable number of hops, minimum delay between hops and changing script type between hops

Hello @6102bitcoin @craigraw
Is this still open to work on? I would like to work on this.
Is the idea to have functionality in Sparrow that allows for broadcasted transactions to be difficult to scan and get blacklisted (or worse) by analytics companies like the way ricochet does? Basically, ensuring more privacy and less false positive claims of address being added to a ban list on centralized services like an exchange.
functionality being similar to what @6102bitcoin said in comment.

The complexity here is that to do this properly with a decent user experience, a server is required. There is some discussion about transaction delays being added to Bitcoin Core or Electrum servers, but it has memory requirements on the server side, and certainly nothing is implemented yet.

I see what you mean. For the minimum delay, yes, a server will probably be needed (I assume you say this to enable control of when transactions are broadcasted at specified intervals).
Minimum delay is like a 2nd layer of privacy. First layer will be the hops and changing of scripts on each hop. This can be worked on iteratively starting with hops being first, and then to minimum delay comes later.
<fees might be a concern for the hops but then again, this is why it should be an optional feature>

The complexity here is that to do this properly with a decent user experience, a server is required.

Can you elaborate? Isn't it comparable to whirlpool where you need to have the gui running for getting remixes? And/Or could this be outsourced to the Sparrow Server/Terminal client which is intended to run 24/7 anyway?

Isn't it comparable to whirlpool where you need to have the gui running for getting remixes?

It's a little different - if Sparrow is not running, mixes simply stop, and pick up again on restart. In this case, if Sparrow is not running, delayed transactions don't get broadcast.

could this be outsourced to the Sparrow Server/Terminal client which is intended to run 24/7 anyway?

Yes, that's possible, although there are UX and security implications with turning Sparrow Terminal from a client into a server - and of course then this functionality would be limited to only those with that setup. Support in Core, or failing that Electrum  servers would be better. Servers should do server things, clients should do client things.

Hi @craigraw @RequestPrivacy @6102bitcoin and anyone else taking a look,
I have written a design proposal in google docs for this issue. It will be great to have your thought on this.
https://docs.google.com/document/d/1_d9U603o_9DbLeN01rW4m1LDnIkM_ZnLr1c79elibs4/edit?usp=sharing

Thanks for the detailed writeup. I'm still of the view that best place to implement this would be Bitcoin Core, for reasons additional to this particular feature. I do not desire to run a centralized Sparrow server. Using Sparrow Terminal is an option, but has drawbacks as previously mentioned.
I will try to find some time to write up a proposal for this.

@craigraw alright


Left Nav: Upgrade to support instanced object at top

Request from Ashley Sonntag:
https://modus.ideas.aha.io/ideas/MOD-I-109
Need to add ability to instance another complex object (such as a dropdown menu) at the top of the left nav.
Figma example from e-builder team:
https://www.figma.com/design/pcNH6U2YoAsX61IAfzEp7K/Trimble-Unity-navigation--Hifi?node-id=37-2419&node-type=INSTANCE&m=dev
(the "Respond Module" dropdown at the very top of the list)
Allowing Modus customers to add any object to the top of the nav provides more flexibility and it could be used for many possible use cases.
Implementation Details:

Add a control to the side navigation to enable dropdown behavior with a caret that opens the secondary items in the menu (like in a content tree)
Select input or auto-complete component
It needs to be menu item level control
It should support a leading icon in the menu items

The dropdown component needs an issue to fix rounded corners in the list and the highlights of items. Separate issue will be created.

We are looking to add a slot component to increase flexibility and customization on the side nav component. Later on, we may need to define boundaries of what can and cannot go into the side navigation but for simplicity's sake we will rely on common sense of developing teams to make the right decisions.

per @mitch-trimble:
In addition to supporting any component via a slot on the expanded side navigation, we need support to define the collapsed visible state/objects.
We will need the ability to place icons, avatars, badges, buttons, etc in the collapsed side nav.

Add an object slot at top of nav

Start with only dropdown option supported

Follow design here

Display at top of nav
Support Image + Label
Open menu on click
Close menu if clicking outside

Support collapsed mode

Display Image only when nav collapsed
Open floating menu when clicking collapsed ico

For v1 we don't have to display icons/images in the dropdown menu
Each dropdown item can have an icon + text to display in the Nav but doesn't show up in the menu when opened


Moving app to the browser with flask

Implement the application in flask rather than a simple cv2 window.
Reference article : https://towardsdatascience.com/video-streaming-in-web-browsers-with-opencv-flask-93a38846fe00

Hey @gursi26 , I would like to work on this issue!

Yes! This issue is still open.


Move String utilities to their own class

The string utilities for ApexDocJs are not well-encapsulated and are repeated throughout the project. These utilities should be placed into a separate class in order to leverage their capabilities throughout the project.
Example classes are:

ApexDoc.strPrevWord
ApexDoc.countChars

I could help out.

I could help out.

Please feel free to submit a PR. I don't have much in the way of code styling yet for this project.

There's  a lot of places in the code where its currently:
let idxStart = comment.toLowerCase().indexOf("@author");
if (idxStart != -1) {
    cModel.setAuthor(comment.substring(idxStart + 7).trim());
    inDescription = false;
    return;
}

Any comments on me creating and using a function as so:
function getPostSubstringIfExists(str, sub) {
    return str.toLowerCase().indexOf(sub) < 0 ? null : str.substring(sub.length).trim();
}

const authorComment = getPostSubstringIfExists(comment, "@author");
if (authorComment) {
    cModel.setAuthor(authorComment);
    inDescription = false;
    return;
}

Of course, I can't use this for the "@group " case with its extra space, but should I add this function to the stringUtils class too?

I think that's a fine idea. You also may want to consider using a regular expression pattern to match that instead of basic string manipulation. I'm leaning in the direction of using regular expressions for this form of parsing as they are ideal for performing complex string manipulation.
For example:
let authorMatch = comment.match(/@author(.*)$/);
if (authorMatch) {
  cModel.setAuthor(authorMatch[1]);
  inDescription = false;
  return;
}


Infer removes keyof constraint from resulting type

Bug Report
🔎 Search Terms
infer mapped type variadic tuple keyof homomorphic
🕗 Version & Regression Information
4.4.4
Reproduced with 4.5.4 and 4.6.0-dev.20211230
I've spent quite a lot of time in various recursive mappings of object and variadic tuples and I think I've eliminated most of the pebkac issues I've had in the past. I'm perhaps over-using the readonly keyword with tuples.
Please keep and fill in the line that best applies:

This is the behavior in every version I tried, and I reviewed the FAQ for entries about everything. (I've read the FAQ before.)

⏯ Playground Link
Playground link with relevant code
💻 Code
interface Test { aString: string; aBoolean: boolean; aMethod: () => void; }

type MemberTypesTupleBroken<T, Keys extends readonly (keyof T)[]> =
  Keys extends readonly [] ? readonly [] : // nil

  Keys extends readonly [infer Key] ? readonly [T[Key]] : // base <-- doesn't think Key is a keyof T

  Keys extends readonly [infer Head, ...(infer Tail)] // head recursive
    ? readonly [T[Head], ...MemberTypesTupleBroken<T, Tail>] // <-- doesn't think head or tail are keyofs T
    : never;

// it seems to correctly calculate the type though
type SomeTestMembersBroken = MemberTypesTupleBroken<Test, ['aString', 'aMethod']>;

// Work-around
export type MemberTypesTuple<T, Keys extends readonly (keyof T)[]> =
  Keys extends readonly [] ? readonly [] : // nil

  Keys extends readonly [infer Key] // base
    ? (Key extends keyof T ? readonly [T[Key]] : never) // need to re-establish the keyof constraint

    : Keys extends readonly [infer Head, ...(infer Tail)] // head recursive
      ? Head extends keyof T // and again
        ? Tail extends readonly (keyof T)[] // here too
          ? readonly [T[Head], ...MemberTypesTuple<T, Tail>]
          : never
        : never
      : never;

// this work-around is fine but I thought I'd report it in case it helps with other bugs or I'm having a facepalm
type SomeTestMembers = MemberTypesTuple<Test, ['aString', 'aMethod']>;

🙁 Actual behavior
If, prior to infer, a type is a keyof T; after the infer it is no longer a keyof T.
🙂 Expected behavior
Types retain the type information they had prior to infer, after infer.

The need to re-add the readonly keyword on resulting tuple types seemed like it might be related as well.
Maybe a year or so ago, I found a ticket that was about retaining type information within the compiler but I seem to have lost the link to it.
It was certainly a bit painful to figure out that solution for mapping tuples.

I figured out how to use Github. These are the issues that I think may be related:
https://github.com/microsoft/TypeScript/issues/40945
https://github.com/microsoft/TypeScript/pull/41169
I'm out of my depth on this stuff but mapping tuples via de-structured infers does seem to require some massaging in most cases.

The positional information of where an infer occurs isn't used to infer additional constraints on it - it's a straightforward structural match the same way you'd get in other inference contexts. This is generally more desirable.
WLOG, you can write
  Keys extends readonly [infer Key] ? readonly [T[Key & Keys[number]]] : // base
  //                                                  ^^^^^^^^^^^^^^^

WLOG, you can write

Keys extends readonly [infer Key] ? readonly [T[Key & Keys[number]]] : // base
//                                                  ^^^^^^^^^^^^^^^

I have tried this but it doesn't help.
It does resolve the error in this line, but not the subsequent errors, also the resulting type is then not very specific.
Could you provide an example from start to finish @RyanCavanaugh ?


[BUG] Beautiful but lagging

Describe the Bug
As soon as I activate this theme, Obsidian (both the UI and notes) is slow to respond to scrolling, hovering, etc
In which mode does the bug occur?

[ x ] Reading/Preview Mode
[ x ] Source Mode
[ X ] Live Preview

Which editor are you using?

[ ] Legacy Editor
[ X ] New Editor

Which version of Obsidian are you using?

[ x ] Public Release (Desktop)
[ ] Public Release (Mobile)
[ ] Insider Release (Desktop)
[ ] Insider Release (Mobile)

Checklist

[ X ] I have updated to the latest version of the theme (Obsidian Settings → Appearance → Themes - Manage → Update).
[ X ] I made sure that the issue is related to this theme, by checking that the issue does not occur with other themes or the default theme.

Do you know a good way to take short videos and upload them on desktop?

Good idea, but it didn't help
Here's what the lag looks like. I am on a Samsung Galaxy Book 2 with an i7 and this doesn't happen with other themes so I'm surprised. Could it be the integrated graphics? Is there anything else I could turn off? This is such a great theme I just wish it didn't lag.

dose turning off all the settings in "menu blur" and "scrollbar" makes the lagging disappear?

This is very weird but right now it's not lagging. I didn't change anything.


Can't make subtitle files independent?

Version
lasted
Details
I downloaded the video and found that the subtitles were all embedded, and I couldn't manipulate the subtitle file.
Or is there an option to download subtitles, I can choose to download subtitles?
Steps to reproduce
1

No, subtitles are always embedded. You can extract them using VLC or some other tool if you want.

In case anyone else is looking to do this... I found a solution from Reddit for extracting the subtitles:
ffmpeg -i 'input.mp4' -map 0:s:0 'output.srt'


feat: add ensure_abi method into model generated contract

When it comes to types, cairo compiler will strip out any ABI entry that is not directly related to an input or output of an entry point.
This causes a problem in the dojo stack where a model that is not directly used by a system is never present in the ABI.
The current PR solved this by adding a method into the model generated contract, ensure_abi, which takes the model type as input. Having this, we ensure that the type ABI entry associated to the model (and any inner type of the model) is always present at least once in the ABI of the model contract.
Of course, this type may be repeated in the ABI of a dojo contract that has system using it.
Having the ABI of all the models allows dojo-bindgen to generate, at compile time, the bindings for every models.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (41a48b8) 67.62% compared to head (e674fe5) 67.63%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1433   +/-   ##
=======================================
  Coverage   67.62%   67.63%
=======================================
  Files         218      218
  Lines       21054    21058    +4
=======================================
+ Hits        14238    14242    +4
  Misses       6816     6816

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

@tarrencev I'm thinking if this method somehow can serve an other purpose. But for now, it has the expected behavior of populating the ABI with models that were not previously available if not used by at least one system entry point signature.


RDP File Download and Edit Issue

Hi @bolkedebruin, I'm having trouble figuring this out—can you help me?

I have two people, and one person connects to one computer and the second person connects to a different computer.
How can I download the RDP file for a specific host intended for a particular person?

Whenever I try to edit an already downloaded RDP file to connect to the other computer, I receive the following error message:

I also tried adding the line "HostSelection: any" to the rdpgw.yaml file, but it gave me an error saying "invalid query parameter."
Can you help me solve this?

Hi @suryasuryas
Your users can open a connection to a specific RD-Host directly with the host parameter on the connection uri: https://rdpgw/connect?host=<IP_ADDRESS>
I didn't found any documentation about it, but i saw it on the Issue #70

Hi @suryasuryas
Your users can open a connection to a specific RD-Host directly with the host parameter on the connection uri: https://rdpgw/connect?host=<IP_ADDRESS>
I didn't found any documentation about it, but i saw it on the Issue #70

I've used this method to get the .rd configuration, and after several tests I've found that the generated host address is still random. Then I added HostSelection: signed to the configuration file (rdpgw.yaml) and this configuration option asked me to add another configuration option (querytokensigningkey, but I don't know how to add this selection correctly) and so far it still hasn't been configured and running successfully.


Cowboy Acceptor Pool

No issue here, just a desire to discuss on the roadmap ^^_
I see that all main points refer to the http server. My main needs right now, and one of the reasons why I've decided to gradually move from misultin to cowboy, is its native support for multiple protocols.
Thus my question. I don't see any planned work related to the acceptor pool itself: am I to understand that work in this area is mostly done, or simply that the accent has been set to the http server? I'd like to think of cowboy first of all to be very robust in handling multiple connection and implementing protocols (which was the original idea around it), and I hope it is not getting too 'distracted' by one of the possible implementations (http).
Is this correct? @essen, thoughts?
r.

I believe there can be many improvements to the acceptor code (there's some about greater control over configuration in the roadmap). Then you could also start a listener with no port and have a way to retrieve it for really temporary listeners.
I also think async accepts would be a great improvement, especially with regards to upgrades and such, but we would have to add a clean API to OTP first as otherwise there's only a hack available.
As for improving the reliability, accept performance or whatnot I'm not even sure how to measure it properly.

Understood.
I'm starting a new project which needs an acceptor pool with a TCP protocol which is not http. I am considering using Cowboy, obviously without HTTP. Does that makes any sense? Haven't looked at acceptors' API yet (such as get the number of open connections).
I guess somewhere along the way this part will need to be optimized in Cowboy, if that isn't the case yet, that is.

Sounds good. I'll be interested to hear about your experiences with it. We probably can do much more but as always I have only implemented the strict minimum and am waiting for people to tell me what they need. ;)


v2 - migrate mqperf grafana dashboard to terraform

https://github.com/softwaremill/mqperf/tree/v2/docker/metrics/grafana/provisioning/dashboards

Closed with #122


Adding standard http metrics to fleetlock.

This adds the following metrics to fleetlock:
http_requests_total
http_repsonse_status
http_response_time_millis
Each are labeled by the path of the request. Additionally http_repsonse_status has the http response code as a label.

icanhaz @dghubble @MHBauer


Error with 0.4.0 version of r128-scanner ((r128-scanner:16714): GLib-CRITICAL **: g_dir_read_name: assertion `dir != NULL' failed)

hi, i receive the following error after about 80% of my library (flac files) had been correctly scanned/tagged dies with several errors (about one per each directory in subtree is my guess):
(r128-scanner:16714): GLib-CRITICAL **: g_dir_read_name: assertion `dir != NULL' failed
command line for invocation is: r128-scanner -t album -r /mnt/2tbinternal/music/sbox/CDQ
when i use the script to traverse directories, all works fine:
##!/bin/bash
find /data/music/sbox/CDQ/ -type d|
while read dir; do
./r128-scanner -t album "$dir/"*.flac
done

This has been fixed for a while now, the scanner will print warnings when files/directories could not be accessed instead of crashing.


Communication from Unity to React, Parameter not working.

Hi,
so, I copied your "GameOver" example of communicating with react from Unity, but instead of passing a number (score), I'm trying to pass a string.
The method gets invoked, but when I print my string message to the console, I see a bunch of random numbers instead of my messages.
Unity Said: 348428608 Unity.jsx:46
Unity Said: 348430112 Unity.jsx:46
Unity Said: 348435880 Unity.jsx:46
Unity Said: 348437384 Unity.jsx:46
Unity Said: 348439296 Unity.jsx:46
Unity Said: 348440800 Unity.jsx:46
Unity Said: 348442304 Unity.jsx:46

I'm using Unity version 2019.2.7f2, any Idea? I can't figure out what I did wrong
Thanks

Ok Nevermind, I didn't know Unity sends a pointer to the string lol, just had to add Pointer_stringify to my function at the .jslib
mergeInto(LibraryManager.library, {
  SendToReact: function(message) {
    ReactUnityWebGL.SendToReact(Pointer_stringify(message));
  }
});

sorry for reporting this issue


expose Any.cast for fields container

CLayer methods seem to exist:

any_new_from_fields_container,
any_get_as_fields_container

So we can cast from and to a fields container with Any

not working in grpc


README and Documentation updates

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.042%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
1480

Relevant Lines:
1541

💛  - Coveralls


SwiftSyntax: some basic changes needed for Linux support

This adds a couple of changes to support building SwiftSyntax without an ObjC
runtime as well as swift-corelibs-foundation instead of the ObjC Foundation
implemetation.  This is needed to support building SwiftSyntax on Linux.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

CC: @harlanhaskins

@swift-ci please test

Small nitpicks, but thank you for tackling this!

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 114c692df94824180f0fac30cdd1f844c2dcfeb9

Build failed
Swift Test OS X Platform
Git Sha - 114c692df94824180f0fac30cdd1f844c2dcfeb9

This is soon going to conflict with #18673, so be ready for that

Okay, since this is ready, I'm going to merge this, and then @ahoppen can rebase/resolve the conflict.  He is working on making the codebase more robust, so thats definitely a good change.  This was less invasive though.


Pushing to remote failed

[I'm supposed to describe steps to replicate my issue here and if I don't do that, I understand that my issue will be probably ignored.]

Brackets 1.3.0-16022 (mac), Git 2.3.5 & Brackets-Git 0.14.27
Pushing to remote failed
Error: cmd-spawn-timeout: /usr/local/git/bin/git push --porcelain --progress origin R2.3_july

call: git push --porcelain --progress origin R2.3_july
Error: cmd-spawn-timeout: /usr/local/git/bin/git push --porcelain --progress origin R2.3_july
    at timeoutPromise (file:///Users/amudun/Library/Application%20Support/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:219:27)
    at file:///Users/amudun/Library/Application%20Support/Brackets/extensions/user/zaggino.brackets-git/src/Cli.js:262:33

#1031


This looks right to me

Maybe you did not 'git pull' on your local copy?

Yes, it's there...


Chapter3/homework/10

Solution to Homework 10.
Initially overcomplicated the creating of the TextTable but after that it was fairly straightforward. Used your example from the live coding part of the lesson 'AttributeGetter' as I was initially unsure how I was to retrieve the 'attributes'.
Nevertheless, homework is done!

@Almantask Please see commit "f5fc7c1" for changes relating to your comments.
Note that there is still some complexity with multiple else if statements. I spent a while researching state-machines/state-pattern and now understand its uses and deemed it was not sensible to be used here.
PR should be good to go! Thanks.


Can pysaml2 support idp configs with separate certs for signing and encryption?

Attempting to generate metadata from config information for an ADFS IdP that has 2 keys for signing and one for encryption.

Closing this as it is supported since https://github.com/rohe/pysaml2/commit/cddf80f4c0e62fac9e8b41ad6f6ecee42909d55e


Add a visual saving feature for each bank account

Is your feature request related to a problem? Please describe.
I would like to be able to visually see and set savings goals in the application.
Describe the solution you'd like
It could be a bar or ring in the bank account on the left side, so you have a visual incentive for saving money to different accounts.
Additional context
So far, bunq is the only digital bank as of now that allows you to truly budget your moneys into a plethora of actual IBAN Bank Accounts. Still, a basic saving goal for those accounts is missing.
I do understand that at the moment you are just trying to map the functionality of the API to your application 1:1, but this would be an awesome feature.
If you don't like the idea of features likes this, then I would propose to create some sort of plugin system.

I've been thinking of adding budgeting features later on and setting saving goals is a pretty great idea 👍
And I tend to prioritize direct API implementations but useful things like the categories and improved exports are fine to obviously

Thanks, good to hear :)
I would like to offer some of my time to help working on this project, but I don't like the idea of forking it at this point.

You can now create goals and select which accounts count towards them. Check out the new snapshot build if you want to test it 👍


Cheat Sheet for Maths Formulae

Issue number #74
Resolved.
Created webpage for formulaes of trignometry.
Please merge it.

Please remove the snake and todo files

Deleted unnecessary files.
Please merge it


az postgres server vnet-rule create And Requested feature is not enabled

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

Describe the bug

I have created postgres server with Deny public network access set to yes

When I execute the following
az postgres server vnet-rule create --name $rule --resource-group $resourceGroup --server $server --vnet-name $vNet --subnet $subnet

I am getting the following error

Note the subnet

To Reproduce

Follow the above steps
Expected behavior

Vnet rule should execute fine
Environment summary

Additional context

route to CXP team

@mnadeem I am not able to reproduce this error and you may be getting this error if you subscription is not registered with Microsoft.Sql and Microsoft.DBforPostgreSQL resource providers. Can you please go to Azure Portal > Your subscription > Resource provider tab and check for the required resource providers?

@mnadeem Please let us know if you need any help on this.

@mnadeem We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[Use-case] Google News Scraper for Major Company News

Workflow

Scrape https://news.google.com/search?q=nvidia&hl=en-US&gl=US&ceid=US%3Aen every 3 hours
Extract:

Impact to the company: (0 - if nothing, 10 if major)
Sentiment: (-1 to 1)
Date
Companies involved:
People involved:
2-line summary:
Location:

If over 5 on importance and lower than 0 on sentiment => email to<EMAIL_ADDRESS>

https://github.com/monkey-patch-sdk/monkey-patch.py/pull/53


[discussion] Switch from inner to outerloop

Which functionality do you think we should add?
Have the possibility to move from inner (= dev loop) to outer loop (= build loop)
Why is this needed?
To be able to share the code as docker image, to test the docker image containing the code in a different node/cluster, namespace, to let another team to consume the service, to verify that the application/component will start properly using the s2i command (e.g java -jar ...)
Proposition

Same Namespace

Using a new tool command such as  odo app publish, we should be able to create new kubernetes resources such as buildconfig, deploymentconfig, imagestream where :

buildconfig will be defined to build a docker image using git binary mode,
deploymentconfig will be cloned from the existing deploymentconfig if it exists and
imagestream using the s2i image associated to the component

Remarks :

The deploymentconfig will be modified as the initContainer is not longer needed and the Imagestream must point to the s2i image to bootstrap the app.
If the build succeeds, then the selector of the service will be changed to select the pod of this DC build instead of the DC of the innerloop.

Different namespace

When the user will execute a command such as odo app publish --namespace another_namespace, then the kubernetes resources needed to setup the outerloop will be used and will include a buildconfig able to be triggered to start a build
Remark :
We could also imagine to clone the resources created from an innerloop and to include the buildConfig resource in this case.

My thoughts and reasoning for inner / outer loop is having an odo deploy or odo publish command which will effectively go from development -> production in one command.
For example, a "deploy" command would encompass :

Taking the current application and publish it to production OpenShift cluster (whether this is knative / Istio / etc, I'm not too sure yet)
Provide options for scaleability and public availability
Provide a "revision" list of all deployed instances, for example (knative example):

$ knctl revision list --service hello

Revisions for service 'hello'

Name         Allocated Traffic %  Serving State  Age
hello-00002  100%                 Active         2m
hello-00001  0%                   Reserve        3m

Yes, we could use odo update --git for the current "inner-loop". I do have concerns about implementing an outer-loop ourselves using supervisord (the scalability, reliability of the supervisor..)
Just my thoughts!

outer-loop ourselves using supervisord

outer-loop will not use a supervisord but instead will use current s2i + docker build OR tomorrow knative build/pipeline. That means that we have to create for the outer-loop process a new Imagestream and BuildConfig. Example [1]
[1] https://github.com/snowdrop/component-operator/blob/master/pkg/pipeline/outerloop/install.go#L61-L78

2. Provide options for scaleability and public availability

What do you suggest as option ? @cdrage

3. Provide a "revision" list

What is the purpose of this revision list ? Which problem can I resolve using it ? @cdrage

This feature is still value
/lifecycle frozen

In a way, this is not implemented.
Devfile component (if it has support for it) can be deployed in innerloop-mode (odo push) or outerloop-mode (odo deploy) Only reqruiement to be able to use odo deploy is to have a kind: deploy command in devfile.
You can see example of this in https://github.com/kadel/devfile-nodejs-deploy/blob/2b7058af5cdac5a43ded2b6c44454add7cf82161/devfile.yaml#L34-L42


eas credentials -p android error occured after using this command

Build/Submit details page URL
No response
Summary
PS F:\omkar\reactnative\E-learn> eas credentials -p android
EAS project not configured.
√ Would you like to automatically create an EAS project for @divineomkar/E-learn? ... yes
✔ Created @divineomkar/E-learn: https://expo.dev/accounts/divineomkar/projects/E-learn on Expo
✔ Linked local project to EAS project bdfaeb19-8f0a-4dcc-97dd-0aa77a7bafdf
√ Which build profile do you want to configure? » development
✔ Using build profile: development
Invalid format of Android applicationId. Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter.
Error: Specify "android.package" in app.json and run this command again.
Cryptic error? Learn more: https://expo.fyi/cryptic-error-eas
Press any key to continue...
Invalid format of Android applicationId. Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter.
Error: Specify "android.package" in app.json and run this command again.
Cryptic error? Learn more: https://expo.fyi/cryptic-error-eas
Press any key to continue...

{
"expo": {
"name": "Elearn",
"slug": "Elearn",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.omkar.E-learn",
"version": "1.0.0"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "bdfaeb19-8f0a-4dcc-97dd-0aa77a7bafdf"
}
}
}
}
Managed or bare?
Managed Expo framework
Environment
{
"expo": {
"name": "Elearn",
"slug": "Elearn",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.omkar.E-learn",
"version": "1.0.0"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "bdfaeb19-8f0a-4dcc-97dd-0aa77a7bafdf"
}
}
}
}
Error output
E-learn> eas credentials -p android
EAS project not configured.
√ Would you like to automatically create an EAS project for @divineomkar/E-learn? ... yes
✔ Created @divineomkar/E-learn: https://expo.dev/accounts/divineomkar/projects/E-learn on Expo
✔ Linked local project to EAS project bdfaeb19-8f0a-4dcc-97dd-0aa77a7bafdf
√ Which build profile do you want to configure? » development
✔ Using build profile: development
Invalid format of Android applicationId. Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter.
Error: Specify "android.package" in app.json and run this command again.
Cryptic error? Learn more: https://expo.fyi/cryptic-error-eas
Press any key to continue...
Invalid format of Android applicationId. Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter.
Error: Specify "android.package" in app.json and run this command again.
Cryptic error? Learn more: https://expo.fyi/cryptic-error-eas
Reproducible demo or steps to reproduce from a blank project
{
"expo": {
"name": "Elearn",
"slug": "Elearn",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"userInterfaceStyle": "light",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/adaptive-icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.omkar.E-learn",
"version": "1.0.0"
},
"web": {
"favicon": "./assets/favicon.png"
},
"extra": {
"eas": {
"projectId": "bdfaeb19-8f0a-4dcc-97dd-0aa77a7bafdf"
}
}
}
}

Invalid format of Android applicationId. Only alphanumeric characters, '.' and '_' are allowed, and each '.' must be followed by a letter.

The error message is quite clear. If I'm missing something there please clarify what the problem is.


Allow multiple webmentions on same url for multiple response types ?

My example is this url: https://realize.be/repost/1632
It's a post which has a u-repost-of link and a u-in-reply-to link (hidden).
I was experimenting to see what would happen. In the end, it seems the reply won (maybe because it's lower in the HTML ?) See https://twitter.com/swentel/status/1062848420786909184
I manually did the retweet on Twitter though.
Now. Handling both response types in one webmention request seems like a bad idea. Especially if you need to return a response with the syndication link. More stuff to handle on our end as well. I don't want to go there.
I know brid.gy blocks publish for a URL that already send a webmention. I wonder whether it would be a good idea to allow it in case the response type is different. In short,

send webmention: bridgy parses, sees a reply, publishes reply - and should probably store that there are least two reponse types, setting reply to 1, repost to 0
send another webmention for same url: bridgy parses, sees that reply is already done, now does repost

Just thinking out load. It seems doable - at least, in my head right now :)
Totally fine if you want to keep it 1 response type per url though!
(#635 is kind of related, but closed for the tag 'h-as-note')

interesting! sounds more or less the same as #832?
you identified many of the reasons I'm reluctant to map a single source post to multiple silo actions. predictability, atomicity, and idempotence are other reasons.
also (sadly) internal implementation details; more in that in #832.
your two step proposal is definitely clever! it's not exactly obvious from a user perspective though, and i definitely like the Principle of Least Surprise.
so yeah, you guessed right, I'm unlikely to do this. I'll happily keep this open for the record, though, or merge it into #832!

Right, the use case seems the same. I don't fully understand the technical impact, a bit confused about granary there .. however, that's totally fine :)
I then need to setup this on the site level. Luckily, within Drupal, it takes me about 5 minutes to create a new content type which has a field which can hold multiple references to other posts (one is a like, one is repost etc). And I then just send webmentions for each individual. And also setup redirects: if someone would go to the 'like' url, redirect to the parent post which has it as a reference. Something like that. Just need to make sure the redirect doesn't happen in communication with brid.gy when it's parsing the post for publishing, or sending a webmention for backfeed.
Ok, closing, the service works great anyway! It also seems that multiple response types hasn't been explored that much within the community, so that's totally fine!
Thanks for the response!

Note: it might be interesting though to document the behavior in case brid.gy does find multiple response types and which one takes precedence. You can even link to this issue temporarily. Once I have a setup in Drupal, I will document how I've done it and then we can link to that article!

I'm generalizing this issue to cover all multi-type posts that Bridgy Publish would have to translate to more than one action inside a silo.
i don't plan to support those, for a few reasons beyond just the AS1 implementation details above. specifically:

atomicity. right now, a bridgy publish request either succeeds completely or falls completely. multi-type parts could partially succeed, ie complete one action inside the silo but fail another.
recovery.  when an attempt partially succeeds, and the user retries, what should we do? we can't always roll back the silo action, nor can we always safely retry just the failed part(s). more on that in #812.
UX. it's harder to clearly preview a multi-type post or communicate about it to the user in error messages, etc.

this begs the question, what should we do with multi type posts? we could either return an error, which we currently do with the reply+tag posts described here, or we could pick a single part of them, which we currently do with all other multi-type posts. i documented that in b42365febb5e6be952a7620ee126e72d899081bc yesterday.
erroring out is probably safer, and follows the Principle of Least Surprise, but publishing a single part is more convenient and expected by current users. 🤷


adds to README, runs php-cs-fixer, and fixes frontend controller

Just some small tweaks that I hope improve this library:

Adds "Get Started" section to README
ensures Front Controller executes the app
renames some parameters
ran php-cs-fixer

This looks great! To improve it, I would like to include an endpoint that will generate a SAML assertion so we can quicky and easily test the token endpoint.

Let me know when you want me to merge this one.
About the endpoint, I can start with a static saml assertion sample.

merge it now! :-P
As for the assertion... I will comb over the spec and see if I can't find a way to generate an accurate SAML assertion. I apologize, but I am having trouble understanding the limitation here, and why we can't do a real one.

The main problem is that a saml Assertion has one target.
Say you have 3 servers: IDP (simplesamlphp), OauthServer, ClientA
ClientA says to IDP: I want a samlAssertion.
IDP returns (over a redirect) "This is an assertion for ClientA from IDP (user is Joe)".
That is the basic case in Saml. But, If you want to give that one to the OauthServer, (in strict mode) it will complain that the assertion is made for ClientA.
To make it standard:

ClientA should make the assertion itself directed to OauthServer - (misses the point of using saml in the first place?)
ClientA should ask the IDP a token for the OauthServer. I think this one is good when ClientA is not a SP. If it is a SP it may need another assertion for itself.

There is definitely something I dont get :)

maybe what you don't get is the fact that the IDP is trusted by the OAuth Server, and so the OAuth Server most likely knows the IDP's public key, can validate the assertion was granted from that IDP, and so happily accept the Saml Assertion from ClientA without complaint.

That's what the strict=false setting does. It doesn't validate target, but does validates signature. A delicate thing it does not check is expiration date.
See some comments here: https://github.com/aacotroneo/saml2-bearer-server/blob/master/inst/saml_settings.php
For me that approach makes sense, but I'm not sure if the draft allows it.

what exactly is the oauth server complaining about?  What is it expecting instead?  I see the list of checks (audience, issuer, and destination) and I don't see why we couldn't have all of those check out in this use case.

It expects like you say (audience, issuer, and destination)  to match itself.
You can of course make such an assertion yourself. What I can't figure is how to make a flow that makes sense within an existing saml2 infrastructure. May be that's not the intended usage, or I am too focused on my domain.


Referential integrity in autogenerated tables

class CreateFlipperTables < ActiveRecord::Migration[6.0]
  def self.up
    create_table :flipper_features do |t|
      t.string :key, null: false
      t.timestamps null: false
    end
    add_index :flipper_features, :key, unique: true

    create_table :flipper_gates do |t|
      t.string :feature_key, null: false
      t.string :key, null: false
      t.string :value
      t.timestamps null: false
    end
    add_index :flipper_gates, [:feature_key, :key, :value], unique: true
  end

  def self.down
    drop_table :flipper_gates
    drop_table :flipper_features
  end
end

How does Flipper manage the association between the two tables internally?
Curious to know if adding something like t.references :feature, foreign_key: { to_table: :flipper_features } in create_table :flipper_gates do |t|...end would be helpful or if it'll have no impact on ActiveRecord queries with associations.
If this has already been discussed before, any pointers would be helpful. Thank you!

Flipper handles the integrity. It's pretty common in Rails-land to do this. I remember in the past I've hit a lot of sneaky perf (massive cascading deletes, etc.) and issues with foreign keys. I don't really have any interest in using them unless people have good reasons (which I'm always open to hearing).
I don't think it would make any performance difference for reads since the relevant indexes are already present.


Top bar icon disappears

Whenever the % next to the original battery icon is activated, the icon of the battery-limiter is not visible.

@Vultilion do you have a MBP with a notch? If so, it may be hidden due to too many icons in the menu bar. If you have enough room it should show.

There are a few options:

Close apps that have icons in the menu bar
Hide the menu bar icon for apps that allow it
Use a tool (e.g., Hidden Bar, iBar, and Bartender) that provides more options for autohiding/showing menu bar icons.

Thanks for responding to this @earthsound


Added DIS - Study abroad in Scandinavia in Copenhagen, Denmark

link to university: https://disabroad.org/
domain: dis.dk


Unknown error

Could you please have a look ar this? Im not sure what else would cause this.
https://github.com/bensku/Skript/issues/689

Hi there, does this only happen when sharpsk is on the server? Or is it also happening with no addons at all?

After some testing its highly unlikely that sharpsk is the cause as I encountered no problems with only  latest skript and sharpsk on it. It might be another addon conflicting somehow.


Split out a Settings struct from Config

The Settings struct is an abstract representation of frame::Settings.
Basically:

When talking about our own connection, we should use Config.

e.g. in ConnectionInner's config field

When talking about a peer's settings, we should use `Settings.

e.g. in SharedState's peer_config field

This separation allows us to define some conversions:

Config -> frame::Settings

used in ConnectionInner::new

&frame::Settings -> Settings

used in ConnectionInner::poll_control

@Ruben2424 Resolved!

Perhaps one thing to discuss is whether or not to include the Deref and DerefMut impls here: https://github.com/hyperium/h3/pull/208/files#diff-4fc440b791f25fbde8061757f9ecfdcb61af28bc20a5b3c236f0ae1f6c96db4eR181-R194
https://doc.rust-lang.org/std/ops/trait.Deref.html says that: "Deref should only be implemented for smart pointers"

@Ruben2424 Removed!


remove NGINX_FILES_PATH

if this path are blank, the nginx Files are stored to the current path $PWD/data

Hello @mr-bolle
Thanks for your PR.
But my understanding on is that the user must know, set and understand where it should be located.

You could improve the readme and .env file to explain it better for the user also set ./nginx-data instead of empty. if you update it we agree on that.

Thanks!


Worker DELETE via http api results in "FAILED" status instead of cancelled

curl DELETE ${MIST_URL}/v2/api/workers results in a job with FAILED status instead of CANCELLED
Job shows as CANCELLED with Results "Executor was terminated"

Actually, I think this is correct because I am killing the job via the WORKER and not via the JOB.
(The job kill function does not currently work as of RC13).


Marketplace add: January 2022 Release

Description
Add 3 Marketplace apps for our Jan 25th release
How to test
Visit info panels for each app, ensure logos display

all fixed @tiffwong The LiteSpeed cPanel & OpenLiteSpeed Django info pages bug has been reported in M3-5644


chore(Order/*): move SupSet, Set.sUnion etc to a new file

Thanks!
maintainer merge

Thanks!
maintainer merge

@adomani It doesn't work with a whitespace at the end
maintainer merge

bors r+


Tourguide CDN is not working

tourguide cdn often throws http 520 error

Thanks for reporting the issue, however this does not relate to the TourGuide package itself.
It could be for any number of reasons out of my control and possibly something with unpkg.com.
I recommend you use the NPM installation of Tourguide JS, if you face any issues with that - then please do report them and be happy to help.
Several tests and I am able to access https://unpkg.com/<EMAIL_ADDRESS>from various devices & networks.


Support for "Plus Darker" and "Plus Lighter" blend modes

These two blend modes (Plus Darker, Plus Lighter) are very useful when building UI, in particular, for iOS -- yet they are missing in Compose Multiplatform.
The web now somewhat supports this kind of blending via css mix-blend-mode:
mix-blend-mode: plus-darker;
mix-blend-mode: plus-lighter;

Sidenote: I believe "Plus Darker" is also known as "Linear Burn"
Here's Figma's video showing the effect of this type of blending -- as you can see, this is necessary for building native looking UI for Apple platforms.
https://github.com/JetBrains/compose-multiplatform/assets/87964/179b8661-5c8b-4452-b8bc-5e299b399cd2
Alternatively, support for custom blend mode formulae might be even more versatile
More reading:

Figma forum discussion
https://github.com/w3c/fxtf-drafts/issues/447
NSCompositingOperation.plusDarker
How to achieve linear burn using Subtract and Invert
Skia: Custom blend modes using SkBlender

I believe this may also be made possible via a shader if RuntimeEffect.makeForBlender() (skia: SkRuntimeEffect::makeBlender) was made available within Skiko -- it's conspicuously missing.
Skiko RuntimeEffect.kt
Skia SkRuntimeEffect::makeBlender

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


40K 10 Edition Update

I’m getting a error message that Warhammer 40,000 10th Edition is not supported. Will there be a update to fix this? Thanks.

Yes.  The 10th ed catalogs just dropped a few days ago.   Prettyscribe support for 10th will follow soon.

Hi Sorry for the bump. Any update on 10th? The error is gone, so is it fully functional now?

Basic 10th ed support is functional.   The formatting remains 8th ed style for now.
Additional feedback/requests are welcome.


'echo' in deploytasks doesnt behave like expected

Q
A

Issue Type
Bug

Deployer Version
6.0.5

Local Machine OS
Ubuntu16 lts

Remote Machine OS
N/A

Description
printing output via std-in (e.g. via echo or printf etc.) does sometimes not get shown on the console at all and in other cases the output is overridden by the "OK" indicator.
IMO we should handle output from stdin the same as output written via write() or writeln()
Steps to reproduce
error case 1: no output rendered at all when no newline is part of the output
$ dep greet
✔ Executing task greet

error case 2: the "ok" indikator is overlaying the printed output and parts of the printed string are not rendered at all
$ dep greet-friend
➤ Executing task greet-friend
✔ello

happy case: when using the writeln or write api everything works as expected.
$ dep greet-friend-writeln
➤ Executing task greet-friend-writeln
hello
myfriend
✔ Ok

Content of deploy.php
task('greet', function() {
    echo "hello";
});

task('greet-friend', function() {
    echo "hello\nmyfriend";
});

task('greet-friend-writeln', function() {
    writeln("hello\nmyfriend");
});

Is there a reason to use echo?

From a technical point of view its not necessary.
From a DX point of view using echo to output stuff is more natural and creates more readable code

I'd suggest checking out the Symfony Console component to understand why echo really shouldn't be specially supported.


new lesson: Count Sort

⭐ Request Type
Adding in-depth documentation on the Count Sort Algorithm .
Lesson Content :

Introduction to Count Sort
Complete explanation on Count sort
Complexity of Count Sort
Worst-Case + Best Case
Code for Count Sort
Link for Leetcode Problems related to it

You can start your contribution from the file: https://github.com/Utkarsh1504/DSA-Java/blob/main/lessons/countsort.md
💻 Location
This lesson should be at:
Section: 5
Lesson: F
Order: 5F
File-name: countsort.md
❌ Additional Info
No response

@Utkarsh1504 can I proceed with this issue ?

@parvsharmaa you can start working on this issue, but don't copy from other websites, take reference from the different websites and try to explain it in your own language. Thank you for raising this issue!

Will do, thanks :)

@Utkarsh1504 done with the Issue, please review pr #60


Doesn't reset terminal upon exit.

It's super annoying, even when running with --help, the terminal is in an unusable state, because the term isn't reset back to normal echo of the characters..

Didn't realize that was the case on bash. I use ZSH. https://github.com/manishrjain/into-ledger/commit/ff1bdbadd9773a9044bad9ed8212c972319e4498 fixes it. Can you please verify it?

Yeah it fixed it thanks!
On Mon, Dec 26, 2016, 6:39 PM Manish R Jain<EMAIL_ADDRESS>wrote:

Didn't realize that was the case on bash. I use ZSH. ff1bdba
https://github.com/manishrjain/into-ledger/commit/ff1bdbadd9773a9044bad9ed8212c972319e4498
fixes it. Can you please verify it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/manishrjain/into-ledger/issues/5#issuecomment-269249335,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFs8L4RUxTD5SUAU1gtryFC4Q81kj5Bks5rMFAwgaJpZM4LV8R8
.


Failed to build on react-native run-ios but success using XCode

I'm trying to upgrade my package from 0.57.5 to 0.57.8
Steps I've taken:

Visit https://github.com/pvinis/rn-diff-purge/compare/version/0.57.5..version/0.57.8
Manually change the content of package.json and AppDelegate.m
Execute command yarn cache clean && yarn install && react-native run-ios

Installing build/Build/Products/Debug-iphonesimulator/myapp.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/myapp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Error: Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/myapp.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist

    at checkExecSyncError (child_process.js:637:11)
    at Object.execFileSync (child_process.js:655:13)
    at Promise.then (/Users/lemchiewchoon/Code/Detrack/myapp/node_modules/react-native/local-cli/runIOS/runIOS.js:208:5)
    at processTicksAndRejections (internal/process/next_tick.js:81:5)

No matter how I clear the watchman and reinstall node modules, it simply wont work. And I head over to XCode and run from there, it's working fine. May I know if anyone facing the same issue?

I am not sure I can help with just this error, but the first easy suggestion is to try and "bisect" it, by upgrading one version at a time. This way you can see which version is giving you the error, and maybe we can debug it more easily with that information.

Eventually I've resolved it following this https://stackoverflow.com/a/41854111/9816472. Not really sure about the impact but it does fixed the above mentioned error. Thanks @pvinis, this tool is so useful and saved many of us from nightmare!


[New game]: Alien Invasion

🎮 Game Request
Game logic and basic description
`These alien creatures have very similar physiology to the earth seahorses. Their bodies can easily cut through the thick atmosphere. They can move very fast
Point down the features
Game points
`Seahorses hives are being attacked by something. This one has been damaged. I wonder if you can hack into this creature’s central computer to control it for a while
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @manikumarreddyu !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @manikumarreddyu ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Ensure cluster readiness is determined by syncer heartbeat

WorkloadClusterCondition proposed to allow setting a heartbeat on a condition, but the 3rd party conditions library doesn't allow any extra fields to be set. To work around that, a new heartbeat field is added directly to WorkLoadClusterStatus and the workload cluster conditions are reverted to the standard type.
Fixes #285

Updated with fixup, PTAL

Rebased

Updated, PTAL