frequency

FREQUENCY in megahertz needs to be a float, not  i64, otherwise only the nominal channel can be used, for example, channel 12 in the 915MHz band. Another option might be to leave it integer but in kHz or Hz. Here is a list of channels copied from some python code.
#https://www.rfwireless-world.com/Tutorials/LoRa-channels-list.html
channels = {
   'CH_00_900': 903.08, 'CH_01_900': 905.24, 'CH_02_900': 907.40,
   'CH_03_900': 909.56, 'CH_04_900': 911.72, 'CH_05_900': 913.88,
   'CH_06_900': 916.04, 'CH_07_900': 918.20, 'CH_08_900': 920.36,
   'CH_09_900': 922.52, 'CH_10_900': 924.68, 'CH_11_900': 926.84, 'CH_12_900': 915.00,

   'CH_10_868': 865.20, 'CH_11_868': 865.50, 'CH_12_868': 865.80,
   'CH_13_868': 866.10, 'CH_14_868': 866.40, 'CH_15_868': 866.70,
   'CH_16_868': 867   , 'CH_17_868': 868   ,
   }

Agreed; being limited to integer Mega Hertzes seems pretty coarse..  😉
My personal taste would be to limit this function to integers arguments. IMO it is best not to introduce floats in an embedded system when not needed.
Could make the set_frequency function 'smart' (and backwards compatible!) to multiply the freq: i64 argument below 2000 by 1_000_000. And test if the resulting requested frequency is between in the supported range of 127-1020 MHz
Fancier would be to use an specialized Frequency type, but not sure what that would bring to the table...

I think this package is not active anymore. I've switched to https://github.com/rust-iot/rust-radio-sx127x and had much more success. My example usage is at https://github.com/pdgilbert/LoRaGPS-rust. There are some issues with it, but those are related to active development moving to embedded-hal v1, not problems just making it work.

hi @pdgilbert thanks for getting back to me on this very old issue 😄
Yes, I've had a look at the radio-sx127x crate first as well, but it wasn't immediately apparent to me how it was supposed to be used. (It seems much rust crates do by with the standard rs docs only and omit proper examples? I'm relatively new to the community but this I find remarkable for a lot of (also otherwise well-maintained) creates). Therefore tried to get going this one first (works now, after some refactoring of my own). Will have a look to your LoRaGPS-rust project, might be just the example code I was looking for.. thanks!

Yes, as a newbie I too have found the lack of examples frustrating. Also, because of the rapid state of development, random examples often work only with old versions of crates and device HALs.  In an effort to help and also maintain my own sanity around what I have working and what is broken I started another project https://github.com/pdgilbert/rust-integration-testing with CI at https://github.com/pdgilbert/rust-integration-testing/actions. This is just to keep track of little examples. For awhile I was running it also with release versions of stuff but at the moment it is more focused on dev version. Some radio-sx127x examples are also there, but the project above is more complete.


Assumes frontend on server

I solved that with:
echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
(branch 1.4)

Sorry, you solved what?  Should we close this one?

No, I don't think it should be closed, I think the scripts should either make sure there are no interactivity or that noninteractive is set somewhere

Your issue is resolved.


added updated topology/nodes and displaygroups/nodes responses and ad…

…ded unit tests.

review ok

@martinapippi , can you also please review. Please don't merge yet. We first need to deploy an updated backend. I'll do the merge myself.


Staging login verification not functional

Necessary for creating the video tutorial for student profile creation.

Incomplete schema migration fixed


Make it clear which coordinate is the dashed cross-hair for multi-coord image view calls

Even I forget which of the coordinates (first or second) corresponds to the dashed vs solid cross-hair

FYI the second coordinate is dashed, and I should also make clear that any overlaid annuli are going to be centred on the FIRST coordinate in the event that there are two.


Virus Total API support : As a user I would like for the file attachments I receive and link I visit are verified before access

Sign up to the API
Virus Total API doc
File and link scans
Use API to check for malicious acitivity

Virus total implemented to test URLS waiting for commit


cloudflare_custom_hostname import does not import anything

Terraform Version
Terraform v0.13.2
+ provider registry.terraform.io/cloudflare/cloudflare v2.10.1
+ provider registry.terraform.io/hashicorp/aws v3.1.0

Affected Resource(s)

cloudflare_custom_hostname

If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
resource "cloudflare_custom_hostname" "custom_hostname" {
  zone_id = "<ZONE_ID>"
  hostname = "xxxx.xxxx.com"
  custom_origin_server = "xxx.xxxx.com"
  ssl {
    method = "http"
    type = "dv"
    wildcard = "false"
    settings {
      min_tls_version = "1.0"
    }
  }
}

Debug Output
Skipped this to avoid showing secrets
Panic Output
No panic output
Expected Behavior
What should have happened?
terraform show should have shown info such as hostname after doing an import like so:
terraform import cloudflare_custom_hostname.custom_hostname <ZONE_ID>/<CUSTOM_HOSTNAME_ID>
Actual Behavior
What actually happened?
terraform show doesn't show anything, only the IDs previously inputted:
resource "cloudflare_custom_hostname" "custom_hostname" {
    id                          = "<CUSTOM_HOSTNAME_ID>"
    ownership_verification      = {
        "name"  = ""
        "type"  = ""
        "value" = ""
    }
    ownership_verification_http = {
        "http_body" = ""
        "http_url"  = ""
    }
    zone_id                     = "<ZONE_ID>"
}

Steps to Reproduce

terraform import cloudflare_custom_hostname.custom_hostname <ZONE_ID>/<CUSTOM_HOSTNAME_ID>
terraform show

Important Factoids
None.
References
#749 #769
#770 #761 #746

@bryanchug Can you please provide the debug log? You can redact/clean up any sensitive information from it.

Hey @jacobbednarz, here's the debug log. https://gist.github.com/bryanchug/cc640f114890cc8c55e84798dfb0c831

Hi @jacobbednarz -- I was helping @bryanchug look into this and think I can clarify a few points:
When importing the cloudflare_custom_hostname the import is listed as successful however the problem that arises is that hostname is not set (instead it is viewed a new field requiring replacement) which means Terraform will try to delete/recreate the resource when you run a plan. A condensed log of what I'm seeing below:
terraform import cloudflare_custom_hostname.foo [zone_id]/[custom_hostname_id]
cloudflare_custom_hostname.foo: Importing from ID "[zone_id]/[custom_hostname_id]"...
cloudflare_custom_hostname.foo: Import prepared!
  Prepared cloudflare_custom_hostname for import
cloudflare_custom_hostname.foo: Refreshing state... [id=redacted]

Import successful!

The resources that were imported are shown above. These resources are now in
your Terraform state and will henceforth be managed by Terraform.

terraform plan
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.

 data.cloudflare_zones.bar: Refreshing state...
 cloudflare_custom_hostname.foo: Refreshing state... [id=redacted]

 ------------------------------------------------------------------------

 An execution plan has been generated and is shown below.
 Resource actions are indicated with the following symbols:
 -/+ destroy and then create replacement

 Terraform will perform the following actions:

    cloudflare_custom_hostname.foo must be replaced
 -/+ resource "cloudflare_custom_hostname" "foo" {
       + hostname                    = "foo.example.com" # forces replacement
       ~ id                          = "redacted" -> (known after apply)
       ~ ownership_verification      = {
           - "name"  = ""
           - "type"  = ""
           - "value" = ""
         } -> (known after apply)
       ~ ownership_verification_http = {
           - "http_body" = ""
           - "http_url"  = ""
         } -> (known after apply)
       + status                      = (known after apply)
         zone_id                     = "redacted"
       + ssl {
           + method = "http"
           + type   = "dv"
         }
     }

 Plan: 1 to add, 0 to change, 1 to destroy.

Looking at the state file for the imported resource I see this:
"resources": [
    {
      "mode": "managed",
      "type": "cloudflare_custom_hostname",
      "name": "foo",
      "provider": "provider.cloudflare",
      "instances": [
        {
          "schema_version": 0,
          "attributes": {
            "custom_origin_server": null,
            "hostname": null, <---- I think this is the problem child
            "id": "redacted",
            "ownership_verification": {
              "name": "",
              "type": "",
              "value": ""
            },
            "ownership_verification_http": {
              "http_body": "",
              "http_url": ""
            },
            "ssl": [],
            "status": null,
            "zone_id": "redacted"
          },
          "private": "redacted"
        }
      ]
    }
  ]

I hope this helps clarify the issue. :)

Thanks @bryanchug and @catemlitten, that all makes sense now. I'll take a pass at fixing this one shortly.

I've had a look at this one and pushed up #788 to address. You should be able to run this locally (after building the binary) and have it solve your issue.

We might just wait for the next version release. Thanks @jacobbednarz!


Incident - [Description of incident]

Roles
Incident Commander/SRE On-call: This person is responsible to handle the incident end to end.
Scribe: This person handles all communications and reports to the required channels and to product management to communicate to customers.
SME(Subject Matter Expert): This person will be from the SRE team in case of Infrastructure related issues or application SME in case of application issues and sometimes both. They will focus primarily on investigating the issue during the incident.
Step by step Response
Initial Response - (5-10m)
Once Incident Commander receives the alert/issue through Pager Duty or through any other source(slack channel etc.) he/she should judge (see To Incident, or not to Incident) if this comes under the incident category or it's a known issue.
Once we quickly decide if this is an incident do the following tasks.

[ ] Post in #bsp-incidents-all slack channel any information relevant to the alert
[ ] Scribe should create a private slack channel to discuss the incident. The private slack channel name should be inc-<dateofincident yyyymmdd>-<appname> for example inc-20210530-ias.
[ ] Start Outage bridge for the incident. Also, post this in #bsp-incidents-all.
[ ] Use Pagerduty to page the other dev teammates using this escalation policy and appropriate teams based on the component details.
Please refer to this Monitors list with stakeholders for contact details for relevant applications/components.
[ ] Once all the required people join, Incident Commander must brief about the issue and should take inputs from other teams, SMEs and prepare initial analysis, impact, severity, etc.
[ ] Scribe should take the notes of this discussion and prepare the draft for initial communications.

Initial Communication - (5-10m)

Once all the details like initial analysis, impact, severity, and other relevant details are collected by the Scribe, they need to send the communications to the following parties.

[ ] Internal Stakeholders - Please use the #bsp-incidents-all slack channel for internal communication and providing a C.A.N. report by using the format specified here. (MOSTLY TECHNICAL). or invoke BSP SRE Bot to generate CAN report with !can command
[ ] Executive Leadership Team - Please use the BSP SRE Bot to send-out ELT mail to Jerry or Mike with the subject: Sev [1|2] | BSL [app_name] [full|partial] Outage, so that then can send it directly to them once the content is approved. Sections specific in the ELT summary are important for visibility across NCR's leadership. (BUSINESS IMPACT - NON-TECHNICAL). We can invoke the bot with !notify-elt command. Refer here to understand the ELT fields.
[ ] External Stakeholders - Now that we have an initial understanding of the issue, please go to statuspage.io to update the incident with details regarding the incident. This needs approval from leadership(Jerry/Jemmy/Mike) prior to submitting. We can make use of ELT Summary we used earlier. For now(until automation is done) updating status page can be done by the Scribe after approval.
Note: We will be providing a fully-fledged RCA after the incident, so please refrain from going too deep here and simply focus on providing business impact. (BUSINESS IMPACT - NON TECHNICAL & NON CONFIDENTIAL)

Investigation and Triage

[ ] While initial communication is being sent by the Scribe, the Incident Commander can start troubleshooting the issue with the SME. If there are any updates from the investigation the Incident Commander and SME will update the Scribe with any new information.
Note Please see the below link for the severity-based matrix and communication windows. Incident Severity Matrix

[ ] CAN Every 30 min for internal updates

[ ] ELT Every 60 min for external updates, must be sent only for customer impacted services

[ ] Do a real impact assesment

[ ] Update the statuspage to be accurate based on the current status of the incident

[ ] During this phase, any relavant metrics must be updated on regular basis and work towards stabilizing the environment rather than finding the root cause by taking actions(with approval from SRE/Leadership). If any tickets need to be created Scribe/CommunicationsLead can help.

On a regular basis the Incident Commander will evaluate the situation, take help from SMEs, and page out to any other needed teams. They will also ensure the group remains focused on the current incident at hand.
Communications should be sent out every 30 minutes. Add a comment to this issue to reflect when and what communications were sent.
Resolution
We've come to a conclusion for the incident, at least in the sense of stabilizing the environment. This phase is to close out any final actions or communications for the incident. It is important not to close the call right away, as there are things that can be important to keep a note of or required for future actions prior to problem management.

[ ] Final Actions - Incident Commander needs to make any final actions now to complete stabilizing the environment. If any actions needed to be scheduled for a later time, discuss those now. (Scribe can take note in parallel).
[ ] Final Communication - Scribe to collect final info regarding the incident (not RCA, that will come later). Final C.A.N, ELT and StatusPage updates to be sent out to respective stakeholders regarding the current state of the environment (expecting all is up and functional at this point).
[ ] Close incident/Bridge - if not done already close the Pagerduty and/or Dynatrace alerts and close the Webex bridge. Also, close the Status Page incident and update the resolution (if not done in the previous step).
[ ] RCA & Postmortem - Scribe needs create an initial RCA and Postmortem and close out with the help of the SMEs. Create a new PR for these new documents.
[ ] Once RCA is known, we adjust error budgets of applications to reflect accurate numbers.
[ ] Adjust any of the reported uptimes in StatusPage and PagerDuty if needed.
[ ] Close this Github issue.


Initial commit to add non prod scaling down ecs.

Within the ECS module we want non production instances to automatically scale down to zero outside of working hours.
Could potentially pinch this from the bastion where it exists already.

Could we add some Terratests to test this new functionality?

This repository is being retired now, so closing this PR.


Use Symfony Webpack Encore instead of Assetic or Component Manager

Fixes https://github.com/sculpin/sculpin/issues/404

This adds more documentation to the section that @dbu removed in https://github.com/sculpin/sculpin-blog-skeleton/pull/61 -- we should fix that before merging this.

I like the blog post idea. I think the changelog approach doesn't quite work in this context, but perhaps a github release notes entry with a link to the blog post would be good.

@bellisk would you be up to write that blog post? as the blog is sculpin, it can be done as a pull request against the blog.sculpin.io repository. if you don't want to, i can try to do something.
and can you please rebase? there is a conflict in composer.json/.lock now, from me updating to sculpin/sculpin to 3.

Rebased to fix the composer.lock conflict.

Yes, I can write the blog post. That's a cool idea. :)


Trim the logs in the temporary logfile

This was a lot more tricky than I anticipated, but now this PR not only performs log trimming, but should also make logging to the filesystem faster.
We might also want to consider using RollingFileAppender, which can work in tandem with NonBlocking used in this PR.

The CI failures are unrelated.


Care Network: Add preferred name search to appvett transfer and preferred name property

Care Applicant now has preferred name as a property, and the appvetting transfer page can search appvetting applicants via the preferred name.

I didn't misread the comment and didn't see that Dan wanted first name to also search preferred name. I will close this and submit another one shortly with the correct changes.


add support for RoomTemperatureHeating operation

Support Room Temperature Heating operation

Can you try to copy and paste this file. Basically replace the number.py file which should be in config/custom_components/daikin_altherma/number.py and restart Home Assistant.

I'm not sure how the file was supposed to be installed but I took backup copy of the old number.py file and then copy pasted the content of the new number.py file over the old one in the Home Assistant File Editor.
After restart I was able to add the "Room Temperature" to the card.

I tested changing the "Room Temperature" value from 21 C to 20 C and then checked from the Daikin user interface in the machine and it was 20 C. So this seems to be working. I did not test anything else so far.

Yes, you copied that file correctly. Let me know, when you try everything and if it works I will make a new release.

I have now tested changing temperature from HA and it works. It also works the other way. If temperature is changed from the Daikin user interface, the new set point refreshes to HA.
If room temperature limits are changed from the default min 12 and max 30, the new values do not seem to refresh to HA. I was still able to select values between 12-30 even though I restricted the values between 17 and 24 from the Daikin user interface. I did not check if Daikin would actually allow values outside 17-24 from HA when the restriction in Daikin was set in place. After restarting HA, the limits refreshed to 17-24 and I could not select values outside 17-24 in HA. I don't know if HA restart is always required if Daikin parameters are changed or if they would have been refreshed at some point automatically.
I can't figure out what else to test. Changing room temperature set point from HA seems to be working without issues.

At the moment the profile (configuration like temperature limits, etc.) is picked during the initialization of the integration so any changes you make such as limiting temp. normally will not be picked. So, if you make some configuration changes you either need to restart HA or try to reload the integration. It should pick the changes if you go to installer mode and then go back to the normal user mode, however it is always recommended to reload integration after any "big" changes. Currently it is so as there is nothing coming from the device itself saying that changes has been made. The only way is to regularly check the configuration of the device, but this would put extra load on the device and more queries. Maybe in the future I might try to implement service which would trigger reload.
The only thing what you might want to test is if you can make temperature changes via automations. If that works I will make a new release.

I have made simple automation using "SHF Rank now" found here: https://github.com/T3m3z/spotprices2ha and then using three different Numeric State Triggers that monitor and change "Room Temperature":
to 22 C if "SHF Rank now" changes value to 1-8
to 21 C if "SHF Rank now" changes value to 9-16
to 20 C if "SHF Rank now" changes value to 17-24
What this should do is change room temperature target to:
22 C when Nord Pool spot price for FI area is among the lowest priced 8 hours.
21 C when Nord Pool spot price for FI area is among the mid priced 8 hours.
20 C when Nord Pool spot price for FI area is among the highest priced 8 hours.
I have not really tested how well this works for longer periods but at least the first "Numeric State Trigger" automation went through when "SHF Rank now" changed from 15 to 17:

Automation triggered:

And it resulted to "Room Temperature" set point change from 21,5 to 20:

So the temperature changes via automation seem to work. It remains to be seen if Daikin unit will actually make any difference in operation when set points are changed so little. Sometimes it seems that Daikin unit is perfectly happy and does no changes even if room temperature target and measurement differs for over 1 C. But that is not Home Assistant related issue, its Daikin controller issue.

In order to protect from freezing I think daikin will always try to maintain higher temperature inside the pipes so it might be a reason why you are not seeing any changes in operation. But, yes, we cannot do anything about that. That's daikin's internals.
So, I will close this issue and make a new release. Thank you for your contribution.

Even though Daikin controller seems little slow, this room temperature control sensor combined with Nord Pool Spot data and simple numeric state triggers works surprisingly well.
During December 9th the result was following:

Room temperature setting was changed based on the price rank of the hour. Room temperature settings 20, 21 and 22 C were used. Lowest measured room temperature was 19,6 C and highest measured room temperature was 21,5 C. Radiator water fluctuated between 22 and 39
Daikin unit did not use any energy for heating during the hours marked red.
All the eight highest priced hours were avoided (ranks 17-24).
From the mid priced hour ranks 9, 10, 11, 12 and 13 were avoided but during hour ranks 14, 15 and 16 heating was used.
All the eight lowest priced hours were used for heating (ranks 1-8)
I don't expect every day to be like Dec 9th but this was rather good start.
In case anyone is building something similar:
Using this type of automation means that the compressor will do more starts and stops, my unit is inverter and if I would not use this automation, then the compressor would not stop at all.
Heat stress for the distribution system increases because the heating water temperature is not steady but goes up and down several times a day.
This is only possible because the unit is little oversized 9,5 kW unit and the house heating demand is around 8,6 kW when it is -26 C outside. During this test it was around -5 C outside so the constant heating demand is little over 3 kW. Instead of heating 3 hours for 3 kW and producing 9 kWh of heat, the unit can just run 1 hour for 9 kW and produce the same 9 kWh needed for the three hours. House temperature will of course change accordingly.
My unit is ground source heat pump so I don't have to worry if outside temperature is higher during day than night and would cause better COP during day and lower COP during night. Usually night hours are cheapest hours for electricity.
Main goal for the automation is to avoid high priced hours in case billing is hour based and also avoid overloading grid during peak demand hours so overall grid price is lower for everyone. Avoiding energy usage during peak demand hours also lowers the change for power outage and rolling blackouts.

Interesting. I wonder how much you can save on electricity by automating this.

Unfortunately I can not calculate this because I can not measure the electricity usage of Daikin. The built in kWh measurement is way too coarse because it gives out results only for 2 hours and the resolution is 1 kWh. I did not know this before the unit was installed so I did not ask for additional electricity measurements. If I had known how bad the electricity measurement is, I would have installed external meter for electricity. Altherma 3 unit even supports external pulse counters...
I also have relatively cheap (5,99 c/kWh) fixed price contract until next October so I'm not really saving anything yet and I can not see any change in the electric bill.
If we make some assumptions (which are not true), we can make some calculations based on the data. If we assume that without automation on, the unit would have heated the house with constant power trough the day. If we assume that with automation on, the unit would have heated the house with constant power during the hours it was on. For Dec 9th the average spot price was 407,7 €/MWh and for rank hours 1,2,3,4,5,6,7,8,14,15 and 16 the average price was 350,5 €/MWh. That would be roughly 14 % saving in heating cost.
In reality the heating power is not constant when automation is on. When the unit has been off for some hours and the heating water temperature has dropped to 22 C, the unit will use full power when it starts. It will take almost 1 hour to heat water, pipes, radiators etc up to 39 C. So always the first hour after startup is way more energy used than the following hours. But for accurate calculations I would need electricity measured accurately. Also this was only snapshot of 1 day, days are different. When there is wind, the night hours can be sometimes almost free.


Many advertised servers attacked by DDoS at UTC 8:25, Feb 8

Something bad is happening as the DS3OS increasing attentioned.
This muti DDoS attacks maybe for some exact purpose, or not, anyway I have no idea.
No-advertised servers avoid this DDoS attack, still runs well.
Wondering a way to protect the advertised server running in entry-level ECS instead of by importing server config to entry server...
It seems old release version of Loader hides server IP but 0.13 and 0.14 verson as I know shows publicly.
Could it possible to return the changes for hiding IP address in all releases so far?
Also, in my unprofessional idea, is it better to sort advertised servers by more options? (languages maybe? a clean Loader for other area user... just my guess)
Anyway, thanks for the contributions of Dark Souls community.

It seems old release version of Loader hides server IP but 0.13 and 0.14 verson as I know shows publicly.
Nothing is hidden or shielded, the IP's are by nature of being needed for a connection, public knowledge.

All that change does is show them in the UI to make debugging issues easier, I'm not going to remove them.

If you want to protect against DDoS attacks you need to use typical mitigation methods, which are not typically software-level.
Sorry for my poor knowledge about it. Seems the most possible way to avoid DDoS is using no-advised server. :D


Think about GSF as an interchange format

Might be a better option out there, but GSF would probably be better than exporting to csv
This might already support reading/writing
https://github.com/schwehr/generic-sensor-format
Spec can be found here
https://www.leidos.com/products/ocean-marine

SONAR-netCDF4? Then the files could be imported in QGis and browsed in Panoply.
CC: @GlenRice-NOAA, @cyrilleponcelet

I found these folks that seem to be doing roughly what I am doing but for water column, which is really exciting
Echopype
and they seem to be something like SONAR-netcdf.  Out of university of washington.  I found netCDF/xarray functionality to be unreliable, especially with distributed writes, which is why I moved to Zarr.  But for an interchange format that wouldn't matter necessarily.  I'll have to look into this a little more.
For basic visualization, I plan to try

Hi @ericgyounkin , @giumas
I'm very excited to see your project and can't wait to have a deeper look at it since we are developping too some python algorithm with the same target (Build a multibeam processing sandbox for scientists/engineers, Build a multibeam cloud processing system for field use/production, ...)
SONAR-netcdf4 is a water column dedicated format right now, but it was meant to describe all kind of sounder data.
It supports Omni-Sonar, single beams, an extension is done by Simrad to support ADCP.
On my side, I'm currently extending it to support bathymetric echo sounders (kmall, all, and s7k). I planned to release this by the  end of the year but can send you some preliminary version.
Nevertheless I would be really interesting to see if you use this SONAR-netcdf4 format (or not but it would be interesting to know why)

Hi @cyrilleponcelet,
Thanks, I'd like to hear more about your team's approach to the multibeam processing problem.  For an interchange data format, all I really care about is how widely adopted it is.  I don't plan on moving away from Zarr for my internal data storage, as it is very flexible and integrated into xarray.  But i'm open to anything for exporting.

For water column data, the format is being widely adopted. But of course bathymetry being not defined yet I do not know any software (except mine) importing this format. I hope it is a matter of time but right now GSF is probably more widely used.
Great, I'd like to talk about your approach too.

@cyrilleponcelet I've been in contact with AusSeabed as well about multibeam processing, it seems they are also developing some cloud oriented processing routines.  It would be good for us all to discuss to see if there was some common ground for a little collaboration.  Would you be the right contact for that?  If so, could you share your email?  I guess I can't get that from GitHub.

This project by @UKHO might be connected to the solution to this issue
https://github.com/UKHO/gsfpy

@monocilindro, that's a Linux-only solution. See https://github.com/UKHO/gsfpy/issues/127


Trouble Installing Slate via the WSL

Problem
Can't create theme when using slate theme <theme name>. Getting this error below:
slate theme heimur

  This may take some time...

  ✔ slate-theme download completed
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated<EMAIL_ADDRESS>Use uuid module instead
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated<EMAIL_ADDRESS>graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to<EMAIL_ADDRESS>as soon as possible. Use 'npm ls graceful-fs' to find it in the tree.

><EMAIL_ADDRESS>install /mnt/c/Users/LL COOL J/Desktop/heimur/node_modules/fsevents
> node install

><EMAIL_ADDRESS>postinstall /mnt/c/Users/LL COOL J/Desktop/heimur/node_modules/@shopify/themekit
> node ./lib/cli.js install

|/mnt/c/Users/LL COOL J/Desktop/heimur/node_modules/@shopify/themekit/lib/install.js:46
        throw runErr;

Error: The `/mnt/c/Users/LL COOL J/Desktop/heimur/node_modules/@shopify/themekit/bin/theme` binary doesn't seem to work correctly
    at BinWrapper.<anonymous> (/mnt/c/Users/LL COOL J/Desktop/heimur/node_modules/bin-wrapper/index.js:156:7)
    at ChildProcess.<anonymous> (/mnt/c/Users/LL COOL J/Desktop/heimur/node_modules/bin-check/index.js:26:4)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm WARN<EMAIL_ADDRESS>No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: `node ./lib/cli.js install`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/s1dney/.npm/_logs/2017-11-20T01_24_55_978Z-debug.log
  ✔ devDependencies installed
  ✔ heimur theme is ready

Replication steps
OS: Windows 10
Shell: Windows Subsytem for Linux
npm: 5.0.0 (tried 3.8.6 and same issue)
Node: 8.0.0 (tried 6.0.0 and same issue)
More Information
Is this possibly due to using the WSL? Had a couple hiccups when trying just Themekit - see fix here.
Any help would be muchly appreciated!

FYI updating the WSL caused this error to happen again. This is obviously a WSL breaking issue rather than Slate. Just a note for those in the same boat as me, it'll work fine if using Yarn to run the package managing: slate theme my-theme --yarn


Small change so that Max Degrees Per Letter to consider multiline text

Thanks so much for this script.  It was exactly what I needed.
I made a small change I wanted to contribute back.  The Max Degrees Per Letter setting is nice, but I noticed that it kept expanding even though text had wrapped to the next line which looked bad.  This small change just makes it divide by the number of lines so that the distance between characters stays more consistent between single and multi line text.

Thanks! I've just had the time to review it, thanks a lot for contributing @jwvanderbeck , I'm sure this will be useful to many people!


[FLINK-27023] Unify flink and operator config handling

This PR configs a few changes that aims to unify config handling in the operator:

Merge operatorConfiguration & flinkConfiguration sections of the values.yaml into defaultConfiguration with 3 supported keys

flink-conf.yaml : shared default flink and operator config yaml
log4j-operator.yaml : operator log config
log4j-console.yaml : default flink deployment log config

Prefix all kubernetes config options with kubernetes.operator to make it consistent with flink conventions
In order to easily separate metrics configuration for the operator and flink jobs, operator metrics configs should now have a kubernetes.operator. prefix also.

cc @morhidi @wangyang0918 @Aitozi  @tweise


Uncaught exception: read ECONNRESET

Describe the bug
After emitting error event with read ECONNRESET at https://github.com/DoctorMcKay/node-steam-user/blob/d24569d6041b63e1fc36a1ab21a4becd2cec2b48/components/connection_protocols/tcp.js#L87 sometimes i get same uncaught exception.
This happens when proxy experience temporary outage.
When SteamUser emits 'error' event, i call logOff method (to be sure, that SteamUser instance is stopped).
Note: I'm not use auto-reconnect and manage reconnecting by myself.
Versions
5.0.8 (but it happens on earlier versions too)
Screenshots and Error Logs
error timestamp<PHONE_NUMBER>535
Error: Bot error
    at Bot.<anonymous> (C:\project\dist\core\core.service.js)
    at Bot.emit (node:events:537:28)
    at SteamUser.<anonymous> (C:\project\dist\core\bot.js)
    at SteamUser.emit (node:events:549:35)
    at ClientRequest.<anonymous> (C:\project\node_modules\steam-user\components\connection_protocols\tcp.js:87:15)
    at ClientRequest.emit (node:events:537:28)
    at Socket.socketErrorListener (node:_http_client:465:9)
    at Socket.emit (node:events:537:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
caused by: Error: read ECONNRESET
    at SteamUser.<anonymous> (C:\project\dist\core\bot.js)
    at SteamUser.emit (node:events:549:35)
    at ClientRequest.<anonymous> (C:\project\node_modules\steam-user\components\connection_protocols\tcp.js:87:15)
    at ClientRequest.emit (node:events:537:28)
    at Socket.socketErrorListener (node:_http_client:465:9)
    at Socket.emit (node:events:537:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

error timestamp<PHONE_NUMBER>535 (same as previous, so it happens right after previous handled error)
Error: Uncaught exception
    at process.<anonymous> (C:\project\dist\app.service.js)
    at process.emit (node:events:537:28)
    at process.processEmit [as emit] (C:\project\node_modules\signal-exit\index.js:199:34)
    at process._fatalException (node:internal/process/execution:167:25)
caused by: Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:217:20)

Same problem..
Any solutions?

Should be fixed in 5.1.0


convert pdf, doc to jpg, words are missing

import aspose.words as aw
doc = aw.Document("2782884.doc")
 for page in range(0, doc.page_count):
extractedPage = doc.extract_pages(page, 1)
extractedPage.save(f"Output_{page + 1}.jpg")
The words in .jpg are missing, no matter pdf or doc. Is the version broken?

@LiangYuHai Could you please attach your input and output documents here for testing? We will check the issue and provide you more information.
In addition as I can see you should like to convert the first page of the document to Jpeg. You do not need to use Document.extract_pages method for this. Document.extract_pages should be used if you need to extract page as a flow document (DOCX, DOC, RTF etc) in case of Fixed Page Formats (Images, PDF, XPS etc)  you can simply specify page set in Fixed Page Save options:
doc = aw.Document(docs_base.my_dir + "in.docx")
options = aw.saving.ImageSaveOptions(aw.SaveFormat.JPEG)
# Set the "PageSet" to "0" to convert only the first page of a document.
options.page_set = aw.saving.PageSet(0)
doc.save(docs_base.artifacts_dir + "FirstPage.jpeg", options)

Please see the documentation for more information:
https://docs.aspose.com/words/python-net/convert-a-document-to-an-image/


mobile/ci: Prevent release from running in non-envoy repos

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/retest

/retest


[tests-only][full-ci]Bump web commit id

This PR is  to test if we can bring the changes from https://github.com/owncloud/web/pull/8905 in ocis

@kulmann @ScharfViktor I've bumped the commit id of the web here to get the fixes from web. The tests are passing I hope it's okay.


Make the authentication property optional for the keepalived_vrrp_instance resource

Description
Since authentication is deprecated for VRRPv2 and not even defined for VRRPv3 it is not appropriate that the resource requires an authentication block. This PR makes this property
optional.
Issues Resolved
This fixes #74.
Check List

[ ] All tests pass. See TESTING.md for details.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable.

Note: If you prefer it I will squash the commits together or adapt the commit messages.

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

  Generated by :no_entry_sign: Danger


Added DOM-manipulation documentation

Hey,
I have added DOM manipulation documentation for javascript, which will help beginners make their web pages alive.
thanks

Exactly what I was looking for. Def needs to be included.


Docs.MS CI Updates for Azure.Identity

CI Update for release of Azure.Identity

Docs Build status updates of commit b9d998a:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

bundlepackages/azure-dotnet-preview.csv
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Support for Kibana 7.17.9

Hi,
Is there support for Kibana 7.17.9? I could not find it on the release page.
Thank you.

Yes, you can find it on release 1.13.3 :
https://github.com/fbaligand/kibana-enhanced-table/releases/download/v1.13.3/enhanced-table-1.13.3_7.17.9.zip


fix(optimizer): join simplify_outer should consider output indices

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
fix #9798

Checklist For Contributors

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[ ] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

LGTM. Add a test case?

a little hard, I had a try but I realized I am trying to test the optimization's internal result. It is a little hard because we do not support customize the optimization phase(rule set) in planner test.


BUG: Cannot assign ndarray to DataFrame

Describe the bug
Assigning values from a ndarray to a DataFrame errors
To Reproduce
import numpy as np
import pandas as pd

df = pd.DataFrame({"a":[1,2,3]}
df.iloc[:, :] = np.array([[-1],[-2],[-3]])

error is
Incompatible types in assignment (expression has type "ndarray[Any, dtype[Any]]", target has type "Union[float, Series[Any], DataFrame]")

Please complete the following information:

OS: Windows 11
OS 22H2
Python 3.9
mypy 0.961 (compiled: yes)
pandas                        1.4.2
pandas-stubs                  <IP_ADDRESS>704

I think just changing https://github.com/pandas-dev/pandas-stubs/blob/99f3b42d23f84b0da92025eeb52db15bac446f25/pandas-stubs/core/frame.pyi#L112
to accept np.ndarray would fix this.
PR welcome.


Automatic node adding via scontrol update state=power_up error

Bug description and how to reproduce:
I followed the Multiple queue mode slurm user guide and tried to add a node manually in order to find a workaround to issue-2454.
$ sinfo
PARTITION  AVAIL  TIMELIMIT  NODES  STATE NODELIST
t2-medium*    up   infinite     10  idle~ t2-medium-dy-t2medium-[1-10]

$ scontrol update nodename=t2-medium-dy-t2medium-1 state=power_up   # master node
slurm_update error: Invalid user id

Can you please tell me what I am doing wrong? How to debug it further?
Required Info:

AWS ParallelCluster version 2.10.1:
Cluster name: test-cluster20-scaleup
Cluster configuration

[aws]
aws_region_name = ca-central-1

[aliases]
ssh = ssh {CFN_USER}@{MASTER_IP} {ARGS}

[global]
cluster_template = default
update_check = true
sanity_check = true

[cluster default]
base_os = alinux2
key_name = parallel-cluster-master-node
vpc_settings = default
efs_settings = awselasticfs

scheduler = slurm
master_instance_type = t2.small
master_root_volume_size = 25   # GB
compute_root_volume_size = 25  # GB
queue_settings = t2-small

s3_read_resource = *
s3_read_write_resource = *

[vpc default]
vpc_id = vpc-MASKED
master_subnet_id = subnet-ID1_MASKED   # PCI_Subnet4
compute_subnet_id = subnet-ID1_MASKED   # PCI_Subnet4

[scaling custom]
scaledown_idletime = 5

[queue t2-small]
compute_resource_settings = t2-medium
compute_type = spot

[compute_resource t2-medium]
instance_type = t2.medium
initial_count = 0
max_count = 10

[efs awselasticfs]
shared_dir = /efs
encrypted = true
efs_fs_id = fs-MASKED-ID
performance_mode = generalPurpose

Note that right now, I am not able to use the guide for collecting logs to S3  due to insufficient permissions but I  can send you any logs from master / compute nodes.

Hi @lukeseawalker !
Should I provide more logs/information to receive help? Any suggestions?

The error you reported
$ scontrol update nodename=t2-medium-dy-t2medium-1 state=power_up   # master node
slurm_update error: Invalid user id

is due to the fact that scontrol update commands can only be executed as root or slurm user. try the following:
$ sudo su -
$ scontrol update nodename=t2-medium-dy-t2medium-1 state=power_up   # master node

Thank you @demartinofra . Your suggestion worked like a charm.
$ sudo su -

# sinfo
PARTITION  AVAIL  TIMELIMIT  NODES  STATE NODELIST
t2-medium*    up   infinite     10  idle~ t2-medium-dy-t2medium-[1-10]

# scontrol update nodename=t2-medium-dy-t2medium-1 state=power_up   # works now

# sinfo
PARTITION  AVAIL  TIMELIMIT  NODES  STATE NODELIST
t2-medium*    up   infinite      1  idle# t2-medium-dy-t2medium-1
t2-medium*    up   infinite      9  idle~ t2-medium-dy-t2medium-[2-10]

@demartinofra do you think it would easy to make the command to work with just sudo without the signed as root user first?
Re-opening the issue because:
$ sudo su -
# scontrol update nodename=t2-medium-dy-t2medium-1 state=power_up   # works now

But simply running the command with sudo is not possible
sudo scontrol update nodename=t2-medium-dy-t2medium-1 state=power_up   # fails now

For multiuser support is obviously using sudo is a much better solution.


[BUG] The advanced graphics quality selector is not working

Acknowledgement of preliminary instructions

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

What problem did you encounter?
The advanced graphics quality selector at Fast Flags is not working
Bloxstrap Log
N/A

so what you want to do is read the wiki carefully


[CH] Refactor HiveTableScanExecTransformer

What changes were proposed in this pull request?
refactor the code related to HiveTableScanExecTransformer
How was this patch tested?
under test

LGTM

Please create a  issue to record this pr.


Upgrade to cosmos-sdk 0.46

[x] Upgrade to Go v1.18
[ ] Upgrade to cosmos-sdk 0.46

I think Go v1.18 is good to go now (this has been tested on some other chains).
We don't want to move to sdk v0.46 until this has been battle tested by some chains.
I'm happy if there is an "common fork" using this that a few chains can try out, but with past experience, we wait for other chains to debug new sdk issues before updating.

Is it ok to submit a long pending PR for this? other chains can use as well, we can test on our own fork.

We don't want to move to sdk v0.46 until this has been battle tested by some chains.

My chain can't update to v0.46 until there's a wasmd that uses it too. Cosmos-SDK v0.46 removed some things that wasmd references, so go mod tidy throws errors like this:
github.com/provenance-io/provenance/app imports
	github.com/CosmWasm/wasmd/x/wasm imports
	github.com/CosmWasm/wasmd/x/wasm/client/rest imports
	github.com/cosmos/cosmos-sdk/types/rest: module github.com/cosmos/cosmos-sdk@latest found (v0.46.0), but does not contain package github.com/cosmos/cosmos-sdk/types/rest
github.com/provenance-io/provenance/app imports
	github.com/CosmWasm/wasmd/x/wasm imports
	github.com/CosmWasm/wasmd/x/wasm/client/rest imports
	github.com/cosmos/cosmos-sdk/x/gov/client/rest: module github.com/cosmos/cosmos-sdk@latest found (v0.46.0), but does not contain package github.com/cosmos/cosmos-sdk/x/gov/client/rest
github.com/provenance-io/provenance/internal/provwasm imports
	github.com/CosmWasm/wasmd/x/wasm/types tested by
	github.com/CosmWasm/wasmd/x/wasm/types.test imports
	github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx: module github.com/cosmos/cosmos-sdk@latest found (v0.46.0), but does not contain package github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx
github.com/provenance-io/provenance/app imports
	github.com/CosmWasm/wasmd/x/wasm/keeper tested by
	github.com/CosmWasm/wasmd/x/wasm/keeper.test imports
	github.com/CosmWasm/wasmd/app imports
	github.com/cosmos/cosmos-sdk/x/auth/client/rest: module github.com/cosmos/cosmos-sdk@latest found (v0.46.0), but does not contain package github.com/cosmos/cosmos-sdk/x/auth/client/rest

The rest stuff was completely removed, and /x/auth/legacy/legacytx was moved to /x/auth/migrations/legacytx.

I am more and more skeptical of whether we even use the v0.46.0 release from the cosmos-sdk. See https://github.com/CosmWasm/wasmd/issues/941

Is there a fork of wasmd that is currently working with sdk 0.46.1? This is needed

@kevinroleke you can try : https://github.com/notional-labs/wasmd/tree/fifth-46

What is the current status of the 0.46 upgrade? The chain our protocol is developing on requires this upgrade in order to process some Authz messages using the legacy amino format.
I'm just trying to guage vague timelines, and what I can do to help move this along (if anything)
Thanks!

We have decided to not do a 0.46 upgrade, but rather upgrade to 0.47 directly (which is like 0.46 with a bunch of cleanup, removing some sources of non-determinism that cause CosmWasm trouble, etc)
That depends on the release and testing cycle of 0.47. Ideally around the end of the year we should have wasmd with 0.47, but we don't control all the dependencies, so no promises there. It may well be January.

Closing this as we will be going with 0.47 https://github.com/CosmWasm/wasmd/issues/1028
I think this could be much closer if they trim down the size. Seems like some large epics that are barely started that are blocking release. Happy for other views and comments here: https://github.com/cosmos/cosmos-sdk/issues/13456#issuecomment-1303288541
We still plan to go straight to 0.47. Just hope it is sooner rather than later.


UI: Create Open Submission Pop Out

As an ECMPS admin, I want to see the submission pop out in the EM Submission module so that I can support program goals.
Given an ECMPS admin user logs in
When they navigate to EM submission screen
Then there will see an Open submission button
Given an ECMPS admin user navigates to the em submission screen
When they click on the Open  button
Then the open pop-out will open and will have all fields as shown in the wireframe below

[ ] Open Date Field will default to the current date

[ ] The closed Date field will populate with a date 30 days past the open date

https://projects.invisionapp.com/freehand/document/1dwq6maiy?zoomToItems=Y2xkbTM5ejRuMDF3dDNiNnhpdWh6c2M0bw%3D%3D

Pull request: https://github.com/US-EPA-CAMD/easey-ecmps-ui/pull/1135


Question: "The model class is undefined." error.

Hello.
I found some create dummy data library for lumen project, and then now trying this.
But I had exception error.
Here is sample code.
use Faker\Factory;
use League\FactoryMuffin;

class User {
    public static function generate() {
        $fm = new FactoryMuffin\FactoryMuffin();
        $fm->loadFactories(base_path('tests/Factory/factories'));

        $faker = Factory::create('ja_JP');
        $fm->define('Account')->setDefinitions([
            'user_number' => $faker->numberBetween(0, 999),
            'screen_name' => $faker->userName,
            'website' => $faker->url,
            'description' => $faker->text($faker->numberBetween(10, 100)),
            'profile_image_url' => $faker->imageUrl(640, 640),
        });

        return $fm->create('Account');
}

And run this program, output this.
 [League\FactoryMuffin\Exceptions\ModelNotFoundException]
  The model class 'Account' is undefined.

So what should I do this problem?

Is this the full name of your model, or is it actually App\Account?

I had this same issue with a code base that does not have "models" but rather "streams" a.k.a. PyroCMS. I ended up just creating stub model classes so FactoryMuffin could create something:
<?php

class Profile {
  public function save() {
    return true;
  }
}

Closing due to no response from the OP.


[Feature Request] Just one Alembic on project ... not two!!

it would be great if this plugin just using one alembic file on project ...
this plugin using twice duplicate of an alembic file! this is very bad situation on importing huge alembics .... and take more storage ...

https://github.com/unity3d-jp/AlembicImporter/issues/75


Scikit-Learn Integration

Hey @shinjikim @senior7515 @RBlafford
I had this sitting around on my hard drive, and your beta launch email prompted me to touch it up and get it merged in.
There aren't a whole lot of changes on the Bayesian Changepoint Detection front -- we converted it a Concord computation, but a fully distributed version would essentially need a distributed LAPACK (I think that libElemental has what we need, but we've never used it and I don't think it plays very well with the rest of the Scipy ecosystem).
The big changes are a couple wrappers around scikit-learn, the standard Python ML library. We essentially have two short functions that wrap scikit-learn predictors and transformers into Concord computations. Thanks to sklearn's Pipelines, that's pretty much all we need to expose the full power of sklearn.
Let me know if something doesn't make sense. I was pretty aggressive with the rebasing, so the commit history might be a little wonky.
Congrats on the beta launch!

Just as a note, there are a couple to-dos that we haven't checked off:

Efficient serialization -- right now we just use JSON, but it might be worthwhile looking into some kind of binary format, especially for dense numerics. I'm not sure what else is easy to output from non-Python systems though.
Online learning -- A couple of sklearn's predictors have a partial_fit function that would let them do incremental learning. We couldn't figure out how to store the model state works across workers though.
Publishing on PyPI -- The setup.py should work, but who knows?

Thanks for the note Alan. Will review when we get a chance!

On May 27, 2016, at 9:53 PM, Alan Du<EMAIL_ADDRESS>wrote:
Just as a note, there are a couple to-dos that we haven't checked off:
Efficient serialization -- right now we just use JSON, but it might be worthwhile looking into some kind of binary format, especially for dense numerics. I'm not sure what else is easy to output from non-Python systems though.
Online learning -- A couple of sklearn's predictors have a partial_fit function that would let them do incremental learning. We couldn't figure out how to store the model state works across workers though.
Publishing on PyPI -- The setup.py should work, but who knows?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Rad! thanks!


Only working with default qb-multicharacter

I have installed this and it works fine after making require changes to qb-multicharacter, but I cannot get it to work with either marcostom32/qb-multicharacter or OwenT1/qb-multicharacter.

@ChickenDipper1 its not an issue with fivem-appearance. You didn't configure it correctly or they're too old and need to be updated in order to work with fivem-appearance


Support APPEND or TRUNCATE in SELECT .. INTO OUTFILE ..TRUNCATE..

In recent version of ClickHouse, there are settings for INTO OUTFILE to specify when the outfile exists, whether to append to clean up content and add.
https://clickhouse.com/docs/en/sql-reference/statements/select/into-outfile

When writing to a file that already exists, APPEND or TRUNCATE must be used.

However this is not available in Timeplus Proton.

Code: 62. DB::Exception: Syntax error: failed at position 1370 ('TRUNCATE') (line 31, col 56): TRUNCATE FORMAT LineAsString
. Expected one of: COMPRESSION, FORMAT, SETTINGS, end of query. (SYNTAX_ERROR)

The use case is to follow the ClickHouse docs script to generate the markdown based on settings source code.
SELECT prefix || (SELECT group_concat(*) FROM main_content)
INTO OUTFILE 'docs/en/operations/settings/settings.md' TRUNCATE FORMAT LineAsString

Oops, if I remove the TRUNCATE before the FORMAT LineAsString, the DB exception shows INTO OUTFILE is not allowed, but I remember this works before

Received exception from server (version 1.6.6):
Code: 358. DB::Exception: Received from localhost:8463. DB::Exception: INTO OUTFILE is not allowed. (INTO_OUTFILE_NOT_ALLOWED)


Fix for malformed auth portion of curl command (#971)

Fix for issue #971

If anyone else wants to test this before merging, please speak up.  Otherwise I'll merge it to 0.7.0-dev for testing there.


Seg fault in /mingw64/bin/enchant

Latest msys2 fresh install today on Windows 7 64-bit.
$ gdb /mingw64/bin/enchant
...
Reading symbols from C:/msys64/mingw64/bin/enchant...(no debugging symbols found)...done.
(gdb) set args -v
(gdb) run
Starting program: C:\msys64\mingw64\bin\enchant.exe -v
[New Thread 5964.0x1834]
@(#) International Ispell Version 3.1.20 (but really Enchant 1.6.1)
[Inferior 1 (process 5964) exited normally]
(gdb) set args test.txt
(gdb) run
Starting program: C:\msys64\mingw64\bin\enchant.exe test.txt
[New Thread 1532.0xec8]
[New Thread 1532.0x9d0]
[New Thread 1532.0x1a3c]
[Thread 1532.0x9d0 exited with code 0]
[Thread 1532.0x1a3c exited with code 0]
Thread 1 received signal SIGSEGV, Segmentation fault.
0x000000007747fe54 in ntdll!RtlUnicodeToMultiByteSize ()
from C:\Windows\SYSTEM32\ntdll.dll
(gdb) bt
#0  0x000000007747fe54 in ntdll!RtlUnicodeToMultiByteSize ()
from C:\Windows\SYSTEM32\ntdll.dll
#1  0x00000000774f4489 in ntdll!RtlLogStackBackTrace ()
from C:\Windows\SYSTEM32\ntdll.dll
#2  0x000000007749797c in ntdll!TpAlpcRegisterCompletionList ()
from C:\Windows\SYSTEM32\ntdll.dll
#3  0x000007feff4510c8 in msvcrt!free () from C:\Windows\system32\msvcrt.dll
#4  0x000000006494309d in ?? () from C:\msys64\mingw64\bin\libwinpthread-1.dll
#5  0x0000000067c411e2 in ?? () from C:\msys64\mingw64\bin\libaspell-15.dll
#6  0x0000000067c412f4 in ?? () from C:\msys64\mingw64\bin\libaspell-15.dll
#7  0x0000000077452ac1 in ntdll!LdrShutdownProcess ()
from C:\Windows\SYSTEM32\ntdll.dll
#8  0x00000000774528d0 in ntdll!RtlExitUserProcess ()
from C:\Windows\SYSTEM32\ntdll.dll
#9  0x000007feff4599e2 in msvcrt!_wcstoui64 ()
from C:\Windows\system32\msvcrt.dll
#10 0x00000000004014cd in ?? ()
#11 0x000000000040151b in ?? ()
#12 0x00000000772259cd in KERNEL32!BaseThreadInitThunk ()
from C:\Windows\system32\kernel32.dll
#13 0x000000007745a561 in ntdll!RtlUserThreadStart ()
from C:\Windows\SYSTEM32\ntdll.dll
#14 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Program also dies if run from a Windows/DOS cmd prompt.
Please let me know what else I can do to help you debug this.
Maybe another clue?
$ gedit
(gedit.exe:6300): libpeas-WARNING **: Failed to load module 'spell': 'C:\msys64\mingw64\lib\gedit\plugins\libspell.dll': The specified module could not be found.
(gedit.exe:6300): libpeas-WARNING **: Error loading plugin 'spell'

Wrong repo

And it doesn't crash any more.


Unable use xiaomi_miio (decode() takes 3 positional arguments but 4 were given)

Home Assistant release (hass --version):
0.63.2
Python release (python3 --version):
Python 2.5.4
Component/platform:
xiaomi miio
Description of problem:
After updating to 0.63.2 I am no longer able to add my Xiaomi vacuum and WiFi socket.
Expected:
Beeing able to control my WiFi socket and vacuum using home-assistant.
Problem-relevant configuration.yaml entries and steps to reproduce:
switch:
  - platform: xiaomi_miio
    name: Lautsprecher
    host: chuangmi-plug-m1_miio65985298.lan
    token: _REDACTED_

Traceback (if applicable):
2018-02-17 11:28:53 WARNING (Thread-2) [homeassistant.components.vacuum.xiaomi_miio] Got exception while fetching the state: Unable to discover the device rockrobo.lan
2018-02-17 11:29:13 WARNING (Thread-9) [miio.device] error while reading discover results: _decode() takes 3 positional arguments but 4 were given
2018-02-17 11:29:13 ERROR (Thread-9) [miio.device] Unable to discover a device at address rockrobo.lan

Additional info:
This might be related.

Same happens to me with 0.63.2.
I just set it up, so I can not confirm you if it worked with previous versions.

Home Assistant release (hass --version):
0.63.0
Python release (python3 --version):
Python 3.6.4
Component/platform:
xiaomi miio
Description of problem:
Installing xiamomi WiFi socket.
Expected:
Beeing able to control my WiFi socket using home-assistant.
Problem-relevant configuration.yaml entries and steps to reproduce:
switch:

platform: xiaomi_miio
name: Xiaomi Mi Smart WiFi Socket 2
host: <IP_ADDRESS>
token: 28e8c37798b083fbfc24260a0fb17bda

Traceback (if applicable):
2018-02-17 22:53:00 WARNING (MainThread) [miio.device] error while reading discover results: _decode() takes 3 positional arguments but 4 were given
2018-02-17 22:53:00 ERROR (MainThread) [miio.device] Unable to discover a device at address <IP_ADDRESS>

By changing the requirement version (python-miio==0.3.6), it fixed the issue
 root@osmc:/usr/local/lib/python3.6/site-packages/homeassistant/components/switch# diff   xiaomi_miio.py xiaomi_miio.py.bak
 28c28
 < REQUIREMENTS = ['python-miio==0.3.6']
 ---
 > REQUIREMENTS = ['python-miio==0.3.5']

fixed by #12392


[ALLUXIO-2134]Mark class MountTableTest final

https://alluxio.atlassian.net/browse/ALLUXIO-2134

Can one of the admins verify this patch?

ok to test

Jenkins, add to whitelist

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11941/
Test PASSed.

LGTM
thanks


update documentation for metrics now that code freeze is in effect

Metrics have been added since the last time I updated this file and when code freeze went into effect. This commit resolves that delta.

/sig instrumentation
/cc @dashpole @ehashman @dgrisonnet

/lgtm

Oops, this merged too early. I think we should revert it and then apply a similar change to the dev-1.26 branch.


Ability to 'import' Typescript libraries

This issue was originally filed by<EMAIL_ADDRESS>
What steps will clearly show the issue / need for enhancement?

using the 'import' statement, try to import a Typescript library
2.
3.

What is the current output?
nothing
What would you like to see instead?
I would like to be able to use Typescript libraries with the 'import' statement.
What version of the product are you using? On what operating system?
latest, 1.11
Please provide any additional information below.
win 8.1

I've tried to make my implementation of .d.ts -> dart converter. Please, see https://github.com/denis-aes/DefinitelyTyped.dart

Hmmmm ... this is dead?

@kevmoo is this still being worked on?

@kevmoo is this still being worked on?

I don't believe anyone is currently working on this issue.
It would only make sense when compiling for the web, and our JavaScript integration story does not extend to directly importing typescript libraries (Dart is not a typescript compiler).
A more likely approach is to generate Dart code with JS annotations to interface with the JS code. (I don't personally know of any such project, but I'm also not doing much web development).

I don't believe anyone is currently working on this issue.
It would only make sense when compiling for the web, and our JavaScript integration story does not extend to directly importing typescript libraries (Dart is not a typescript compiler).
A more likely approach is to generate Dart code with JS annotations to interface with the JS code. (I don't personally know of any such project, but I'm also not doing much web development).

see babylon_dart for some good examples of how to handle this problem
also, i'm having very good luck w/ protobuf-ts and dart protocol buffers for marshaling between the two languages, within the browser.

see babylon_dart for some good examples of how to handle this problem
also, i'm having very good luck w/ protobuf-ts and dart protocol buffers for marshaling between the two languages, within the browser.

indeed, as @lrhn, this seems to be closer to the area of JS-interop.
Since the time this issue was filed we have added support for interoperability between Dart and JavaScript via package:js. It requires JS code to be loaded separately, and Dart facades to be declared to expose JavaScript/TypeScript APIs to the Dart application.
We are still actively working on improving the JS-interop story, so the solution will continue to change. That being said, our plans involve improvements in making the JS-interop declarations more ergonomic and idiomatic in Dart, but we do not have any plans that will make JS constructs like a ES6 module import directly accessible from Dart. For that reason I will be closing this issue at this time.
Hope this answers some of your questions.

disappointing

Just to be clear: we value interoperability a lot and we are working heavily in this area to provide good building blocks and foundations to make interoperability with JS/TS easy and flexible.
Since Dart is a multi-platform language, there are constraints to balance when we think about how to bridge Dart and other languages. As a result, we can't simply make Dart tools accept and understand imports to other languages like TS without some additional hints and binding logic. We do believe, however, that one can make it easier to create those bindings with code generation tools that create JS-interop definitions from .d.ts files (like https://github.com/dart-lang/js_facade_gen, and babylon_dart_gen that you pointed out above).
@unicomp21 - using protobuf to marshal between the two languages it's pretty clever! One caveat is that there is a cost in marshalling data. It may not be a cost that is visible in your application, but if it becomes noticeable I'd recommend to check out the package:js alternative. With package:js you should be able access and interact with TS in the browser without the cost of coping/serialization. Today there may be a layer of indirection in our JS-interop communication, but we expect some of that indirection to be removed in the future with the improvements we are making.
Cheers!


Installation fails because pyqtgraph requires PyQt5

After the fix applied in pull request "OP-61 Improve qtt installation." installation of pyqtgraph still fails, but for a different reason.
pip install -e .  fails because pyqtgraph needs PyQt5, which is not in the requirements list. This can be solved by adding pyqt5 to the install_requires list in setup.py.

Duplicated by  #611, which is indeed not resolved.


Snapshot feature

Public docs already show this being available (and is). Can we get an update to the SDK refelecting this?

:tada: This issue has been resolved in version 0.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cleanly map new external parameters created in MMGroupQuantRewriterPass

There is a lot of hardcoded matching happening specific to brevitas in the MMGroupQuantRewriterPass to get basic functionality. Need a cleaner method such as integrating with use of RenameParametersPass to map the newly created global's and extend to other possible quantized parameters

Hi @IanNod, do we still need this issue?


Cannot add more than a single alias from any domain

I was able to add an alias from one of my domains using this process earlier (alias1@domain.com), but attempting to add another<EMAIL_ADDRESS>fails with an error message like: "Email addresses need to be<EMAIL_ADDRESS>is being used by the user..."

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

ID: 50963b73-8563-f99a-72f7-bf4037965cde
Version Independent ID: 5daa29ed-8092-3a79-c011-8bcbe0225b2c
Content: Add another email alias for a user
Content Source: Office365-Admin/email/add-another-email-alias-for-a-user.md
Service: o365-administration
GitHub Login: @KwekuA
Microsoft Alias: kwekua

@officedocsbot assign @mypil

@sprender - Thank you for submitting feedback.
I think the best way forward is if you can open a service ticket in your tenant so this can get resolved ASAP. Based on outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:  https://docs.microsoft.com/office365/admin/contact-support-for-business-products
If you don't mind please keep us posted here on the resolution and I really want to get this information you are discovering back into the docs.

@officedocsbot close


Minimap: scrolling up in large file makes the slider jump a little bit

Steps to Reproduce:

macOS with zoom mode 1
large file with 30k lines scrolled all the way down
use mouse wheel to scroll up

=> at some point the thumb jumps up and then on the next scroll jumps down again
=> the other scrollbar does not show this behaviour

I've tried to work around this tremor in some cases, but there are still cases where it occurs.
The root cause is:

the minimap does not render partial lines. i.e. if a line is painted with 2px height, at y = 0 in the minimap there will always be a full line starting
the viewport renders partial lines
depending on the scrollTop, the viewport can contain N or N + 1 lines (where the first and last lines are only partially visible)
in such cases the minimap slider has this tremor.

Very annoying indeed.

Not sure if it's the same problem but the slider also jumps when dragging by cursor.

does f5e4e4f4246a70d30c32a6047874da2bbb4417e4 closes this issue?

6df8165 should hopefully fix it


WIP: Dataobject rework (JUST TO CHECK THE CHANGES WE HAVE WITH RESPECT TO DEVEL)

FOR NOW THIS PR IS JUST TO CHECK THE CHANGES WE HAVE WITH RESPECT TO DEVEL
Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
What are the significant changes in functionality due to this change request?

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[ ] 1. Review all computer code.
[ ] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[ ] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[ ] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[ ] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[ ] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

I close this PR and open a new clean one


[WIP] Improve inferred generic types

Posting this for feedback. I'm still cleaning this up, so it is a little rough. This PR mainly adds inferred generic types for lambdas and further improves inferred generic types for method invocations.
The resulting diff from these changes is huge, and I have not gone through it thoroughly yet. However, this does fix a lot of errors and cleans up the code a lot.
1.13.1 diff
rough joined patches diff

Things like https://gist.github.com/JDLogic/d58be8650df28d909f02a7de95d8f2ed#file-mc-generics-diff-L7237-L7238 are annoying.

Agreed. I'll suppress the type arguments in cases like that.

Alright, I think this is finally done. Please let me know if there are any changes that need to be made.


Removing kubectl CLI option, making oc as default

This change is

@ramkrsna #170 seems to be the same general work, though this one has a formatting error, and has an earlier date. I'll be taking that one instead.


Feature suggestion : Loading button

TL;DR
Have Component:loading-btn which display a loading animation in it, +transition with existing btn stuff.
Think it's a good idea ? add :+1:
Thanks ;)

Expected Behavior
I would like to see this kind of button :

See https://github.com/Dogfalo/materialize/pull/4942 for more
UseCase

In a form
You click a normal button
By adding class is-loading to it, it displays a loading animation
Plus disabling button action, avoiding multi-submit & stuff
Do your async/ajax/WTFYouWant
Delete is-loading class and YaY it's done

Material compliance

Well, nothing is clearly stated about button & their motion
But it's stay compliant if we respect these motion rules

Current Behavior

Well there is no loading btn for the moment
We could edit the content of a button with mini preloader but it's not really a good solution as you need to edit DOM and too much stuff on html/css part of things.

Possible Solution
Testable in this fork

Just tried to edit css, and it's very doable.
Either right/left/none :

If people are interested in, i'll do it :)

I would say initially that this seems a bit unnecessary but if we see people continuously ask for this, we'll consider it.
Will reopen this for now for visibility

@Dogfalo ok :)
I actually need this in my project.
Too much async stuff, and nothing in materialize can handle those scenarios without too much dev.
So I'll work on it anyway ;)

https://jsfiddle.net/tbsgvn6z/
<button class="red btn waves-effect">

</button>

I know its not perfect, but with some css additions this can probably be fixed without re-creating existing components. spinner-white-only would be handy though

@bert-w that's precisely what i want to avoid, DOM manipulate just for a loading animation feel really heavy.
BTW, i already told this in current behavior ^^'

I think this could be a pretty nice addition to make something that fits within Materialize well, but am currently using Ladda: https://github.com/hakimel/Ladda.
You can use the non-styled buttons and apply Materialize classes to make them look like Materialize buttons, but with the loading indicators.

@bassie1995 Oh ^^
I'm just wondering why not implement Ladda in our framework ?
All those loading button are great and use-able easily.
Contract-overlay button is neat for submitting form without manually disabling every input & select.
Or just implement overlay capabilities on my fork ...

Materialize definitely needs a loading button, I always wondered why there isn't one.

See my comment over at #4942

Thanks a heap for your advice @Dogfalo keep up the great work !

I would say initially that this seems a bit unnecessary but if we see people continuously ask for this, we'll consider it.

I've never been on a project the last 10 years which didn't have a spinner-on-a-button. It is done on every action which might take some time ie a call to the server. Must have IMO


Improve compatibility of enum parameter parsing

The esp8266-web-interface understands enum parameters where there is not a comma separating enum values. The parsing of this sort of enum should be improved in openinverter-can-tool so that it is compatible with the same definitions that work with the web interface.
For example the enum for the Zombieverter CAN3Speed parameter was 0=k33.3, 1=k500. 2=k100 which the web interface treats as {0: "k33.3", 1: "k500.", 2: "k100"}. This is a simple punctuation mistake but the result is still understandable and usable with the web interface.

This is basically a re-run of issue #4 but with a different expected behaviour.


calc of mAP

the last two lines shows that query with no correct return will not be included in APx, is it a bug here? Thanks!

Hi, this is not a bug. If no relevant results are retrieved, the MAP is not well defined and should not be included in the APx.
You can also simply set it to 0, but it doesn't have an obvious impact on the result since it's unlikely for our method to find 0 relevant code in the database similar to a query.

OK, thank you


publish = false does not work

Here is my build.gradle.kts:
plugins {
    id("org.unbroken-dome.helm") version "0.4.0"
    id("org.unbroken-dome.helm-publish") version "0.4.0"
}

helm {
  home.set(file("$buildDir/helm/home"))

  publishing {
    repositories {
      artifactory("my-repo") {
        url.set(uri("http://my-repo/helm-dev"))
      }
    }
  }

  charts {
    create("myChart") {
      chartName.set("my-chart")
      sourceDir.set(file("$projectDir/src/my-chart"))
      publish = false
    }
  }
}

Trying to run helmPublish task fails with an error:
Script compilation error:

  Line 21:             publish = false
                       ^ Unresolved reference: publish

Replacing with publish.set(false) does not help either.

It seems that it does not work in Groovy version either, failing with an error:
Could not set unknown property 'publish' for object of type org.unbrokendome.gradle.plugins.helm.dsl.DefaultHelmChart.

Hi,
thanks for the report and sorry for the long wait!
there are actually 2 issues causing this:
First, the convention that adds the new property was not installed properly -- it needs convention.plugins.put() instead of convention.add (I never really found out what "adding" a convention will effect). This should at least make the property available when using Groovy DSL.
Second, the Kotlin DSL cannot really deal with conventions yet, and not even with extensions if they're not installed on a "static" object under the project, but rather on a dynamically created object like HelmChart. To work around this, I created an extension property for HelmChart. It's in the org.gradle.kotlin.dsl package so that no extra import is needed in the build script. However, this comes at the cost that the property will now always be available, regardless of whether the helm-publish plugin is applied or not (and it will produce an error if it's accessed without having the plugin applied).


howto abort

revert to schema.json
replace depricated methods and fix warnings
add timeout for CI issues
fix set-signal incrementing expected signal count and move docs
How to upload files in a qDup script
How to abort a run early

Reference ?


Create an IRC social provider

IRC servers are popular and easy to run.  Highly technical users often have IRC accounts already.  A privmsg-based IRC social provider should be able to implement the entire interface (except for user-images).

Closing as this is not a priority right now.


css in the picture packing problem

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

i use ng new app
I set up a div tag in index.html, give it a class box, and then I set this box background: url ('./assets/images/user.jpg') no-repeat in styles.css;
then i run ng build, Find the image packed in the root directory
Expected behavior

I hope that the picture resources can be unified in the assets/images directory or a unified directory, because when I css too much in the picture when this is not well managed！
Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

@angular/cli: 1.0.0

node : 7.10.0
os : darwin x64
@angular/common : 4.1.3
@angular/compiler : 4.1.3
@angular/core : 4.1.3
@angular/forms : 4.1.3
@angular/http : 4.1.3
@angular/platform-browser : 4.1.3
@angular/platform-browser-dynamic : 4.1.3
@angular/router : 4.1.3
@angular/cli : 1.0.0
@angular/compiler-cli : 4.1.3

You have finer grained control over your project's assets than what you think, please review this documentation: https://github.com/angular/angular-cli/wiki/stories-asset-configuration
If you still have issues, please comment here or open another issue.


.Where() ignored before .DefaultIfEmpty() (LEFT JOIN)

Steps to reproduce
The following LINQ Query (to SQL) does not generate the correct SQL statement:
from p in Projects
join ps in ProjectSprints on p.Id equals ps.ProjectId into psG
from psLJ in psG.DefaultIfEmpty()
join psu in ProjectSprintUsers on psLJ.Id equals psu.ProjectSprintId into psuG
from psuLJ in psuG.Where(x => x.UserId == 2).DefaultIfEmpty()
join u in (from u in Users select u) on (psuLJ == null ? p.ProjectManagerUserId : psuLJ.UserId) equals u.Id
where (p.ProjectManagerUserId == 2 && psuLJ == null) || psuLJ != null
select new { Project = p, ProjectSprint = psLJ, ProjectSprintUser = psuLJ, User = u }

The issue
Specifically, the .Where(x => x.UserId == 2) condition is not applied to the LEFT JOIN result in the generated SQL statement, and causes incorrect results to be returned.
Expected behavior (from LINQPad 5)
-- Region Parameters
DECLARE @p0 Int = 2
DECLARE @p1 Int = 2
-- EndRegion
SELECT [t0].[Id], [t0].[TeamId], [t0].[ClientId], [t0].[ProjectTypeId], [t0].[Name], [t0].[IsActive], [t0].[StartDate], [t0].[EndDate], [t0].[ProjectManagerUserId], [t2].[test], [t2].[Id] AS [Id2], [t2].[ProjectId], [t2].[StartDate] AS [StartDate2], [t2].[EndDate] AS [EndDate2], [t2].[RetroFrom], [t2].[RetroTo], [t4].[test] AS [test2], [t4].[Id] AS [Id3], [t4].[ProjectSprintId], [t4].[UserId], [t4].[SprintRoleId], [t5].[Id] AS [Id4], [t5].[Username], [t5].[Email], [t5].[Name] AS [Name2], [t5].[IsActive] AS [IsActive2], [t5].[Password], [t5].[ShouldChangePassword]
FROM [Project] AS [t0]
LEFT OUTER JOIN (
    SELECT 1 AS [test], [t1].[Id], [t1].[ProjectId], [t1].[StartDate], [t1].[EndDate], [t1].[RetroFrom], [t1].[RetroTo]
    FROM [ProjectSprint] AS [t1]
    ) AS [t2] ON [t0].[Id] = [t2].[ProjectId]
LEFT OUTER JOIN (
    SELECT 1 AS [test], [t3].[Id], [t3].[ProjectSprintId], [t3].[UserId], [t3].[SprintRoleId]
    FROM [ProjectSprintUser] AS [t3]
    ) AS [t4] ON ([t4].[UserId] = @p0) AND ([t2].[Id] = [t4].[ProjectSprintId])
INNER JOIN [User] AS [t5] ON (
    (CASE
        WHEN [t4].[test] IS NULL THEN [t0].[ProjectManagerUserId]
        ELSE [t4].[UserId]
     END)) = ([t5].[Id])
WHERE (([t0].[ProjectManagerUserId] = @p1) AND ([t4].[test] IS NULL)) OR ([t4].[test] IS NOT NULL)

Incorrect Observed behavior (current version 1.1.0) (from SQL Profiler)
Currently observed runtime behavior generates the following SQL:
exec sp_executesql N'SELECT [p].[Id], [p].[EndDate], [p].[IsActive], [p].[Name], [p].[ProjectManagerUserId], [p].[ProjectTypeId], [p].[StartDate], [p].[TeamId], [ps].[Id], [ps].[EndDate], [ps].[ProjectId], [ps].[RetroFrom], [ps].[RetroTo], [ps].[StartDate], [psu].[Id], [psu].[ProjectSprintId], [psu].[SprintRoleId], [psu].[UserId], [u].[Id], [u].[Email], [u].[Name], [u].[Password], [u].[ShouldChangePassword], [u].[Username]
FROM [Project] AS [p]
LEFT JOIN [ProjectSprint] AS [ps] ON [p].[Id] = [ps].[ProjectId]
LEFT JOIN [ProjectSprintUser] AS [psu] ON [ps].[Id] = [psu].[ProjectSprintId]
INNER JOIN [User] AS [u] ON CASE
    WHEN [psu].[Id] IS NULL
    THEN [p].[ProjectManagerUserId] ELSE [psu].[UserId]
END = [u].[Id]
WHERE ((([p].[ProjectManagerUserId] = @__userId_1) AND [p].[ProjectManagerUserId] IS NOT NULL) AND [psu].[Id] IS NULL) OR [psu].[Id] IS NOT NULL
ORDER BY [p].[Id], [ps].[Id]',N'@__userId_1 int',@__userId_1=2

It is clear that the condition on the LEFT JOIN is omitted in this query, and instead I expected to see
LEFT JOIN [ProjectSprintUser] AS [psu] ON [psu].UserId = 2 AND [ps].[Id] = [psu].[ProjectSprintId]
Previous behavior (version 1.0.1) (from SQL Profiler)
Previously this generated three different queries, and then presumably combines the result internally:
SELECT [p].[Id], [p].[EndDate], [p].[IsActive], [p].[Name], [p].[ProjectManagerUserId], [p].[ProjectTypeId], [p].[StartDate], [p].[TeamId], [ps].[Id], [ps].[EndDate], [ps].[ProjectId], [ps].[RetroFrom], [ps].[RetroTo], [ps].[StartDate]
FROM [Project] AS [p]
LEFT JOIN [ProjectSprint] AS [ps] ON [p].[Id] = [ps].[ProjectId]
ORDER BY [p].[Id]

SELECT [psu].[Id], [psu].[ProjectSprintId], [psu].[SprintRoleId], [psu].[UserId]
FROM [ProjectSprintUser] AS [psu]

SELECT [u].[Id], [u].[Email], [u].[Name], [u].[Password], [u].[ShouldChangePassword], [u].[Username]
FROM [User] AS [u]

Further technical details
EF Core version: (1.1.0)
Operating system: Windows 10 / Windows Server 2016
Visual Studio version: (VS 2015 Update 3, .NET Core Runtime 1.1.0)

@maumar this should be fixed in #7845

This scenario indeed works on the current bits.


Example site doesn't npm run dev

Details:

Win10 Professional
Node10
npm-installed

Steps taken:

Pull down
cd examples
npm install
npm run dev

It complains that node-sass and propdoc can't be found. After npm installing both packages, the sass message goes away, but the propdoc message remains.
Message:
ERROR in ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/Documentation.vue
Module not found: Error: Can't resolve 'propdoc' in 'C:\Users\keenanpx\Desktop\webdev\epicenter-vue\etc\doctor-master\doctor-master\examples\src'
 @ ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/selector.js?type=script&index=0!./src/Documentation.vue 15:0-30
 @ ./src/Documentation.vue
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

This is almost definitely caused by something goofy in Windows and this line. I don't have Windows to be able to resolve though.
You could try removing that line and actually installing propDoc instead of aliasing it.


Bump 'engines' in 'package.json' to Node.js 12.x (current LTS)

The Problem
The local development instructions cannot be followed (the commands fail) if your local version of Node.js is 12.x (the current LTS release) and you aren’t using nvm.
Additional Context
According to the Node.js Release Schedule, Node.js 10.x enters “maintenance mode” in April 2020, which is described thusly (emphasis theirs):

Once a release moves into Maintenance mode, only critical bugs, critical security fixes, documentation updates, and updates to ensure consistency and usability of the N-API across LTS releases will be permitted. Unless a change is urgent it will be planned into a release once per quarter. Such releases will only be made when necessary.

This PR’s Solution
Node.js 12.x has been the long-term support (LTS) release since October 2019. Given that the Primer Component docs build without errors using Node.js 12.x and that Node.js 10.x support is winding down, I recommend we bump the version requirement in "engines" to 12.x.
Alternative Solutions
We have other options:

"engines" accepts a range, so we could specify ">10.x". This would allow the project to be built with Node.js 10.x, 11.x, 12.x, 13.x and future unstable and stable versions, but this flexibility may not be desirable.

We could expand the local development instructions to indicate that nvm is required.

Merge checklist

[x] Added/updated documentation

Does setting this mean that projects using Yarn and Node 10 will no longer be able to use the package? If so, perhaps something like >= 10.x <=12.x would work better for engines, and then we can rely on .nvmrc for local development versioning.

ping @smockle 💖

Abandoning this PR—the issue it addressed has been fixed in master with this commit: https://github.com/primer/components/commit/771e433d76e313d8c094116f1b3f0a9059a8aa68


max short description length/header count off by one

gitzy version: 1.3.1
node version: 12.12.0
commitlint version: 11.0.0

What you did:

made a short description of max length (64)

What happened:
header must not be longer than 64 characters, current length is 65
Reproduction:
make a commit with the max description length (64/64)
Problem description:
possibly the emoji is accounted for in description length?
Suggested solution:
updating max length

@charharharhar good catch! I forgot to account for this space when determining wether or not it's past the max length


[BUG] pylsp causes extreme lag when switching python buffers in large projects

Field
Description

Plugin
lsp

Nixpkgs
unstable

Home Manager
unstable

[x] I have read the FAQ and my bug is not listed there.

Description

In large python projects, simply having programs.nixvim.plugins.lsp.servers.pylsp.enable = true; in the nix config leads to extreme lag when switching to or from buffers in which .py files are open.
For a project with ~75k  LoC, I am getting a >10s timeout in which nvim is completely frozen every time I

switch from a py buffer to another buffer
switch from some buffer to a by buffer
exit insert mode

I am not really certain if this is a nixvim, neovim, lsp, or pylsp issue. However, I could not find existing issues for the other projects, and since they are quite a bit larger,... 😅
Minimal, Reproducible Example (MRE)

set programs.nixvim.plugins.lsp.servers.pylsp.enable = true;
open a python file from a large project in a buffer
open a second py file from that project in a second buffer

It's possible that nixvim configures pylsp in a sub-par nonstandard way, but I think it's more likely an issue with either pylsp or neovim.
In order to diagnose this you could try to use nixvim-print-init to generate a minimal init.lua to try and put nixvim out of the picture.

nixvim-print-init

Nice, did not know about this!
Using the generated config, I did still get some lag, but only a fraction of a second.

Turns out it was not pylsp after all, it was pylint (via the lint plugin). I must have fucked up commenting out just the LSP config, accidentally fixing my problem 🤦🏼♀
Anyways, removing programs.nixvim.plugins.lint.linterByFt.python = [ "pylint" ]; from the config and adding
pylint.enabled = true;
pylint.package = pkgs.pylint;

fixed my issue.
There's still something funky going on (from the timing it almost appear like the entire project is re-linted every time a buffer is focused?), but the is a perfect workaround for me, so I'll mark as closed :)


display chalkit APIs

APIs for display using widgetName:

chalkit.showWidget(widgetName)
chalkit.hideWidget(widgetName)
chalkit.enableWidget(widgetName)
chalkit.disableWidget(widgetName)

widgetName can be found in the hover tooltip. For example "flaUiButtonA" in this widget:

Super idea Abir.
But seems to have problem with Pyodide ... To check


Add sequence link in retrieved messages

Description
Currently only the publisher of a message is able to obtain the address to the sequence message. Other subscribers need also this address to be able to publish messages link to it.
Motivation
Probably the most frequent scenario where this is relevant is when Author needs to issue a new keyload linked to the sequence message in order to add or remove subscribers from a branch. Unless the Author is also the publisher of the branch, it's not easy for she to get that link.
Requirements

Users that are not publishers must have an straightforward way to get the link to sequence messages

Open questions (optional)

TODO

Are you planning to do it yourself in a pull request?
Yes

This issue has also been requested in Discord: https://discord.com/channels/397872799483428865/811704697622364251/897114729934377050


ZXing Objectivec can't generator image barcode's ean-13 format!

Please help me!.
I use this to generator image barcode ean-13 format, result is not! It keeps checking "Contents do not pass checksum" errors
NSError *error = nil;
ZXMultiFormatWriter writer = [ZXMultiFormatWriter writer];
ZXBitMatrix result = [writer encode:@"4334567841243"
format:kBarcodeFormatEan13
width:500
height:500
error:&error];
if (result) {
CGImageRef image = [[ZXImage imageWithMatrix:result] cgimage];
// This CGImageRef image can be placed in a UIImage, NSImage, or written to a file.
} else {
NSString *errorMessage = [error localizedDescription];
}

Your EAN13 code is not valid and does not surpass the internal validator. For more information compare http://formvalidation.io/validators/ean/.


Ruby 3.2

@blambeau this PR would mean dropping support for ruby < 2.6 (like the 'path' gem did too).
I also believe we should probably still support Finitio schemas using .Fixnum or .Bignum but basing them on Integer?

No problem for ruby 2.7 minimum.
Agree to use Integer everywhere


Added error message and exposes WASM error message

Reference to this issue: https://github.com/vmware-labs/wasm-workers-server/issues/131
Before sending a generic error, wws must print the Wasm backtrace in the terminal. The stderr is configurable, so the stderr_file (Option) may contain a file descriptor that should be used. If it's None, you can directly call eprintln! with the right message.

Can you tell me why this error is coming? @Angelmmiguel

 Can you tell me why this error is coming? @Angelmmiguel

In this case, the error is related to the stderr_file type. Since this variable comes from actix Data, the type is Data<Option<File>> instead of Option<File>. You can get a reference to the inner element by calling the stderr_file.get_ref() method. That will return an &Option<File> that you can use 😄.
Also, I see you're using expect to ensure the functions return an Ok variable. In this case, this will throw a panic and won't return any proper result to the users. To avoid it and returning an error page to the user, you can default to eprintln! in case any of these functions fail.

 Can you tell me why this error is coming? @Angelmmiguel

In this case, the error is related to the stderr_file type. Since this variable comes from actix Data, the type is Data<Option<File>> instead of Option<File>. You can get a reference to the inner element by calling the stderr_file.get_ref() method. That will return an &Option<File> that you can use smile.
Also, I see you're using expect to ensure the functions return an Ok variable. In this case, this will throw a panic and won't return any proper result to the users. To avoid it and returning an error page to the user, you can default to eprintln! in case any of these functions fail.

Did that too also ,
let (handler_result, handler_success) =
            match route
                .worker
                .run(&req, &body_str, store, vars, &*stderr_file.get_ref())
            {
                Ok(output) => (output, true),
                Err(error) => {
                    if let Some(&stderr_file) = stderr_file {
                        let mut stderr_file = stderr_file.try_clone().expect("Failed to clone stderr_file");
                        stderr_file.write_all(error.to_string().as_bytes()).expect("Failed to write error to stderr_file");
                    } else {
                        eprintln!("{}", error);
                    }
                    (WasmOutput::failed(), false)},
            };

also, try to change to eprintln!() but getting error on that @Angelmmiguel

hey @Angelmmiguel , As checks are cleared of this PR, can you merge this?

Thank You So Much for the support @Angelmmiguel , I will learn from you more 🙏
Let me know if I will do more issues like these