Support multiple docroots for projects

There is a Yii framework written in PHP and it has advanced template. They even have their own docker setup, which I've tried and failed. The advanced template consists of project root and two separate directories frontend backend which are two different domains that use the project root - probably directory common is important.
I would like to have one ddev setup pointing to two different directories with two different domains and share the base.
I've tried to modify docker-compose inside .ddev folder.
Is it even possible now maybe? I can fire up frontend and backend separately but not at the same time.
Thank you.

Hi @arysom -
If I understand right you're talking about two different webservers with two different docroots. There are a number of ways to approach this:

Run two ddev projects that talk to each other.. (In the faq). Use the same code for each.
Run one of the projects as a 3rd-party service, it might even use the ddev-webserver container, but as a separate instance. This stackoverflow answer shows that technique.  Big picture of additional services is in the docs
Do custom nginx configuration that handles both docroots. This seems like the most complex of the options.

I've tried 2. and 4. but can't make it. I think I'll go with custom nginx configuration.

Hi @rfay . I've reported this issue as "feature request" . This could be useful if we could easily add two webroots at the same time. But of course it would be a bonus. I'm satisfied how the ddev now works and I recommend this project. Feel free to close this issue. Thank you.

Thanks @arysom - Could you give some detail here about how you solved it? Alternately, do a PR with more extensive description of how to solve it in https://github.com/drud/ddev-contrib

I mean I would like to request such feature :) For now, I haven't solved this yet.

@arysom you should take a look at the solution in https://github.com/drud/ddev/issues/1889

Hi @rfay ,
this could be solution, I confirm that the second hostname appeared after ddev start . I've set webroot  up one dir and set in nginx-site.conf $WEBSERVER_DOCROOT/frontend/web and $WEBSERVER_DOCROOT/backend/web respectively.
# Set https to 'on' if x-forwarded-proto is https
map $http_x_forwarded_proto $fcgi_https {
    default off;
    https on;
}

server {
    listen 80;
    listen [::]:80 default ipv6only=on;

    # The WEBSERVER_DOCROOT variable is substituted with
    # its value when the container is started.
    root $WEBSERVER_DOCROOT/frontend/web;

    include /etc/nginx/monitoring.conf;

    include /etc/nginx/nginx_default.conf;
    include /mnt/ddev_config/nginx/*.conf;
}

server {
    listen 443 ssl;
    listen [::]:443 default ipv6only=on;

    # The WEBSERVER_DOCROOT variable is substituted with
    # its value when the container is started.
    root $WEBSERVER_DOCROOT/frontend/web;

    ssl_certificate /etc/ssl/certs/master.crt;
    ssl_certificate_key /etc/ssl/certs/master.key;

    include /etc/nginx/monitoring.conf;

    include /etc/nginx/nginx_default.conf;
    include /mnt/ddev_config/nginx/*.conf;
}

#######################################################
# EXAMPLE SITE ADDED TO DEFAULT NGINX
# THIS ASSUMES server_name: matches a name added to
# additional_hostnames: in your config.yaml
#
# CANADA - EN
#######################################################
server {
    listen 80;

    server_name mybackendhostname.ddev.site;

    #redifne your root
	root $WEBSERVER_DOCROOT/backend/web;

    include /etc/nginx/nginx_default.conf;
}

Also I've set additional hostnames option in config.yaml
additional_hostnames:
  - mybackendhostname

Maybe someone could write a line about this in docs.
Thank you.

What about adding something like this include /mnt/ddev_config/nginx/sites/*.conf; after the last server block? This would avoid to override the whole configuration and add the possibility to add new servers. Same for Apache ofc

I'm going to close this one in favor of #1889 , thanks all!


feat: Handle legacy condition optype

add support to prevent failure when getting circuits with legacy Condition optype

I merged main on your changes, it seems your branch was based on your previous PR's.
Also, you should have push permissions on the repo now so next time you won't need to use a fork.


fix(mouse_bindings): Fix control+mousedown1 support on macOS Firefox

Fixes #365.

@perlman Please let me know if this fixes the problem for you.

No, still not working, but it's half way:
The selection pane no longer pops up on control+mousedown1; but no annotations are added.
control+mousedown2 continues to function as expected (with the selection pane opening).

Thanks for testing --- I was setting the button to 1 instead of 0.  Should be fixed now.

It works.
I appreciate the lengthy comment in the code on how you do the disambiguation.


Feature request: Allow selectable fields for export in UI

Feature request:
Allow UI customisation such that users can select which fields are exported.
Example: https://stackoverflow.com/q/67651313/39296

If this feature still needs to be implemented, I would be happy to help

Hi Erkan - yes it would be a welcome addition to v4.  Might be worth you writing a short proposal before starting work.

Creating form
Proposal 1
Create SelectableResourceFieldExportForm, this form will be used in ExportMixin to create fields for each Export Resource.
In this scenario, we would have the default ExportForm and SelectableResourceFieldExportForm for each resource.
Validate ExportForm as usual on export action, figure out what resource was selected for export and get corresponding SelectableResourceFieldExportForm for that resource, run validation, run export.
Proposal 2
Add this functionality to ExportForm using a Mixin of selectable fields functionality.

Sounds good, thanks.

Would you make any UI changes to allow the user to choose the fields (or leave that to the user)?
Would the user be able to ignore this functionality if they wished to keep the current behaviour?

I think the ability to opt in to this functionality would be ideal.

Example export view would be this. Example for Book model with 2 resources: BookResource and BookNameResource

As for opting in or out, ExportMixin has attribute export_form_class which is ExportForm by default.
We could create a Mixin for selectable fields functionality, create a new form(SelectableFieldsExportForm) by inheriting this mixin along with ExportForm.
Then set ExportMixin's export_form_class as SelectableFieldsExportForm, if user prefers to use default form, they could just use export_form_class = ExportForm as right now

Sounds good - thanks for looking into this.

Sounds good - thanks for looking into this.

Feel free to assign me, thanks!

Option 1 is the best option IMO


DefaultApiVersion not working with MediaTypeApiVersionReader

Hey there,
I'm evaluating this quiet nice set of libraries to find out if we may use it in our software. I started by looking at the sample projects provided. Since my favorite way of versioning our own apis would be versioning by accept header/media type I made some changes to the BasicWebApiSample source code. Here is what I came up with:
configuration.AddApiVersioning( o =>
{
  o.ReportApiVersions = true;
  o.DefaultApiVersion = new ApiVersion (1, 0);
  o.AssumeDefaultVersionWhenUnspecified = true;
  o.ApiVersionReader = new MediaTypeApiVersionReader ();
  o.ApiVersionSelector = new CurrentImplementationApiVersionSelector (o);
});

[ApiVersion( "1.0" )]
[RoutePrefix( "api/values" )]
public class ValuesController : ApiController
{
  // GET api/values?api-version=1.0
  [Route]
  public IHttpActionResult Get() => Ok( new { controller = GetType().Name,
    version = Request.GetRequestedApiVersion().ToString() } );
}

[ApiVersion( "2.0" )]
[RoutePrefix( "api/values" )]
public class Values2Controller : ApiController
{
  // GET api/values?api-version=2.0
  [Route]
  public IHttpActionResult Get() => Ok( new { controller = GetType().Name,
    version = Request.GetRequestedApiVersion().ToString() } );
}

This works really well except for one thing. If I don't provide a version in the accept header or content-type header it's always the latest api version controller that responds. But I'd like the version 1.0 controller to respond in that case. I thought this is supposed to work by configuring api versioning with o.DefaultApiVersion = new ApiVersion (1, 0); and o.AssumeDefaultVersionWhenUnspecified = true;. But somehow it's not working.
Maybe I am missing something here. Any help is highly appreciated.
Thanks in advance!

You're just about there. You changed the IApiVersionSelector to CurrentImplementationApiVersionSelector, which will not get you the result you're looking for. This selector will always select the maximum API version available (e.g. current) or fallback to the DefaultApiVersion configured in the options.  Just remove that configuration and you should be good to go.
As an aside, the current use of the IApiVersionSelector only happens when o.AssumeDefaultVersionWhenUnspecified = true is set and a client doesn't provide an API version. There are a set of built-in implementations that decide which API version to resolve given all discovered API versions. If you need something extra, you can roll your own implementation. The current request is also provided so that you can pair specific request contexts with the selection process.
I hope that helps.

Thumbs up! That was it. Thank you very much.


Changing the ciphertext a keys

Hi,
I am working with the liboqs-python. Wanted to know how can i change the ciphertext and input encryption and shared key. I can see that It is importing oqs library and there are functions like encap and decap inside the oqs.py file where ciphertext is being generated. However, changing oqs.py file does nothing. Could you guide how to make these changes?
thanks

https://github.com/open-quantum-safe/liboqs-python/blob/main/examples/kem.py shows an example of how to call the KEM code.

Hi,
I am talking about the kem.py. want to know how can we have input our custom plaintext to get the ciphertext as at the moment
ciphertext is being generated within encap_secret function inside oqs.py file
ciphertext, shared_secret_server = server.encap_secret(public_key)
It is encrypting the random generated bytes. I am changing the ciphertext inside the encap_secret function in oqs.py file but it doesnt seem to be working. Then i noticed that there are two oqs.py files one in oqs folder and another in lib folder i changed both but it is still using the random generated bytes to encap the text.

someone managed to see the ciphertext?

Rereading this, I think there's a misunderstanding about what KEMs do. A key encapsulation mechanism does not allow you to specify a plaintext. The "ciphertext" only allows the receiver to decapsulate to arrive at the same shared secret as the sender, but neither part can selectively control the shared secret.  If you want to be able to encrypt an arbitrary plaintext, you would need to use a public key encryption scheme.  While there are standard ways of building a public key encryption scheme from a KEM, that is outside the scope of what liboqs provides.


Invalid link to MoE-LLaVA

The link on readme to MoE-LLaVA (https://github.com/PKU-YuanGroup/MoE-LLaVA/blob/main/MoE-LLaVA.pdf) is invalid. It does link to the correct repo, but there is no MoE-LLaVA.pdf.

Thanks, fixed that.

Thanks!


Warning: CommonJS or AMD dependencies can cause optimization bailouts

Warning: projects/app.module.ts depends on 'ngx-google-places-autocomplete'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
I looked up how to resolve this issue and it seems that I could just disable the warning or make an issue here. Is there a way this project can export ECMAScript modules?

This warning has been there since angular 9 or 10. Need to export to es2017.

I have the same issue and after looking it up I also found the same thing:
1- Either disable the warning by adding allowedCommonJsDependencies to the angular.json and adding the module to it.
2- Or wait for the author to make the module ECMAScript compatible.
Hope to hear any update on this.


fix: setup network mode explicitly to avoid DEPRECATION WARNING

:tada: This PR is included in version 6.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


tarsnap: 1.0.39 -> 1.0.40

Motivation for this change
Upgrade tarsnap to the latest version.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

cc @thoughtpolice @roconnor

There is #159877 already ; the two PRs have a different approach it seems

oh missed that, closing in favor of #159877


Rhino/GH: Breps Area,Volume and BBox can randomly crash Rhino

So, this seems to be an issue that is somewhat out of our control, as some tiny modelling accuracy errors may result in impossible to compute values.
(from sentry)
Proposed solution:

Switch the area/volume/bbox calculation to the displayMesh and assign the values to the mesh. Since triangular meshes can have area determined by the sum of their faces, this should do the trick.

For reference:
https://discourse.mcneel.com/t/rhino-fails-to-compute-area/80877
https://discourse.mcneel.com/t/unable-to-calculate-area-why/82042

Closing this issue for now, some errors still pop up in Sentry but we're unable to track down the core issue that is making this break.
I have tried with every invalid brep I could get my hands on (including the fighter jet) with no success on reproducing the bug. Until a user actually reports (so we can get more details of what is happening) it there's little we can do to pinpoint this 😞


[Improve][common] code clean in the common module

Purpose of the pull request

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Codecov Report

Merging #9435 (1fa6c67) into dev (4a29c6a) will decrease coverage by 0.24%.
The diff coverage is 42.71%.

:exclamation: Current head 1fa6c67 differs from pull request most recent head 8e6abbd. Consider uploading reports for the commit 8e6abbd to get more accurate results

@@             Coverage Diff              @@
##                dev    #9435      +/-   ##
============================================
- Coverage     39.98%   39.73%   -0.25%
- Complexity     4375     4401      +26
============================================
  Files           822      825       +3
  Lines         32924    33206     +282
  Branches       3656     3680      +24
============================================
+ Hits          13165    13196      +31
- Misses        18532    18785     +253
+ Partials       1227     1225       -2

Impacted Files
Coverage Δ

...lugin/alert/wechat/WeChatAlertParamsConstants.java
0.00% <ø> (ø)

...uler/plugin/alert/wechat/WechatAppChatMessage.java
0.00% <0.00%> (ø)

...cheduler/plugin/alert/wechat/WechatAppMessage.java
0.00% <0.00%> (ø)

...inscheduler/api/controller/ExecutorController.java
40.00% <ø> (ø)

...cheduler/api/service/impl/ExecutorServiceImpl.java
41.96% <ø> (ø)

...r/api/service/impl/ProcessInstanceServiceImpl.java
60.22% <ø> (-0.12%)
:arrow_down:

...er/api/service/impl/TaskDefinitionServiceImpl.java
24.01% <ø> (+0.05%)
:arrow_up:

.../org/apache/dolphinscheduler/common/Constants.java
80.95% <ø> (ø)

...che/dolphinscheduler/common/enums/AlertStatus.java
0.00% <0.00%> (ø)

...pache/dolphinscheduler/common/enums/AlertType.java
0.00% <0.00%> (ø)

... and 27 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 ab03570...8e6abbd. Read the comment docs.

Still WIP? @zhuangchong

Yes it will reduce the size of the package, but overall it is minimal and we should still spend some time on this.


Make Experience SVG for different rankings

We currently have 3+ years of experience SVG ,  We would love to see similar themed for all levels of experience like
Levels of ranking proposed for now:

Rookie
Intermediate
Advanced
Fresher
2,3,4,5+ years
6+years

if you have better ranking system for people who can identify themselves with ease, please propose it

hey @kingsmen732 assing me this I'll share you the figma designs with your needs

something like this may help

Yes please , these designs look consistent. I am assigning you with this feature @zadescoxp

hey @kingsmen732 added the pull req verify and merge it


initial ec2subnet implementation

This is the initial implementation for EC2Subnets, two points to review:

I added to edges: AWSAccount - [:RESOURCE] -> EC2Subnet and EC2Subnet - [:VPC_USED] -> (AWSVpc) -- this can be changed
do I need to create test cases

Hi @krisek, thanks for the PR. I responded to some of your questions on Slack, can you reply there, add the test cases, and then we can review?


Xcode 9.2 and Swift 4.1

Resolves #66 Update to Xcode 9.2 and Swift 4.1.

Migrate to Swift 4.1
Update dependencies
Update CI to Xcode 9.2
Update SwiftLint to 0.24.2
Update .swift-version to 4.1

Codecov Report

Merging #67 into v3_0 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             v3_0      #67   +/-   ##
=======================================
  Coverage   51.88%   51.88%
=======================================
  Files          46       46
  Lines         904      904
  Branches       26       26
=======================================
  Hits          469      469
  Misses        435      435

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 1d252a5...8f4578c. Read the comment docs.


Content package for the landing page

For the very first version of the website (we can call it a Landing Page) I suggest to have following content pieces:

Logo (graphic)
Conference name
Date and location (October 7, online)
Slogan
1-2 paragraphs of the general description
Organizers (1 paragraph)
Call to action 1: reserve a date (calendar invitation)
Call to action 2: submit a talk (link + a paragraph of description)
Code of conduct (link + page)
Copyright, made by, hosted by

Thanks for this Maxim! I have incorporated this into the Website Content Plan.


[BUG] rich.progress should fallback to use ─ instead of -

So I use wsltty mainly where rich.progress uses the ━━ character for the progress bar. I checked it in cmd.exe and it showed -- for the progress bar. The fallback should be ── (also used in tables), it would give a connected line.

btw: is there any terminal that does not support the ━ character?

If triage accepts this then I'll open a PR

This would would need to handle options.ascii_only to default to hyphens.

Okay thanks

So the change I mentioned above works, but it has one unexpected side effect. basically options.is_terminal is for checking if the output is a terminal, not specifically command prompt, and because of that the normal behavior also changes. now one thing I notice is that it defaults to ASCII Mode on Command prompt.
So I went on to test if ASCII mode is necessary. and it looks like it isn't since the normal character also works for me, so I checked a bunch of encodings and most of them seem to work fine. now I am a bit stuck on what to do next

Before:

After:

This is still an issue as of now. The fallback character can simply be a ─. It's even available in CP437 IBM so every terminal supports it in theory.


Monaco validation problems with regex and empty strings

Description
In some cases, Monaco isn't displaying information about the warning in empty strings (for example OAuth2) and regex in APIRules isn't correct.

Expected result
When the user clicks Create and goes to YAML there are no warnings.

Actual result
OAuth2:

APIRules:

the host is correct, but validation is displaying a warning.

Steps to reproduce

Troubleshooting

Monaco validates it properly. Sometimes it shows an error for an empty string because it doesn't match the required regex, and sometimes it doesn't show errors because there is no other requirement other than that it must be a string (and '' is a valid string).
The regex from the API rule comes from the custom resource definition, Monaco understands it correctly and it should show the warning (other tools also mark it as a string that doesn't match the regex). If the regex is wrong, it should be fix on a CRD level by the Kyma team.


hidpp20: fix setting default resolution

Fixes  #769

While we wait for @whot, @aTosser could you confirm this works on your device?

Sorry for the delay, Confirm working on my G Pro wireless.


cmd/dist: use of elf package adds 300k to dist binary size

The cmd/dist binary imports the elf package (and thus the dwarf) binary, just for one use:
                case strings.Contains(out, "mips64"):
                        file, err := elf.Open(os.Args[0])
                        if err != nil {
                                fatal("failed to open %s to determine endianness: %v", os.Args[0], err)
                        }
                        if file.FileHeader.ByteOrder == binary.BigEndian {
                                gohostarch = "mips64"
                        } else {
                                gohostarch = "mips64le"
                        }

... for detecting the host architecture.
Can that be done cheaper?
(noticed while looking at reducing the GOROOT_BOOTSTRAP tarball size sent to builders)
Not super high priority, of course.

Yes, to determine the endian cmd/dist only needs to read the 6th byte of
the elf file.


Update CLI extensions available doc

Update CLI extensions available doc.
Triggered by Azure/azure-cli-extensions - TRAVIS_BUILD_ID=632752850
https://github.com/Azure/azure-cli-extensions/commit/7142fd1ddbb2f82d09ea0e49adbb96f0802970d5

Docs Build status updates of commit a3d14ae:
:clock10: Full build: the average full build time is 7 min(s) 8 sec(s), this is based on the last 340 build(s) for this repository.

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

File
Status
Preview URL
Details

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Thread safety fixes

Adds locks for methods which could crash, and makes public API properties atomic. Crashes in the library can be reproduced by using the following approach:
for (int k = 0; k < 10000; k++) {
    NSLog(@"Attempt: %d", k);
    [Bugsnag leaveBreadcrumbWithMessage:@"generate non-fatal exception"];

    dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0), ^{
        NSError *error = [NSError errorWithDomain:@"thread test" code:0 userInfo:nil];
        [Bugsnag notifyError:error];
    });
}

This should address the following issues:
https://github.com/bugsnag/bugsnag-cocoa/issues/199
https://github.com/bugsnag/bugsnag-react-native/issues/174

On Xcode 9.1 we're seeing a number of warnings related to this change:
Writable atomic property 'capacity' cannot pair a synthesized getter with a user defined setter. Setter and getter must both be synthesized, or both be user defined,or the property must be nonatomic.
There are 5 other properties this applies to as well.

@sberrevoets I've got a fix for this in https://github.com/bugsnag/bugsnag-cocoa/commit/7670931aa056227ffcc1caa96c60e3a52f1360ed, also turned on warnings as errors.

Awesome, thanks! 🙏


issue-181 : support v2.0.1

add support changes for new format of Local/Remote protocol

Fixes #181

also removes IntegerProfile

Signed-off-by: Dana Sunalova<EMAIL_ADDRESS>

Reviewer is @vanithavalluripalli9


Show info screen for no comparison

Checklist

[x] Manual verification
[ ] Unit test coverage
[ ] E2E test coverage
[x] Needs manual QA?

Summary
Issue addressed:
Adds info container for no comparison as per mocks - https://www.figma.com/file/ADt3OivNV54xeoXkUpPxP2/RILL?type=design&node-id=5145-193918&mode=dev
Details:
Adds a info screen under the TDD table when no comparison has been selected

Summary by CodeRabbit
Bug Fixes:

No bug fixes were included in this pull request.

Documentation:

No documentation changes were made in this pull request.

Refactor:

No refactoring changes were made in this pull request.

Style:

No style changes were made in this pull request.

Test:

No test changes were made in this pull request.

Chores:

No chore changes were made in this pull request.

Revert:

No revert changes were made in this pull request.

(UX nit) The callout looks low – looks to be because the scrollable table has extra vertical space beneath the "Total" row


Only include last reexport assignment

This updates the reexport detection to only handle the last reexport assignment.
For example:
module.exports = require('a');
module.exports = require('b');

before this PR would return a, b, and after this PR would return just b.
The rationale here is that Webpack bundles include module.exports = require('external') for every single external they import from, when those aren't actually reexports. This saves unnecessary work and overclassification in those cases, with what doesn't seem to be too much of a loss.

@weswigham FYI I remember we discussed the module.exports = require('x') cases being a union for the whole module before, but with Webpack bundles I think this may cause unnecessary work. Copying you in in case you have any further thoughts on this topic, but feel free to ignore as well.

Right - in TS we search through conditions for things like this, so we produce a union, since some of the assignments may be conditional (and we don't do any kind of flow analysis on this yet, since we need this information before we normally do that kind of analysis). If you're only recognizing top-level assignments, simply taking the last one seems fine.

We don't actually do a top-level detection here because there isn't yet handling of the distinction between blocks and functions. Once / if this is added I think it could mostly be regarded a backwards compatible addition to reinclude that restriction. At least by limiting to one now we manage the backwards compat story and allow this to improve at the same time.


could not find array type for data type text[] : 42704

Describe the bug
Querying based on any value in a given array contains in a column of text[].  select().in_() method throws exception
Flutter Client
var result = await Supabase.instance.client
.from('my_table')
.select()
.in_('my_column', ['value']);
Exception
PostgrestException (PostgrestException(message: could not find array type for data type text[], code: 42704, details: Bad Request, hint: null))

Please share the type of your column. I guess it's text[]. That's not how the in operator works. The column needs to be of type text.
I guess you are searching for @>, but take a look at the list of array operators and the conversion of these operators to postgrest

Yes, the type is text[]. Sorry, I'm new to the sql/supabase world.
Closing the issue.
Thanks

query.in() is used to query for the "text" data type not "text[]".
For my use case, I used query.contains('fruits', [apple, grape]);
Reference: https://supabase.com/docs/reference/dart/contains


adding github actions

based on https://dev.to/pikachuexe/ruby-gems-ci-using-github-action-136o
note that there's no direct equivalent to allow_failures
see https://github.com/actions/toolkit/issues/399
so there's only a workaround, which requires you to include specific
combinations of the matrix ...
removed old .travis.yml
updated and fixed code and specs for yuki24#59
TODO?:

[ ] check that coverage is similar to travis
[ ] refresh ruby / rails versions
[ ] deprecate some older versions

@yuki24 did you get a chance to take a look ? ;-)

I've been busy these days and did not have time to do open source work. Please be patient until the dust gets settled...

I completely understand. Thank you.

I have merged your commit fcd71abef79e99e803fb1c775e83a97bc57edabb in the other PR #63. For some reason Actions is not running the builds with your workflow files so I started from scratch. I'm not sure why something fixed it.
The other change I made is to extract Rails edge and Ruby edge builds out of the big build config:
https://github.com/yuki24/rambulance/blob/1b01aad72377bec1f36bfa266b32717c310c0dac/.github/workflows/tests.yml#L71-L110
This way we don't have to worry about misconfigurations for the stable builds that are more important.
Thanks for the help! Really appreciated.


pointer keeps drifting to the sides

my wiimotedsu still works fine, its just sometimes, it drifts to the side for some reason

Experienced the same issue, not sure why it is happening. What works is laying down your phone on a flat surface for a couple of seconds. Dolphin will re-calibrate the gyroscope.


Envoy outlier detection  max_ejection_time breaks backward compatibility

Envoy 1.17:added max_ejection_time to limit ejection time growth when a node stays unhealthy for extended period of time. By default max_ejection_time limits ejection time to 5 minutes.
If user previously set outlierDetection.BaseEjectionTime>5m, it would make envoy send NACK to cds.
In #30602, we manually set the max_ejection_time = base_ejection_time if base_ejection_time > 5m. According to https://github.com/istio/istio/pull/30602#discussion_r569607709
We may:

add a new max_ejection_time to destinationRule
make the max_ejection_time equal to base or something higher (n*base)

@istio/wg-networking-maintainers Need your advice

I think we should check with Envoy on why max_ejection_time has to be enforced if it is not provided. I have asked that question here https://github.com/envoyproxy/envoy/pull/14235#issuecomment-773221219. Let us see the response and we can decide based on that.

Envoy PR to fix this https://github.com/envoyproxy/envoy/pull/14962. Let wait till that is merged and I have also requested for backport to 1.17 once that is done, we should probably upgrade Envoy in 1.9 and revert the other change.


Issues with vue version mismatch

when the vue based container runs, I got a bunch of errors around a  mismatch with versions of vue (forget exact message but similar to https://stackoverflow.com/questions/55906997/vue-packages-version-mismatch)
Fixed it by setting
"vue": "2.6.10"
and
"vue-template-compiler": "2.6.10",
in package.json

Thanks for picking this up. Looks like there was a breaking change. I'll update the app.

@ahmedsza I don't have an ARO cluster handy to try this, but can you add/update the following dependencies in package.json (under devDependencies):

"vue": "^2.3.4"
"vue-template-compiler": "^2.6.11"

Just tested your change and it works.  I used this previously (and it worked too)
"vue": "2.6.10",
"vue-loader": "^13.0.0",
"vue-style-loader": "^3.0.1",
"vue-template-compiler": "2.6.10",


Feature: number even odd

Add number isEven and number isOdd function

@marcobiedermann Thank you! 👍
They're available at
https://1loc.dev/#check-if-a-number-is-even
https://1loc.dev/#check-if-a-number-is-odd


feat/doc: tie in with BC Gov API Guidelines

https://developer.gov.bc.ca/BC-Government-API-Guidelines

Out of scope.


Tile mode

Hi,
I have a svg pattern that i would like to use as background. Is it posible to repeat the image as many times as necessary to fill the view?
Thanks!

Hi @willowvil,
No, it isn't, but you can edit SVG content and load it as a Stream source.


IMAP connection closed

Describe the bug
A profile makes the imap connection closed. It used to work. The Profile is sharing same credentials of other profiles. All other profiles are working fine until I add the failing profile back in the configuration file.
To Reproduce
Add back the problematic profile in configuration file
Release version
1.5.1
Architecture
Ubuntu Server 18.04.3 LTS x64
Logs
ime="2019-11-07T09:26:06-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected
time="2019-11-07T09:26:06-05:00" level=debug msg="checking folders" folders="[jeux-video]"
time="2019-11-07T09:26:16-05:00" level=info msg="processing mails" folder=jeux-video
time="2019-11-07T09:26:29-05:00" level=debug msg="attachments found" filename=B2tGameRayonneAuUniteCopenhagen_CommuniqueDePresse.pdf
time="2019-11-07T09:26:29-05:00" level=debug msg="attachments found" filename="Communiqué CaliCON-2019.pdf"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename="Web (4).jpg"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename="Web (5).jpg"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename="Web (2).jpg"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename="Panneaux horizontaux (4).png"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename="Panneaux horizontaux (1).png"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename="Web (3).jpg"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename="Lumiquai (2).png"
time="2019-11-07T09:26:33-05:00" level=debug msg="attachments found" filename=Lumiquai.png
time="2019-11-07T09:26:35-05:00" level=debug msg="attachments found" filename=image.png
time="2019-11-07T09:26:35-05:00" level=error msg="Error reaching mailserver" Error="imap: connection closed" Server="imap.gmail.com:993"

Hello @del-c thank you for reporting the bug. I'll try to reproduce it.

Hello @cseeger-epages !
We have 350+ messages in that folder and it is the biggest one. Could it be related ?

Hello @cseeger-epages !
Now I have a second folder with the issue. It worked fine today then stopped working. After commenting out this folder config in the conf file, I had to delete the data.json file, else mail2most wasn't going further than this (after restart) :
time="2019-11-19T19:52:06-05:00" level=debug msg="initialising logging" format=text output=logfile
Let me know if you want more logs, even if they don'T show anything more than the previous message.
Thanks!

hello @del-c ill take a look at this next week. Sorry for the long delay.

@del-c can you send me your mail2most.conf (please remove all private information like mailserver/password, mattermostuser/password etc.). What mailserver are you requesting (self hosted or some specific email provider like googlemail or microsoft etc. ?). The mailcount should not be a problem i tested it against a folder with 800+ messages and it worked fine. Can you add more log information evenif its only the previous messages it could hint some information to reproduce the bug.

@cseeger-epages : I'm using imap.gmail.com:993 as e-mail provider.
I've uploaded the log file from a startup until a failure as well as my config file without user/passwd (all profiles use the same user/passwd).
mail2most.log
mail2most.conf.txt
I could provide more logs too as my log files is 100 MB.
Sorry for the delay and let me know if you need something else.

@del-c i published v1.6.0 today i dont think that should fix the problem but you can try this first until i can reproduce the issue.

@cseeger-epages : Got the same issue with 1.6.0 but at least I'm now running the latest one.

@cseeger-epages : Unfortunately it doesn't change anything on my side. I also tried this solution with the 2 version you sent me earlier as well as with latest 1.7.1.
But looking at the logs, it looks like it fails when it reaches 50 attachments from a folder. I deleted some older e-mails and everytime I restart mail2most it was able to get closer to the newest messages but failed at the 50th attachement.

@del-c ill take a look at this your right with one of the last versions attachment support is fully added and if its disabled via configuration it should not check. Lets see what i can do.

@del-c please try this version with disabled attachments. I fully disabled the handling of attachments when the option is not set to true so from the parsing and file handling site nothing happens here anymore, hopefully this will fix the problem in the first place.
The 50 attachments thing ill try to test this maybe i'll find out why this happens.

@del-c hm i tested the 50 attachment thing by sending 11 emails with 5 attachments each (more than 5 attachments are not supported by our mattermost to upload) which result in 55 attachments + some existing. Mail2most doesnt seem to have a problem with this maybe this is a restriction of your mailserver/provider we use a selfhosted mailcow which does not have to have a problem with the amount of attachments. What could be is that it is not the amount but the overall size of all attachments which is limited. All in all it seems to be a restriction of the email server. I hope that the above fix solves this. If not ill create a gmail account and spam it full of attachment emails maybe i can find out what the restriction is.

@del-c i added a Mail.Limit option to limit the amount of emails that where requested from the mailserver
[(Default)Profile.Mail]
  ImapServer = ...
  ...
  Limit = 10

will only request the last 10 emails from the mailserver. This should prevent from running into request limits. If set to 0 it does not limit the amount of mails.
linux-arm64.tar.gz
windows-386.tar.gz
windows-amd64.tar.gz
linux-386.tar.gz
linux-amd64.tar.gz
linux-arm.tar.gz

Both versions were not able to manage the newest mail in the folders. In fact they went through the config file with previously failling profile and worked, without handling the newer messages.
Logs with the Limit = 10 option
time="2020-02-12T07:33:05-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected time="2020-02-12T07:33:05-05:00" level=debug msg="checking folders" folders="[jeux-de-societe]" time="2020-02-12T07:33:05-05:00" level=info msg="new mails" count=9 from=20 limit=10 to=29 time="2020-02-12T07:33:05-05:00" level=info msg="processing mails" folder=jeux-de-societe time="2020-02-12T07:33:07-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected time="2020-02-12T07:33:07-05:00" level=debug msg="checking folders" folders="[techno]" time="2020-02-12T07:33:07-05:00" level=info msg="new mails" count=9 from=183 limit=10 to=192 time="2020-02-12T07:33:07-05:00" level=info msg="processing mails" folder=techno time="2020-02-12T07:33:07-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected time="2020-02-12T07:33:07-05:00" level=debug msg="checking folders" folders="[jeux-video]" time="2020-02-12T07:33:07-05:00" level=info msg="new mails" count=9 from=353 limit=10 to=362 time="2020-02-12T07:33:07-05:00" level=info msg="processing mails" folder=jeux-video time="2020-02-12T07:33:08-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected time="2020-02-12T07:33:08-05:00" level=debug msg="checking folders" folders="[ces]" time="2020-02-12T07:33:08-05:00" level=info msg="new mails" count=9 from=69 limit=10 to=78 time="2020-02-12T07:33:08-05:00" level=info msg="processing mails" folder=ces time="2020-02-12T07:33:08-05:00" level=debug msg=sleeping intervaltime=90 unit-of-time=second
Maybe the 50 attachement is a limit from Gmail servers..

@del-c ok so in general it works but you are missing the newest emails ?

@cseeger-epages : working = passing throught the configuration file without issue, yes. But it is not handling the e-mails and sending it to mattermost. It just completes without errors.

hm thats very strange. From your logs you dont have set the Filter.Unseen flag so the message queue should hold the 10 messages. I added some more debug for the processing of the message from the channel queue and when the mattermost message is posted maybe we can see more here.
Can you double check your matermost config also please (even if this should result in some error wich seems to be not the case).
windows-amd64.tar.gz
windows-386.tar.gz
linux-amd64.tar.gz
linux-arm.tar.gz
linux-arm64.tar.gz
linux-386.tar.gz

@del-c ah can you also delete your data.json

@cseeger-epages : Channel is define to one channel per profile.
Logs after deleting data.json (which doesn't get recreated...)

time="2020-02-12T08:25:53-05:00" level=debug msg="initialising logging" format=text output=logfile
time="2020-02-12T08:25:54-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected
time="2020-02-12T08:25:54-05:00" level=debug msg="checking folders" folders="[culture-geek]"
time="2020-02-12T08:25:54-05:00" level=info msg="new mails" from=89 limit=20 to=108
time="2020-02-12T08:25:54-05:00" level=info msg="processing mails" folder=culture-geek
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="Jennika Goes Solo with All-New TMNT Series Beginning in February" uid=102
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="Le monde selon AMAZON documentaire percutant dès le 29 novembre" uid=103
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="SONIC LE HÉRISSON | Nouvelle bande-annonce et nouvelle affiche !" uid=104
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="Communiqué de presse officiel partenariat otaku manga lounge et Nakama-Thé" uid=105
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="MEGA MAN: ROBOT MASTER FIELD GUIDE Hardcover Release Announced by UDON Entertainment" uid=106
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="Read Only Memories Comic Issue #1 Releases 18 Dec." uid=107
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="Intelligence artificielle et Freddie Mercury" uid=108
time="2020-02-12T08:25:54-05:00" level=debug msg="processing message" subject="The power of VR to reduce pain for hospitalized children - LENOVO & STARLIGHT" uid=109
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="La Journée familiale annuelle aura lieu le 7 décembre dans les cinémas Cineplex" uid=110
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="La 22e édition des RIDM : 10 jours à célébrer le documentaire sous toutes ses formes ! (14 au 24 novembre)" uid=111
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="La nouvelle collaboration d'Alice & Smith : Moons of Madness" uid=112
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="Disney+ sur Amazon Fire TV" uid=113
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="Com. Justice sur le net- Rappel sortie 15 novembre" uid=114
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="Crunchyroll Hosting Special Anime Holiday Event in Toronto" uid=115
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="New Trailer: WEATHERING WITH YOU in Theaters January 17th | Fathom Preview January 15th & 16th Only!" uid=116
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="2025: Voici à quoi ressemblera le paysage de la vidéo à la demande" uid=117
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="Comic Review - Cyberpunk Mystery Read Only Memories Issue #1" uid=118
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="New Clips Avail For GKIDS' First Chinese Title - WHITE SNAKE, Opens In NY Nov. 29" uid=119
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="MUTATIONS : dans la Satosphère dès le 19 novembre" uid=120
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="SQUARE ENIX Announced NieR:Automata Novel For Fall 2020" uid=122
time="2020-02-12T08:25:55-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected
time="2020-02-12T08:25:55-05:00" level=debug msg="checking folders" folders="[jeux-de-societe]"
time="2020-02-12T08:25:55-05:00" level=info msg="new mails" from=10 limit=20 to=29
time="2020-02-12T08:25:55-05:00" level=info msg="processing mails" folder=jeux-de-societe
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="[LUMA] Paladins et Architectes du Royaume de l'Ouest EN STOCK\u00a0😍" uid=11
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="Une édition Dark...et Collector !" uid=12
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="Clank!™ Legacy: Acquisitions Incorporated Available Now" uid=13
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="FOR IMMEDIATE RELEASE: Geek & Sundry to Carry the Exclusive LIVE Broadcast of Lost Odyssey: The Book of Knowledge, a live D&D event" uid=14
time="2020-02-12T08:25:55-05:00" level=debug msg="processing message" subject="[LUMA] Bruxelles 1897, Sword & Sorcery, Spirit Island" uid=15
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="Randolph dévoile ces deux nouveautés pour la saison festive!" uid=16
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="[LUMA] Carnival of Monsters & Dice Hospital" uid=17
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="[LUMA] Letter Jam, Chewing Games et plusieurs réassorts" uid=18
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="IELLO-HO-HO ! C'est bientôt Noël !" uid=19
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="Une nouvelle année ludique commence !" uid=20
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="L'Antre du Roi de la Montagne" uid=21
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="[LUMA] Bonne année\u00a0🎉" uid=22
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="Les Denis Drolet se joignent au festival Montréal joue!" uid=23
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="Deux nouvelles expériences en print and play !" uid=24
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="Money Maker – Board Game for Anarchists and Bankers Alike" uid=25
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="IELLO - Programme Cannes 2020" uid=26
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="Quoi de 9 en 2020? 👀 Nouvelle chasse au trésor urbaine dans le Quartier Latin : inscrivez-vous pour participer aux playtests! 🔎" uid=27
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="[LUMA] Imperial Settlers, Terraforming Mars Turmoil, Barrage, Tajuto, etc...🏤🚚🚚🚚" uid=28
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="Échappe-toi ajoute un 2e volet au jeu d'évasion géant pendant le Festival Art Souterrain" uid=29
time="2020-02-12T08:25:56-05:00" level=debug msg="processing message" subject="❓Envie de plus de Concepts ? Rechargez-le !" uid=30
time="2020-02-12T08:25:56-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected
time="2020-02-12T08:25:56-05:00" level=debug msg="checking folders" folders="[techno]"
time="2020-02-12T08:25:56-05:00" level=info msg="new mails" from=183 limit=10 to=192
time="2020-02-12T08:25:56-05:00" level=info msg="processing mails" folder=techno
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="Laflamme Aéro reçoit 2 M$ en capital de risque pour propulser son hélicoptère sans pilote LX300" uid=227
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="EnGenius Provides Faster Speeds and More Power with the Launch of Multi-Gig Networking Switches" uid=228
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="Eric, introducing the world's most advanced wireless earbuds" uid=229
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="Quoi de neuf pour Alexa en février? Super Bowl, Oscars & Activités hivernales" uid=230
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="Eric, world’s first air conditioned baseball cap launches" uid=231
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="AIR EST FIÈRE D’AVOIR ÉTÉ CHOISIE PARMI LA PREMIÈRE COHORTE D’AI@CENTECH" uid=232
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="Du retard attendu pour le lancement des accessoires Galaxy S20" uid=233
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="L’entreprise montréalaise PixMob illumine la foule au spectacle de la mi-temps du Super Bowl LIV avec son nouveau bracelet en plastique recyclé!" uid=234
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="L’entreprise montréalaise PixMob illumine la foule au spectacle de la mi-temps du Super Bowl LIV avec son nouveau bracelet en plastique recyclé!" uid=235
time="2020-02-12T08:25:57-05:00" level=debug msg="processing message" subject="L'application Apple TV ainsi qu'apple TV+ maintenant offerts sur les téléviseurs 2019 de LG dans plus de 80 pays" uid=237
time="2020-02-12T08:25:57-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected
time="2020-02-12T08:25:57-05:00" level=debug msg="checking folders" folders="[jeux-video]"
time="2020-02-12T08:25:58-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected
time="2020-02-12T08:25:58-05:00" level=debug msg="checking folders" folders="[ces]"
time="2020-02-12T08:25:58-05:00" level=info msg="new mails" from=69 limit=10 to=78
time="2020-02-12T08:25:58-05:00" level=info msg="processing mails" folder=ces
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="Mad Catz Previews an Incredible Year of Gaming at CES 2020" uid=70
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="Konka, A China TV Technology Powerhouse, Announces Brand Expansion Into the US and Canada -" uid=71
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="LG sur le point d'accélérer l'innovation interentreprises grâce à Microsoft" uid=72
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="Interview: Canadian Wins CES Innovation Award for Cocktail Machine" uid=73
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="The BMW Group at the Consumer Electronics Show (CES) 2020 in Las Vegas" uid=74
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="Robot 'Emotional Support Dog' Debuts At CES - Poor Imitation of the Real Thing" uid=75
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="Ambassador & MedWand Dubbed 20th Annual Last Gadget Standing at CES 2020" uid=76
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="LG Electronics et Luxoft forment une coentreprise pour développer webOS Auto au CES 2020" uid=77
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="CES 2020 I Roundup From PR Newswire Asia" uid=78
time="2020-02-12T08:25:58-05:00" level=debug msg="processing message" subject="LG Electronics remporte un nombre record de prix au CES 2020" uid=79
time="2020-02-12T08:25:58-05:00" level=debug msg=sleeping intervaltime=90 unit-of-time=second

@del-c can you disable all profiles but one to prevent maybe some sideeffects. Also from the config you provided erlier you have a TimeRange of 72h are there emails that are within this 72h ?

a version with more debug:
linux-386.tar.gz
linux-amd64.tar.gz
linux-arm.tar.gz
linux-arm64.tar.gz
windows-386.tar.gz
windows-amd64.tar.gz

@cseeger-epages : Yes the mail was received this morning so it is under the 72h timeframe.
My complete config file for now is attached.
mail2most.txt
Logs with only one profile :

time="2020-02-12T08:58:59-05:00" level=debug msg="initialising logging" format=text output=logfile
time="2020-02-12T08:58:59-05:00" level=debug msg=mailserver server="imap.gmail.com:993" status=connected
time="2020-02-12T08:58:59-05:00" level=debug msg="checking folders" folders="[jeux-video]"
time="2020-02-12T08:59:00-05:00" level=debug msg=sleeping intervaltime=90 unit-of-time=second

Ah there is an Unseen filter in this profile can you set Filter.Unseen=false please. If the mails are marked as seen the filter not get any mail here and continues.

@cseeger-epages : the unseen was set to false previoulsy and changed it to true this morning as I thought you wanted me to.
Thanks for the attachment issue I faced with the file I provided.
So far it is working for this profile now. Should I add all the other ones ?

@cseeger-epages : So far everything seems to be working with all profiles I added back (one by one). Will keep you posted. Thanks for your work!

@del-c great :) we finally made it. Thank you very very much for your help and of course for your patience in this issue since it took a few month to finally track this down. Ill merge the changes and create a new release.

The fixes are released in v1.8.1
@del-c feel free to repoen the issue if something in this case is not working properly.

@cseeger-epages : Sorry to say that, but it started the same behavior during the night.... Tried deleteting the data.json file unsuccessfully.
It is probably related to Gmail. I wish I could leave their infra easier
Can I enable more debug messages ?

@del-c sorry to hear that can you provide some logs please. What exactly happens ?

@cseeger-epages : It seems to work with Gmail with  TimeInterval = 600. Sorry for the delay, you can mark this as completed. Thanks for your support !


AppImage never Runs - Linux Mint 21.1

I downloaded the latest appimage today, and when executing, i hear my computer spin up as if it were running something, but nothing happens.
No program starts in the tray.
Steam is already running when I try to run the appimage.  I have also tried to run the appimage when steam is not running.

Yeah, the readme is a bit outdated, the app doesn't use the tray any more. Did it show any errors when run from terminal?

Thanks for the response!No, there was no errors when run off of the desktop. I am a Linux noob, so idk how to run it in the terminal. How would I do that on Mint?
-------- Original message --------From: Dmitry @.> Date: 9/5/23  6:24 PM  (GMT-05:00) To: m4dEngi/RemotePlayWhatever @.> Cc: mooo25 @.>, Author @.> Subject: Re: [m4dEngi/RemotePlayWhatever] AppImage never Runs - Linux Mint 21.1 (Issue #114)
Yeah, the readme is a bit outdated, the app doesn't use the tray any more. Did it show any errors when run from terminal?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

In some DEs you can just start terminal and drag & drop appimage into the terminal window and then hit enter (removing the file:/ prefix if it gets there too). If the permissions are set right, it should start the app and spit something into stdout/stderr, which will be printed in the terminal window.

Thanks!I'll give it a try and let you know what happens. If I need more help, I'll let you know too.
-------- Original message --------From: Dmitry @.> Date: 9/5/23  6:39 PM  (GMT-05:00) To: m4dEngi/RemotePlayWhatever @.> Cc: mooo25 @.>, Author @.> Subject: Re: [m4dEngi/RemotePlayWhatever] AppImage never Runs - Linux Mint 21.1 (Issue #114)
In some DEs you can just start terminal and drag & drop appimage into the terminal window and then hit enter (removing the file:/ prefix if it gets there too). If the permissions are set right, it should start the app and spit something into stdout/stderr, which will be printed in the terminal window.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Here was the terminal output when I did as you suggested:
`Gtk-Message: 18:13:52.927: Failed to load module "window-decorations-gtk-module"
Gtk-Message: 18:13:52.938: Failed to load module "colorreload-gtk-module"
(remoteplaywhatever:2155): Gtk-WARNING **: 18:13:53.216: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/breeze/status/64/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /usr/share/icons/breeze/status/64/image-missing.svg: Unable to load image-loading module: libpixbufloader-svg.so: libpixbufloader-svg.so: cannot open shared object file: No such file or directory (gdk-pixbuf-error-quark, 5)
Aborted (core dumped)
`

This was the output when doing as you suggested but with "sudo" in front:
(remoteplaywhatever:8984): Gtk-WARNING **: 21:49:10.381: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Bail out! Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /org/gtk/libgtk/icons/48x48/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Aborted

It should not be used with sudo. What version of steam client are you using? (how did you install the steam client)

I am using Version <IP_ADDRESS>.  I checked, and it is up to date.
I installed the Flathub using the Mint Software Manager.
I hope I am answering your question.  Def a noob at Linux.

The app can't work with Flatpak/Snap version of steam as it needs access to running client process for IPC calls.

Latest appimage should work better, but still requires non flatpak/snap native version of steam client.

Thank you!
So reinstalling Steam using the non flatpak version allowed the AppImage to
start.
We ran into a problem using the program though.  I was able to send the
invite to my friend from the appimage, but when he clicked on the
invitation, he was given a choice to use the Steam Link App or the Steam
App.  This choice was given to him from the website he was brought to.
I believe no matter which app he chose, he ran into an error each time, I
think it was "Unable to get stream".  It also locked up his computer so
that he had to restart it every attempt.
On Wed, Sep 13, 2023 at 1:11 AM Dmitry @.***> wrote:

Latest appimage should work better, but still requires non flatpak/snap
native version of steam client.
—
Reply to this email directly, view it on GitHub
https://github.com/m4dEngi/RemotePlayWhatever/issues/114#issuecomment-1716954635,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASJSVZQTOQBZU2EKBYUGLP3X2E6BPANCNFSM6AAAAAA4HYQGY4
.
You are receiving this because you authored the thread.Message ID:
@.***>

The part after sending the invite is handled by Steam itself and is outside the scope of RPW. Unfortunately, I can't help with that, as it seems there is some connectivity/steam/system issue on your friend's end that prevents steam from connecting to the remote session.


hotel ads bulk api etc

Docs Build status updates of commit 890974e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Advertising/bingads-13/ad-insight-service/suggestkeywordsfromexistingkeywords.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/account.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/action-ad-extension.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-combined-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-custom-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-customer-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-dynamic-search-ad-target.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-in-market-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-combined-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-custom-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-customer-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-dynamic-search-ad-target.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-in-market-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-keyword.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-product-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-similar-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-negative-site.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-product-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-product-partition.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group-similar-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/ad-group.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/app-ad-extension.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/app-install-ad.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/budget.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/call-ad-extension.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/callout-ad-extension.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-combined-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-custom-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-customer-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-in-market-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-combined-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-custom-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-customer-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-dynamic-search-ad-target.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-in-market-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-keyword.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-product-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-similar-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-site.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-negative-store-criterion.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-product-audience-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-product-scope.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign-similar-remarketing-list-association.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/campaign.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/combined-list.md
:white_check_mark:Succeeded

Advertising/bingads-13/bulk-service/custom-audience.md
:white_check_mark:Succeeded

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


Bug: QA RATA Summary

Issues:
When editing 'RATA Summary' the user gets many API validation errors (RATA 12, 17, 18, ....)

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

Am able to edit the RATA Summary without encountering the errors


fix(styled-system): correct handling of negative margin where calc() was erroneously included

Check out the discussion here: https://github.com/trendmicro-frontend/tonic-ui/issues/867

Fixed in 1.29.3 and 2.0.1


Remove yiiext/github-api

Why:
yiiext/github-api's implementation is 10 years old and the README states this package is not ready to be used.
Closes #7694

What's being changed:
Removes yiiext/github-api from the table of PHP libraries.

Before

After (staging)

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@pdelre Thanks so much for opening a PR! I'll get this triaged for review ⚡


ContainerServiceOSDisk maximum is incorrect

https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-02-01/managedClusters.json#L1829
The above link shows the incorrect value. It is listed as 1023GB, but it should actually be 2048GB.

@lenardchristopher Do you have a link to the docs or anything showing the correct size?

@mikhailshilkov I looked through Microsoft documentation, but couldn't find anything explicitly listing disk size constraints. However, you can see the error message Azure returns in the linked issue description. Also, I personally know you can set disk size to 2048GB because I have been successfully creating node pools through Terraform and Azure CLI for over a year with that size.

@qike-ms @jwilder @thomas1206  @seanmck Is there a timetable for addressing this? This is soon going to be a big issue for us. Today, I created a new new pool via Azure CLI with 2048GB disk space.

I looked at the latest version and realized it is fixed. I'll close this bug as fixed.
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2021-03-01/managedClusters.json#L2002


game

http://scratch.mit.edu/projects/311500869
http://phosphorus.github.io/#311500869
Error: HTTP 404:
    at XMLHttpRequest.xhr.onload (https://phosphorus.github.io/phosphorus.js:224:23)

Project doesn't exist/isn't shared on Scratch. Please don't spam the issues, I guess nathan recieves enough spam. Close this issue now please.


Emit metrics for failed jobs

What does this PR do?
When the CI sends slack notifications for each team, now it sends additional metrics to datadog to see which teams receive more messages.
details

Motivation

Additional Notes

Here is an example of metric.
Some refactoring has been made such that we are aware when sending metrics fails
Renamed dddev api key (was misleading)

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge

/merge

/merge

/merge -c

/merge


[FLINK-31640][network] Write the accumulated buffers to the right storage tier

What is the purpose of the change

Write the accumulated buffers to the right storage tier

Brief change log

Firstly choose the storage tier, then write the accumulated buffers to the right storage tier.*

Verifying this change

Added the test of TieredStorageProducerClientTest to verify the logic of choosing storage tiers.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not documented)

@flinkbot run azure

@flinkbot run azure

@xintongsong Thanks for the careful review. I have addressed the comments with two fix-up commits.

@reswqa  Thanks for helping review, I have addressed the comments. Could you help take a look again?
Due to the significant code changes in the test code, I didn't use a fix-up mode to fix it.

@flinkbot run azure

I rebased on the master branch to trigger tests.

Thanks @xintongsong and @reswqa for the careful review.


Remove logr and use log for now in manager.main

What this PR does / why we need it:
One less logging library - yay! Also the logging around webhooks was broken.
Thanks @nfnt

Thanks @nfnt


Update golang.org/x/net to fix CVE-2023-45288

Description:

What issue is being seen? Describe what should be happening instead of
the bug, for example: api-testing should not crash, the expected value isn't
returned, etc.

The golang.org/x/net (v0.22.0) shipped in latest release has a vulnerability CVE-2023-45288.
It can be resolved by updating golang.org/x/net greater than or equal to 0.23.0
Repro steps:

Include sample requests, environment, etc. All data and inputs
required to reproduce the bug.

Note: If there are privacy concerns, sanitize the data prior to
sharing.

Environment:

Include the environment like api-testing version, os version and so on.

Logs:

Include the access logs and the api-testing logs.

Thanks for reporting.

/assign @yuluo-yx


Feature: Webhooks when players from a list joins or ends match

I'd like to be able to receive a webhook call when someone in a list of player usernames from a server region enters or finishes a match. To also ensure privacy to those who would not like to have their matches be tracked, perhaps also include an opt-out feature so that the webhooks are not fired for those users.
The data I'd like for this webhook are:

Match Participants
Match ID (used to look up information for the match)
Match Result (on finish)

My use for this webhook is to automatically sort users in my Discord server into voice channels with their teammates when they start a match.

My use for this webhook is to automatically sort users in my Discord server into voice channels with their teammates when they start a match.

That is an amazing idea!

This is happening for version 1.1.. Planned for March.  We had to move it out of 1.0 in order to move Telemetry in.
PS: ^^ That is damn cool

Alright, thank you everyone!

What is the status on this? Probably it got postponed, so can you reopen?

recreated this for voting on FeatHub at http://feathub.com/madglory/gamelocker-vainglory/+10


HTML5 resources

Fix #569
@smaranjitghose I have added resources for HTML5 . Please check it..if it's fine I will do it the same way for others. :)

This is fine!


Intellisense Not Working on Mac

Version: 1.40.1
Date: 2019-11-13T16:47:44.719Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0
It's working fine in Windows, It automatically suggest before I finish writing code, but not anymore  in Mac. Please Help.
Thanks & Regards

@rhrahul could you please provide more information, like what language are you using, are you working on the same project, do you see the same issue if you disable all extensions by code --disable-extension?

Hey @rebornix , THANKS FOR REPLY.
I am using JavaScript.
And I also tried with disabling all extensions, but still not working.

Intellisense stopped working for me unless hot-reloading, but then stops working shortly after, very frustrated!
I am also working in Javascript, disabling all extensions didn't help.

Intellinsense in javascript stopped working for me also. I do not exactly when it stopped working as I tinkered with a js file after quite a while. I did use vscode using code --disable-extension also and still no IntelliSense.
Not sure if this is useful, but I see this in output.
[Info  - 7:01:29 PM] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib
[Info  - 7:01:29 PM]  Forking...
[Info  - 7:01:29 PM]  Starting...
[Info  - 7:01:29 PM]  Forking...
[Info  - 7:01:29 PM]  Starting...
Version: 1.40.1
Commit: 8795a9889db74563ddd43eb0a897a2384129a619
Date: 2019-11-13T16:47:44.719Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0

I downloaded the Insider version, and it appears that it is fixed in that version. But the insider version does not have any of my extensions installed. :(
I wonder if I can go to the previous month version. Will look into how to do that.

I installed 1.39.2 but that does not work either :(

So the problem is on of my installed extensions. I disabled all extensions with cmd-shift-P, and then restarted, and IntelliSense started working. IT did not work with code --disable-extension,and now I am enabling extensions one by one and checking. Painful way to do it.
It there any other way to figure out which extension might be interfering with javascript IntelliSense? Thanks.

Kite extension is what was causing this it seems. Hope this helps.
I disabled Kite extension in the javascript workspace.
Wish there was a way to figure out which extension is interfering with Intellisense...

@rhrahul Are you still seeing this problem? If so, please provide the information from our issue reporting guidelines

Hey @mjbvz , I am still facing this issue.
Version: 1.40.1
Date: 2019-11-13T16:47:44.719Z
Electron: 6.1.2
Chrome: 76.0.3809.146
Node.js: 12.4.0
V8: 7.6.303.31-electron.0
OS: Darwin x64 18.7.0
Language I am using : JavaScript
And I also tried by disabling all extensions, but still not working.
What more information you'll need?

Please share steps to reproduce the issue

What do you see? Does this happen for all files and all projects you open?
We can't investigate this without more information about what is going wrong


Add RxnDfn gliders to pattern library

83bf469e36c3b0d4bfe441f6618924367d2694b0

Added the u glider in PR #74

new gliders in 3805c8693a46e0bc2b0544af28367f90c5ab129a

PR #76


Get n64/gcc2.8.1sn/cc1n64.exe running

n64/gcc2.8.1sn/cc1n64.exe comes from https://github.com/decompme/decomp.me and is some n64 compiler(?).
Currently it dies at
INFO win32/src/winapi/kernel32/misc.rs:194 kernel32/misc/GetVersion()
INFO win32/src/winapi/kernel32/memory.rs:282 kernel32/memory/HeapCreate(flOptions:Ok(HEAP_NO_SERIALIZE), dwInitialSize:1000, dwMaximumSize:0)
INFO win32/src/winapi/kernel32/memory.rs:350 kernel32/memory/VirtualAlloc(lpAddress:0, dwSize:400000, flAllocationType:Ok(RESERVE), flProtec:Ok(READWRITE))
INFO win32/src/winapi/kernel32/memory.rs:350 kernel32/memory/VirtualAlloc(lpAddress:1979000, dwSize:10000, flAllocationType:Ok(COMMIT), flProtec:Ok(READWRITE))
ERROR cli/src/main.rs:358 "oob at e80f9084"
00527aa0 c6460400   mov byte ptr [esi+4],0

Disassembling a bit that pointer appears to come from some sort of malloc implementation (my best guess).  It's asked to alloc 0x100 and it gets that big pointer back when it probably should get a pointer within the VirtualAlloc'd regions just above.

Running via Rosetta has a wholly different trace
WARN win32/src/winapi/kernel32/misc.rs:131 IsProcessorFeaturePresent(Ok(FLOATING_POINT_PRECISION_ERRATA)) => false
thread 'main' panicked at win32/src/shims_raw.rs:52:22:
not implemented: kernel32.dll:GetTimeZoneInformation
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

Maybe it implements cpuid differently?  I haven't been able to use Rosetta much for debugging anything lately, since after a MacOS update when Rust panics like the above within Rosetta the process gets totally wedged in a way where I can't even kill it.

After tracing through this a bit, it seems like this is within the very first malloc, and the failure is somehow part of the initial boot of the c library's malloc implementation.  There's some if (size < 0x1e0) foo() else HeapAlloc() and we take the first branch, do a ton of work, and and come back with a garbage pointer, so I imagine there's some sort of small-object malloc helper that I'm somehow running wrong.

With the above fix the execution gets up to this point:
INFO win32/src/winapi/kernel32/file.rs:81 kernel32/file/CreateFileA(lpFileName:Some("blah.s"), dwDesiredAccess:40000000, dwShareMode:3, lpSecurityAttributes:f6f10, dwCreationDisposition:Err(2), dwFlagsAndAttributes:Ok(NORMAL), hTemplateFile:HANDLE(0))
thread 'main' panicked at win32/src/winapi/kernel32/file.rs:97:9:
not implemented: CreateFile access WRITE
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

which is to say, I hadn't supported file writing yet, hah.  I will try that next.

OK, main now successfully writes a file from this exe.  Something is wrong where it computes the wrong output filename and overwrites its input, but at least itdemonstrates successful end-to-end emulation with the relevant Windows API in place as well.
$ cargo run -p retrowin32 -F x86-emu -- exe/cc1n64.exe  "cc1n64.exe -o blah.o blah.s" |& grep -v unimpl
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/retrowin32 exe/cc1n64.exe 'cc1n64.exe -o blah.o blah.s'`
WARN win32/src/winapi/kernel32/misc.rs:131 IsProcessorFeaturePresent(Ok(FLOATING_POINT_PRECISION_ERRATA)) => false
<built-in>:0: warning: conflicting types for built-in function `__builtin_fabs'

time in parse: 0.000000
time in integration: 0.000000
time in jump: 0.000000
time in cse: 0.000000
time in loop: 0.000000
time in cse2: 0.000000
time in branch-prob: 0.000000
time in flow: 0.000000
time in combine: 0.000000
time in sched: 0.000000
time in local-alloc: 0.000000
time in global-alloc: 0.000000
time in sched2: 0.000000
time in dbranch: 0.000000
time in shorten-branch: 0.000000
time in stack-reg: 0.000000
time in final: 0.000000
time in varconst: 0.000000
time in symout: 0.000000
time in dump: 0.000000
963902 instrs in 61 ms: 15m/s
icache: 190475 hit, 6377 miss, 96% hit rate

$ cat blah.s
        .file   1 "blah.s"
gcc2_compiled.:
__gnu_compiled_c:

Ok, I think this almost works now with the example you gave:
$ cargo run -p retrowin32 -F x86-emu -- -- ./exe/cc1n64.exe 'cc1n64.exe -o blah.o blah.s' |& grep -v unimpl
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.01s
     Running `target/debug/retrowin32 -- ./exe/cc1n64.exe 'cc1n64.exe -o blah.o blah.s'`
WARN win32/src/winapi/kernel32/misc.rs:131 IsProcessorFeaturePresent(Ok(FLOATING_POINT_PRECISION_ERRATA)) => false
blah.s:1: `$' in identifier
blah.s:1: parse error before `$ra'

time in parse: 0.000000
[...]

Can you give me a more complex example to try?
(This was some pretty wild debugging, thanks for the target to investigate!)

Also, thanks so much for working on this and getting this so far! I think just making sure we can get some reasonable output from a basic c file is the first step. so like
(input.h)
#define SOMETHING 5
typedef unsigned char u8;
typedef unsigned long u32;
typedef long s32;
typedef float f32;
s32 auPlaySoundWithParams(u32 soundID, s32 volume, s32 pan, f32 pitch, s32 reverbAmt);
void auSetSoundVolume(s32 handle, u32 vol);
void auStopSound(u32 handle);
void func_803507E0_4F0BF0(s32);
extern u32 D_802D2A90_7AC020;
extern u32 D_802D2A94_7AC024;
extern u8 D_8034C8C8_825E58[];

(input.c)
#include "input.h"

double stuff(int a) {
    return SOMETHING + (a / 5.0f);
}

void func_802C6B30_7A00C0(s32 arg0, f32 arg1) {
    switch (D_802D2A90_7AC020) {
        case 0:
            D_8034C8C8_825E58[0] = auPlaySoundWithParams(0x22, 0x3800, 0x40, 1.0f, 0x3C);
            D_802D2A90_7AC020 = 1;
            break;
        case 1:
            if ((arg0 + arg1) > 0.0f) {
                func_803507E0_4F0BF0(7);
                D_802D2A90_7AC020 = 3;
            }
            break;
        case 3:
            if (((arg0 + arg1) > 1.8f) && ((arg0 + arg1) < 2.05f)) {
                auSetSoundVolume(D_8034C8C8_825E58[0], (((arg0 + arg1) - 1.8f) * 6144.0f * 4.0f) + 14336.0f);
            } else if ((arg0 + arg1) >= 2.05f) {
                auSetSoundVolume(D_8034C8C8_825E58[0], 0x5000);
                D_802D2A90_7AC020 = 4;
            }
            break;
        case 4:
            if (((arg0 + arg1) > 3.0f) && ((arg0 + arg1) < 3.25f)) {
                auSetSoundVolume(D_8034C8C8_825E58[0], ((3.25f - (arg0 + arg1)) * 6144.0f * 4.0f) + 14336.0f);
            } else if ((arg0 + arg1) >= 3.25f) {
                auSetSoundVolume(D_8034C8C8_825E58[0], 0x3800);
                D_802D2A90_7AC020 = 5;
            }
            break;
        case 5:
            if (((arg0 + arg1) > 4.0f) && ((arg0 + arg1) < 4.25f)) {
                auSetSoundVolume(D_8034C8C8_825E58[0], (((arg0 + arg1) - 4.0f) * 6144.0f * 4.0f) + 14336.0f);
            } else if ((arg0 + arg1) >= 4.25f) {
                auSetSoundVolume(D_8034C8C8_825E58[0], 0x5000);
                D_802D2A90_7AC020 = 6;
            }
            break;
        case 6:
            if (((arg0 + arg1) > 4.58f) && ((arg0 + arg1) < 5.08f)) {
                auSetSoundVolume(D_8034C8C8_825E58[0], ((5.08f - (arg0 + arg1)) * 3072.0f * 2.0f) + 17408.0f);
            } else if ((arg0 + arg1) >= 5.08f) {
                auSetSoundVolume(D_8034C8C8_825E58[0], 0x4400);
                D_802D2A90_7AC020 = 7;
            }
            break;
        case 7:
            if (((arg0 + arg1) > 5.28f) && ((arg0 + arg1) < 5.53f)) {
                auSetSoundVolume(D_8034C8C8_825E58[0], (((arg0 + arg1) - 5.28f) * 3072.0f * 4.0f) + 17408.0f);
            } else if ((arg0 + arg1) >= 5.53f) {
                auSetSoundVolume(D_8034C8C8_825E58[0], 0x5000);
                D_802D2A90_7AC020 = 8;
            }
            break;
        case 8:
            if (((arg0 + arg1) > 5.95f) && ((arg0 + arg1) < 6.15f)) {
                auSetSoundVolume(D_8034C8C8_825E58[0], ((6.15f - (arg0 + arg1)) * 6144.0f * 5.0f) + 14336.0f);
            } else if ((arg0 + arg1) >= 6.15f) {
                auSetSoundVolume(D_8034C8C8_825E58[0], 0x3800);
                D_802D2A90_7AC020 = 9;
            }
            break;
        case 9:
        default:
            break;
    }
}

and then with flags -O2 -o stuff.o stuff.c should produce a valid object file

I get this output:
input.c:1: undefined or invalid # directive
 stuff
input.c: In function `stuff':
[...]

Confusingly, that is also what I get when I run the same command on Windows?
This is on WSL, so this is using native Windows to invoke the exe:
evmar@mara:~/decomp$ cat > demo.c
#include "testwtf.h"
evmar@mara:~/decomp$ n64/gcc2.8.1sn/cc1n64.exe -O2 -o stuff.o demo.c
demo.c:1: undefined or invalid # directive

sorry...maybe this doesn't run the c preprocessor. I guess we can remove the #include and put the stuff directly in the c file

With the header inlined, this seems to generate a .o file containing assembly.  Is that what you expect?

Yeah, it's my fault for not reading the name of the binary properly.. I thought this was the entire compiler driver, but it's just cc1, which explains why the preprocessor isn't running either.
Anyway, I think this is working totally correctly! As far as I'm concerned, this can be closed and I'll open another issue for another binary in the future if that works :)

Sounds good, thanks for the useful test cases!


[fix] app.debug() logs twice

Now a return is missing in debug(), so all app.debug() is logging the same thing twice, first via winston, then via console.error.

Thank you. Released as v0.3.1


/taste toggles taste count when hit with the same device_guid param.

It should simple ignore any duplicates vs. toggling. Same goes for favoriting.

Are you sure? I think Ricky deliberately put this behavior in so that when someone hit the like or tastes button again it would undo their request.... I guess this isn't needed though if the iOS app doesn't track state of the button (eg. liked / not liked).... I can change it but Ricky should chime in first :)

My feeling is that that logic should be in the client and only validation logic (eg no tastes by the same person twice) be in the backend. Thoughts @rickychilcott ?

So... what happens if they want to "undo" their favorite or like?  Do we still ignore or provide another mechanism?  That's why we implemented the toggle

I agree with Ricky, and the current implementation prevents someone from liking or tasting something twice. By keeping the logic on the backend, you also eliminate the problem of someone clearing the app's cache / data or uninstalling / reinstalling the app to like something multiple times ;)

:+1: and it's done, so we don't have to spend more time on it :)
@benlachman would it be helpful if we passed back the status for a given device_guid (i.e. status would equal 0 for not tasted and 1 for tasted).
The problem with the current implementation is that it's possible for the app state to get out of sync with the toggl mechanism

Well it's done the opposite way on the app side. So it's a change either way. My feeling that if we meant to build a mechanism for syncing state to the backend we're a bit behind. The client's state isn't reflected in the backend, it functions more as a data source currently. Based on my memory of the original discussion we just wanted to avoid duplicates in the taste count metadata.

Change the app then.. Never going to be dups the way the back end is setup
:)
On Thu, Jun 25, 2015, 18:42 Ben Lachman<EMAIL_ADDRESS>wrote:

Well it's done the opposite way on the app side. So it's a change either
way. My feeling that if we meant to build a mechanism for syncing state to
the backend we're a bit behind. The client's state isn't reflected in the
backend, it functions more as a data source currently. Based on my memory
of the original discussion we just wanted to avoid duplicates in the taste
count metadata.
—
Reply to this email directly or view it on GitHub
https://github.com/AthensWorks/OBWapp-API/issues/14#issuecomment-115421959
.

Not going to happen. There's no reason to muddy the fact that we're not and have never planned to store app state on the service side in this version of the app. Plus, I'm the only code contributor on the app side, there are too many more important issues to make happen.

So can we close this as working as designed? :)

Ha.


Allow resize in dragstart

I have a case where I need to change the vue-draggable-resizable element width and height when user clicked on it but just before drag started.
Is there a way to do that in dragStart? It seems the current code doesn't allow resize during drag. Is there a way to fire dragStart before setting the "dragging" flag to true?

Have you found a way?

@MovingbricksInIT - I was able to meet my requirement by altering the source code. Of course I can't use it as npm now and I ship the lib right inside my project.
I don't quite remember what exactly I've changed back then, but here is the altered main file that I ended up using:
https://gofile.io/d/LQizjv


Fix tests for macOS arp fix

All Submissions:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?

Code changes:

[x] Did you format your code with Black?

black getmac tests

[x] Are the linting checks passing?

tox -e check

[x] Do all tests pass locally?

tox

[x] Have you updated the CHANGELOG with a summary of your change?
[x] Did you add your name to the contributors list in the README?

Summary of changes:

Python 2.7 seems not to be functional anymore
Could be good to remove it's support here as done in 1.0.0-wip?

@raymanP Hey, really sorry this languished for so long. I had a lot going on at the start of the year and this fell through the cracks. 2.7 has been removed from the tests in main, if you pull those in this branch should pass.

Hi @GhostofGoes , no problem, good you're back!
I updated, however, it seems there is a general CI problem for Python 3.5 and for the macos tests now.
I don't know how to handle this. Hope u can find time to adress this.

Hi @GhostofGoes , no problem, good you're back! I updated, however, it seems there is a general CI problem for Python 3.5 and for the macos tests now. I don't know how to handle this. Hope u can find time to adress this.

Yeah, it's due to them being old enough that their OpenSSL version is too outdated. I'm just going to remove 3.5 and 3.6 from the tests as well as I'll be dropping support for them later anyway.

The MacOS tests for 3.7+ shoudn't be failing though. Might be an issue with GitHub actions...will see what happens on main.

Yup, it was due to Apple Silicon. Give it another try.

Wonderful, everythin passed! )