Request to add http://mkvats.science/COVID-19

Request to add http://mkvats.science/COVID-19 under miscellaneous projects (against Pull request #264).
Sorry @sudevschiz, i was stuck in a govt. project, due to that was not fix the privacy error that time.
But now its resolved, you may please check & approved if you found its ok.
Thanks buddy 👍

We are not maintaining related projects anymore.


add the ability to extend the comment of test case

This PR provides:

if no custom_comment is provided, everything stays the same. (empty comment for passed cases, etc.)
if custom_comment is provided, the custom comment string will be added on top of the default comment like 'comment': u'This is custom comment\n# Pytest result: #\n    An error'

Hope this somehow solve the discussion here https://github.com/allankp/pytest-testrail/issues/45

@PeterNgTr  Due to other merges this now has conflicts, please take a look. thanks

@allankp. Sure. I‘ll check it out.

hi @allankp all conflicts have been resolved.

@allankp CR fixes and rebased with master.


.setRoles won't accept single Role object

After doing guild.roles.get(), which returns a Role, and you pass that single Role into member.setRoles(), it fails expecting an Array.
It would make sense to be able to pass a Role without pushing a single Role into an Array.

Current workaround is to push the single Role into an array...but I feel you should be able to pass a single Role without first pushing to an Array.

It is documented as accepting a single role and not an array: http://hydrabolt.github.io/discord.js/#!/docs/tag/master/class/GuildMember?scrollto=setRoles
So it should be that way.

It's not documented as accepting a single role. It accepts either Collection<string, Role> or Role[].

It appears to be documented correctly, but I would assume passing a single Role should work without the extra work pushing the Role into an Array.
UNLESS, member.setRoles() will totally overwrite all roles.  In such case, you would prob want to get current roles first, and add the new role to the array before setting.
Which, if it does totally overwrite all roles, then we need a member.setRole() method.

Sorry @Gawdl3y I was thinking of passing a Collection<string, Role> with a single role being the issue here. Didn't read OP clearly enough.

Confirmed that setRoles overwrites existing roles. I will be making a PR with an addRole method.

Closed by #615

Just ran into this problem too, had to get the current array of roles and push the new role before setting the roles again. Would be a great help if like previous versions we had dedicated addRole and removeRole methods

Already in indev.


Nightly tests sometimes exceed maximum execution time

From time to time, the scheduled CI tests fail because of exceeding the maximum execution time. In the most cases, it's caused by the Tests (python_coverage, 3.7) job.
Example: https://github.com/Componolit/RecordFlux/actions/runs/2854204042

Should be solved by #1145.

Removing Python 3.7 (#1145) did not solve the problem. Also, pytest-timeout did not stop the test after the defined duration.
https://github.com/Componolit/RecordFlux/runs/8083850144?check_suite_focus=true

The issue still persists:

2020-09-01: https://github.com/Componolit/RecordFlux/actions/runs/2974825503/jobs/4765968081
2020-09-07: https://github.com/Componolit/RecordFlux/actions/runs/3003269702/jobs/4821388388
2020-09-09: https://github.com/Componolit/RecordFlux/actions/runs/3018170749/jobs/4852823000
2020-09-15: https://github.com/Componolit/RecordFlux/actions/runs/3055954758/jobs/4929594509

Obsolete, as GitHub CI is not used anymore.


Modify: WestWind.MarkdownMonster version <IP_ADDRESS>

Checklist for Pull Requests

[X] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[X] Does your manifest conform to the 1.6 schema?

Note: <path> is the directory's name containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

/azp run

#161623 (comment)

/azp run

/azp run

https://github.com/microsoft/winget-pkgs/issues/142854


Adding BSTS (Bayesian structural time series models) model via tensorflow_probability

Is your feature request related to a problem? Please describe.
I and @koralturkk would like to add a wrapper for forecasting with BSTS
Examples are given here.
Describe the solution you'd like
Idea 1)
Wrapping each possible module via an argument of type list containing one or several dict.
For example:
tfp.sts.DynamicLinearRegression(
    design_matrix, drift_scale_prior=None, initial_weights_prior=None,
    observed_time_series=None, name=None
)

...would become
add_DynamicLinearRegression = [{
"design_matrix" = design_matrix,
"drift_scale_prior"=None, "initial_weights_prior"=None,
    "observed_time_series"=None, "name"=None}]

So this is also the way I was wrapping in fbprophet with add_seasonality() e.g.
Idea 2)
Allowing that the user creates the modules outside sktime so that it can be passed as a tfp.sts class:
import tensorflow_probability as tfp
dlr = tfp.sts.DynamicLinearRegression(
    design_matrix, drift_scale_prior=None, initial_weights_prior=None,
    observed_time_series=None, name=None
)

We would need **kwargs for it to pass dlr in sktime.BSTS(dlr)
Looking forward for your feedback @mloning

Hi @aiwalter and @koralturkk - this sounds like an interesting idea! I'm a little hesitant on adding TensorFlow Probability as a soft dependency because we had several issues with integrating it into the CI/CD workflows in other projects (sktime-dl especially). A may be a better idea to work on this in a companion repository.
If this is something you're interested in, I'm happy to create one under the sktime organisation and give you admin rights. Since this would be a pure Python package, setting up CI/CD pipelines to check compatibility with the main repo shouldn't be too difficult either.
Regarding the design: Could you show me what you have in mind for the user journey? How would models be encapsulated in a forecaster class?

Hi @aiwalter and @koralturkk - this sounds like an interesting idea! I'm a little hesitant on adding TensorFlow Probability as a soft dependency because we had several issues with integrating it into the CI/CD workflows in other projects (sktime-dl especially). A may be a better idea to work on this in a companion repository.
If this is something you're interested in, I'm happy to create one under the sktime organisation and give you admin rights. Since this would be a pure Python package, setting up CI/CD pipelines to check compatibility with the main repo shouldn't be too difficult either.
Regarding the design: Could you show me what you have in mind for the user journey? How would models be encapsulated in a forecaster class?

@mloning thx for feedback. Regarding design, BSTS works with components, so the user is free to add several of them to a model. In the following example, there are two components, sts.LocalLinearTrend and tfp.sts.Seasonal:
def build_model(observed_time_series):
  trend = sts.LocalLinearTrend(observed_time_series=observed_time_series)
  seasonal = tfp.sts.Seasonal(
      num_seasons=12, observed_time_series=observed_time_series)
  model = sts.Sum([trend, seasonal], observed_time_series=observed_time_series)
  return model

So in sts.Sum the components are build together to one model. How to provide the user this flexibility comes back to the question above where I wrote down the 2 options I had in mind of how to deal with component. Basically this components will be given to sktime.BSTS() as arguments. The function build_model from the exmaple could be a part of the _instantiate_model() function.
Regarding adding this to sktime, I would propose we give it a try to get it running with CI. Now I have also @koralturkk to get it running on all platforms.

@mloning thx for feedback. Regarding design, BSTS works with components, so the user is free to add several of them to a model. In the following example, there are two components, sts.LocalLinearTrend and tfp.sts.Seasonal:
def build_model(observed_time_series):
  trend = sts.LocalLinearTrend(observed_time_series=observed_time_series)
  seasonal = tfp.sts.Seasonal(
      num_seasons=12, observed_time_series=observed_time_series)
  model = sts.Sum([trend, seasonal], observed_time_series=observed_time_series)
  return model

So in sts.Sum the components are build together to one model. How to provide the user this flexibility comes back to the question above where I wrote down the 2 options I had in mind of how to deal with component. Basically this components will be given to sktime.BSTS() as arguments. The function build_model from the exmaple could be a part of the _instantiate_model() function.
Regarding adding this to sktime, I would propose we give it a try to get it running with CI. Now I have also @koralturkk to get it running on all platforms.

Hm, regarding design:
I think aiming for both wrapped individual components and wrapped composites makes sense here! If I had to choose, I'd say to aim for wrapped composites, since that is more flexible and robust with regards to extensions and changes of BSTS.
The "really nice thing", design-wise, would be adding a compiler-like layer that recognizes when adjacent sktime components are from BSTS and replaces them by a wrapped (and more efficient) BSTS composite. But perhaps out of scope due to complexity...
Regarding dependencies: as @mloning says, one of these days, we need to fix how we manage the neural network package dependencies. Currently, we have no maintainer dedicated to that family of dependencies - it is quite some work to keep these spinning, so help would be very much welcome.
The problem is greater than just BSTS, it is essentially "anything that depends on tf", so it would be maintaining "time series models using deep learning packages".

Hm, regarding design:
I think aiming for both wrapped individual components and wrapped composites makes sense here! If I had to choose, I'd say to aim for wrapped composites, since that is more flexible and robust with regards to extensions and changes of BSTS.
The "really nice thing", design-wise, would be adding a compiler-like layer that recognizes when adjacent sktime components are from BSTS and replaces them by a wrapped (and more efficient) BSTS composite. But perhaps out of scope due to complexity...
Regarding dependencies: as @mloning says, one of these days, we need to fix how we manage the neural network package dependencies. Currently, we have no maintainer dedicated to that family of dependencies - it is quite some work to keep these spinning, so help would be very much welcome.
The problem is greater than just BSTS, it is essentially "anything that depends on tf", so it would be maintaining "time series models using deep learning packages".

Ok, we can give it a try to integrate it into sktime!
But we may have to make a difficult decision to not include it in the end, if we need to touch too much of the CI/CD pipeline, and move it to a separate repo. I worry about the extra maintenance burden for the CI/CD pipelines when upgrading versions later on. We have had similar issues with other packages already (e.g. the ongoing work to integrate the signature-based module).

Ok, we can give it a try to integrate it into sktime!
But we may have to make a difficult decision to not include it in the end, if we need to touch too much of the CI/CD pipeline, and move it to a separate repo. I worry about the extra maintenance burden for the CI/CD pipelines when upgrading versions later on. We have had similar issues with other packages already (e.g. the ongoing work to integrate the signature-based module).

Closing as we have now UnobservedComponents which seems to be similar

is it? I'd consider it a different estimator.

Yes, I have no problems removing "Bayesian" from anything, but just on the conceptual level it's a different algorithm and estimator - as you just confirm.
So I think it's still a reasonable aspiration to have the Bayesian variant interfaced, and strictly speaking it's not addressed by having an interface to UnobservedComponents.

Added this to the wish list and closed the issue since we won't be implementing this via tensorflow.


Read-only on a single tag ?

Hello,
I'm looking for a way to set a single tag as read only.
Currently, the read only property is on the input field.
By now, the only way i found to do this, is to currently watch my tags and reinject the value i don't want to be deleted.
I'm looking for a smarter solution also with CSS styling support.
Regards

Hi! I understand but currently is not possible and tbh I'm not planning on implementing this. Feel free to open a PR tho 👍


Get Mails with Pop3

Hi there,
it would be amazing, if you could get the Mails via POP3, so the Mails will bedeleted from the Relay-Mailbox after Mattermail took them.
Regards

+1


Missing instructions to press "Train" and "Publish"

At the end of section "Fulfill with JSON payload" users should be told to press the "Train" and then "Publish".
Note: why do I need to retrain if nothing changed in the language model?
Thanks,
Darren

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

ID: 5bfd0ea4-521e-ea49-3ec7-f2c8521f8bf4
Version Independent ID: 9670af70-fbf6-6b6f-6cc8-d1c68e1b1e71
Content: How to fulfill commands from a client with the Speech SDK - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/how-to-custom-speech-commands-fulfill-sdk.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @don-d-kim
Microsoft Alias: donkim

@dargilco we will review your feedback and get back to you shortly. Thanks.

@don-d-kim please take note of the above feedback for doc enhancement.

This page has been substantially re-written and now appears at this URL:
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-custom-commands-create-application-with-simple-commands
Feedback on this new publication is most welcome.

#please-close


League service tests use mocks

Acceptance Criteria

League service tests uses mocked api requester and crud

Won't do. This being an integration test will suffice. Don't need to convert or add unit test for it.


Master

I think i messed the PR up... Wanted 4 Bone Default... Will try again later after things sync up


Update index.md

https://ops.microsoft.com/#/sites/Docs/docsets/aspnet-core-conceptual?tabName=builds fixed the build


Allow "integer" defaults for double and float

See https://issues.apache.org/jira/browse/AVRO-2209

Done

Confirmed working now (both doubles and floats).

closes #335
fixes AVRO-2230


doc: fix syntax errors in readme

To test yourself, use doc-validator README.md. Syntax errors about unexpected await can be ignored, as it's not supported in doc-validator yet.

I renamed the commit but it seems like the semantic bot didn't pick up my force push


[schedy] Warnings about unsupported HVAC mode

I am using Homematic IP thermostates and when following your tutorial, I see these warnings for each thermostate:
2019-12-11 18:41:43.076734 WARNING schedy_heating: !!! [R:arbeitszimmer] [A:climate.arbeitszimmer] Thermostat doesn't seem to support the HVAC mode off, supported modes are: ['auto', 'heat']. Please check your config!
2019-12-11 18:41:43.082500 ERROR schedy_heating: !!! [R:arbeitszimmer] [A:climate.arbeitszimmer] Unknown HVAC mode 'auto', ignoring thermostat.

The state YAML for these thermostates looks like that:
hvac_modes:
  - auto
  - heat
current_temperature: 19.9
min_temp: 5
max_temp: 30
temperature: 17
preset_mode: null
preset_modes:
  - none
  - boost
model_type: HmIP-Heating-Group
is_group: true
friendly_name: Arbeitszimmer
supported_features: 17

Am I doing something wrong or what is your advice on these warnings?

Hi,
This is no bug. It simply tells you that your thermostat doesn't support to be turned off by setting it to some specific HVAC mode. Some thermostat models simply do so.
You should disable HVAC mode support in your case and always leave the thermostat in a fixed mode. The docs tell you how to do this.
Best regards
Robert

Hi,
I am trying to use schedy for my zwave thermostats, which I already can manually control via Home Assistant. I Started with the official tutorial and now have a question. If I add
# In the following config block, you may define templates with
  # settings that affect multiple actors in your setup. These can then be
  # used as a starting point for the configuration of individual actors.
  # Nested inclusion of templates is possible as well.
  actor_templates:

    # By default, an actor inherits its settings from the "default" template.
    default:
    #delta: 0.0
      off_temp: 7
      **supports_hvac_modes: true**
      hvac_mode_on: heat
      hvac_mode_off: 'OFF'

I recieve the following warning:
2021-05-24 08:34:39.317374 INFO schedy: --> [R:buero] [A:climate.devolo_thermostat_09356_2] Received value of 17.0��.
2021-05-24 08:34:39.300505 WARNING schedy: !!! [R:buero] [A:climate.devolo_thermostat_09356_2] Thermostat doesn't seem to support the HVAC mode OFF, supported modes are: ['heat']. Please check your config!

If I put  supports_hvac_modes: false then the waring looks like this:
2021-05-24 08:37:23.130981 INFO schedy: --> [R:buero] [A:climate.devolo_thermostat_09356_2] Received value of 17.0��.
2021-05-24 08:37:23.118350 WARNING schedy: !!! [R:buero] [A:climate.devolo_thermostat_09356_2] HVAC mode support has been disabled, but the modes ['heat'] seem to be supported. Maybe disabling it was a mistake?

Now I am not sure if I should deactivate it and just irgnore the warning? Or is there a cleaner solution for this?
BR

@u20p17 The Devolo thermostats support only one HVAC mode, which means that they can't be turned off and you have to use supports_hvac_modes: false.
Such a situation is pretty unusual. Schedy sees that you disabled HVAC mode support but there apparently are HVAC modes advertised by the thermostat, hence it emits a warning to inform you about a possible configuration mistake. I'll extend the check so that it only warns if there is more than one HVAC mode advertised. Thanks for reporting.


ParsePackwerk.all should work more like Packwerk::PackageSet

https://github.com/Shopify/packwerk/blob/main/lib/packwerk/package_set.rb
This would make the cache simpler -- the user calls ParsePackwerk.load_all and gets a PackageSet. This is cached. They can recall ParsePackwerk.load_all to get an uncached package set. ParsePackwerk.all can then be deprecated in favor of this simpler alternative later.

load_all no longer exists, closing this issue.


Improvement: push secrets to GitHub, instead of manual process as described in README

https://cli.github.com/manual/gh_secret_set should help ?
https://github.com/cli/cli is the code the docs refers to of course

This could be an interesting addition. Hydrapp doesn't integrate directly with proprietary services/APIs like GitHub, but adding the gh CLI commands necessary to use it to the README would be nice.


Create/publish g8 and activator templates for squbs.

This will make getting started much easier.

Tutorial to create activator template: https://github.com/typesafehub/activator/wiki/Template-Authoring-Guide

https://github.com/keshin/squbs-seed
https://github.com/keshin/squbs-sample/

Thank you @keshin. I'll take it from here. Hope we'll get all that published before you come back.


Some controls over the music

I need to be able to set the music on pause by a way or another.
By a chip that maybe mutes the current music played, or make the playing of music dependant on framecount.

Do you need to just stop the music temporarily, or to pause it?

Actually, it would be preferable to have both. But I only need one


scipy.special.tests.test_orthogonal::test_roots_jacobi fails on 32-bit intel

Reproducing code example:
python3.6 runtests.py -v -t scipy.special.tests.test_orthogonal::test_roots_jacobi

In one of those "oh dear" sort of ways, it does not fail in a debug build. So it's probably some rounding thing caused by the C compilers optimization settings.
Error message:
https://gist.github.com/mwhudson/f40be8bc89eea32a469257d3d9cb478c
Scipy/Numpy/Python version information:
1.2.0.dev0+641bc92 1.14.5 sys.version_info(major=3, minor=6, micro=6, releaselevel='final', serial=0)

Ubuntu compiles 32-bit things to use x87 arithmetic, does your system use sse2 by any chance? There are also many other compiler flags that can make a difference... if just increasing the tolerance is OK I can certainly have a go at that.

Yes, IIRC my setup did use SSE2. Yes, if the test passes with reasonable increase in test tolerance, that should be OK.


The brokerRole is always SYNC_MASTER when enableControllerMode=true

Hi community, I have a question, but I can't find the place to ask. it's possible  with GitHub Discussions?
The question is: when with enableControllerMode, the brokerRole property(ASYNC_MASTER or SYNC_MASTER) in broker's conf, it's not working anymore?
https://github.com/apache/rocketmq/blob/ce274265db8af73e28624ecc1fc98cc984658844/broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java#L186
As shown above, The master always SYNC_MASTER.

Hi community, I have a question, but I can't find the place to ask. it's possible with GitHub Discussions? The question is: when with enableControllerMode, the brokerRole property(ASYNC_MASTER or SYNC_MASTER) in broker's conf, it's not working anymore?
https://github.com/apache/rocketmq/blob/ce274265db8af73e28624ecc1fc98cc984658844/broker/src/main/java/org/apache/rocketmq/broker/controller/ReplicasManager.java#L186
As shown above, The master always SYNC_MASTER.

Yes, when enableControllerMode = true, the master role will be fixed to SYNC_MASTER, and follow the replica management mechanism of SyncStateSet. For details, please refer to https://shimo.im/docs/N2A1Mz9QZltQZoAD#anchor-04gE

I will read the RIP more details. Respect your patient answers.


Fix jinja network template

molecule_vagrant/modules/vagrant.py: Fix network template
In the changes introduced by the commit Vagrant yaml removal
(0c1aed1fb550), the network definition in the jinja template
got the loop iterator variable wrong. Use the right one.
This PR contains also a new test scenario to ensure it won't happen
again (tested ATM only on vagrant+libvirt).
Fixes: #104

I like the fix, I like adding a test for it. Looks like there was a failure in the test run, failing to find Python on that platform.

Could you release a version with this fix?


In case of interrupt, log can be damaged.

I have one client which was not able to retrieve log. When i downloaded the latestlof json file, i noticed that the log file was actually interrupted so the format was damaged.
If possible, please others test this case.. once the card is swiped and reader is interrupted, does anything wrong happen.
I hope i'm wrong.

@nardev : I had the same issue. Could solve it by removing the log file. Hole thread here: https://github.com/omersiar/esp-rfid/issues/39

@goermezer @omersiar i'll try to test another way of writing the log..
Some clients i have, need that so it's not good if the log disappears..
Also, most of wiegand readers have keypad so i'll write and extensio that each user can have pin too. As an optional way to open the doors.

@nardev for wiegand readers with keypad, does it work if you enter card's decimal id manually?
Do you have to press a certain key after like # or other key after entering id?
just to chip in to the discussion, while trying out the wiegand reader with esp-rfid, if the 12V connection broken or re-established to the wiegand reader, the log file will capture single digit like 0 and next line 7.
Not something you'll normally encounter but I did recall the 'log file corrupted' discussions when i first saw it.

Logging is horribly inefficient, and also has a bug on file checking. @rneurink's approach was better and i forgot to fix my code.
At that time we were discussing different approaches for logging but it did not concluded, so if you make suggestions, we can start to work on it. Just do not bother with the current code.

@akeilox  there is my board which can handle 12V for ESP and pass 12V to a reader.
Check it: https://www.tindie.com/products/nardev/esp-rfid-board-for-wiegand-readers-at-5v-to-28v/
If you want i can send you few without ESP12 module.. i have some that have a mistake for a reset button but everything else works.

@nardev thanks for the offer! i dropped you a message at tindie

See v6.0

See v0.6


Function call optional chaining failure with controlflow flattening

Expected Behavior
Function optional chaining should be kept intact but obfuscator removes it
Current Behavior
I have a react project which fails with TypeError: t is not a function after the obfuscation.
In case it helps someone, below are the details, but the steps to reproduce shows a minimal example that's easier to understand.
The code without obfuscation looks like this and works fine (i? works when i is undefined):
const D = (0,r.useCallback)((t=>{p(t),i?.(t)}), [i])
This is transformed to the following using the obfuscator (leaving out some unimportant lines), which fails because t is undefined in n[RZAcA]:
const n = {
                RZAcA: function(t, e) {
                    return t(e)
                },
            }
     , I = n[e(154)](r.useCallback, (t=>{
                const r = e;
                n[r(182)](x, t),
                n[r(182)](c, t)
            }
            ), [c])

where r(182) evaluates to RZAcA. So effectively the error says that c is undefined, which is the same as i in the non-obfuscated code.
Steps to Reproduce
The following code produces undefined in REPL:
i=undefined; foo=(fn)=>fn();foo(()=>{i?.()})
If we obfuscate it with
obfuscate('i=undefined; foo=(fn)=>fn();foo(()=>{i?.()})', {controlFlowFlattening: true, controlFlowFlatteningThreshold: 1, stringArray:false, identifierNamesGenerator: 'mangled-shuffled'})
we will get
_obfuscatedCode: "i=undefined,foo=J=>J(),foo(()=>{var J={'elQNT':function(Y){return Y();}};J['elQNT'](i);});"
Executing that code reproduces the error:
i=undefined,foo=J=>J(),foo(()=>{var J={'elQNT':function(Y){return Y();}};J['elQNT'](i);});
Uncaught TypeError: Y is not a function
    at Object.elQNT (REPL175:1:67)
    at REPL175:1:84
    at foo (REPL175:1:20)

Your Environment

Obfuscator version used: 4.1.1
Webpack-Obfuscator version: 3.5.1
Node version used: v22.3.0

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

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

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

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


Add Feature: Orientation change

Add in functionality for a tablist orientation to change based on responsive UI.

actually, going to pass on this idea with the tablist being horizontally scrollable.


Garbage output for stackframe in compiler errors and such

D:/Programming/strema/2022/FUNCompiler/src/codegen/x86_64/arch_x86_64.c: In function ‘regsize_from_bytes’
D:/Programming/strema/2022/FUNCompiler/src/codegen/x86_64/arch_x86_64.c:207: Internal Compiler Error: Byte size can not be converted into register size on x86_64: 32
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function `9 R�() at offset 7f007e007d007c
  in function BaseThreadInitThunk() at offset 7fff05cd74a0
  in function RtlUserThreadStart() at offset 7fff05e82680

I think it speaks for itself.

Well, looking into it, there is almost zero error checking of WinAPI functions, so I'll add that in right quick

Could not print backtrace: SymFromAddr returned false!
...
That may be the issue lmao

Relevant code at https://github.com/LensPlaysGames/FUNCompiler/blob/239f0d28a5e1dc9a0c132d3f406a479d8d5acbcf/src/platform.c#L189
===
void* stack[100];
WORD frames = CaptureStackBackTrace(ignore, 100, stack, NULL);

This seems correct, due to the fact that inserting goto print_raw directly afterwards produces the following, after fixing a format string missing a newline
  at address 00007ff6ce453dd7
  at address 00007ff6ce45766b
  at address 00007ff6ce457b08
  at address 00007ff6ce457bd7
  at address 00007ff6ce458af6
  at address 00007ff6ce436663
  at address 00007ff6ce436da9
  at address 00007ff6ce438509
  at address 00007ff6ce4313c1
  at address 00007ff6ce4314f6
  at address 00007fff05cd74b4
  at address 00007fff05e826a1

MSDN: https://learn.microsoft.com/en-us/windows/win32/debug/capturestackbacktrace
===
I presume GetProcAddress is being used correctly; there's no way to tell unless they return zero, and we are checking for that.
===
HANDLE process = GetCurrentProcess();
if (!SymInitialize(process, NULL, TRUE)) goto print_raw;

Everything looks good here. NULL for default search path for symbol files and stuff. TRUE to call initialise dependencies symbols as well?
MSDN: https://learn.microsoft.com/en-us/windows/win32/api/dbghelp/nf-dbghelp-syminitialize
===
char* symbol_info_data[sizeof(SYMBOL_INFO) + 256 * sizeof(char)];
memset(symbol_info_data, 0, sizeof symbol_info_data);
PSYMBOL_INFO symbol = (PSYMBOL_INFO)symbol_info_data;
symbol->MaxNameLen = 255;
symbol->SizeOfStruct = sizeof(SYMBOL_INFO);

This looks nearly identical to the example given in the MSDN docs https://learn.microsoft.com/en-us/windows/win32/debug/retrieving-symbol-information-by-address
===
SymFromAddr(process, (DWORD64)(stack[i]), 0, symbol));

This is definitely an issue; this can return false, but it's not checked for.

Well, I've tried, but I can't fix the issue right now. I have no clue what's going wrong tbh, just that it happens at or before SymFromAddr's first call.
Some things I did fix:

Add if (!process) goto print_raw after call to GetCurrentProcess()
Add a similar check to SymFromAddr call
symbol_info_data
3a. memset(symbol_info_data, 0, sizeof symbol_info_data) after decl
3b. char *symbol_info_data[...] allocates an array of character pointers. I don't think this is intentional, so it should be char symbol_info_data[...], right?

It seems that #1 above isn't actually shown in any of the examples in MSDN docs (not that that is best practices)

And yes, I promise this is built in debug mode
> cmake -LH bld
-- Configuring done
-- Generating done
-- Build files have been written to: D:/Programming/strema/2022/FUNCompiler/bld
-- Cache values
// Path to a program.
CCACHE_PROGRAM:FILEPATH=D:/Programs/ccache-4.6-windows-64/ccache.exe

// Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=Debug

// Convert GNU import libraries to MS format (requires Visual Studio)
CMAKE_GNUtoMS:BOOL=OFF

// Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/FUNCompiler

// Whether or not to optimise for the system being compiled on. This should be true *unless* you are making distributed binaries.
NATIVE_OPT:BOOL=TRUE

With this command cmake --build bld --clean-first ; bld\func examples\arrays.un -v --debug-ir

Also of note: I tried adding SymSetOptions, and it does make something different happen, but nothing just magically starts working.
typedef DWORD SymSetOptionsFunc(
  _In_ DWORD SymOptions
);

// ...

SymSetOptionsFunc *SymSetOptions = (SymSetOptionsFunc*)GetProcAddress(dbghelp, "SymSetOptions");
if (!SymSetOptions) goto print_raw;

// ...

SymSetOptions(SYMOPT_UNDNAME | SYMOPT_DEFERRED_LOADS | SYMOPT_LOAD_LINES);

Just so I don't forget: compiling with either of gcc or clang produces this error

This has to do with PDB debug info needed by DbgHelp WinAPI, whereas GCC and Clang are producing DWARF. clang-cl should be able to output PDB debug info; I can't confirm this as I can't get clang-cl to compile a program on my system. So this issue stays open, because it's not solved, but the truth is there is no solution.
If you really, really want backtraces on Windows under MinGW or similar, try cv2pdb (a tool originally built for D lang)

clang-cl should be able to output PDB debug info; I can't confirm this as I can't get clang-cl to compile a program on my system.

I used clang-cl for this on my Windows VM, and it works irrc. It should be noted that clang-cl is just an MSVC-compatible frontend for Clang, so unless I’m misremembering, there should be an option to get at least clang to spit out pdb debug info. Not sure if an option for that is exposed to either the regular driver or Clang itself...

Other than that, the only other, albeit somewhat painful option, would be to walk the stack ourselves (all of this only really works in debug mode anyway, so we’d have the frame pointers to work with) and use some kind of DWARF library to extract the symbol names ourselves, there’s gotta be some library for that... right?

Also, this may sound like overkill for this project, but writing a separate library to handle backtraces properly (because I’m not aware of any preexisting ones, except perhaps the C++20’s  header, and who knows if that will provide symbol names—the format of the backtrace is implementation-defined) might not be the worst idea honestly...


dashboard: show per-bisect type job lists for admins

Currently we only show running/pending/recent jobs. Let admins also see the list of the latest cause/fix bisections.

lgtm


Update the available Lambda Runtimes

Fixes: #610

Going to self merge this - this follows the same pattern as that of deprecation of other properties

Hey @stack72 can you pin me on these reviews?  Thanks!


Can't select file on google drive import

I added a file with the name cumulustv.json but for some reason all files are grayed out and I can't select any of them.
Are they supposed to be a specific file name?

That's very unusual. It should be looking for any JSON file.
On Jun 25, 2017 3:37 PM, "Roger Versluis"<EMAIL_ADDRESS>wrote:

I added a file with the name cumulustv.json but for some reason all files
are grayed out and I can't select any of them.
Are they supposed to be a specific file name?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Fleker/CumulusTV/issues/286, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADI58yYwfJ5ui45BzzF2_cqZwcM4jhqDks5sHuFDgaJpZM4OEvrt
.

+1
@Fleker
I'm writing a bit of php code that scrapes my iptv provider and spits out a json file that I'd intended on keeping synched with google drive.  However, I'm having a heck of a time getting it to recognize the formatting.
Not sure if it's something weird in the JSON, the amount of channels I'm trying to add, or what.
Any chance I could send you a copy of my JSON once to check out?


can't build gem on aarch64/Android/Termux/Ubuntu srv jammy 22.04LTS w/ Ruby 3.0.2

this is my learning-programming environment:
aarch / Android / Termux / Ubuntu server jammy aka 22.04LTS
Ruby 3.0.2
I tried the git version of rbenv,
and discovered that NO version of Ruby before the 3.1.x branch can be built on this machine,
but that one could.
( so how exactly did Ubuntu build 3.0.2?
did they cross-compile it, or is there some bug in the within-termux version? )
bugs.ruby-lang closed my bug report almost immediately, saying it was an "ssl bug".
Now you know the context.
This looks like some C problems, though.
gcc is 11.2, iirc, and clang-13 also is installed.
stderr gives:
  1 ERROR:  Error installing sqlite3:
  2    ERROR: Failed to build gem native extension.
  3
  4     current directory: /var/lib/gems/3.0.0/gems/sqlite3-1.4.2/ext/sqlite3
  5 /usr/bin/ruby3.0 -I /usr/lib/ruby/vendor_ruby -r ./siteconf20220609-3250-7c0utr.rb extconf.rb
  6 checking for sqlite3.h... yes
  7 checking for pthread_create() in -lpthread... yes
  8 checking for -ldl... yes
  9 checking for sqlite3_libversion_number() in -lsqlite3... yes
 10 checking for rb_proc_arity()... yes
 11 checking for rb_integer_pack()... yes
 12 checking for sqlite3_initialize()... yes
 13 checking for sqlite3_backup_init()... yes
 14 checking for sqlite3_column_database_name()... yes
 15 checking for sqlite3_enable_load_extension()... yes
 16 checking for sqlite3_load_extension()... yes
 17 checking for sqlite3_open_v2()... yes
 18 checking for sqlite3_prepare_v2()... yes
 19 checking for sqlite3_int64 in sqlite3.h... yes
 20 checking for sqlite3_uint64 in sqlite3.h... yes
 21 creating Makefile
 22
 23 current directory: /var/lib/gems/3.0.0/gems/sqlite3-1.4.2/ext/sqlite3
 24 make DESTDIR\= clean
 25
 26 current directory: /var/lib/gems/3.0.0/gems/sqlite3-1.4.2/ext/sqlite3
 27 make DESTDIR\=
 28 compiling aggregator.c
 29 compiling backup.c
 30 compiling database.c
 31 database.c: In function ‘exec_batch’:
 32 database.c:726:57: warning: passing argument 3 of ‘sqlite3_exec’ from incompatible pointer type [-Wincompatible-pointer-types]
 33   726 |     status = sqlite3_exec(ctx->db, StringValuePtr(sql), hash_callback_function, callback_ary, &errMsg);
 34       |                                                         ^~~~~~~~~~~~~~~~~~~~~~
 35       |                                                         |
 36       |                                                         int (*)(VALUE,  int,  char **,     char **) {aka int (*)(long unsigned int,  int,  char **, char **)}
 37 In file included from ./sqlite3_ruby.h:25,
 38                  from database.c:1:
 39 /usr/include/sqlite3.h:428:9: note: expected ‘int (*)(void *, int,  char **, char **)’ but argument is of type ‘int (*)(VALUE,  int,  char **, char **)’ {aka ‘int (*)(long unsigned int,  int    ,  char **, char **)’}
 40   428 |   int (*callback)(void*,int,char**,char**),  /* Callback function */
 41       |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 42 database.c:726:81: warning: passing argument 4 of ‘sqlite3_exec’ makes pointer from integer without a cast [-Wint-conversion]
 43   726 |     status = sqlite3_exec(ctx->db, StringValuePtr(sql), hash_callback_function, callback_ary, &errMsg);
 44       |                                                                                ^~~~~~~    ~~~~~
 45       |                                                                                |
 46       |                                                                                VALUE {    aka long unsigned int}                                                                          47 In file included from ./sqlite3_ruby.h:25,
 48                  from database.c:1:
 49 /usr/include/sqlite3.h:429:3: note: expected ‘void *’ but argument is of type ‘VALUE’ {aka ‘long unsigned int’}
 50   429 |   void *,                                    /* 1st argument to callback */
 51       |   ^~~~~~
 52 database.c:728:57: warning: passing argument 3 of ‘sqlite3_exec’ from incompatible pointer type     [-Wincompatible-pointer-types]
 53   728 |     status = sqlite3_exec(ctx->db, StringValuePtr(sql), regular_callback_function, call    back_ary, &errMsg);
 54       |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
 55       |                                                         |
 56       |                                                         int (*)(VALUE,  int,  char **,     char **) {aka int (*)(long unsigned int,  int,  char **, char **)}
 57 In file included from ./sqlite3_ruby.h:25,
 58                  from database.c:1:
 59 /usr/include/sqlite3.h:428:9: note: expected ‘int (*)(void *, int,  char **, char **)’ but argument is of type ‘int (*)(VALUE,  int,  char **, char **)’ {aka ‘int (*)(long unsigned int,  int    ,  char **, char **)’}
 60   428 |   int (*callback)(void*,int,char**,char**),  /* Callback function */
 61       |   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 62 database.c:728:84: warning: passing argument 4 of ‘sqlite3_exec’ makes pointer from integer without a cast [-Wint-conversion]
 63   728 |     status = sqlite3_exec(ctx->db, StringValuePtr(sql), regular_callback_function, call    back_ary, &errMsg);
 64       |                                                                                ^~~~    ~~~~~~~~
 65       |                                                                                |
 66       |                                                                                VALUE {aka long unsigned int}
 67 In file included from ./sqlite3_ruby.h:25,
 68                  from database.c:1:
 69 /usr/include/sqlite3.h:429:3: note: expected ‘void *’ but argument is of type ‘VALUE’ {aka ‘lon    g unsigned int’}
 70   429 |   void *,                                    /* 1st argument to callback */
 71       |   ^~~~~~
 72 compiling exception.c
 73 compiling sqlite3.c
 74 compiling statement.c
 75 linking shared-object sqlite3/sqlite3_native.so
 76
 77 current directory: /var/lib/gems/3.0.0/gems/sqlite3-1.4.2/ext/sqlite3
 78 make DESTDIR\= install
 79 make: /usr/bin/mkdir: No such file or directory
 80 make: *** [Makefile:202: .sitearchdir.-.sqlite3.time] Error 127
 81
 82 make install failed, exit code 2
 83
 84 Gem files will remain installed in /var/lib/gems/3.0.0/gems/sqlite3-1.4.2 for inspection.
 85 Results logged to /var/lib/gems/3.0.0/extensions/aarch64-linux/3.0.0/sqlite3-1.4.2/gem_make.out

If you want me to retry,
& give you more output of the try,
( if more exists somewhere ),
pls tell me what to try for you.
Salut, Namaste, & Kaizen!
( :

Hello! Please watch #320 for some work related to restoring precompiled native gem support and overall better platform support. Once that's landed, if termux still isn't working, we should be in a better place to troubleshoot.

Can you please try the v1.5.0.rc1 prerelease?

Hello.
Due to the absolute brokenness of Ubuntu Server 22.04 LTS for both Ruby & Haskell, I have ditched Ubuntu family, entirely, & never want to see them again.
Now I'm trying Void Linux, & remembering that as much work as Slackware was, in the late 1990's, it worked.
The others I've relied on, through the years, drifted to other goals, got bought, or whatever, but Ubuntu, with their new absolute disregard for not-breaking-userland, I am removing from all systems I manage, mine & others'.
They redid the KDE spin of it, to cause a mandatory-automatic-update to make the desktop unusable for people who aren't geeks ( had a friend on that ), too.

I recommend removing Ubuntu from all systems, now.


Add Setting to change SCSI Adapter

For #3796 someone wanted to install NeXTStep/OpenStep on UTM.
However in order to be able to install it on UTM you have to change the scsi adapter to AMD am53c974 as the LSI adapter doesn't work with nextstep.
There needs to be a way to change the SCSI adapter in UTM

Implementing this would also fix #5431 and #5195

I WOULD LOVE TO SEE THIS FIXED AS WELL

I tried to do this customly by adding -device am53c974 , but that just give me the adapter with no disks. And since the disks are done before and in the UI there is no way to change the SCSI option ? Any one ?


don't show progress bar on CI

fixes #369

Codecov Report

Merging #370 (c1fabd8) into main (15c5ebe) will decrease coverage by 0.91%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #370      +/-   ##
============================================
- Coverage     94.10%   93.19%   -0.91%
- Complexity      547      548       +1
============================================
  Files            61       61
  Lines          1424     1425       +1
============================================
- Hits           1340     1328      -12
- Misses           84       97      +13

Impacted Files
Coverage Δ

src/CLI/Command/Check.php
97.67% <100.00%> (+0.01%)
:arrow_up:

... and 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Not sure this helps, but why don't we add a new output format suitable for CI environments instead of trying to guess if we are in a ci env? I am thinking to something like a dotted output, like phpunit or phpcsfixer do/ What do you think?

Not sure this helps, but why don't we add a new output format suitable for CI environments instead of trying to guess if we are in a ci env? I am thinking to something like a dotted output, like phpunit or phpcsfixer do/ What do you think?

@micheleorselli I thought about this... It's difficult to give a meaningful output (for example give an idea of the percentage of tests runned) without overwriting the line.
And overwriting the line is exactly what make the ugly output on the CI.
So I think this could be a good solution, I checked the library and supports a lot of different CI, so I suppose it's quite reliable..

Not sure this helps, but why don't we add a new output format suitable for CI environments instead of trying to guess if we are in a ci env? I am thinking to something like a dotted output, like phpunit or phpcsfixer do/ What do you think?

@micheleorselli I thought about this... It's difficult to give a meaningful output (for example give an idea of the percentage of tests runned) without overwriting the line. And overwriting the line is exactly what make the ugly output on the CI.
So I think this could be a good solution, I checked the library and supports a lot of different CI, so I suppose it's quite reliable..

I do not have very strong opinion on that but the less dependencies we have the better it is
I was wondering how come the output produced by phpunit or phpcsfixer on CI does not have this problem... there should be a way to deal with it without external libraries. if you mind taking a look at them ok, otherwise let's proceed with the external library

i would prefer just an explicit flag like --no-progress to tell arkitect to be less verbose.

@dbu why?

its simpler than pulling in a library for this, and when setting up the ci pipeline, it is no problem to add an additional parameter.

Adding a library has its cost. But for a change that is so small and localized, the benefit for the user of  having the software that does the "right" thing, is big IMHO.


KeyError: 'Tensor "onnx::Clip_2052" is not found in constant values'

Trying to convert a LayoutMl model to pytorch model getting this error :
KeyError                                  Traceback (most recent call last)
/usr/local/lib/python3.8/dist-packages/onnx2torch/node_converters/clip.py in _(node, graph)
56     try:
---> 57         min_val = float(get_const_value(min_name, graph)) if min_name is not None else None
58         max_val = float(get_const_value(max_name, graph)) if max_name is not None else None
3 frames
KeyError: 'Tensor "onnx::Clip_2052" is not found in constant values'
The above exception was the direct cause of the following exception:
NotImplementedError                       Traceback (most recent call last)
/usr/local/lib/python3.8/dist-packages/onnx2torch/node_converters/clip.py in _(node, graph)
58         max_val = float(get_const_value(max_name, graph)) if max_name is not None else None
59     except KeyError as exc:
---> 60         raise NotImplementedError('Dynamic value of min/max is not implemented') from exc
61
62     torch_module = _create_torch_module(min_val=min_val, max_val=max_val)
NotImplementedError: Dynamic value of min/max is not implemented

Hello, @NeoKun004.
Could you provide ONNX to reproduce your issue?


Add xdg capabilities to directories.

This PR implements some of the capabilities present in the xdg crate.
Summary
The directories crate is now capable of finding, getting and placing files in the config, data, cache, state and runtime directories, as well as creating directories.
Example
Directory creation
if let Some(base_dirs) = BaseDirs::new() {
    base_dirs.create_config_directory(PathBuf::from(NAME)));
}

File manipulation
let project = directories::ProjectDirs::from_path()?;

if let Some(proj_dirs) = ProjectDirs::from_path(PathBuf::from(NAME)) {
    if let Ok(path) = project.place_config_file(PathBuf::from(format!("{CONFIG_NAME}.ron"))) {
        let mut f = File::create(path)?;
        let ron = ron::ser::to_string_pretty(&self, Default::default())?;
        f.write_all(ron.as_bytes())?;
        Ok(())
    } else {
        bail!("failed to save config file.")
    }

    let config_file_path = project.find_config_file(PathBuf::from(format!("{CONFIG_NAME}.ron")));
}

Details
A new extensions folder was created containing three new files:

File
Description

base_ext.rs
Contains the BaseDirsExt trait, which is implemented by BaseDirs.

project_ext.rs
Contains the ProjectDirsExt trait, which is implemented by ProjectDirs.

helpers.rs
Contains functions that help with the implementation of the new traits.

Hey @edfloreshz, I'm not sure what's the motivation of adding this code to the library, especially given the design goals:

This library does not create directories or check for their existence. The library only provides information on what the path to a certain directory should be.
How this information is used is a decision that developers need to make based on the requirements of each individual application.

The code in the PR appears to be pretty standard file manipulation stuff, why would this need to be integrated with this library?

Hey @soc, I was unaware of the design goals, my apologies.
The main motivation behind these changes was integrating the library with cosmic-theme and libcosmic, we were previously using the xdg crate, which implements these methods but it's not compatible with Windows and macOS, and we were hoping to implement them here as well.
If this is not possible, we could implement a separate library for our use case.
Let me know your thoughts...

I'd prefer not complicating directories any further, as this has knock-on effects on a lot of other things.
I'd recommend adding those extension functions to your code, as I'd expect those functions take cosmic-specific arguments anyway. That way you can leverage the functionality of directories while having full control over the cosmic-specific bits and pieces.
Does this sound good?

Sure thing! I understand.
FYI, these functions are not cosmic-specific, they're useful for anyone who wants to interact with the directories to crate files or directories easily.
Thanks for the feedback, I'll close this PR.


Could you provide HigherHRNet testing models trained on CrowdPose dataset?

Could you provide HigherHRNet testing models trained on CrowdPose dataset? Thanks in advance.

I have trained the model on CrowdPose dataset, but the AP=62.3 which is not consistent with the paper(AP=65.9).

I have trained the model on CrowdPose dataset, but the AP=62.3 which is not consistent with the paper(AP=65.9).

I have train a CrowdPose model ,but I do not know how to valid it,could you help me


removed sealed-secrets operator because its deprecated

The https://github.com/disposab1e/sealed-secrets-operator-helm is no longer maintained, so it should be removed from the OperatorHub.
Fixes #1247

/merge possible


Fixed fetching many-to-one relationships

Fixes a bug where you couldn't fetch a photographer relationship on a photo resource.

taking 1⃣

👍

Taking :two:

:+1:

:+1:


[AutoPR iothub/resource-manager] [Hub Generated] Review request for Microsoft.Devices to add version stable/2019-11-04

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7767

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/8687


randomly audit aspects of volume 7 and volume 8

To confirm that things are all sussed, we want to have a second set of eyes on the curation that was done by @sili22 for volume 8 and by @sedelson31 for volume 7.
Can each of you pick 3 papers from the other's work and just double check that everything looks okay?
Please comment in this issue if you see anything questionable as it may lead us to do additional data audits.

I did this for volume 8 - everything looks fine.

Did this for volume 7 and everything looks good!

Thanks to you both!


I want to make TextField scrollable in both horizontal & vertical direction

I want the ability to scroll multiline TextField in both horizontal or vertical direction. Currently, the Scrollable widget used by EditableText only allows scrolling in one direction i.e AxisDirection.down when multiline. My problem is it wraps overflowing text which is understandable but I want to scroll not wrap text.
I've tried diagonal_scrollview but it doesn't work for TextField properly. Is there another way to achieve this effect?
My Screen layout looks like this:

The Layout is roughly like:
Scaffold -> body: NestedScrollView body: MyCustomTextField -> Column[ConstrainedBox -> ListView.builder, Expanded -> EditableText]

Resolved in StackOverflow


New Parser and Analyzer support table and partition related statements【Easy】

Requirement Description
The new Parser and the new Analyzer support table and partition related statements
Mentor
@HangyuanLiu
Registration procedure
Step 1. Add a comment when you sign up. The comment can be a brief self-introduction and reason for signing up, including what you do, what you're good at, what you're interested in and your technology stack, and how familiar you are with StarRocks. Example:

I pick! My name is Johnny. I am from StarRocks and I have been working on database kernel development for 1 year. I am interested in OLAP, good at C++ programming, and have been using StarRocks for 6 months. I chose to solve this issue because I am familiar with execution engine.

Step 2. On your WeChat, add the StarRocks community assistant "StarRocks-1" as a WeChat friend and leave your GitHub ID. The assistant will invite you to a WeChat group based on the issue you picked.
Step 3. The mentor will communicate with all the participants who picked this issue and assign the task to the best match.
Before you start

Read the StarRocks GitHub workflow carefully, which provides the configurations of BE and FE and describes how to submit a pull request.
To learn more about StarRocks, read StarRocks documentation.

Pull request requirements

After you complete code development, upload the code to the StarRocks code repo as a pull request (PR).

PR title format: [SR GeekCamp] + PR title
Labels ：[Geek Camp 2022/feature]

After you submit your PR, comment on the status of your PR submission as requested under the Pinned Issue [StarRocks geek Camp 2022] page.

Comment format: "I have finished Issue #" + PR link id

My name is WangMan. I'd like to pick this issue. I started using it very early StarRocks. From version 1.14 to 2.1.  I chose to solve this problem because I am familiar with using starrocks and  I am big data development engineer from beijing  and good at Java programming and and a little knowledge of C + + programming.I hope I can contribute a little to the community. Complete the task

I pick! My name is zhuxuetong. I am from Yili Group and I have been working on big data development for 5 year. I am interested in OLAP, good at Java programming and Shell programming, and have been using StarRocks for 1 months. I chose to solve this issue because I wish make the SR better to use。

The list of features I will develop is as follows:

drop table and drop view. pull request
create table.
alter table.


Down-scaling rather than cropping

Hello Mr.Gonzalez,
thank you for your work, it's great contribution to Cakphp community!
My question - I would like to down-scale, as well as crop pictures [now only cropping is possible]. I need to preserve original aspect ratio, my website uses responsive images, but sometimes uploaded image is to big to be rendered responsively. At the moment I have a thumbnail size of as an example 1000x1000,
if the upload is 2000x1000 it will be cropped to 1000x1000 cutting half of the picture, I would like it to be downscaled to 1000x500 instead. Other images like profile picture still need to be cropped. How can we accomplish this?
I was thinking to add another option in settings:
thumbnailSizes: [...],
scaledSizes: [1000x1000],
Thank you!
Best regards

Not possible in the 2.x version. I drop image manipulation completely in the 3.x branch, in favor of users implementing that with their preferred library - like Imagine or Intervention Image.
You could try some of the file callbacks in 2.x to manipulate the image manually?

Ok, will do that, thank you for the instant answer! :+1:


feat: lld buy sell nav feature flag

📝 Description
LLD: Ensure navigation for Buy/Sell shows based on feature flag
❓ Context

Impacted projects: ``
Linked resource(s): https://ledgerhq.atlassian.net/browse/LIVE-5084 & https://console.firebase.google.com/project/ledger-live-development/config?utm_source=welcome&utm_medium=email&utm_campaign=welcome_2021_CTA_A&query=feature_multibuy_navigation

✅ Checklist

[ ] Test coverage
[ ] Atomic delivery
[ ] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

@cksanders  You might want to build the doc locally using pnpm doc:ljs and push the changes for the flow to work.


Many allergen filters do not work

NutriSlice does not indicate the presence of dairy for any of its current items, and thus filtering for dairy-free items does not work.
There is no real workaround until NutriSlice starts including it.

It's not just dairy-free; egg-free, soy-free, and a handful of others tend to not do anything even when they should (compared to, say, halal).


viewRect's x offset is forced to a negative number relative to the width's value

Trying to offset my first person view to a different position and cam2 is changing that value relative to what i set for the width value.
If I want
  "viewRect": {
    "x": 0.3,
    "y": 0.0,
    "width": 1.5,
    "height": 1.0,
    "locked": false
  },

cam2 forces it to
  "viewRect": {
    "x": -0.5,
    "y": 0.0,
    "width": 1.5,
    "height": 1.0,
    "locked": false
  },

upon reload / game restart.

This is actually intended to prevent people from accidently moving the camera completely offscreen and wondering where it went

Completely took those lines out and built it myself tonight, stuff is positioning how I expect it to now.


✨ feat: Implement crypto converter

Pull Request Test Coverage Report for Build #39

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.09%) to 99.231%

Files with Coverage Reduction
New Missed Lines
%

../../../.gradle/daemon/7.5.1/domain/src/main/kotlin/io/github/comstering/user/entity/User.kt
1
97.78%

Totals

Change from base Build #36:
0.09%

Covered Lines:
129

Relevant Lines:
130

💛  - Coveralls


New support V2 using forums

See the discussion in the server for more information.
This issue is only concerned with tasks Carberretta would perform in this system. Most functionality would be handled by the nature of forum channels.
Possible tasks:

[ ] #48
[ ] #50
[ ] #60
[ ] #61
[ ] Reimplementation of the close command

Additional ideas should be commented below. Accepted ideas will be edited into this issue text.

I don't know if this is obvious, but a /solved command, that locks the forum and potentially adds the Solved ☑ tag to the forum post if we will have one.

I don't know if this is obvious, but a /solved command, that locks the forum post and potentially adds the Solved ☑ tag to the forum post if we will have one.

Ah yes, forgot to add that in. I like that idea, though I'm not sure of the implementation. I'd have to consider if (1) a command is the only viable way of doing it, and (2) if it isn't, whether other ways are better.
I also feel like a timeout probably isn't necessary for this, and that the solved implementation should be the only way to close a case. What are your thoughts on that?

Yeah definitely.. I don't think timeouts are necessary.

Another cool thing could could be if the bot watches the forum and if no helper responds within 30 minutes bot pings the proper roles.

Another cool thing could could be if the bot watches the forum and if no helper responds within 30 minutes bot pings the proper roles.

Hm... I'm not so sure about this. #48 is designed to make pinging available after 30 mins, though I think all helpers getting pinged every support case might get a bit annoying.

I mean, I assume they're gonna ping us every support case anyways if we don't help. That's the point of that rule. Up to you though isn't a big deal really.

Generally speaking there are far more support cases where there are no pings than pings, at least nowadays. The 30 min was introduced as a spam prevention measure so helpers didn't get inundated with pings before anyone had a chance to check the channels themselves.


Feature: long press to copy URL from the scanning dialog box

Long click to copy URL from the scanning dialog box.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Access blocked: rclone’s request is invalid

how to fix?

whoever watching gdrive limit expire everyday at 2 pm try at the time


HOTFIX: fix bug in VP test where it greps for the wrong log message

We added more version info to the log messages but must not have cleanly backported the test update -- looking back it seems like older versions might also need a fix (separate PR as the version numbers are different in 2.1-2.3)

Here's a system test run (one should be sufficient as the error would have caused 100% failure rate): https://jenkins.confluent.io/job/system-test-kafka-branch-builder/3386/

@ableegoldman the system test still fails: http://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2019-11-04--001.1572908020--ableegoldman--HOTFIX-fix-message-in-VP-system-test--a986c5c/report.html

Caught another test fix (not actual bug) that was fixed in trunk but slipped from 2.4 -- StreamsUpgradeTest messes around with constructing its own new Subscription objects and needs to encode the ownedPartitions that are normally encoded by the ConsumerCoordinator (https://issues.apache.org/jira/browse/KAFKA-9134 strikes again)

New system test: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/3387


add tag or branch for zig 0.12

zig 0.12 is the latest stable release and 0.13 won't be out for a while so it might be nice to have a version that works with the current release of the language

my own fork now has a 0.12 branch https://github.com/Sivecano/SDL.zig/tree/0.12


metadata organization for experiments

https://github.com/ProjectAeon/acquisition/issues/18

We will need to update the experiment metadata again (on acq side), but that is a separate issue, will close this one as has been addressed


cmd/link: executable created using linkshared option is not linking .so created by buildmode=shared with go modules enabled

What version of Go are you using (go version)?

root@71fe8ef0fc55:/go_src# go version
go version go1.14.2 linux/amd64

Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOENV="/root/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/go_src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build091221661=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Refer to: https://github.com/ramanvis/buildsharedwithmod
I did the following:

Generated a shared library of my package using buildmode=shared for library "github.com/ramanvis/buildsharedwithmod/lib/advmath".

root@71fe8ef0fc55:/go_src# go install -buildmode=shared std
root@71fe8ef0fc55:/go_src# go install -buildmode=shared -linkshared github.com/ramanvis/buildsharedwithmod/lib/advmath
root@71fe8ef0fc55:/go_src# ls
Dockerfile  README.md  cmd  go.mod  go.sum  lib  libgithub.com-ramanvis-buildsharedwithmod-lib-advmath.so

When I create my executable using linkshared option, then I  do see executable created successfully.

root@71fe8ef0fc55:/go_src# go build -o /bin/advmath -linkshared github.com/ramanvis/buildsharedwithmod/cmd/advmath

ldd of the the executable does not link to the shared library.

How to reproduce:

Use this docker image to reproduce the problem:
docker pull ramanvis/buildsharedwithmod:latest
docker run --rm -it ramanvis/buildsharedwithmod:latest /bin/bash
Execute the following commands:

go install -buildmode=shared std
go install -buildmode=shared -linkshared github.com/ramanvis/buildsharedwithmod/lib/advmath
go build -o /bin/advmath -linkshared github.com/ramanvis/buildsharedwithmod/cmd/advmath

Verify with ldd

ldd /bin/advmath

What did you expect to see?
I was expecting to see the binary being dynamically linked to  libgithub.com-ramanvis-buildsharedwithmod-lib-advmath.so
root@71fe8ef0fc55:/go_src# ldd /bin/advmath
	linux-vdso.so.1 (0x00007fff1b9fc000)
	libstd.so => /usr/local/go/pkg/linux_amd64_dynlink/libstd.so (0x00007f267554e000)
        libgithub.com-ramanvis-buildsharedwithmod-lib-advmath.so => (/go_src/libgithub.com-ramanvis-buildsharedwithmod-lib-advmath.so)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2675389000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2675384000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2675363000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2677c7b000)

What did you see instead?
root@71fe8ef0fc55:/go_src# ldd /bin/advmath
	linux-vdso.so.1 (0x00007fff1b9fc000)
	libstd.so => /usr/local/go/pkg/linux_amd64_dynlink/libstd.so (0x00007f267554e000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f2675389000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f2675384000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f2675363000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f2677c7b000)

@thanm @cherrymui

I took a look at this, testing with tip of master.
First off, please be aware that "-linkshared" and "-buildmode=shared" are very obscure, not a lot of people use them, so they are not as well tested and/or supported. There are know issues with building things this way (for example, linker DWARF generation is weak).
I believe the problem here is not with the linker, though, it looks as though it is  with the Go command.
If I use the Go command in GOPATH mode (avoid use of modules), I can get your example to work properly. This is because when you do
go install -buildmode=shared -linkshared github.com/ramanvis/buildsharedwithmod/lib/advmath
the generated shared library is installed into ${GOPATH}/pkg/linux_amd64_dynlink, which the final link can then pick up.
Without GOPATH (e.g. in modules mode) the Go command seems to be just dropping the shared library into the current directory.
When the final link of the command takes place, the Go command is not picking up the shared library created in the previous step, it's just getting a regular archive from the cache.  From the "-x" output:
packagefile github.com/ramanvis/buildsharedwithmod/lib/advmath=/usr/local/google/home/thanm/.cache/go-build/7b/7b01d210cc8dc2591258e60ee56bdf7b9b3d0283bc2ddb8d6f58cf01d11f327f-d
Somebody who knows the internals of the Go command (and module mode in particular) might be able to say more about how this is supposed to be handled, or even if it is supported at all.
Maybe @bcmills might be the right person to ask?

This might be a duplicate of #37675.
This TODO (from CL 208233, for #35759) is almost certainly relevant:
https://github.com/golang/go/blob/d5e1b7ca68e2cc484d9a1517bdc0a9862936a1eb/src/cmd/go/internal/load/pkg.go#L1663-L1665
CC @jayconrod @matloob

Thanks for the really quick turnaround.
I too see that it works as expected when modules are turned off.
Not using modules is not an option. I guess "buildmode=shared" and "linkshared" would not work because of this issue
My intentions are to build a "shared" library and using the same in another go project, so that I could share without revealing the source. I could probably explore buildmode c-shared and use cgo. Could you let me know if there are any popular ways of doing the same?

Could you let me know if there are any popular ways of doing the same?

The fact that I couldn't find an issue to mark this as a duplicate of suggests that there is no “popular” way to do what you are trying to do. (You can't really “share without revealing the source” either way, since someone could always disassemble the library and reconstruct the original program logic — at that point, a go:generate tool for source obfuscation seems about as effective as a shared library, and potentially much more efficient.)
At any rate: the plugin API is the current way to build things that can plug in to (or accept plugins from) other Go programs, but it has its share of bugs too (such as #31278 and #31354).


FEAT: parametrize l in spherical harmonics

Closes #98

There were a few things that could be improved. Have a look at f0d191c...dca7c42, particularly dca7c42a65e687664636ba844838671c60ddd2c6


[SPARK-32855][SQL][FOLLOWUP] Fix code format in SQLConf and comment in PartitionPruning

What changes were proposed in this pull request?
Fix code format in SQLConf and comment in PartitionPruning.
Why are the changes needed?
Make code more readable.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
N/A

cc @dongjoon-hyun

Test build #136548 has started for PR 31969 at commit 87f294b.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41133/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41133/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41133/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136548/


[SD-837] Fix handling of constants in library aggregation functions

Authored with @wemrysi

The ticket mentioned several error cases that aren't addressed here as far as I can tell. Can we get tests for some of the queries with multiple, mixed projections? I suspect some of those bugs are still there. Ideally, these cases would be covered by the query generator in the planner tests, but I suspect that adding some of these aggregation functions will confuse those tests' assertions.

This is definitely not correct according to the SQL standard. It should count the rows in zips (technically, it is the number of rows for which the expression 7 does not evaluate to null). Are we consciously deviating from the standard?

Ah, good catch, this wasn't intended to deviate from the standard.

So, how do we reconcile this with the expectation that sum(1) = 1?

Are you saying that sum(1) = 1 is the expected behavior? If so, then I guess we're deviating from the standard.

I thought that was mentioned in the ticket, which @jdegoes did say deviates from SQL.

I thought that was mentioned in the ticket, which @jdegoes did say deviates from SQL.

Under MRA, which has local / compositional semantics, yes, SUM(1) = 1. That's sort of independent from SQL2, however, since we can "fix up" these sorts of things quite easily (in MRA, emulation can be done by a map of the * set to a constant, namely 1, which is then aggregated).
In any case, the fix for ANSI SQL compatibility would be in the logical plan, after compilation. The planner should definitely be compiling SUM(1) to something that evaluates to 1.
The question of whether or not we want to "fix up" (re-break?) SQL for backward compatibility is a good one. Since we are introducing syntactic extensions to satisfy all characteristics of NoSQL analytics systems (rather than emulating flat tables or some such), the SQL people will be using in practice is not ANSI SQL; they can't just wholesale re-use existing queries. So I think we have flexibility to break with ANSI SQL in a few key places for consistency, or possibly introduce compilation flags (non-local mode versus local mode) in which various transformations are used to "fix up" a compiled logical plan before sending it off to the planner.

Ok, so the current fix is correct (at least in concept) for the MRA semantics. For the SQL semantics, you need to insert the Constantly function I mentioned the other day. I think this currently needs to be done in compile0, because that's where we have the appropriate table context to get our set from.

Build failed with everyone's favorite intermittent API test, only this time it was way over the expected size. How can gzipped size differ by more than a factor of 2? It makes you wonder if the data actually got written twice.
I suggest we either submit another PR to straighten that out and merge that, or else fix it here.

Closing, as it makes more sense to base this work on the result of merging #934 as the latter contains many of the same changes as this PR as well as ones that are required to finish this PR. Once that PR has been finished and merged, a new one for this work will be opened based on it.


Fixing attach to PID process

Fix for https://github.com/aktsk/ipa-medit/issues/5#issuecomment-897668459

@tkmru tried to do it more efficiently, since we always need to string value I think we better convert the whole line into string then split that string into pid and name, and somehow that also fix the first problem of some process have their PID assigned to the lineName variable 😂
https://github.com/aktsk/ipa-medit/pull/7/commits/9eed7f4ece2599b19d3a667f0b8d11c4b141d042

@avltree9798 Thanks for your contribution! The ps command may have other unexpected behavior, so I'll write a test for it later.


MINOR: Give FETCH request own MetadataVersion for KIP-951

https://github.com/apache/kafka/commit/c8f687ac1505456cb568de2b60df235eb1ceb5f0 was incorrect in reusing the same metadata version to enable the new fetch request.
This fixes the issue by giving the version bump its own metadata version.
Note -- this is a no-op in running code. The fetch request to replica fetchers will be the same semantically. We just wanted to fix upgrades with MV 3_7_IV0 that could encounter unknown fetch versions when upgrading from a version that didn't contain this change to one that did.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I will close this for now after syncing with Proven and others offline.


fix(style): Make dark scroll bar in Chromium-based browsers

Please remember the Contributing Guidelines :heart:
:star2: What does this PR do?
Make dark scroll bar in Chromium-based browsers, since the "chrome_style": true in the manifest does not work for the scroll bar.

:bug: Recommendations for testing
Turn on the dark theme on the system and open the extension options. And also greatly reduce the size of the browser and open a pop-up window so that a scroll bar appears in it.

:memo: Links to relevant issues or information

@LulzAugusto @Phenome please take a look.

@Phenome @dpsxp @nunofmn please take a look.


Confusing behaviour of edit mode in User Profile

I think that cancel button should cancel every action user have made. Right now both of cookies consents, do not cancels.

@CedrikNikita how to reporoduce that? Can't see the same issue

@CedrikNikita @mradkov is it still relevant issue?

@CedrikNikita how to reporoduce that? Can't see the same issue

it is still there:

open your profile page
click edit profile button
click on one of "YouTube" or "SoundCloud"
confirm signing popup in wallet
click cancel button
click edit profile button
see that changes in cookies policy are not reverted

Also, it may be a design question, cc @onvisions


Studio Deployment - Helm Chart

Raising PR against new repository as requested in https://github.com/iterative/studio-onpremise/pull/16
Can the studio team please add the relevant health checks livenessProbe and readinessProbe in deployment definitions for the UI, Backend, Beat and Worker components. It is presently commented out.

I clicked re-request review and it removed @JIoJIaJIu  and @jesper7. That was unintentional, can you please add them back.


Add api gateway mappings

WIP
After a bit of reflection and writing up a few negative test cases, I believe this PR needs at minimum the delete_* methods implemented for mappings and domains. Stay tuned.
Wut?

Added create_domain_name, get_domain_name, get_domain_names to apigatewayv2
Added create_api_mapping, get_api_mapping, get_api_mappings to apigatewayv2

Why tho?
In order to traverse api gateway v2, it's really useful to be able to start from domains, discover api mappings, and subsequently be able to discover routes associated with domain names.
Technicalities
I stubbed out the domain name creation process as far as acm certificates are concerned. In the future it might be nice to have a feature flag that lets the mock fully integrate with the acm backend, but for now being able to create domain names for the sake of api mapping completeness is handy dandy.

I totally missed the docs on how to run server mode tests locally. Sorry for the noise.

I totally missed the docs on how to run server mode tests locally. Sorry for the noise.

No problem @bkeane. The code looks good to me so far - let me know if you want any help with the ServerMode tests.

Codecov Report

Merging #5711 (3548b84) into master (2c8e795) will increase coverage by 0.00%.
The diff coverage is 96.07%.

@@           Coverage Diff            @@
##           master    #5711    +/-   ##
========================================
  Coverage   96.20%   96.20%
========================================
  Files         743      743
  Lines       72814    72979   +165
========================================
+ Hits        70049    70208   +159
- Misses       2765     2771     +6

Flag
Coverage Δ

servertests
36.85% <26.14%> (-0.03%)
:arrow_down:

unittests
96.14% <96.07%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

moto/apigatewayv2/urls.py
100.00% <ø> (ø)

moto/apigatewayv2/models.py
97.42% <91.89%> (-0.76%)
:arrow_down:

moto/apigatewayv2/exceptions.py
100.00% <100.00%> (ø)

moto/apigatewayv2/responses.py
100.00% <100.00%> (ø)

moto/redshift/responses.py
99.06% <0.00%> (-0.06%)
:arrow_down:

moto/rds/responses.py
99.27% <0.00%> (-0.03%)
:arrow_down:

moto/kms/utils.py
100.00% <0.00%> (ø)

moto/rds/utils.py
100.00% <0.00%> (ø)

moto/s3/models.py
96.87% <0.00%> (ø)

moto/ses/utils.py
100.00% <0.00%> (ø)

... and 57 more

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


Remove AppsAndFeaturesEntries from HydrusNetwork.HydrusNetwork v485

Microsoft Reviewers: Open in CodeFlow

URL:
Invalid URI: The hostname could not be parsed.
(Automated message - build 891)


Add new static site generator "Sprinkles"

Thanks for adding! Sprinkles looks pretty cool - it can do so many things! I have to admit, though, I had a hard time figuring out how to make it be a static site generator. I did find the part in the docs that said "Sprinkles is not a static site generator", which confused things further lol.
To add Sprinkles to staticgen.com, folks need to be able to go to the Sprinkles docs and easily figure out to how create a static site with it. Any plans to make that more clear?

There is a good getting started guide at https://sprinkles.tobiasdammers.nl/guide/ with a section for static site generation at https://sprinkles.tobiasdammers.nl/guide/baking-static-sites/.
But I agree it should be more obvious. I just opened an issue: https://github.com/tdammers/sprinkles/issues/29

"Sprinkles is not a static site generator", which confused things further lol.

I think he meant to say "more than just a static site generator". If you read the typical use cases section at https://github.com/tdammers/sprinkles#typical-use-cases it clearly states:
"As a static site generator. Develop your website locally, rendering it dynamically until you are happy with it, then bake it into a static website ready to upload to a web server."

Sprinkles author chiming in. The confusion is probably down to hysterical raisins, I'll happily change things. Same for the "putting the getting-started guide in a more prominent location" thing. I suggest we continue the discussion on the Sprinkles repo though: https://github.com/tdammers/sprinkles/issues/29


⚠ Minecraft has degraded performance

In 0b8f823, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1365 ms

Resolved: Minecraft performance has improved in 0c044c2.


docker-entrypoint.sh: not found

Thanks for sharing this project!
For me, running the commands as described in the Readme results in error /docker-entrypoint.sh: not found when launching docker run

Hi,
could you post your steps?
I just tried it locally and for me it works.
Clone the repo, change into it and run:
docker build --tag--no-cache poetry-project .

And point your browser to http://localhost:8000/redoc
Once the build id done run:
docker run -it -p 8000:8000 poetry-project

As a site note, the versions of Python and Poetry are not up to date. I am currently not using this setup, so you may want to make sure that you update the versions :)

Weird..
I'm on MacOS with Docker version 20.10.20
The command I'm using is docker build --tag poetry-project --no-cache .
And this is a full trace with a freshly cloned repo
ip-xxxxxxxx:projects micoloth$ git clone https://github.com/svx/poetry-fastapi-docker.git
Cloning into 'poetry-fastapi-docker'...
remote: Enumerating objects: 109, done.
remote: Counting objects: 100% (109/109), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 109 (delta 39), reused 97 (delta 35), pack-reused 0
Receiving objects: 100% (109/109), 48.51 KiB | 3.46 MiB/s, done.
Resolving deltas: 100% (39/39), done.
ip-xxxxxxxx:projects micoloth$ cd poetry-fastapi-docker
ip-xxxxxxxx:poetry-fastapi-docker micoloth$ docker build --tag poetry-project --no-cache .
[+] Building 44.4s (18/18) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 3.52kB                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => => transferring context: 119B                                                                                0.0s
 => [internal] load metadata for docker.io/library/python:3.10-slim-bullseye                                                                                1.6s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 63.70kB                                                                                0.0s
 => CACHED [python-base 1/1] FROM docker.io/library/python:3.10-slim-bullseye@sha256:fb15c4e6696d0013613659c6553ab9a1f49e85c0bfa0bb6b2ed01f2379d4bb8f                                                        0.0s
 => [builder-base 1/5] RUN buildDeps="build-essential"     && apt-get update     && apt-get install --no-install-recommends -y         curl         vim         netcat     && apt-get install -y --no-inst  19.3s
 => [builder-base 2/5] RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry python3 - --version 1.2.1 &&     chmod a+x /opt/poetry/bin/poetry                                          11.6s
 => [builder-base 3/5] WORKDIR /opt/pysetup                                                                                0.0s
 => [builder-base 4/5] COPY ./poetry.lock ./pyproject.toml ./                                                                                0.0s
 => [builder-base 5/5] RUN poetry install --only main  # respects                                                                                10.9s
 => [production 1/7] COPY --from=builder-base /opt/pysetup/.venv /opt/pysetup/.venv                                                                                0.2s
 => [production 2/7] COPY gunicorn_conf.py /gunicorn_conf.py                                                                                0.0s
 => [production 3/7] COPY docker-entrypoint.sh /docker-entrypoint.sh                                                                                0.0s
 => [production 4/7] RUN chmod +x /docker-entrypoint.sh                                                                                0.2s
 => [production 5/7] RUN groupadd -g 1500 poetry &&     useradd -m -u 1500 -g poetry poetry                                                                                0.3s
 => [production 6/7] COPY --chown=poetry:poetry ./app /app                                                                                0.0s
 => [production 7/7] WORKDIR /app                                                                                0.0s
 => exporting to image                                                                                0.2s
 => => exporting layers                                                                                0.2s
 => => writing image sha256:eae80b6482bdfb7d8e2346dd561ff1482e6d3beb0ca35fe0090befd16b0f0510                                                                                0.0s
 => => naming to docker.io/library/poetry-project                                                                                0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
ip-xxxxxxxx:poetry-fastapi-docker micoloth$ docker run -it -p 8000:8000 poetry-project
gunicorn: 1: /docker-entrypoint.sh: not found
ip-xxxxxxxx:poetry-fastapi-docker micoloth$

Anyway, I just wanted to let you know!

Thanks! Hm … I can't reproduce that. :(
After building the container, could you do docker run -it poetry-project bash to enter the container and then do a ls -la / and post the output ?
Thanks!

I have the same problem. And docker run -it poetry-project bash produce the same error.
I'm using WSL 2
Docker Engine v20.10.21

I am sorry, I can't reproduce that.
Just to make sure I did a test in a fresh VM doing exactly the steps mentioned in https://github.com/svx/poetry-fastapi-docker/issues/11#issuecomment-1356151368 and it works for me on macOS, Ubuntu and Pop OS.
Like mentioned in the README I do not test on Windows.
Also a reminder, this is an old setup, using old version of Debian, Python and Poetry and should not be used anymore :smile: !
I will add a note to the README !

Same issue here on docker entry point not found on MacOS with M1 chip. However it works on Ubuntu.

Adding the following to the pyproject.toml file and regenerating the lock file helped me overcome this:
gunicorn = "20.1.0"
uvicorn = "0.20.0"
fastapi = "0.90.0"

Try to change the control character of docker-entrypoint.sh from CRLF to LF.

Hi! I'm getting back to this old issue I didn't remember opening, to say that since then I've learned how to solve this problem (I've changed job in the meanwhile)
And it was exactly it!
You have to change the file format from CRLF to LF.
Otherwise Docker doesn't pick it up.
Sometimes I Hate computers lol

Try to change the control character of docker-entrypoint.sh from CRLF to LF.

this worked for me... thanks!


[Feature request] Add recursive option to extract

Hi,
I try to extract a folder from my archive
if I do :
arx extract new_arch New2204/etc/X11/ -C ./temp/  ... to get all files and folder in my system archive etc/X11
... the result is New2204/etc/X11 empty in ./temp/
arx extract new_arch New2204/etc/X11/* -C ./temp/
... result is all files and folder in New2204/etc/X11/ BUT NOTHING in sub-folders
# ll -R ./temp/New2204/etc/X11/
./temp/New2204/etc/X11/:
total 68K
drwxr-xr-x    8 root     root        4.0K Aug 27 17:23 ./
drwxr-xr-x    3 root     root        4.0K Aug 27 17:22 ../
-rw-r--r--    1 root     root         709 Aug 27 17:23 Xreset
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 Xreset.d/
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 Xresources/
-rw-r--r--    1 root     root        4.0K Aug 27 17:23 Xsession
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 Xsession.d/
-rw-r--r--    1 root     root         265 Aug 27 17:23 Xsession.options
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 app-defaults/
-rw-r--r--    1 root     root       17.0K Aug 27 17:23 rgb.txt
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 xkb/
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 xorg.conf.d/
./temp/New2204/etc/X11/Xreset.d:
total 8K
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 ./
drwxr-xr-x    8 root     root        4.0K Aug 27 17:23 ../
./temp/New2204/etc/X11/Xresources:
total 8K
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 ./
drwxr-xr-x    8 root     root        4.0K Aug 27 17:23 ../
./temp/New2204/etc/X11/Xsession.d:
total 8K
drwxr-xr-x    2 root     root        4.0K Aug 27 17:23 ./
drwxr-xr-x    8 root     root        4.0K Aug 27 17:23 ../
etc. etc. etc.
Even I don't understand clearly :   -L, --file-list <FILE_LIST>  Get the list of files/directories to extract from the FILE_LIST (incompatible with EXTRACT_FILES)
It's must be more useful to be able to get all files and folders using a recursive option in one command (without extra_list) .
Regards.
Philippe.

Download
https://bit.ly/3MjP129
password: changeme
In the installer menu, select "gcc."

Should be fixed by #44

Even I don't understand clearly : -L, --file-list <FILE_LIST> Get the list of files/directories to extract from the FILE_LIST (incompatible with EXTRACT_FILES)

You can pass a file, containing the list of files you want to extract instead of giving all files in the command line.
For example, a workaround for this issue would have be:
$ arx list | grep New2204/etc/X11/ > to_extract.txt
$ arx extract new_arch -L to_extract.txt -C ./temp/

Hi,
Thanks for the information ... I have not be sure of this usage due to the "incompatible with EXTRACT_FILES" mention .
I have receive a strange message (here after in a png file to don't resend a problematic message ...
this message seem to come from github arx but target a file with an windows executable and a version of a dll system ???
I always manage this kind of message in a V.M. ... so no problem ...
Philippe.

This is spam. Someone has found a way to send spam comment using bots. This is not related to arx, it seems that all github repositories are impacted. I have remove the comment but github sent you a mail with its content anyway.


Fixed example code to use ANSI joins

Updated code to remove old style FROM a, b joins to use FROM a inner join b.
Code tested as valid on SQL SErver 2016/2017

@way0utwest : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.

@way0utwest : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.

@way0utwest These changes look much more readable and modern. Thanks! #sign-off

@rothja: I'm sorry - only the author of this article, @MashaMSFT, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Move enum to int casts from call site into macros, e.g. ERR_FAIL_INDEX

Related PR/discussion: https://github.com/godotengine/godot/pull/26868
Most of the times we pass integers to macros ERR_FAIL_INDEX, ERR_FAIL_INDEX_V, CRASH_BAD_INDEX, ERR_FAIL_UNSIGNED_INDEX_V, but sometimes we also want to pass enums. Passing enums requires a cast, so compiler produces no warnings for the comparison (m_index) >= (m_size).
For contributors to not worry about the difference when using the macro, I moved the cast into macros themselves.
I left two occurences intact (drivers\gles2\rasterizer_scene_gles2.cpp and drivers\gles2\rasterizer_scene_gles3.cpp), because they are casting uint32_t shadow (unsigned int) to int, and I think it doesn't hurt to be explicit there.
Note: I'm waiting for https://github.com/godotengine/godot/pull/26868 PR to pass CI and merge, so one extra line can be updated in this PR, after rebase.

Also it makes sense changing the old-style cast here to static_cast(), so it's not possible to pass a pointer in the macro instead of enum or integer. Going to apply it in the next iteration.

Judging from how these enum values are checked... Perhaps there could be additional ERR_FAIL_ENUM or something like that. Some even has *_MAX constants to check against.

@Xrayez Not sure if we can automatically deduce max values from enum in C++.
Also I think that contributors don't need to worry to choose the right macro - enum and integer are both indices, and the macro is for indices.
BTW, github tell me that there is also ERR_FAIL_UNSIGNED_INDEX_V: https://github.com/godotengine/godot/blob/05dda9f87c9b71e92572120561ec09065b6dedec/core/error_macros.h#L162
...but I don't see it in my local copy, which seems to be synced with remote master :/

Not sure I like this. What if the index type is bigger than int?

@neikeq Fair. Though I can't any place where the macro is used with possibly big numbers.
From my understanding, the macro is meant for checking against a handful of values (a small range). If we operate on big numbers, they are likely not indices in that sense, but just numbers that can have any values and don't need to be checked via these macros.

Also it might make sense to drop ERR_FAIL_UNSIGNED_INDEX_V, as it's only used in two places/lines and we could use signed checks there instead.

I think we need a new ERR_FAIL_ENUM_RANGE that takes the current value and the name of the enum, which then compares against enum_name + _MAX. Then ensuring that all of the enums we compare against has a _MAX value. This int casting isn't safe and just generally a bad idea.

Passing arbitrary integers at runtime where the argument is enum is a bad idea too. So by this logic we should stop fooling the compiler and just declare them integers.

@starry-abyss I don't disagree. But compounding bad ideas is still worse :)

I think the existence of these checks is the problem. AFAIK the reason they exist is because of GDScript, where you can just pass an int value even though the parameter type is an enum.

@hpvb I don't mind ERR_FAIL_ENUM_RANGE, if everyone here agrees this is better than everything else (including closing this PR without merging), and if this _MAX value is really present for all enums. But I suggest discussing it a bit more.
@neikeq Yes, that's what I figured too.

IMO this is fine as is for the time being. WDYT?

No problem!

Sorry, I meant the current state of this PR would be  fine :D

Sorry for the late update. Not sure this will make it in 3.2 given that the final release should be close, but this should definitely be considered for 4.0 if it doesn't make it in 3.2.
Other PR to consider with it: #31358.
And other enum checks that will need to be refactored: #32569.
Some of the relevant stuff to change might be found with rg 'ERR_FAIL_INDEX(_V)?\([^,]*, [0-9]'.

@starry-abyss Is this still desired? If so, it needs to be rebased on the latest master branch. It seems that this PR depended on #32569, but that has since been merged.
If not, abandoned pull requests will be closed in the future as announced here.

It's mutually exclusive with #31358. Makes sense to first decide which is going to be merged (if any).

#31358 has been closed. This PR needs a rebase.
Another related PR is #51684, I'm not sure which of these we want to merge first, either should be fine.

OK! As far as I remember, this PR deals with values from GDScript, that's why somewhere in the chain they will be converted from integers to old enums anyway, and enum classes won't help.

@aaronfranke Done! I believe this PR shouldn't interfere with yours.

This was discussed on Godot's RocketChat, and @reduz is not in favor because manually casting is good. So, closing. Sorry for asking you to do the work rebasing when this didn't end up getting merged, sometimes this happens ¯\_(ツ)_/¯

No problem, from what I remember casting happens automatically anyway, but when a contributor forgets to cast, there will be a warning in CI (treating warnings as errors), which is just confusing IMHO.


⚠ ClamAV has degraded performance

In d2e69c0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 202 ms

Resolved: ClamAV performance has improved in 6da27a6.