Translation

Hello
I want to use the program with my native language i translated all field from templates it is working but i have problem with modals i couldnt find the sources to translate them. Would you please help me i found the source from the locale/django.po file i go there translated to my language but it is not changed on view. I also changed status_codes.py they appear sometimes with my native language sometimes with default language us-en. There is any solution to solve this?
Thanks in advance.

I checked changes on local server appear but on ngnix doesnt appear.

I checked changes on local server appear but on ngnix doesnt appear.

It is probably caused by some particular files missing the translation "hook". You can read about how translation hooks work here:
https://docs.djangoproject.com/en/3.1/topics/i18n/translation/
It would be simplest to start with a single example of a string you would like to see translated, and work from there.
Briefly, there are two ways to mark strings as translatable.
Strings in Templates
Template files (e.g. .html and .js) use the {% trans "String" %} approach:
{% load i18n %}

This is not a translated string.
{% trans "This string WILL be translated" %}

Strings in Python
from django.utils.translation import gettext_lazy as _

untranslated_text = "This string will not be translated"

translated_text = _("This string will be translated")

It is likely that there are a lot of existing strings which are not hooked into the translation engine - these will need to be updated.
There has not been much work recently on any translation. I'd love your help on adding translation hooks if you are willing to offer it!
It looks like you are translating to Turkish? Would you be willing to contribution your translation back to the project?

It is probably caused by some particular files missing the translation "hook". You can read about how translation hooks work here:
https://docs.djangoproject.com/en/3.1/topics/i18n/translation/
It would be simplest to start with a single example of a string you would like to see translated, and work from there.
Briefly, there are two ways to mark strings as translatable.
Strings in Templates
Template files (e.g. .html and .js) use the {% trans "String" %} approach:
{% load i18n %}

This is not a translated string.
{% trans "This string WILL be translated" %}

Strings in Python
from django.utils.translation import gettext_lazy as _

untranslated_text = "This string will not be translated"

translated_text = _("This string will be translated")

It is likely that there are a lot of existing strings which are not hooked into the translation engine - these will need to be updated.
There has not been much work recently on any translation. I'd love your help on adding translation hooks if you are willing to offer it!
It looks like you are translating to Turkish? Would you be willing to contribution your translation back to the project?

It is probably caused by some particular files missing the translation "hook". You can read about how translation hooks work here:
https://docs.djangoproject.com/en/3.1/topics/i18n/translation/
It would be simplest to start with a single example of a string you would like to see translated, and work from there.
Briefly, there are two ways to mark strings as translatable.
Strings in Templates
Template files (e.g. .html and .js) use the {% trans "String" %} approach:
{% load i18n %}

This is not a translated string.
{% trans "This string WILL be translated" %}

Strings in Python
from django.utils.translation import gettext_lazy as _

untranslated_text = "This string will not be translated"

translated_text = _("This string will be translated")

It is likely that there are a lot of existing strings which are not hooked into the translation engine - these will need to be updated.
There has not been much work recently on any translation. I'd love your help on adding translation hooks if you are willing to offer it!
It looks like you are translating to Turkish? Would you be willing to contribution your translation back to the project?

I almost translated all project  in Turkish so I can support for this

It is probably caused by some particular files missing the translation "hook". You can read about how translation hooks work here:
https://docs.djangoproject.com/en/3.1/topics/i18n/translation/
It would be simplest to start with a single example of a string you would like to see translated, and work from there.
Briefly, there are two ways to mark strings as translatable.
Strings in Templates
Template files (e.g. .html and .js) use the {% trans "String" %} approach:
{% load i18n %}

This is not a translated string.
{% trans "This string WILL be translated" %}

Strings in Python
from django.utils.translation import gettext_lazy as _

untranslated_text = "This string will not be translated"

translated_text = _("This string will be translated")

It is likely that there are a lot of existing strings which are not hooked into the translation engine - these will need to be updated.
There has not been much work recently on any translation. I'd love your help on adding translation hooks if you are willing to offer it!
It looks like you are translating to Turkish? Would you be willing to contribution your translation back to the project?

I almost translated all project  in Turkish so I can support for this

It is probably caused by some particular files missing the translation "hook". You can read about how translation hooks work here:
https://docs.djangoproject.com/en/3.1/topics/i18n/translation/
It would be simplest to start with a single example of a string you would like to see translated, and work from there.
Briefly, there are two ways to mark strings as translatable.
Strings in Templates
Template files (e.g. .html and .js) use the {% trans "String" %} approach:
{% load i18n %}

This is not a translated string.
{% trans "This string WILL be translated" %}

Strings in Python
from django.utils.translation import gettext_lazy as _

untranslated_text = "This string will not be translated"

translated_text = _("This string will be translated")

It is likely that there are a lot of existing strings which are not hooked into the translation engine - these will need to be updated.
There has not been much work recently on any translation. I'd love your help on adding translation hooks if you are willing to offer it!
It looks like you are translating to Turkish? Would you be willing to contribution your translation back to the project?

By the way i made all translations according to hooks. Here I realized something and made some researches about it bootstrap modal have some translation problem for example in this photo i translated all part of modal but submit button doesnt change the language. If i change id name then it is translated but in this case it lose function. Another problem is project which i published with gunicorn and ngnix on digitalocean doesnt updated any translation from modal form as it is accept from other fields. Please check here is http://<IP_ADDRESS>/ it is life everything is translated except modal forms. Here is photo from local server working there is modal translation

It is probably caused by some particular files missing the translation "hook". You can read about how translation hooks work here:
https://docs.djangoproject.com/en/3.1/topics/i18n/translation/
It would be simplest to start with a single example of a string you would like to see translated, and work from there.
Briefly, there are two ways to mark strings as translatable.
Strings in Templates
Template files (e.g. .html and .js) use the {% trans "String" %} approach:
{% load i18n %}

This is not a translated string.
{% trans "This string WILL be translated" %}

Strings in Python
from django.utils.translation import gettext_lazy as _

untranslated_text = "This string will not be translated"

translated_text = _("This string will be translated")

It is likely that there are a lot of existing strings which are not hooked into the translation engine - these will need to be updated.
There has not been much work recently on any translation. I'd love your help on adding translation hooks if you are willing to offer it!
It looks like you are translating to Turkish? Would you be willing to contribution your translation back to the project?

By the way i made all translations according to hooks. Here I realized something and made some researches about it bootstrap modal have some translation problem for example in this photo i translated all part of modal but submit button doesnt change the language. If i change id name then it is translated but in this case it lose function. Another problem is project which i published with gunicorn and ngnix on digitalocean doesnt updated any translation from modal form as it is accept from other fields. Please check here is http://<IP_ADDRESS>/ it is life everything is translated except modal forms. Here is photo from local server working there is modal translation

Solved after sitting till 5 am

Solved after sitting till 5 am

@neco1982  glad you solved it. If there are any particular strings that you are unable to translate please let me know.
Otherwise if you have completed a Turkish translation (fantastic!) please submit a pull request with the changes :)

@neco1982  glad you solved it. If there are any particular strings that you are unable to translate please let me know.
Otherwise if you have completed a Turkish translation (fantastic!) please submit a pull request with the changes :)

Hey @neco1982 - just letting you know that language translation for InvenTree is now provided via crowdin - https://crowdin.com/project/inventree
If you are interested, this would be a fantastic place to help out other Turkish users by contributing to the translation effort!
Hope you are still making good use of InvenTree :)


the screenshot has an error in readme file

Can you please change the screenshot in readme file ? You can see the red underlined text  in the code. Left side is this.col (L word), but right side is co1 (1 number) . It drives me nuts.

/


Add Trust command for management security ssl profiles

Enhancement summary
Support the Trust command under management_security.ssl_profiles
Which component of AVD is impacted
eos_cli_config_gen
Use case example
Below use case:

Describe the solution you would like
ssl_profiles:
  - name: < profile name >
     trust_certificates:
       - list of certificate names with options available

Describe alternatives you have considered
eos_cli
Additional context
No response
Contributing Guide

[X] I agree to follow this project's Code of Conduct

Could we also add 'chain' to this model? That is a current use case that AVD does not meet.
leaf-01a(config-mgmt-sec-ssl-profile-lab-ssl-profile)#?
  certificate     Configure certificate for self authentication
  chain           Configure chained certificate
  cipher-list     Configure a cipher list
  crl             Configure CRLs
  diffie-hellman  Configure diffie-hellman parameters
  fips            Configure FIPS settings
  peer            Configure peer related options
  tls             Configure TLS settings
  trust           Configure trusted certificate
  ----------------------------------------
  comment         Up to 240 characters, comment for this mode
  default         Set a command to its defaults
  exit            Leave SSL profile configuration mode
  no              Disable the command that follows
  show            Display details of switch operation
  !!              Append to comment

Could be mirror to the suggested model above.
ssl_profiles:
  - name: < profile name >
     trust_certificates:
       - list of certificate names with options available
      chain_certificates:
       - list of certificate names


Automate setup

In order to have more contributor to the code base we should try to facilitate the contribution process, first of all we should automate the setup process. The readme has some instructions:

The first thing you need to do is add 4 pages with the following ids:
HOME (advanced settings->id:home)
CONTACTS (advanced settings->id:contacts, template: content)
PRIVACY (advanced settings->id:privacy, template: content page, single column)
CONDUCT-CODE (advanced settings->id:conduct-code)
If you don't do that you'll start to see some errors like broken url reference. NOTE: You may need to restart the server after adding the pages to let the system detect them.
Next, you will have to create a conference record under /admin/conference/conference/. The links on this conference record also allow setting up the schedule and checking attendee statistics.
The shopping cart system has support for hotel bookings. In order to get the cart working without errors, you have to create a conference record under /admin/p3/hotelbooking/.

We can probably automate all of these stuff, I was thinking to add a management command for doing so. Comments?

I think that any help/improvement on the launch of epcon is welcome.
Maybe a separate project that creates a docker container running epcon from the source code in the repository?

Should the above be done during database setup via fixtures ?

@alexsavio we can add a dockerfile to this repo, no need to create another repo :)
@malemburg not sure, a management command is more flexible (eg, we can ask the user the conference name OR code)

For getting an initial working system, it's fine to have some default objects created via fixtures. The user can easily change those as needed afterwards, but at least the system will startup after running the initial installation.
I'm not sure whether we should add a docker container as default test run time environment. Using this is a lot more difficult than simply firing up a virtualenv. Besides, we already do have a docker setup - the one we're using to run our server :-)

Adding a management command is possible as well, but you'd then have an extra manual step for initializing the system. No strong opinion, either way, though. The only thing that's important is to have users get a running system which doesn't startup with cryptic error messages.

I'm just setting up this repo and I got in trouble with those first steps since after creating the HOME page, I get redirected to an unknown page and I cannot seem to create any more new pages as per the instructions, so I'm a bit stuck. I'm new to Django CMS, once I figure this out, I'll try to update the documentation, but this should definitely be put in a script at least.

I didn't notice this bug and created #572 and fixed it on ep2017 sprints.

Fixed with #575


Replace GHMarkdownParser with Commonmark

see https://github.com/matrix-org/matrix-react-sdk/pull/575 for details

Fixed in https://github.com/matrix-org/matrix-ios-kit/pull/248.


try to fix issue with chunk length header error

https://github.com/reactphp/http-client/issues/115

Hey thank you for your PR :+1:
While I see your problem, I am pretty sure that a 2a \r\n... or similar is not valid HTTP, according to the HTTP RFC.
Any idea how other clients handle this behavior?
Could you also provide some unit tests?

Any idea how other clients handle this behavior?
Sorry, know nothing here.

Could you also provide some unit tests?
Done.


Rename [de]activate methods to delete|restore

We should do this at least in clients and in Rest API. Internal server side... not that critical.

+1, and after thinking about this more it's probably better that we only change this in the client and rest API, keeping it [de]activate in the server side source code. Anyone looking through the codebase would be better off understanding that it's not actually being deleted from the metadata database.


<pf-chip-group>: overflow or close button are inaccessible by keyboard

Description of the issue
Using only a keyboard, the  overflow and close buttons cannot be focused and clicked.
Impacted component(s)

pf-chip-group

Steps to reproduce

In docs, go to Chip group with removable categories
Use Tab to set focus on first chip in a chip group.
Attempt to use right arrow key → to navigate to "1 more" overflow button.
Attempt to use right arrow key → to navigate to close button.
Neither button can be accessed via roving tabindex.

Expected behavior
Both the overflow or close buttons should be accessible via roving tabindex.

If this fixed in #2707 ?

If this fixed in #2707 ?

No. While reviewing #2707 I found the issue.

Closed by #2709


Update CMakeLists.txt

When using catkin_make install, the stream executable was not copied to the install folder.

The command "sudo apt-get install python-catkin-pkg python-rosdep ros-hydro-catkin libtclap-dev lcov -qq" failed and exited with 100 during .

ros-hydro ???


Sendmail throght Workflow fails

To Reproduce
Steps to reproduce the behavior:

'configure sendmail woh'
'create a user with a vaild mail-adress'
'enable postfix service in systemd'
create an event with "contributor" the name of the created user
start the workflow

javax.activation.UnsupportedDataTypeException: text/plain; charset=us-ascii
	at javax.activation.DataHandler.writeTo([DataHandler.java:75](http://datahandler.java:75/)) ~[?:?]
	at javax.mail.internet.MimeBodyPart.writeTo([MimeBodyPart.java:1670](http://mimebodypart.java:1670/)) ~[?:?]
	at javax.mail.internet.MimeMessage.writeTo([MimeMessage.java:1889](http://mimemessage.java:1889/)) ~[?:?]
	at com.sun.mail.smtp.SMTPTransport.sendMessage([SMTPTransport.java:1300](http://smtptransport.java:1300/)) ~[?:?]
	at org.opencastproject.kernel.mail.BaseSmtpService.send([BaseSmtpService.java:258](http://basesmtpservice.java:258/)) ~[?:?]
	at org.opencastproject.kernel.mail.SmtpService.send([SmtpService.java:315](http://smtpservice.java:315/)) ~[?:?]
	at org.opencastproject.workflow.handler.notification.EmailWorkflowOperationHandler.start([EmailWorkflowOperationHandler.java:144](http://emailworkflowoperationhandler.java:144/)) ~[?:?]

Environment Information

OS: [Centos Stream 8 on Server]
Opencast version with minor release [12.x]

What i have tried so far:

change the encdoing of the worfklow-file from us-ascii to utf-8
added utf-8 encoding to  SmtpService.java:312
--      message.setText(body, "utf-8"); `` -- result error message change from ``...charset=us-ascii to ...charset=utf8

** sendmail woh example**
<?xml version="1.0" encoding="UTF-8"?>
<definition xmlns="http://workflow.opencastproject.org">

  <id>sendmail</id>
  <title>sendmail</title>
  <tags>
    <tag>archive</tag>
  </tags>
  <description>mailtester</description>
  <displayOrder>100</displayOrder>
  <state-mappings>
    <state-mapping state="running">EVENTS.EVENTS.STATE_MAPPING.MAIL</state-mapping>
    <state-mapping state="failing">EVENTS.EVENTS.STATE_MAPPING.MAIL</state-mapping>
  </state-mappings>
  <configuration_panel/>
  <operations>

             <operation
      id="send-email"
      fail-on-error="false"
      description="Notify user associated to this recording that it is ready to be trimmed">
      <configurations>
        <configuration key="to">${(catalogs['episode']['contributor'])}</configuration>
        <configuration key="subject">"TEST subject"</configuration>
      </configurations>
    </operation>

    <operation
      id="cleanup"
      fail-on-error="false"
      description="Remove temporary processing artifacts">
      <configurations>
        <!-- On systems with shared workspace or working file repository -->
        <!-- you want to set this option to false. -->
        <configuration key="delete-external">false</configuration>
        <!-- ACLs are required again when working through ActiveMQ messages -->
        <configuration key="preserve-flavors">security/*</configuration>
      </configurations>
    </operation>

  </operations>
</definition>

Java seems not to be able to find the mime type mappings. My best guess is that this has to do with a newer Java version, since the mail stuff is/was relying on previously internal Sun Java classes.
This is really easy to reproduce when enabling the test mode in org.opencastproject.kernel.mail.SmtpService.cfg:
mail.mode=production
mail.smtp.host=localhost
mail.smtp.port=2525
<EMAIL_ADDRESS>mail.debug=true
mail.test=true

Unfortunately, this doesn't seem that easy to fix as well.


Image File Size  not always visible

Using this tool it doesn't seem to be possible to always get the file size.  Sometimes the file - Content-length header is visible - other times it doesn't get returned.
Is there a way to consistently get the file image size for images that are downloaded via  Alamofire.request(.GET, "imagePath")

Hi @grantkemp,
Unfortunately, it's not always possible for the server to compute the total payload size. When this happens, you don't receive a Content-Length header and the expectedContentSize of the NSURLReponse will be set to NSURLSessionTransferSizeUnknown (which is -1). In these cases, you'll need to investigate if there's a way to get the server to return the Content-Length header, otherwise, you'll need to display progress as how much data has been downloaded so far without being able to tell them how much is left.
Cheers. 🍻


Program tests from Cairo VM in Rust

These should be implemented along with the other issues.

Closing because now that each builtin and hint has its own issue, the idea is that every PR related to its issue should contain an integration test of a Cairo program that uses the corresponding builtin/issue.


Receiving errors when attempting to use key files

Is your feature request related to a problem? Please describe.
I wasn't sure if this was the same problem as #5 so I'm opening a new issue just in case. I'm using a mac and whenever I try to run even a basic command like sake run ping --all using an identity key file I get one of two errors:

error: failed to parse /Users/timothybryant/.ssh/id_ed25519_personal
ssh: key is not password protected

so I created a new key file with a passphrase and now I get:

error: failed to parse /Users/timothybryant/.ssh/id_rsa_password_protected
bcrypt_pbkdf: empty password

I also tried using the -i command line argument instead but got the same results.
Describe the solution you'd like
I'm trying to run remote commands on VM's I have and I had hoped sake would be able to do that by ssh'ing to the hosts using the key files I have stored.
Additional context
Most of what I've done thus far (e.g. tasks, specs, etc) has come from the repo examples. Here is an example config for one of my VM's though:
servers:
  localhost:
    desc: localhost
    host: localhost
    local: true
    #work_dir: /tmp
    tags: [local]
  vm303:
    host: <IP_ADDRESS>
    user: jsmith
    port: 22
    identity_file: ~/.ssh/id_ed25519_personal
    local: false
    tags: [cluster]

There's a new 0.1.8 release that may hopefully fix this issue. Let me know if it still fails

The issue does appear to be fixed. Thanks for the quick turnaround!


Discrepancy in meaning of C/O for certain models

The Sonora Elf Owl models use a convention where the reported C/O value is not actually the true value, but a "multiplier" of the solar C/O ratio of 0.458. This can be seen in Table 1 here.
I would suggest replacing the grid points of [0.5, 1.0, 1.5, and 2.5] with the values [0.22,0.458, 0.687, and 1.12] so the definition can remain consistent with the other model grids.

Thanks a lot for pointing out this issue! Also the case for Sonora Bobcat it seems:
https://zenodo.org/records/5063476
The same solar C/O value was presumably used for Sonora Bobcat?

I just went to reread the original Bobcat paper, and it appears they make the same assumptions. The reference they cite is Lodders 2010 but I believe that is a mistake, since that paper appears to claim C/O = 0.5. In a different paper by some colleagues with the same claim (C/O = 0.458) they instead cite Lodders 2009 which interestingly reports a value of C/O = 0.457, although the .001 discrepancy might just be a rounding error.

I have updated the C/O values in the filenames of the Elf Owl and Bobcat grids. You would need to remove the grids from your data_folder such that the new grids will be downloaded. Thanks again for pointing out this issue!

Closing this issue since it has been resolved.


Set up Charts release process

[x] Set up infrastructure (GKE cluster, GCS storage buckets)
[x] Set up CI (Jenkins) job for validating PRs
[x] Set up CI (Jenkins) job for releasing Charts to storage buckets

Charts that hit the master branch's stable folder are now pushed to the default repo.


creating a volume from a snapshot errors if size is not specified

It seems to want the size, but in ec2 that defaults to the size of the snapshot. See the following testcase:
from moto import mock_ec2
import boto

@mock_ec2
def test_snapshot_without_size():
    conn = boto.connect_ec2('the_key', 'the_secret')
    vol = conn.create_volume(10, 'us-east-1a')
    snapshot = conn.create_snapshot(vol.id, 'Desc')
    snapshot.create_volume('us-east-1a')

test_snapshot_without_size()

thanks for opening!


500 error trying to load warrant report

What Happened
The /reporter/reports endpoint returns a 500 error trying to load the warrant report for Fasken Dr: near 427 N Fasken Ramp.
What Should Happen
The warrant report should load.
To Reproduce
Steps to reproduce the bug:

Go to Fasken Dr: near 427 N Fasken Ramp (URL endpoint: /view/location/s1:An27GA/POINTS)
Click on 'View Reports'
Scroll over to the 'Warrant Report' section
Generate a warrant

Screenshots
Request
/reporter/reports?type=WARRANT_TRAFFIC_SIGNAL_CONTROL&id=5%2F39725&format=WEB&adequateTrial=true&isTwoLane=true&isXIntersection=true&preventablesByYear=0&preventablesByYear=0&preventablesByYear=0&startDate=2018-02-24%2015%3A36%3A32.036
Response
{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}
Additional Notes
n/a

Fixed by updates in #823 , marking closed.


Added filtering for buildAutoSendable()

SendableChooser references a map of all of the auto commands
Filter provides access to auto command (const) and auto's path
Allows multiple SendableChooser
Allows commands to be updated to latest in pathplanner/auto directory (regenerateSendableReferences())
Provided wiki info for filtering

Out of curiosity, what's the use case for the regenerateSendableReferences method? Add new autos to the chooser if you manually copy them to the rio or something?

Initially, it generates the map of all of the auto commands that are in "deploy/pathplanner/autos" which get used when someone generates a sendableChooser. The map gets referenced everytime a buildAutoChooser is called.
If a team uploads new autos or modifies autos without deploying (like filezilla), they can use update the commands that are in the map to match the most recent in filesystem which the sendableChooser references.
Also got another commit, the directory filter example isn't correct.

Could you remove the
push:
    branches: [main]

trigger for the publish-docs.yml actions workflow? I want to stop pushing docs updates unless the features in the docs are actually released. I would do it myself but don't want to make you merge main for such a minor change.


last point

When user clicks twice you showing a label with total, but removing little circle at the line end, would be nice if poly-line will end with point (little circle)

We are using a polyline to depict measurement segments. The last node was removed because it looks cluttered with the label sometimes.
See a new change that allows to customize this behaviour with a boolean option show_last_node true/false. Default will be false for the reason explained.


Include a jerk column with transform_gyroscope_data

This makes the schemas of both transformed accelerometer data and transformed gyroscope data the same (for equivalent transfromations), meaning we can pass the same models to both accelerometer_features and gyroscope_features (or a single model list to assay level modules that have a models parameter)

For brevity and non-usability of Jerk features in Gyroscope, we decided not to extract these features. So I am closing this issue.


Automation for External Authorization

https://istio.io/latest/docs/tasks/security/authorization/authz-custom/
Executed the Manual steps and added the automation test case for Maistra-test-tool.

@monroe-dylan-m: Thanks for approving this test case.
I will build and run against Jenkins.


Handle missing of CODEOWNERS file

For now, if the CODEOWNERS file is missing, we show the card with the code owners section but without owners.
I think in that case, we can remove the "owners" section, WDYT?

absolutely! 😉

@snips-dev , can you take care of it?

👍

Thank you!

:tada: This issue has been resolved in version 2.1.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rspec: User is authenticated but the request is redirected

Hi I have an issue with the following spec(both tests are failing).
let(:assigned_post) { assigns(:post) }

describe 'GET #new' do
  before { get :new }

  context 'authenticated', login_user do

    it 'assigns a instance of post' do
      expect(assigned_post).to be_a_kind_of Post
    end

    it { is_expected.to render_template :new }

  end
end

After debugging I can confirm that the user is logged in:
subject.current_user
=> #<User:0x007ffac0cf4c80 ...>

subject.user_signed_in?
=> true

But the request will redirect to the the new user session path.
expect(subject).to redirect_to new_user_session_path
=> true

With manual sign in to the user interface - everything is working as expected. So I think I run a test env problem
Is this known by you guys?
Some additional foo:
module ControllerMacros
  def login_user
    before(:each) do
      @request.env["devise.mapping"] = Devise.mappings[:user]
      sign_in FactoryGirl.create(:user)
    end
  end
end

class PostsController < ApplicationController
  before_action :authenticate_user!

  def new
    @post = Post.new
  end
end

@mttn Hi! I think you can't use login_user in rspec context. Look.
Your before is doing a get before the login happens.
The login_user should be in your test example. For example, you do something like this:
it 'assigns an instance of post' do
   login_user
   get :new
   expect(assigned_post).to be_a_kind_of Post
 end

I'm closing this issue. Feel free to open if you can reproduce that is a Devise error.
Best

This was not the problem - I can use login_user in rspec context. There was a runtime issue in my local env.


Add table aws_rds_recomendations

References
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-recommendations.html
Kindly implement a table which references this AWS CLI action (and associated web API).

Hello @captainfalcon23, thank you for bringing this issue to our attention. Your engagement with Steampipe is greatly valued. I will take a look into it.

Not stale

Hello, @captainfalcon23, apologies for the delayed response on this matter.
We are currently utilizing the AWS RDS Go package version v1.40.1, which unfortunately does not include support for the DescribeDBRecommendations API.
Support for this API was introduced in version v1.65.0. However, it's important to note that there have been breaking changes since version v1.49.0.
Our next step is to upgrade our plugin to utilize the latest version of the AWS Go SDK. After that, we'll revisit this issue.
Thanks for your understanding and patience!

All good @ParthaI, hopefully it gets revisited/reopened once that work is done.

Hi @ParthaI
Just revisiting this issue (unsure why it got closed). I see now the following is being used:
github.com/aws/aws-sdk-go-v2/service/rds v1.77.0
Would the team be able to revisit this request?

Sorry, @captainfalcon23, I missed to reopen this issue. Yes, the supported version of the RDS package for the DescribeDBRecommendations API is included in our current main branch.
The issue has been reopened. I will take a look. Thank you!


RockPaperScissors

Andrea Ivanov
About your game
It is an interactive, fast-paced arcade game developed by Andrea Ivanov. This unique twist on the classic "Rock, Paper, Scissors" game challenges players to outsmart a bot while climbing through increasingly difficult levels.
Objective: Climb the levels by consistently outsmarting the bot. But beware: every loss resets your streak, and the game won't hesitate to mock your failures!
How do you play your game?
Gameplay Mechanics:
Choices: Use intuitive controls to select Rock (W), Paper (S), or Scissors (D).
Bot Match-Up: Compete against a bot that makes random choices, and determine the winner based on standard rules:
Rock crushes Scissors
Paper covers Rock
Scissors cut Paper
Progression: Each win advances the player closer to the goal. Reach the finish line (door) to level up and reset the stage for the next challenge.

[X] The game was made using the Sprig editor.
[X] The game is placed in the in the /games directory.
[X] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[X] The game runs without errors.
[X] The name of the file/game contains only alphanumeric characters, -s, or _s.
[X] The game name is not the same as the others from gallery

Nice game, thanks for your submission!
If you're a teen, you can get your Sprig here! sprig-order.hackclub.dev
Hack Clubbers would love to see this! Just post a link and 1-2 sentences talking about your game to our #ship channel ;)


defineExpose not working with

Describe the issue you're facing
TL;DR
Using defineExpose() on a child component does not work if the parent uses .
Description
If I want my parent component to access a method from my child component I can use defineExpose() to expose the method to the parent.
Child Component
defineExpose({
  myMethod,
})

Parent Component
use ref like this:
<StoryblokComponent
   ref="childComponent"
  :blok="blok"
/>

And the method can be called like this from the parent:
const childComponent = ref([]);
childComponent.value.myMethod()

Workaround
It works using the vue  wrapper instead of .
Reproduction
https://stackblitz.com/edit/sb-nuxt-3-define-expose?file=storyblok%2FGrid.vue
Steps to reproduce
In my stackblitz the Grid is the parent and the Feature component the child.
Open the StackBlitz result in a new Tab and open console to see the outputs.
You will see myMethod() is undefined and not working.
If you use  instead (already prepared in Grid.vue) it works.
Note: If you use both  and  strangely both work...?
System Info
shell
System:
    OS: Windows 10 10.0.22621
    CPU: (8) x64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
    Memory: 3.07 GB / 15.92 GB
  Binaries:
    Node: 16.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.21.1 - ~\node_modules\.bin\yarn.CMD
    npm: 8.3.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.2215.0), Chromium (116.0.1938.54)
    Internet Explorer: 11.0.22621.1

Used Package Manager
yarn
Error logs (Optional)
No response
Validations

[X] Follow our Code of Conduct

Hi, @Dollique Thanks for taking the time to open the issue. Effectively StoryblokComponent does not expose its context by design https://github.com/storyblok/storyblok-vue/blob/main/lib/StoryblokComponent.vue so this is likely to be a feature request.
To prioritize it accordingly, I would need to understand the practical use case of exposing the context via templateRefs vs, for example, sharing a state or methods via composables or by using <component :is /> directly ? The reason I am asking this is because using this approach will tightly coupled both parent and child component.
A workaround would be to use component :is="blok.component" /> directly which is basically what is under the hood of StoryblokComponent. That way you would not need to pass up several defineExpose

My current use case is an Accordion component with a AccordionItem child-component. The AccordionItem component has a method closeItem() to close itself. Now in my Accordion there is another handler called onCloseAll(), where I loop through all the AccordionItem childs and call closeItem() on each.
Right now my code looks like this.
Accordion.vue (parent)
<template>

    <component
      :is="childblok.component"
      v-for="childblok in blok.item"
      :key="childblok._uid"
      ref="childAccordion"
      :blok="childblok"
      @closeAll="onCloseAll"
    />

</template>

AccordionItem (child)
<template>

{{ blok.title }}

</template>

As you can see currently when an AccordionItem is closed, slidetoggle() is called which then emits closeAll() to the parent Accordion.
I am aware this couples the components, but I think in this case I'd argue that's okay.
The alternative approach here could be using state for each Accordion (probably save each item in an array?). I wanted to keep my code simple, so defineExpose() seemed like the best option.
I can keep the code like this using <component>. The reason I wanted to use <StoryblokComponent> is to have similar code in all my Storyblok components.

It absolutely makes sense, I will work on it :D


In a model with namespace alt+r show a blank list

model path is app/model/crm/purchase.rb

Appears to pick up the spec file, but not controller or other related files

@kikyous v1.3.0 released with a fix for this issue. Let me know if that is working for you.

@jemmyw thanks for update, I will try it tonight.

I can only goto controller file from model, is this right behavior?

What other files were you expecting? It should show controllers, helpers, tests, fixtures, from the model. It does not show views.


Some times when the bot is running properly i get this error out of no wear

The error:
undefined:1
undefined
^
SyntaxError: "undefined" is not valid JSON
at JSON.parse ()
at Request._callback (D:\coding\python\discord-selfbot-owo-bot-main\owofarmbot-main\owofarmbot-main\bot.js:1062:28)
at self.callback (D:\coding\python\discord-selfbot-owo-bot-main\owofarmbot-main\owofarmbot-main\node_modules\request\request.js:185:22)
at Request.emit (node:events:511:28)
at Request.onRequestError (D:\coding\python\discord-selfbot-owo-bot-main\owofarmbot-main\owofarmbot-main\node_modules\request\request.js:877:8)
at ClientRequest.emit (node:events:511:28)
at TLSSocket.socketErrorListener (node:_http_client:495:9)
at TLSSocket.emit (node:events:511:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
Node.js v20.1.0

ok thanks for the feedback i will do it


1.0.0-rc1

this is for 9f55a32 to be tagged as 1.0.0-rc1
Email vote forthcoming
34 PRs merged since v1.0.0-rc0:
22583a5ea5a31a142611a8d5f4632f25e6ccca87 (#178) Add TODO under conformance
ea7a51757040c02a8d3a790aa2d474a238c815fd (#170) read env var only once
4b80706d310ecd40df3c1eae11e300401b367d3f (#149) Update Derek's email
ae19cbe28fafbe1d1e03d1c7bbdcd524c0347f69 (#144) Disable cookie handling by default
771e81c7514a22389b9671559d2d83898a6a21b7 (#143) Disable push teardown on Content Management workflow
1b49f74b6ad847eb06128473c55b25b67de59809 (#133) Provide option to disable empty-layer push test
fc1ba4807029e7f08e4c821cbcd2e617718dd2b2 (#138) Allow disabling 'pull' workflow
dca82e7f554f44f77750382bd1861b3e40131471 (#130) Enable user to hide skipped workflows in report
86948116194963a733f1cab62e2ecb4c3a196713 (#129) Modify manifest config to conform to image-spec
cd6b60dff9254b4037e5a3011e18bdfdea10c092 (#123) Improve HTML report and tidy code
7889f5564cddcde32aa706935decf6f6b416eaa4 (#127) changes.md: no longer needed
bbe424c0f6328023d8221678e6881e0586fd2dff (#105) Allow range of response codes for manifest delete
6a6ee23bbab1e5d07b45a10547265bc5249c3c4d (#107) Clarify tags listing behavior
263eb293b7d27ea1afde6796b8775d6109ed3f31 (#104) Move Dockerfile to conformance directory
a5f23be0671d4f1f4e75dbffa4d10f93b6aec5ba (#103) add space after <
1a06550f65633439c1e80a43cbec1fcf1781b721 (#98) Modify conformance Dockerfile filename
c38161c242f54894849d7a0d10a1ab7679044941 (#96) Fix misspelling of octet
7fca11e219163de019766edb1cb07b24ff18e551 (#95) Fix typo in pagination section
2560a81092d7a83c0db50231e69b584ac099d2f7 (#90) Conformance: Add CI, new tests, more report detail
174c8ced7e3c8fed6e8a5e1f9f8e821cfd4fb015 (#93) spec: quote in ticks
0383191317744f59cba3de142f23f8a400488da9 (#89) Add GitHub action definition for conformance tests
822d3a029084af27ea5ffdeaa2fc878ffaddee75 (#82) Introduce OCI Conformance Test Suite
0056e9844185a7ab8033bea304824f6c0864c9f7 (#80) spec: Location can be absolute or relative
828fb626bfe4fbd1c7d65331450803c6a7165fc0 (#78) spec: JSON formating
d8c049e0bb623e93608be10a6cd58707c6926e7c (#75) spec: clarify digest algorithm
35c06bdf7e266ca5a85f2c5f9dd23599a9ac3aed (#76) spec: session_id is clearer than UUID
b4e98332eccaf51d1974c9136caf67317bd99104 (#69) Remove _catalog API, reference as reserved
75485b8b99670c52a5d462995aefb532068508a2 (#67) Update blob patch status code to correct code
8e8fa5dd8bf94ea7e366a12c8fa797a161db5d79 (#61) Correct grammar for digest algorithm portion
d93cfa52800990932d24f86fd233070ad9adc5e0 (#50) *: Add OCI links to spec.
51b91fec22717b65442d45d64b23ca57afefb3ed (#57) updating link to code of conduct in org repository
6b5c54de2eda60cd8e2778c844879b8d5b4b3926 (#39) dist: check also for the path /tags
d10547bdcf1f4050b45e2f45b2e58aeb189807fb (#48) specs-go: Add ErrRegistry variable.
e58cbb4ab0b7bf20642d12b7a55dfa121a11ce93 (#35) *: copyright holder change

LGTM
There might be minor flaws, but this will probably shake them out quicker than not putting something in people's hands.

LGTM

LGTM

I may have made a mistake by "Squash and merging" this as we lost 9f55a32 ..

ah yeah. There is no longer the commit to tag.
I would never do the squash merge workflow on github projects anyway. It also causes the gpg signatures to get lost.
Let's see how to fix this...

my apologies.. I think there is a way for us to disable that as the default merge option in GitHub settings for PRs with multi commits

fixed now. Not sure what that revert-commit reference is about.


Mention Firefox bug 1441044 for template elements

Firefox seems to have a fairly significant bug in the way it handles template elements: it may preload images inside a template.  This behavior is inconsistent with the specification, most existing documentation on the template element (see https://www.html5rocks.com/en/tutorials/webcomponents/template/ for example), and other browsers; it seems like it would be a good idea to note it here.

Thanks!


fix: make sure we log the logs

SUMMARY
Looks like this was erroneously removed here: https://github.com/apache/incubator-superset/pull/11714/files#diff-76c6a0b5c14a297c62ac3207416870471affdb153c5ae12b96d7b7da9304e9ddL1773
We need this so that we write logs that come from the client
TEST PLAN
CI
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

to: @mistercrunch @graceguo-supercat @john-bodley @dpgaspar

I'm sorry I misunderstood this endpoint and assumed [wrongly] this would lead to double logging.

Codecov Report

Merging #11939 (a8e558a) into master (98dc657) will decrease coverage by 4.38%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #11939      +/-   ##
==========================================
- Coverage   67.63%   63.24%   -4.39%
==========================================
  Files         932      464     -468
  Lines       45221    28511   -16710
  Branches     4335        0    -4335
==========================================
- Hits        30587    18033   -12554
+ Misses      14531    10478    -4053
+ Partials      103        0     -103

Flag
Coverage Δ

cypress
?

javascript
?

python
63.24% <100.00%> (-0.93%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

superset/views/core.py
74.24% <100.00%> (-0.45%)
:arrow_down:

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/databases/commands/create.py
32.65% <0.00%> (-59.19%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.62%)
:arrow_down:

superset/views/database/mixins.py
59.64% <0.00%> (-22.81%)
:arrow_down:

superset/db_engine_specs/presto.py
69.95% <0.00%> (-12.45%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/databases/dao.py
94.11% <0.00%> (-5.89%)
:arrow_down:

superset/databases/api.py
83.67% <0.00%> (-5.31%)
:arrow_down:

... and 489 more

Continue to review full report at Codecov.

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


VEText Migration - Update API and Postman Collections for SMS Sender

In order to utilize the Twilio Messaging Service as VEText is doing today, we will need to support creating Twilio notification requests with a sender phone number OR message service id. We added a new field to represent message service id https://app.zenhub.com/workspaces/va-notify-620d21369d810a00146ed9c8/issues/department-of-veterans-affairs/notification-api/746

[ ] Update the sms sender endpoints
[ ] Update postman collection(s) for all environments (don't think it'll hurt to do this before the functionality is deployed everywhere because we manage those configurations internally and can decide what collection version to use)
[ ] Unit tests

@Jake-Uhteg added QA tag


Processing error. Bit_rate

What version of Music Assistant has the issue?
2022.7.0b0
The problem
Had errors on start as per other issue but MA did appear to start. During what appear to be the initial scan I saw the error below in the log.
How to reproduce
Initial scan
Relevant log output
Logger: music_assistant.music.file
Source: /usr/local/lib/python3.9/site-packages/music_assistant/music_providers/filesystem.py:199
First occurred: 8:59:36 AM (5 occurrences)
Last logged: 8:59:40 AM

Error processing /media/nasMusic/Coldplay/Live 2003/04. Coldplay - Daylight (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/13. Coldplay - The Scientist (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/17. Coldplay - Life is for Living (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/05. Coldplay - Trouble (Live 2003).flac - 'bit_rate'
Error processing /media/nasMusic/Coldplay/Live 2003/07. Coldplay - Dont Panic (Live 2003).flac - 'bit_rate'
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/music_assistant/music_providers/filesystem.py", line 190, in sync_library
    if track := await self._parse_track(entry.path):
  File "/usr/local/lib/python3.9/site-packages/music_assistant/music_providers/filesystem.py", line 481, in _parse_track
    tags = await parse_tags(track_path)
  File "/usr/local/lib/python3.9/site-packages/music_assistant/helpers/tags.py", line 199, in parse_tags
    return AudioTags.parse(json.loads(res))
  File "/usr/local/lib/python3.9/site-packages/music_assistant/helpers/tags.py", line 165, in parse
    bit_rate=int(raw["format"]["bit_rate"]),
KeyError: 'bit_rate'

Additional information
No response
What version of Home Assistant Core are your running
2022.6.6
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

Latest beta was for core-2022.7.x only. Please check if the issue still persists when you upgraded core

Fixed in 2022.7.0 beta 1

Fixed in 2022.7.0 beta 1

Do you think that will also fix this error or should I open a new issue for it?
2022-07-08 10:49:44 ERROR (MainThread) [music_assistant.music.file] Error processing /media/nas-music/Fettes Brot/Demotape/14 - Konnten Sie mich kurz küssen_.mp3 - 'tags'
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 189, in sync_library
    if track := await self._parse_track(entry.path):
  File "/usr/local/lib/python3.10/site-packages/music_assistant/music_providers/filesystem.py", line 480, in _parse_track
    tags = await parse_tags(track_path)
  File "/usr/local/lib/python3.10/site-packages/music_assistant/helpers/tags.py", line 199, in parse_tags
    return AudioTags.parse(json.loads(res))
  File "/usr/local/lib/python3.10/site-packages/music_assistant/helpers/tags.py", line 151, in parse
    for key, value in raw["format"]["tags"].items()
KeyError: 'tags'

@ovizii I will fix that for the next beta (2)
Hmmm that is actually an error indicating that the file does not have any tags at all, is that intentional ?


getting pyxley to work

I have never used pyxley before and i will need to use it for my uni project but i am not sure how to make it work. So could someone provide me with instructions of how to make it work please.

没有看明白u


FutureWarning: Non-tuple sequence for multidimensional indexing

xarray's test suite is throwing this warning in bottleneck/slow/move.py lines 149--153
FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated;
 use `arr[tuple(seq)]` instead of `arr[seq]`. In the future this will be interpreted as an array
 index, `arr[np.array(seq)]`, which will result either in an error or a different result.

Downstream xarray issue: https://github.com/pydata/xarray/pull/2328

Hi, can you give an example?

Ok this seems to happen with boolean arrays:
import bottleneck as bn

bn.move_mean([True, False, False, True, True, False, False], 3)


bug: GitHub Actions on macos-latest stage testing

Did you use latest version?

[X] I have checked the latest version.

Platform
🍎 macOS
Priority
🚧 Medium
Description
We are currently running tests on the latest version of macOS using GitHub Actions. This is a stage testing process. Workflows

Fixed

https://github.com/PunGrumpy/logixlysia/commit/e63148d5c58a7eb994cde46593f0469ab4f24cec


The highest Firefox version supported by phantomjs ？

The highest Firefox version supported by phantomjs ？

@searchmodel, PhantomJS being a browser, your question do not make much sense…
Could you please be more specific?

PhantomJS is based on WebKit (QtWebKit to be more specifically). If you want Firefox, you should try SlimerJS


On using "threshold" in the options in slider with two pointers the callback is not fired in case slider is on threshold values.

Here is fiddle:
http://jsfiddle.net/g9e9n8xc/314/
Check for "$scope.options2"  in the fiddle. Have added a threshold of "5".
The callback is not fired when the range reaches the threshold value.
For all other cases works fine.

reproduced, we ll check

wish you can use last version and not 'ng-slider' directiv old one..
fix in this current release :
https://github.com/darul75/angular-awesome-slider/releases/tag/2.3.9

Thanks for the quick reply ad fix. Works perfectly now.
& Yes, I am using the latest version only.

good news, thx for feedback, I appreciate


Truncate the stack (on screen only) when it gets too big

Change the display of the stack and multi-value registers to something like this before it starts wrapping on the screen.
{85 more} 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 DEG► sum
sample=[{90 more} 91 92 93 94 95 96 97 98 99 100] • 5050 DEG►

On second thought, I think I'll pass on this one. Rarely do I have that many numbers to deal with, and if I do, I probably want to see them all anyway.


Linux - libpdfium.so: error adding symbols: file in wrong format - ARM64

When building for linux on an ARM Processor (i have used a Raspberry), I'm getting the following output and the build fails:
[+2799 ms] Building Linux application...
[+1371 ms] executing: [build/linux/arm64/release/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Release
-DFLUTTER_TARGET_PLATFORM=linux-arm64 /workspace/pdf_viewer/linux
[+5113 ms] -- The CXX compiler identification is Clang 11.0.1
[ +116 ms] -- Detecting CXX compiler ABI info
[+4969 ms] -- Detecting CXX compiler ABI info - done
[ +180 ms] -- Check for working CXX compiler: /usr/bin/clang++ - skipped
[  +10 ms] -- Detecting CXX compile features
[   +7 ms] -- Detecting CXX compile features - done
[ +298 ms] -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
[  +30 ms] -- Checking for module 'gtk+-3.0'
[+1181 ms] --   Found gtk+-3.0, version 3.24.24
[+4721 ms] -- Checking for module 'glib-2.0'
[+1070 ms] --   Found glib-2.0, version 2.66.8
[+2607 ms] -- Checking for module 'gio-2.0'
[ +992 ms] --   Found gio-2.0, version 2.66.8
[+7520 ms] -- Configuring done
[+1859 ms] -- Generating done
[ +817 ms] -- Build files have been written to:
/workspace/pdf_viewer/linux/build/linux/arm64/release
[ +321 ms] executing: ninja -C build/linux/arm64/release install
[ +306 ms] ninja: Entering directory `build/linux/arm64/release'
[+11948 ms] [1/22] Building CXX object plugins/pdfrx/shared/CMakeFiles/pdfrx.dir/pdfium_interop.cpp.o
[+1432 ms] [2/22] Linking CXX shared library plugins/pdfrx/shared/libpdfrx.so
[   +3 ms] FAILED: plugins/pdfrx/shared/libpdfrx.so
[   +7 ms] : && /usr/bin/clang++ -fPIC -O3 -DNDEBUG   -shared -Wl,-soname,libpdfrx.so -o plugins/pdfrx/shared/libpdfrx.so
plugins/pdfrx/shared/CMakeFiles/pdfrx.dir/pdfium_interop.cpp.o
-Wl,-rpath,/workspace/pdf_viewer/linux/build/linux/arm64/release/.lib/x64  .lib/x64/libpdfium.so &&
:
[  +16 ms] /usr/bin/ld: .lib/x64/libpdfium.so: error adding symbols: file in wrong format
[  +15 ms] clang: error: linker command failed with exit code 1 (use -v to see invocation)

FAILURE: Build hang up.

What went wrong:
A problem occurred when cmake tries to link 'pdfium' dependency.

usr/bin/ld: .lib/x64/libpdfium.so: error adding symbols: file in wrong format

Flutter Doctor:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.16.7, on Debian GNU/Linux 11 (bullseye) 5.10.0-27-arm64, locale en_US.UTF-8)
[✓] Linux toolchain - develop for Linux desktop
[!] Flutter IDE Support (No supported IDEs installed)
[✓] Connected device (1 available)
[✓] Network resources

Reproduce:

Run flutter build linux -v.

It works fine on my linux x86_64 system. I think thats because of the hard-coded PDFIUM_LINUX_ABI in the file linux/CMakeLists.txt. When i change the variable value to "arm64" the build works fine, so a more dynamic CPU Family selection might be a solution.

0.4.7 is released that contains the change.


create-platformatic: Runtime project: Creating DB service doesn't prompt to apply migrations or generate types

The create-platformatic CLI doesn't ask Do you want to apply migrations? or Do you want to generate types> when you're creating a DB service for a Runtime app.
? Do you want to create another service? yes
? What is the name of the service? tangy-fortune
? Which kind of project do you want to create? DB
? Do you want to create default migrations? yes
? Do you want to create a plugin? yes
? Do you want to use TypeScript? no
? What port do you want to use? 3043
[21:53:07] INFO: Configuration file platformatic.db.json successfully created.
[21:53:07] INFO: Environment file .env successfully created.
[21:53:07] INFO: Migrations folder migrations successfully created.
[21:53:07] INFO: Migration file 001.do.sql successfully created.
[21:53:07] INFO: Migration file 001.undo.sql successfully created.
[21:53:07] INFO: Plugin file created at plugin.js
? Do you want to create another service? yes

Also when selecting a Typescript app, the generated project does not compile because the plugin contains
/// <reference path="./global.d.ts" />
...

But the global.d.ts file is not created.

After some investigation, this happens because of this code
In short, if platformatic is not installet globally, and we choose not to run npm install, the type generation is skipped.
We can either

remove the triple slash definition (in that case, it will compile)
just don't ask for npm install and do it every time

WDYT @mcollina ?

I think we should be doing it every time. However, add me a cli flag or env variable to skip it... it takes too much time to do it when developing create-platformatic.

This is fixed by #1625


[Snyk] Upgrade @graphprotocol/graph-cli from 0.55.0 to 0.56.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @graphprotocol/graph-cli from 0.55.0 to 0.56.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 7 versions ahead of your current version.
The recommended version was released a month ago, on 2023-08-25.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Codecov Report
Patch and project coverage have no change.

Comparison is base (be26182) 76.87% compared to head (444a05e) 76.87%.

:exclamation: Current head 444a05e differs from pull request most recent head 783f20c. Consider uploading reports for the commit 783f20c to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1759   +/-   ##
=======================================
  Coverage   76.87%   76.87%
=======================================
  Files          39       39
  Lines        2919     2919
  Branches      587      587
=======================================
  Hits         2244     2244
  Misses        496      496
  Partials      179      179

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


Ankur/quicktemplates

Added support for Custom and Gallery Images

Can one of the admins verify this patch?

LGTM. Merging this in for now. Will test this using pester (automated PS tests).


Affix problem, bouncing at the bottom on scroll

It think it has something to do with the PPI or resolution of the screen, because the problem only occurs on tablets and small notebooks.
Screenshot attached of the bootstrap website:

Screenshot taken on a 13" Macbook Air with Chrome 37.0.2062.124 and Mac OS X 10.8.5

Punting on this for v4.


Display duplicate folder name in the display name of one blob directory that attached via OAuth

Storage Explorer Version: 1.35.0-dev (98)
Build Number: 20240711.2
Branch: main
Platform/OS: Windows11/Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.5(Apple M1 Pro)
Architecture: arm64/x64/x64/x64
How Found: From running test cases
Regression From: Previous release (1.34.0)
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a blob container -> Upload one folder.
Attach the folder via OAuth -> Go to the attached folder -> Observe the display name.
Check whether no duplicate folder name.

Expected Experience
No duplicate folder name.
Actual Experience
It contains duplicate folder name.

Additional Context
Below is the screenshot for previous version.

@v-xianya The path/folder name being in the display name within the parentheses portion is as intended. We recently decided that it would be beneficial to include the path for attached and quick access nodes that open to a directory.
However, I'm not sure why the name of the attached container is also the path. Can you share a video showing attaching the the folder via OAuth? When I do so, the default name for the attached container is just the container name and then a numerical suffix.

@richardMSFT Sorry to not point out that we attached the directory by using 'Copy Direct Link' action.

Closing this issue because having the path in the display status is by designl


Fix Travis builds

stop installing latest version of npm
pin devDependencies to the last version that succeeded
with these versions of Node

merged because travis passed


Feat mempool header

Adds the mempool header
Resolves mempool header portion of this PR - https://github.com/hirosystems/explorer/issues/1430
Figma - https://www.figma.com/file/31q1g27k69z1yXb6r6vrRD/Stacks-Explorer-Working-File?node-id=6092%3A14261&mode=dev

Some UI feedback:


Fixing firewall priority exceptions and TCP VM firewall rules

Fixes a couple of issues with the Azure server deployment projects for multithreaded and spinning cube

LGTM!


Updating to postgis 2.2.1

Things done:

[ ] Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
[x ] Built on platform(s): NixOS
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

More
Fixes issue #
cc @

Please note, that points are not mandatory, but rather desired.

The desired version bump commit subject format is pkg-name: from -> to.

@joachifm Thank you.  I have fixed the subject.


Fix upcoming deprecation of SH-PY os_utils

Codecov Report
Base: 83.57% // Head: 83.55% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (d80ed0f) compared to base (1116e3d).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #494      +/-   ##
===========================================
- Coverage    83.57%   83.55%   -0.02%
===========================================
  Files           60       60
  Lines         5681     5681
===========================================
- Hits          4748     4747       -1
- Misses         933      934       +1

Impacted Files
Coverage Δ

core/eolearn/core/eodata_io.py
94.73% <100.00%> (ø)

core/eolearn/core/graph.py
94.94% <0.00%> (-1.02%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Trying to infer the batch_size from an ambiguous collection

Dear lightning friends,
I have a dataloader that has data in a specific format (it outputs a couple lists of tensors).
o. lightning is unable to tell what's the batch size, so I'm wondering should I manually tell the logger that the batch_size is 1 or should it be 1*accumulate_grad_batches?
o. Just out of curiosity, lightning seems to think my batch size is between 14 and 17, where is it getting that information from?
Thanks for your great work!
best,
Javier

does your dataset returns any str dtype? because PyTorch creates a list of strings in such a case, which is not a tensor so Lightning doesn't interpret the batch_size from something that is not a tensor.
You can specify your batch_size using self.log(..., batch_size=1). This should not include anything related to gradient accumulation factor.

That makes sense. I recently modified my data loader to return a string.
This was helpful, many thanks.

I have a similar problem. Specifically, my __getitem__ function from my Dataset class specifically returns Tuple[str, int, np.ndarray]. I require the str and int to generate the input into my neural network, and the np.ndarray serves as ground truth label for said input. Anyways, in which function call am I supposed to insert: self.log(..., batch_size=1) in order for the lightning training script to correctly determine the total number of batches I need for training.

to correctly determine the total number of batches I need for training.

not the number of batches but the batch_size of the current batch being processed.


Depending on SNAPSHOT version of freestyle makes builds non-repeatable.

I pulled down the repo this weekend and the project built fine. A night or two after that I got some exercises to build locally, and went to rebuild this repo to pick up the new exercises and now the build is failing with errors from Freestyle:
[error] /root/scala-exercises/core/shared/src/main/scala/org/scalaexercises/algebra/exercises.scala:30: Invalid use of the `@free` annotation in definition of method getLibraries in ExerciseOps. In a `@free`-annotated trait (or class), all abstract method declarations should be of type FS[_]
[error] @free trait ExerciseOps[F[_]] {
[error]  ^
[error] /root/scala-exercises/core/shared/src/main/scala/org/scalaexercises/algebra/app.scala:32: wrong number of type arguments for org.scalaexercises.algebra.exercises.ExerciseOps, should be 1
[error]   @module
[error]    ^
[error] /root/scala-exercises/core/shared/src/main/scala/org/scalaexercises/algebra/user.scala:33: Invalid use of the `@free` annotation in definition of method getUsers in UserOps. In a `@free`-annotated trait (or class), all abstract method declarations should be of type FS[_]
[error] @free trait UserOps[F[_]] {
[error]  ^
[error] /root/scala-exercises/core/shared/src/main/scala/org/scalaexercises/algebra/progress.scala:37: Invalid use of the `@free` annotation in definition of method saveUserProgress in UserProgressOps. In a `@free`-annotated trait (or class), all abstract method declarations should be of type FS[_]
[error] @free
[error]  ^
[error] /root/scala-exercises/core/shared/src/main/scala/org/scalaexercises/algebra/github.scala:29: Invalid use of the `@free` annotation in definition of method getAuthorizeUrl in GithubOps. In a `@free`-annotated trait (or class), all abstract method declarations should be of type FS[_]
[error] @free
[error]  ^
[error] 5 errors found

During the build I noticed that the dependency on Freestyle is 0.1.0-SNAPSHOT, and I suspect the merge of this Freestyle PR is the culprit for the failures above.

Fixed by https://github.com/scala-exercises/scala-exercises/pull/648


Indent help text

Add a DISCUSSION heading to each item and indent (and rewrap) the help text.
Fixes #940.

Thanks @babbageclunk!
@kbknapp I wonder if you can peek at this and suggest whether it's the right way. My understanding of this issue is that we are trying to imitate claps generated formatting manually. Can clap itself produce formatting like this for these freeform text bits.

@brson Unfortunately this is the best way at this time.
The after_help portion is designed to be free-form and thus all headers and formatting are left to users. The only thing that after_help does do is rewrap properly at word boundaries. But since rustup is already using hard newline wrapping this isn't really an issue.
With the current PR, if someone has a terminal window with < 70 (I think?) columns the rewrapping that clap will do won't respect the hard tabs (or 4x spaces). However, someone with a terminal window that small is probably a rare-ish occurrence.
I'm open to someone adding the ability for clap to respect the starting indentation when using templates, and would be willing to mentor such efforts. I just don't have time to implement it myself at the moment. This would be the best solution as then all rewrapping and indentation is handled by clap.

Let's do this for now, we can always improve it later if we find a better way.
@bors r+

:pushpin: Commit 086143e has been approved by Diggsey

:hourglass: Testing commit 086143e with merge 9ac68e9...

:broken_heart: Test failed - status-travis

Oh, nice! I guess that was a flaky test?
On Sun., 2 Apr. 2017, 21:20 Diggory Blake<EMAIL_ADDRESS>wrote:

Merged #1019 https://github.com/rust-lang-nursery/rustup.rs/pull/1019.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang-nursery/rustup.rs/pull/1019#event-1025454266,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAiYx7yRaUcDs9X4k-wOLkky-bo2EwEiks5rr2hHgaJpZM4MuEOP
.

Just a network error, yeah.


Value Query on Hover Doesn't Show Undetermined State

Please update to show the value as having a state of undetermined.
Also, for IL forms it may not be desired to additionally show the hover information from the asm view.

Fixed in 3.1.3600-dev.

This was actually broken for Linear View. Linear View is fixed in 3.1.3603-dev.


Which class for Enqueue, Dequeue, etc?

It is unclear which instance of TelemetryClient is used in the methods in the second half of the article.  This also clashes with advice found in other documentation to create a new TelemetryClient for each async method to prevent Operation mismatch issues on Stop.

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

ID: 62521082-c9fb-646f-6db0-2cdabe486dab
Version Independent ID: ebf938ec-1d97-1cfd-ad28-5e616990d658
Content: Track custom operations with Azure Application Insights .NET SDK
Content Source: articles/azure-monitor/app/custom-operations-tracking.md
Service: application-insights
GitHub Login: @mrbullwinkle
Microsoft Alias: mbullwin

adding @SergeyKanzhelev for comment.

@jeubank12 can you suggest where have you seen "other documentation to create a new TelemetryClient for each async method to prevent Operation mismatch issues on Stop"?
Any telemetry client can be used as far as I know. Is it not working for you?

https://docs.microsoft.com/en-us/azure/azure-monitor/app/custom-operations-tracking#parallel-operations-processing-and-tracking
This exception of not being able to stop the operation seems to happen if you start two operations from the same telemetryClient and then try to stop them in LIFO order.
Due to encountering this exception, I create a new TelemetryClient in every method.  This means I have to do a lot of property population and feels like I am doing it wrong.

Thank you for helping us to improve the docs. We are tracking this internally. This item is currently on our backlog, and we will update this thread when the work is completed.
#please-close


Robot libdoc generation for Resources folder into one document file

This would be better to be implemented as an external tool that can be developed independently from Robot Framework core.

One of the appropriate candidates might be extending https://github.com/amochin/robotframework-libtoc


Revert changes to run.sh, run_slurm.sh scripts

Restore use of ENGINE_CMD env var for command in run_slurm.sh
Restore --privileged flag in run.sh

The --privileged flag seems to be necessary to run the container in the Zenith dev VM, likely because it disabled SELinux separation for the container.

Okay, no problem.


Adding more graphics

If we can add more graphics in the project it will make the project more likable by the users. For example we can add some sliders on the top of our homepage. And also we can create a movable logo.
Animations will help us to look and feel our Friday cool.
I want to contribute in this project as a GSSOC contributor.

can you please assign me this issue under GSSoc 2023. I really want to work on this issue.

can you please assign me this issue under GSSoc 2023. I already worked on animation before hand

I want to work on this as a part of GSSoC'23, could you please assign it to me?

Hello @avinashkranjan. I'm a GSSoCC'23 contributor. I would like to add more graphics. Could you please assign this task to me.

Go Ahead @Saksham0205, Assigning it to you.

Sir I want to get assigned for this task . I have some great ideas I can show using Figma. I eagerly want to work on this project.


Docs cleanup - Contributor Guide

Minor updates to the Contributor Guide:
find-an-issue.md:
Find and claim an issue -> Sync your fork and create a new branch -> Step 4 - Added missing push)
work-issue.md:
Work on your issue -> Pull and rebase frequently -> Step 2 - branch should be checkout
Signed-off-by: Megan Kostick<EMAIL_ADDRESS>

Nice catches! Thank you.  LGTM

ping @jamtur01 @fredlf @SvenDowideit

I realize this is a wholly uncontroversial (and useful!) PR, but why was it merged with only one LGTM?

For the reasons you stated.
On Thu, Apr 9, 2015 at 5:57 PM, Fred Lifton<EMAIL_ADDRESS>wrote:

I realize this is a wholly uncontroversial (and useful!) PR, but why was
it merged with only one LGTM?
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/12252#issuecomment-91391687.

--
Mary


ba-214 placeholder styles

Updated placeholder styling can be found here:
https://pr-223-borealis-ai.pantheonsite.io/blog/?posttype=all
https://pr-223-borealis-ai.pantheonsite.io/publications/

Hm can't tell what I'm looking for for the fix but I do see an error in the console when there are no results can we handle that please.

@lisafolkerson fixed the console errors, and the fix essentially is just that the search bar placeholder text is using the "inter" font rather than browser defaults!


for tough cases, pass in an even lower maxAttempts value

maybe a higher numConfs?

need a smarter scheme to determine difficulty of embedding, maybe it's just impossible to embed that specific stereo-isomer

nope, just do maxAttempts=10 and useRandomCoords=False


fix(tree-view)!: remove expanded property from TreeNode interface

Fixes #1630
Changes

breaking: remove expanded from the TreeNode interface
fix: remove unused expanded prop from internal TreeViewNodeList
docs: remove expanded as a property usage

Added the suggested changes; best reviewed by commit.

This has been released in v0.72.0.


P4_14 (v1.0.4): initial value of registers (and meters)

What should be the initial value of registers according to the P4_14 spec?
Should it be 0 or "undefined" (meaning that it might take any value)?
Same question for meters as well.
For counters, I am assuming the initial value should be 0 (that's the only value that makes sense in this context)
I know there is another issue (#324) that discusses this for PSA, but my question is specifically about P4_14 spec.

Suggestion: explicitly mention that reading an uninitialized register yields an undefined value. The same way reading an invalid header yield undefined value.

Makes sense.
For meters I'd like to suggest the same approach as in P4_16/PSA (by default they always return GREEN color), but I do not think that's how things are currently implemented.


download ipout.zip failed

I'm the same as you, the update server is down

any alternatives ?

hmm same issue

If someone can host the zip file for me I can update the code... Otherwise I will have to find a host, not sure about packaging this up in git as its massive

@m0rtem I can host it.

If someone can host the zip file for me I can update the code... Otherwise I will have to find a host, not sure about packaging this up in git as its massive

u may download here - https://disk.yandex.ru/d/Znig1NKZ2lyqdg

@m0rtem I can host it.

thanks buddy, if you are okay with hosting this .zip file, I can point the script to your server. Just bare in mind that I am not sure how many downloads it will get, probably quite a few, I don't want you to be out of pocket for a free tool.

Hi,
I have hosted it there https://cf.ozeliurs.com/ipout. nginx behind cloudflare, tell me if cloudflare blocks the requests i could expose directly the server.

Fix it --> https://github.com/m0rtem/CloudFail/issues/69#issuecomment-1034102070

hey mortem this dude hosted it: https://github.com/m0rtem/CloudFail/issues/64#issuecomment-1021678613 use that and please update the code quickly i need to use this tool soon

Hi,
I have hosted it there https://cf.ozeliurs.com/ipout. nginx behind cloudflare, tell me if cloudflare blocks the requests i could expose directly the server.

massive thanks for this, have update the script to point to your server, let me know if any issues, thanks!


dpm support in internal API client

https://keboola.atlassian.net/browse/PS-1845
feat: allow branchId in job
fix: make runId required as it already is https://keboola.slack.com/archives/C13CP6YMV/p1618310117060700

Len este ten phpstan jeden error


resolve relative/absolute file system

TrimRoot should not be required for file systems. Anything using TrimRoot just indicates code that was written under the misunderunderstanding of how to use file systems correctly, ie using paths that are relative to root.
There has not been a clear separation between the root of the file system and the root of the directory tree to be traversed. From now on Root will come to mean the root of the file system, and tree is the root of the tree to be travsersed. Of cource when using a relative file system, root makes more sense. When using an absolute file system, ie making direct calls to fs functions in os package, the term root doesnt mean anything; you just have a path.
Path is a generic term which can be absolute or relative.
Extend needs to be modified to be aware of what type of file system is in play (relative or absolute), currently only relative is implemented, but is done in such a way that it is confused with absolute, which gives rise to the problems that need to be fixed by this issue.
Another issue particularly in the unit tests are that the filestem is created with a root path, but this path is also used as the base part of the path being used as the tree root. This relationship needs to be broken. The tree path needs to be relative to the root.

I forget to rename those variables that currently named as root to become tree, so there is a clearer separation of these 2 concepts, to avoid confusion.

also forgot to update enums, give the change of the root-scope to tree-scope


Media queries fail after inlining

How can we reproduce this bug?
I have two different font-size values in my app.scss file. I used the media query exactly as shown in the docs:
/* Main header */
.header {
    h1, .tagline {
        font-family: Palatino, "Times New Roman", serif;
        margin-bottom: 0;
        color: $black;
    }
    h1 {
        font-weight: bold;
        font-size: 48px;
        line-height: 48px;
        text-transform: uppercase;

        @media only screen and (max-width: #{$global-breakpoint}) {
            font-size: 20px;
            line-height: 20px;
        }
    }

    .tagline {
        font-size: 14px;
        line-height: 14px;
        }
    }
}

When I run npm start, I see the header resize for a smaller viewport:
Wide version:

iPhone 5:

However, when I run npm run build (or npm run zip or npm run litmus), the header does not resize:

When I inspect the h1 in Chrome, I see that the media query styles have not been applied to the tag by the inliner:
Post inlined h1 tag:

Web Inspector in Chrome:

This appears to be true in every mobile client in Litmus as well.
Is it possible that the inliner is not working correctly? I don't totally understand how it's supposed to work. Help!

While media queries cannot be inlined, they should override the default styles inside the breakpoint. Are you seeing the media query inside the body tag of you email?

Thanks, @rafibomb. I added !important to the font-size and line-height declaration and that fixed it.
Here's my (working) code for that header:
/* Main header */
.header {
	h1, .tagline {
		font-family: "Palatino", "Times New Roman", serif;
		margin-bottom: 0;
		color: $black;
	}
	h1 {
		font-weight: bold;
		font-size: 48px;
		line-height: 48px;
		text-transform: uppercase;

		@media only screen and (max-width: #{$global-breakpoint}) {
			font-size: 24px !important;
			line-height: 24px !important;
		}
	}

	.tagline {
		font-size: 14px;
		line-height: 14px;
		}
}

I'm not sure if that's always necessary. If so, maybe the inliner can add it automatically? Or maybe I should just know better...

Let's put it this way - using a CSS inliner should not change the look of your email. So needing important statements on inlined code is odd. If you can determine what's casing the specificity issue that would really help. Looking at where the media queries are moved after inlining might tell the story.

I'll take a look, Rafi. Thanks.

Just chiming in here; I have experienced the same behavior with my SASS media queries failing after inlining.  As suggested here, using the !important tag on my mobile styles resolved the issue.

Same problem in here. Element inline styles override the media query rules (at least in Chrome).

Same problem for me as well.

I'm seeing the same problem and using !important on my styles resolves the issue, using Chrome to view.

I'm still seeing this same issue happen. However, !important declarations are not fixing the issue for me. What I have noticed is that this issue is intermittent. One I'll save the file like 10 times, then all of a sudden the media queries start working again... It's really frustrating lol. Any idea how to fix it?

I'm having this issue, even when using the !important override. I should also note that I'm using the "npm run build" command in terminal and it's not inserting any media queries into the code at all.
The page renders the responsive styles perfectly if I run the build without inlining. But that's not gonna work on all these crappy email clients.
Any ideas anyone?

I am also having this issue and !important resolved it - at the moment using Chrome to view it.

Also experiencing the same issue in Chrome. Found that using the !important issue solved it too. However this should totally not be necessary. On the topic of using important! with media queries. I'm now facing a conundrum of an issue whereby I'd like to display two different styles different screen sizes. Now given:
.product-card-row
  @media (min-width: 480px)
    display: none !important

  @media (min-width: 768px)
    display: table !important

The above will never work correctly because if the screen size is bigger than 480!px display will always be table since it last media instance.
As mentioned you shouldn't have to use !important, these rules should be respected regardless.  What is the correct way of handling multiple media queries without having to use important.

Just to add, the media queries are added as expected correctly between style tags after the major media queries definitions like table.body, table.menu, etc. in the head of the file. All these definitions carry !important styles which is correct and obligatory for the media queries at this point as inlining will always override stripped style. If you revise code made by other major email campaign tools you will notice that all of them use the media queries with !important which is expected.

If you have doubts, you can always check css specifity articles. Like this one:
https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity

Inline styles added to an element (e.g., style="font-weight:bold") always overwrite any styles in external stylesheets, and thus can be thought of as having the highest specificity.

If you are missing the media queries in  after running inliner, make sure the placeholder  <!-- <style> --> is still there - it will be replaced with the media query styles.

I so wish what @timohausmann told would be in the documentation. Would've saved me some time figuring out what is happening with my media queries.

In order to use media queries in emails you need to include the !important flag as part of the property declaration. However, it's only necessary for styles that are inlined.
Inlined styles take precedence over style/media query tags and you need to override inlined styles for your code to work. It's a basic order of operations for email developers.

A lot of web designers rail against the overuse of the !important declaration but, for email designers, it’s our best friend. - Jason Rodriguez @Litmus

@rafibomb please include this in your Zurb Email Template Docs when using media queries. Also, this issue can be closed. Thanks!


Add support for trust tokens

This updates the certificate creation to include the trust_token field and both the integration and migration tests. This does not update the LXD mock/unit tests and neither the broken integration tests.

@simondeziel This is ready for a review
@ru-fu This also includes some minor changes to the docs if you want to take a look :)

Thanks Pedro!


Prevent FormsAuth from hijacking 403s (Small change)

When we return a HttpUnauthorizedResult from our API controller, forms auth seems to hijack it and redirect us to the login url. Not sure if there's a nicer way to do this.

As I understand it, if you don't specify an authentication mode, it just means you have a custom implementation. Not that there is no authentication at all. So I don't think this exposes more. I'll send it to Levi to double check. :)

Talked to Levi. This should be good. Ship it!


Using 0 to trun on/off all relays doesn't always work

I'm using the the 2 relay usb board.  I'm power cycling +5 and +12 volts for a SATA disk.
I've noticed that while usually using 0 for all relays works as intended, it doesn't always work correctly, sometimes it only turns on only one relay.  Maybe a timing issue somewhere?

Hello @jht001, it's entirely possible. While I've never encountered it I can hardly say I've done exhaustive on/off testing of these devices over a large number of cycles.
The communication mechanism to the relay is via serial and turning on both relays requires two separate commands.  I can't send one command that means all relays and instead have to send two. It's possible the device buffer can't keep up. These are inexpensive devices and I did have to do a bit of massaging with timings for the first release for my own use.
I'm assuming your code looks something like:
# ...
import lcus_relay
# ...
r = lcus_relay.Relay(port=port)
# ...
r.on(0)

Could you try the following change to see if it helps?
# ...
import lcus_relay
import time
# ...
r = lcus_relay.Relay(port=port)
# ...
r.on(1)
time.sleep(100 / 1000.0)  # 100 ms delay
r.on(2)

I recommend testing this while the SATA disk is not connected to not stress the disk with excessive power cycling.
If that does work relaiably can you shorten the delay a bit to as low as about 10 or 5 ms and see if it's still reliable? If so I can add that to the _send() method when relay=0.

Thanks for the quick reply.  I will try that.  I also ordered a DPDT USB relay from Numato Labs that would eliminate the possibility of the relays being out of sync for my application.
Currently I'm doing:
r.on(0)
r.status()
I check both relays are on, if not, turn them off and try again
Not optimal since it leaves the device with only 1 of its supply voltages momentarily.
I'll try to run some tests to see how frequently it occurs and with various delay times.
Thanks.

Hi @jht001, a DPDT device definitely makes more sense for your application both for out-of-sync issues as well as lag time between throwing both relays on.
The r.status() is also not a great answer: I have to read state twice to reliably debounce the result. That combined with the overhead of sending r.on(N) to the off device means you'll have an unstable power state for several 10s of milliseconds and may shorten the life of your drive.
I'm curious to know the results of your tests.  Thanks for helping!

I changed from using zero to doing 1 delay(100ms) 2 and the issue seems to have gone away.
Don't have time to do more testing at the moment, thanks for the suggestion!

Great news! I may add a feature in the future to add a delay during class instantiation such as
lcus_relay.Relay(port=port, multi_delay=100) to make this a little nicer for users like you in the future.
Closing as explained: if you disagree please reopen. Take care!


test lfcshrinkage in AnoExpress v2

May change the overall results a lot, but could be worth it. Shrinks FCs for very lowly expressed genes, which is kind of an ideal behaviour.
Will not implement until Version 2.

tested but gives too shrank fcs, seems wierd


Error when using utm parameters to URL

I want to put parameters to URL, but got an error with EpubCheck.
Here is an example of URL:
http://www.example.com/?utm_campaign=spring&utm_medium=email&utm_source=newsletter1&utm_content=toplink

And the EpubCheck log:
Validating using EPUB version 2.0.1 rules.
FATAL(RSC-016):<PHONE_NUMBER>671-Extrait.epub/OEBPS/MyBOOX/MyBoox.html(37,64): Fatal Error while parsing file 'The reference to entity "utm_medium" must end with the ';' delimiter.'.
ERROR(RSC-005):<PHONE_NUMBER>671-Extrait.epub/OEBPS/MyBOOX/MyBoox.html(-1,-1): Error while parsing file 'The reference to entity "utm_medium" must end with the ';' delimiter.'.

Check finished with errors

epubcheck completed

You have to escape the ampersands in your URL like this, otherwise it's no valid XML!
http://www.example.com/?utm_campaign=spring&utm_medium=email&utm_source=newsletter1&utm_content=toplink

or use percent-encoded values:
http://www.example.com/?utm_campaign=spring%26utm_medium=email%26utm_source=newsletter1%26utm_content=toplink


[PDI-18026] Text File Output: 'Accept Field as File Name' Functionali…

…ty not Working for > 1 Row of Data
@pentaho-lmartins

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -Dsurefire.runOrder=alphabetical -Daudit -amd clean install

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/trans/steps/textfileoutput/TextFileOutput.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Branch Change: -1.8% :small_red_triangle_down:
Complexity Change: -1.1% :small_red_triangle_down:
Instruction Change: -0.4% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileoutput.TextFileOutput

Complexity Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:


Formatting Problems with tables

f you are reporting a bug, please fill out the details. If you don't I will most likely just close the issue asking for more detail.

Browser Type/Version: Chrome
Operating System: Windows 8
Issue Description: For some reason, when I create a table, some of the formatting gets screwy when I export to a PDF.  See attached Notes with tables in them re: Elves on p. 3 and Domain Spell tables on p. 17.  I've also attached the syntax I use.
Mystara Syntax.docx
Mystara Campaign Supplement.pdf
Brew code to reproduce:
PUT YOUR BREW CODE HERE

Related Images : [IF APPLICABLE]

Interesting, I copied your entire syntax and reprinted it, and it all looks fine for me.
Browser: Google Chrome	51.0.2704.103
OS: Windows 10 Pro
To narrow the issue down for you: It only happens in Notes and Tables with Italics as far as I can tell.
It might be fixed, it might not, but could you try exporting it again and see if it is or not?
print(closing);
print("~tarper24");

Thanks so much.  I would love to try again, but for some reason, Chrome has stopped working altogether.  It won't launch and won't open any web page.  I tried to uninstall and reinstall and having the same problem.  Do you know if anyone else having a problem with Chrome?

Ok, weird.  I successfully uninstalled and reinstalled Chrome.  I tried again and it appears the issue with italics in tables has righted itself.  Thanks for the assist!


Edit QA Test Extension Exemption Data

As an ECMPS user (logged-in), I want to update QA Test Extension Exemption data so that I can add information to a test
Acceptance Criteria:
Given the user has selected QA Test Extension Exemption from the Test Data dropdown
When the user selects 'Edit'
Then the system displays the edit modal
And the user can edit QA Test Extension Exemption data
Unit or Stack Pipe ID (Dropdown)
Year (Dropdown)
Quarter (Dropdown)
Monitoring System ID (Dropdown)
Component ID (Dropdown)
Hours Used (Text)
Span Scale Code (Dropdown)
Fuel Code (Dropdown)
Extension or Exemption Code (Dropdown)
Given the user has updated QA Test Extension Exemption Data
When the user chooses to save and close
Then the data is saved
And the modal closes
And the user is returned to the Landing page for QA Test Extension Exemption Data
And the updates are reflected in the QA Test Extension Exemption data section
Warning message to pop up when a user updates data and closes the modal without saving (Cancel or clicks on X)
Warning message to read: Closing this window will discard any unsaved changes
Note: All fields are editable
Testing
Test Case: TC1201
Tester:  @JanellC

TC1201 passed. Able to edit a TEE record


Add shared queues for bdv.ome.zarr.s3

@KateMoreva
Could you also enable shared queues for BdvOmeZarrS3?
Right now, we only have it for the case without the Bdv:
https://github.com/mobie/mobie-io/blob/c3ddce209f7075cc995185e8c98418f667a7baaa/src/main/java/org/embl/mobie/io/SpimDataOpener.java#L73

Yes, I am working on it.
There are a few problems, but I hope to solve them by the end of this week and launch a new version of mobie-io with OMEZarr v4 and a shared queue for all formats.

I think this has been implemented now, correct @KateMoreva?

BdvOmeZarrS3

I tried to check opening "https://s3.embl.de/i2k-2020/project-bdv-ome-zarr", MoBIESettings.settings().imageDataFormat( ImageDataFormat.BdvOmeZarr)
and it fails with
 Cannot invoke "bdv.viewer.SourceAndConverter.getConverter()" because "sourceAndConverter" is null
Thus I can not say that everything is working properly.
I'll try to fix this as soon as possible.

Thanks @KateMoreva. When you're working on this, please make sure to also implement the shared queue for ome.zarr and ome.zarr.s3. An example project is here: https://s3.embl.de/i2k-2020/project-ome-zarr.