Add catfile sub-command for dumping files to stdout

I took a stab at addressing #510. This PR adds the catfile subcommand which allows dumping the contents of a backed-up file to standard output.

Codecov Report

Merging #1346 into master will decrease coverage by 5.6%.
The diff coverage is 5.88%.

@@            Coverage Diff             @@
##           master    #1346      +/-   ##
==========================================
- Coverage   51.11%   45.51%   -5.61%
==========================================
  Files         134      135       +1
  Lines       13376    13495     +119
==========================================
- Hits         6837     6142     -695
- Misses       5700     6564     +864
+ Partials      839      789      -50

Impacted Files
Coverage Δ

cmd/restic/cmd_catfile.go
5.88% <5.88%> (ø)

internal/backend/b2/b2.go
0% <0%> (-79.93%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-75.35%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-73.9%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-65.6%)
:arrow_down:

internal/backend/swift/config.go
34.37% <0%> (-56.25%)
:arrow_down:

internal/checker/checker.go
72.02% <0%> (+3.83%)
:arrow_up:

Continue to review full report at Codecov.

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

I did not have the time to look at the code yet, but I'd like to find a better name instead of catfile. And I'd like to propose switching the order of the parameters, "  ". What do you think?

Thanks for the suggestions! I am going to change the parameter order.
As for the name, I am not attached to  catfile which I derived by shortening the clunky cat-file-to-stdout that was suggested in #510.  I did not take the time to look for a short one that isn't taken yet (e.g. cat or dump). Maybe dumpfile? I don't really like printfile. catcontent is all over the internet already, so that's out of the question. ;)

I suppose it's already late for this, but I think "catfile" is actually much better than "dump". The latter is too vague, and it invokes associations with functionality that produces lengthy debugging output or something low-level and machine-oriented like this, rather than actual data. Whereas the former unambiguously represents the meaning and intent of the command.

Yeah, I committed with -mand without adding first or using -a and then the push had nothing to do. :-) Corrected now.

Hm, @fawick you need to rebase on master first, otherwise there's the old debug dump command still present.
I don't really like catfile, I'd prefer dump. After all, it may just be a huge binary virtual machine image that is written to stdout.. What about print?

What about print?
"print" suffers from the same drawbacks as "catfile", and doesn't have its advantages. :)

"dumpfile" looks like an acceptable combination of "dump" and "catfile" to me. A bit long, but straightforward.

otherwise there's the old debug dump command still present.
See what I meant? :)

I've removed the dump debug command (which should be only active for debug builds) in master a few days ago, so that's not a problem any more. @fawick what do you think about dumpfile?

According to https://github.com/fawick/restic/commits/cmdCatFile that should already be the case...
I'm only on mobile right now so cannot check what missing here.
On October 14, 2017 11:55:20 AM GMT+02:00, Alexander Neumann<EMAIL_ADDRESS>wrote:

Hm, @fawick you need to rebase on master first, otherwise there's the
old debug dump command still present.
I don't really like catfile, I'd prefer dump. After all, it may
just be a huge binary virtual machine image that is written to stdout..
What about print?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/restic/restic/pull/1346#issuecomment-336624417

I missed to test the build with -tags debug and did not notice the variable and function name clash. I chose to rename the previous cmdDump to cmdDebugDump and runDump to runDebugDump, resp.

We'll go with dump. Thanks!


aki day 28 code

Checklist

[x] You have included a thumbnail image
[x] You have created a new Markdown file to describe your map
[x] You have put at least your name and the map day in the pull request

adding day 29 materials. i'm not sure if html was the best way to upload this! pls lmk if i should just take a screen shot instead


Obs reasignment sillentlly allows you to change obs_names

When adding a whole obs to adata that already has obs_names the index matching is not checked. I would expect adata to complain if newly assigned obs has different index than obs_names.
values=[0,1]
values_rev=values[::-1]
a=sc.AnnData(pd.DataFrame(np.array(values).reshape(-1,1),index=[str(i) for  i in values]))
print('X original\n',a.X)
print('obs names original',a.obs_names)
o=pd.DataFrame(np.array(values_rev).reshape(-1,1),index=[str(i) for  i in values_rev])
a.obs=o
print('obs new\n',a.obs)
print('X new\n',a.X)

# Obs names/order change after adding new obs, but X stays the same
X original
 [[0.]
 [1.]]
obs names original Index(['0', '1'], dtype='object')
obs new
    0
1  1
0  0
X new
 [[0.]
 [1.]]

Thanks for suggestion. Could you give an example of a use case where this causes problems?

I would broadly agree that this is weird. It makes more sense for it to be the obs_names, var_names of the AnnData that the obs.index, var.index.
However, we can't control or see when a user does:
adata.obs.index = ...
adata.obs.set_index(..., inplace=True)

I'm not sure which is weirder. I would suspect the two examples I showed are more common.

So I made an adata without obs (just X with names in var and obs, from an expression data frame). Then at latter point I wanted to add a whole obs df, e.g. adata.obs=df, but this would cause index that is already in adata from creation to change.

What was the index in the new dataframe? Was it the right labels, but in the wrong order? Or a totally different set of labels?

It was right labels in a wrong order. But I would expect an error if totally wrong index and for wrong order not sure if error or reordering (as in pandas)

an example of when this would be an issue is when you're plotting cell data colored by annotation. if the annotation doesn't correspond to the cell it becomes meaningless.


Allow for more customisation of the tracing span

Feature Request
Currently you are providing an ability to include the arguments of the Redis command in the tag of the span, see CommandHandler. This is controlled by a single boolean flag to either include it or exclude those arguments. An example of me doing this is by applying the following Bean in a Spring Application:
@Bean(destroyMethod = "shutdown")
public DefaultClientResources lettuceClientResources(Tracing tracing) {
    return DefaultClientResources.builder()
           .tracing(BraveTracing.builder()
                    .tracing(tracing)
                    .includeCommandArgsInSpanTags(true)
                    .build())
           .build();
}

The usage of this boolean value in the underlying CommandHandler looks like:
if (includeCommandArgsInSpanTags && command.getArgs() != null) {
    span.tag("redis.args", command.getArgs().toCommandString());
}

As this includes all the args, it will include both the key and value for set commands. I would prefer to not have the values of my caches included in my tracing spans but are happy to have the key in there as this will help with debugging.
It would be great if we had more control as a consumer to customise what tags we can include in our Redis Tracing Spans.
Is your feature request related to a problem? Please describe
No
Describe the solution you'd like
One solution that I have been thinking of would be to allow consumers to provide their own functions that can decorate the Spans. It could just even be a BiConsumer<Span, RedisCommand<?, ?>> instead of a boolean value.  The consumer API would look something like:
@Bean(destroyMethod = "shutdown")
public DefaultClientResources lettuceClientResources(Tracing tracing) {
    return DefaultClientResources.builder()
           .tracing(BraveTracing.builder()
                    .tracing(tracing)
                    .addSpanDecorator((span, command) -> {
                          // I could add the existing logic in here if I want
                          if (command.getArgs() != null) {
                              span.tag("redis.args", command.getArgs().toCommandString());
                          }
                     })
                    .addSpanDecorator((span, command) -> {
                         // or I can supply my own custom logic, multiple decorators should be allowed
                         span.tag("redis.something", "value");
                     })
                    .build())
           .build();
}

Depending on what we want to do with the existing boolean flag we could allow the existing functionality and new functionality to work together:
@Bean(destroyMethod = "shutdown")
public DefaultClientResources lettuceClientResources(Tracing tracing) {
    return DefaultClientResources.builder()
           .tracing(BraveTracing.builder()
                    .tracing(tracing)
                    .includeCommandArgsInSpanTags(true)
                    .addSpanDecorator((span, command) -> {
                         span.tag("redis.something", "value");
                     })
                    .build())
           .build();
}

Under the hood both the includeCommandArgsInSpanTags and addSpanDecorator could use the same underlying list of "SpanDecorators".  For example:
public class BraveTracing implements Tracing {

    private final BraveTracer tracer;
    private final BraveTracingOptions tracingOptions;
    private final List<BiConsumer<Span, RedisCommand<?, ?>> spanDecorators;

...

        public Builder includeCommandArgsInSpanTags(boolean includeCommandArgsInSpanTags) {

          // obviously we would need to be smart with how this would work if I make
          // multiple calls to this or the excludeCommandArgsFromSpanTags method.
           if (includeCommandArgsInSpanTags) {
                     spanDecorators.add((span, command) -> {
                            if (command.getArgs() != null) {
                              span.tag("redis.args", command.getArgs().toCommandString());
                          }
                     });
           }
            return this;
        }

Note instead of a BiConsumer we could create our own Functional Interface, e.g. name it SpanDecorator or SpanCommandDecorator, etc. Up for suggestions.
Describe alternatives you've considered
There is currently the spanCustomizer but that does not seem to have any extra information coming from the actual command that is being performed. This could be something that could be extended with more information but I am not sure if that is possible.
Teachability, Documentation, Adoption, Migration Strategy
If the main solution is considered the way to go, this would not be a breaking change and therefore no migration documentation or other information would be needed. This should just be documented like any other feature with this libraries tracing.

Thanks for bringing up this issue. It touches both, the SPI and the Brave Tracer implementations. Looking at the code, we have Span.start() and Span.finish() and a bit of code that associates the spans with some metadata in CommandHandler.
I'm considering to overload start and stop methods so they accept a RedisCommand object.  Tracer.Span is an abstract class so we can make both methods default implementations calling start() and stop() without the command so downstream implementations are not broken. This way, we can move invocation of .name, .tag and .remoteEndpoint to the inside of BraveSpan which is the first part to associate spans with more command details and we could introduce this change in a service release without waiting for Lettuce 6 GA.
The second step would be adding an overload to spanCustomizer that accepts a BiConsumer<Span, RedisCommand<Object, Object, Object>> so we can reuse the existing customizer approach but with more context.
Let me know what you think about it.

That's in place now.


Drop unused tables

We should drop the following tables from the database and any controllers/models/routes associated with them since they are no longer used:

file_types
file_uploads,
friendly_id_slugs
question_format_labels (part of dmptool migration that is no longer used)
regions
splash_logs

notes added to DB cleanup #1382 - closing this issue


what does it mean AIT?

what does it mean AIT

@errezeta67 AIT is Active Insulin Time and is only 1 of 2 things you control in AutoMode but the app calculates if differently than the pump. The pump displays AIT for your Bolus ONLY. But to control AIT you need real AIT which includes basal insulin (true AIT).
The AIT Graph shows true AIT, and this graph should never hit 0. There are 2 algorithms used to display the data, one plots using the value you entered in your pump, the advanced algorithm more accurately reflects what your body is doing with Humalog or FIASP type insulin. I recommend Advanced but you can select and easily change.
If this answers your question, please close or ask additional questions here.


Make UI translatable

Find a good way to handle translation with Flask, in order to provide EN and IT versions.

Closed with flask_babel from release 0.2.1


gutil.colors.stripColor is not a function

gutil.colors is an instance of Chalk, which recently removed the stripColor method here.
I'm now getting this error any time a SASS error is encountered. Stack trace:
TypeError: gutil.colors.stripColor is not a function
    at errorM (/Users/jake/Repos/monolist-web/node_modules/gulp-sass/index.js:129:36)
    at Object.callback (/Users/jake/Repos/monolist-web/node_modules/gulp-sass/index.js:144:18)
    at options.error (/Users/jake/Repos/monolist-web/node_modules/gulp-sass/node_modules/node-sass/lib/index.js:280:32)

I'm having the same issue.

I've put out a simple fix in #459

This looks like a temporary blip in a bad release. The bad release has since been removed from npm.
More information in https://github.com/chalk/chalk/issues/106

This issue is now re-occuring again on gulp-sass, with the release of Chalk 2.0 a week or two ago. In https://github.com/chalk/chalk/releases/tag/v2.0.0 they tell us to use strip-ansi as used by this temporary fix. Could you please merge this fix?

Bump

Having issues here too.

@Lemmmy I made a temporary dirty workaround with:
# CoffeeScript
## -------------------------------
##   Dirty fix for gulp-sass#458
## -------------------------------
require 'gulp-util'

require.cache[
    Object.keys(require.cache)
        .find((x) -> x.indexOf('gulp-util/index') >= 0)
].exports.colors.stripColor = require 'strip-ansi'
## -------------------------------

or
// JavaScript
// -------------------------------
//   Dirty fix for gulp-sass#458
// -------------------------------

require('gulp-util')

require.cache[
    Object.keys(require.cache)
        .find((x) => x.indexOf('gulp-util/index') >= 0)
].exports.colors.stripColor = require('strip-ansi')
// -------------------------------

but I'd like to see it fixed here


fix: form field default icon color

set icon button color gray-500 while render in form.

Results:
Before

After

Related ticket:
https://openedx.atlassian.net/browse/VAN-523

set alert child content div width 100 %.

Results:
Before fix in paragon

Expected result

Related ticket:
https://openedx.atlassian.net/browse/VAN-601

Coverage remained the same at 90.253% when pulling 8b98daf5fd2a2f2186d546806eb09fd9a7a0e079 on icon-button-color/VAN-523 into 9678b478757a1976a58262bf9b7baab11e9a61c3 on master.

Hello @abutterworth, could you please take a look if these changes make sense?

A couple comments. Other than the suggestions and the !important flags it looks good. Let me know if removing !important is problematic.

@abutterworth Thanks for suggestions. I update PR according to your comments. But removing !important is problematic because IconButton component class override color and background color. That's why we are using !important. If there is any other solution better than existing let us know, we will look into that.

:tada: This PR is included in version 14.16.10 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Volume control?

Hi!
I've been using audio.js in a recent project, and I would like to know what are the best way to control the volume for the Flash alternative player?
For the HTML5 player, it's easily done with (adapted for whatever library used):
var volume = document.getElementById('volume');
volume.addEventListener('change', function(){
    audio.volume = parseFloat(this.value / 10);
}, false);

but what about the Flash player? Is there a built-in way to control its volume via JavaScript?
Thanks in advance!
Best,
Max

Can use the same volume as in https://github.com/dz0ny/AudioJS?


JASMY listing not detected

https://www.binance.com/en/support/announcement/f86958f1977248a691d752da735be408

listing not detected! what is the problem there??

Same here. No sign in the logs about the JASMY listing.


Automated cherry pick of #2029: fix: avoid region2 panic when update openstack storage

Cherry pick of #2029 on release/2.10.0.
#2029: fix: avoid region2 panic when update openstack storage

/lgtm

/approve


Merge Envoy mobile code into the Envoy repo

Almost all files are copied from envoy-mobile repo to envoy/mobile  Source of truth for mobile changes is still envoy-mobile.  @alyssawilk is doing updates until we flip source of truth to envoy/mobile.
TODO:

run relevant Envoy workflows when dependencies are bumped (phlax)

Thursday(ish) switch source of truth from envoy-mobile to envoy/mobile

copy over PRs which have landed since then
notify on various slack channels / notify on PRs in flight

Post-move

fix up / move github release cron jobs
Circleci functionality (e.g. docs) https://github.com/envoyproxy/envoy/pull/24295
Update references to envoyproxy/envoy-mobile repo in source code and docs (Tackle after Thursday)
Archive envoyproxy/envoy-mobile repo (Tackle after release workflows moved over)

Known missing things
-- swift lint because I can't get it to work.
-- perf (https://github.com/envoyproxy/envoy/pull/24153)
-- release validation
-- release
-- all cron workflows (weekly release, release, etc)

perf turned up in  (https://github.com/envoyproxy/envoy/pull/24153)

@jpsim @Augustyniak I think we're at a point we should flip source of truth to the Envoy repo, and do a weekly copy into the E-M repo until we fix up tagging and releases.  I've snagged some time on JP's calendar to talk about it next week on the assumption he'll find a time that works and invite whoever is relevant on the Lyft side.

Some other migration tasks that come to mind:

Update references to envoyproxy/envoy-mobile repo in source code and docs
Enable /retest for GitHub Actions: https://github.com/envoyproxy/envoy/issues/24156
Archive envoyproxy/envoy-mobile repo

Related fix: https://github.com/envoyproxy/envoy/pull/24228

run relevant Envoy workflows when dependencies are bumped (phlax)

Done in https://github.com/envoyproxy/envoy/pull/24407

fix up / move github release cron jobs

This still needs to be done. We discussed this at last week's Envoy Mobile community call, but didn't come to a clear conclusion.

Archive envoyproxy/envoy-mobile repo (Tackle after release workflows moved over)

This was mostly done, GH Actions were disabled, a note was added to the readme saying the repo is archived.
I haven't gone and fully marked the repo as archive using GitHub's tools because that would also lock down issues, and we're still using those for the time being.

Let's close this. We can open new tickets if/when we want to fully archive the previous envoy-mobile repo or re-introduce deploy CI jobs.


gatt_server_service_table demo pairing (IDFGH-11830)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
I've got a project successfully running using the "gatt_server_service_table demo" for the ESP32 C3. However there doesn't appear to be any support for Bluetooth pairing? Is it possible to pair to the ESP32 running this code to gain the additional security benefits of paired devices?

@skanky-dev
Yes, the GATT server service table demo does not support pairing. If you intend to leverage security features, please refer to the following example
https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/bluedroid/ble/gatt_security_server

Thanks very much for your answer


Add Deptrac to Static Analysis

https://github.com/sensiolabs-de/deptrac

Deptrac is a static code analysis tool that helps to enforce rules for dependencies between software layers in your PHP projects.
For example, you can define a rule like "controllers may not depend on models". To ensure this, deptrac analyzes your code to find any usages of models in your controllers and will show you where this rule was violated.

Thanks.


✨ Support new shortcut type DynamicNamedShortcut or DynamicShortcutMap

Hi 👋🏻
I have been using UnoCSS for my project Anu and it is doing really great ❤
One thing I am missing is support for named dynamic shortcuts.
Why?
Excluding dynamic shortcuts, we can merge shortcuts easily using defu or simple Object.assign. However, if we introduce dynamic shortcuts we have no way to override them because there's no key-value pair to override with dynamic shortcuts.
I noticed there's already StaticShortcutMap so I think adding DynamicShortcutMap will be more convenient for libs.
Thanks.

The map is used for faster lookup and better perf. But since dynamic shortcuts can be regex or function based, what do you expect the key to be?

Hi,
Glad to hear from you ☺

The map is used for faster lookup and better perf. But since dynamic shortcuts can be regex or function based, what do you expect the key to be?

The key should be a string just like DynamicShortcutMap and the value will be regex/function (current type).
For better understanding let me explain the scenario:
Assume we have shortcuts like in some preset:
const defaultShortcuts = {
  'a-btn': 'px-3 py-4',
}

and we allow users to override the shortcuts as per their needs in the final preset. To implement this feature we just have to accept the object from the user and we can merge two objects:
interface PresetOptions {
  shortcutOverrides?: Exclude<Preset['shortcuts'], undefined>
}

export const presetFlexible = (options?: PresetOptions = {}): Preset => {
  return {
    name: 'preset-flexible',
   // other...
  shortcuts: options.shortcutOverrides
      ? Object.assign(shortcuts, options.shortcutOverrides)
      : defaultShortcuts
  }
}

With this, if the user wants to change how buttons styles are generated:
presets: [
  presetFlexible({
    'a-btn': 'px-4 py-6' // user shortcut overrides
  })
],

Simple, right?
However, this is not the case with dynamic shortcuts where we have to use Array as shortcuts:
const defaultShortcuts = [
  // dynamic shortcut
  [/^btn-(.*)$/, ([, c]) => `bg-${c}-400 text-${c}-100 py-2 px-4 rounded-lg`],

  // static shortcut
  { 'a-btn': 'px-3 py-4' },
]

With the above shortcuts, we can't merge user overrides with default shortcuts via Object.assign or defu.
However, if we allow adding key (naming it) for dynamic shortcut like:
const defaultShortcuts = {
  // dynamic shortcut
  'a-btn-color': [/^btn-(.*)$/, ([, c]) => `bg-${c}-400 text-${c}-100`],

  // or we can also prefix `$` to identify its dynamic shortcut (however I don't know if this will conflict with CSS var generation)
  // '$a-btn-color': [/^btn-(.*)$/, ([, c]) => `bg-${c}-400 text-${c}-100`],

  // static shortcut
  'a-btn': 'px-3 py-4',
}

Now, with above and our existing Object.assign strategy user can simple override button color via:
presets: [
  presetFlexible({
    'a-btn-color: [/^btn-(.*)$/, ([, c]) => `bg-${c}-500 text-${c}-100 bg-opacity-50`],
    'a-btn': 'px-4 py-6' // user shortcut overrides
  })
],

I hope I have provided a clear explanation and a valid feature request.
Thanks for your time.

I don't know the inner workings of UnoCSS and how it parses and compiles the style but I will try to make a PR.
Please guide me on the PR.

Sorry, I tried to update the code to resolve this issue but I couldn't even find where should I update the code 😆

Oh, I found it and made a PR. Thanks :)

To resolve the final outcome of this query is properly merging the preset overrides so does uno have utility to merge/override the preset and its options?
If we have a merge utility then we can use that utility instead of defu for merging the shortcuts.

After studying unocss types carefully and with help from @zyyv I was able to resolve the query without any need for an additional type.
This is how user can override the preset shortcuts:
interface PresetOptions {
  shortcutOverrides?: Exclude<Preset['shortcuts'], undefined>
}

const shortcuts: Exclude<Preset['shortcuts'], undefined | StaticShortcutMap> = [...]

export function presetThemeDefault = (options: PresetOptions = {}): Preset => {

  // other

  shortcuts: options.shortcutOverrides === undefined
    ? shortcuts
    : Array.isArray(options.shortcutOverrides)
      ? [...options.shortcutOverrides, ...shortcuts]
      : [...Object.entries(options.shortcutOverrides), ...shortcuts],

}

Thanks so much for the inputs and help 🙏🏻
Regards.


Application start problem

Can some one confirm that the app doe not work directly?
node: 0.12, Ubuntu 14.04

Did you run npm install? And if you did what error is being thrown?

I did run npm install, strangely, there were no errors

Hi @kokujin!
I'm closing this right now because it's old and I can't reproduce it.
If you still have that issue (and you are still interested in finding and fixing it)
feel free to reopen it.
Have a nice day and happy coding.


Add cancellation endpoint

Adds cancellation endpoint to sdk. This is being added to support cancellation in the P2P app

Wrong approach to adding endpoint. Needs to be added in external-api


Snowflake Database resource having with_replication throwing error [errors.go:17] object does not exist or not authorized

Terraform CLI and Provider Versions
Terraform CLI = 1.7.3
provider = 0.87.2
Terraform Configuration
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"] will be updated in-place
  ~ resource "snowflake_database" "database" {
        id                          = "DB_DATACLOUD_DEV_DROPME"
        name                        = "DB_DATACLOUD_DEV_DROPME"
        # (3 unchanged attributes hidden)

      + replication_configuration {
          + accounts             = [
              + "wpp.choreograph_techops_npd_2",
              + "wpp.choreograph_techops_npd_3",
            ]
          + ignore_edition_check = true
        }
    }

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

Warnings:

- Resource targeting is in effect
- Argument is deprecated
  on main.tf line 5 (and 1 more)
- Deprecated Resource
  on .terraform/modules/roles/snowflake/roles/main.tf line 31 (and 37 more)

To see the full warning notes, run Terraform without -compact-warnings.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"]: Modifying... [id=DB_DATACLOUD_DEV_DROPME]
╷
│ Warning: Applied changes may be incomplete
│
│ The plan was created with the -target option in effect, so some changes
│ requested in the configuration may have been ignored and the output values
│ may not be fully updated. Run the following command to verify that no other
│ changes are pending:
│     terraform plan
│
│ Note that the -target option is not suitable for routine use, and is
│ provided only for exceptional situations such as recovering from errors or
│ mistakes, or when Terraform specifically suggests to use it as part of an
│ error message.
╵
╷
│ Warning: Argument is deprecated
│
│   with provider["registry.terraform.io/snowflake-labs/snowflake"],
│   on main.tf line 5, in provider "snowflake":
│    5: provider "snowflake" {
│
│ use the [file
│ Function](https://developer.hashicorp.com/terraform/language/functions/file)
│ instead
╵
╷
│ Error: error enabling replication configuration on DB_DATACLOUD_DEV_DROPME err = [errors.go:17] object does not exist or not authorized
│
│   with module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"],
│   on .terraform/modules/databases/snowflake/databases/main.tf line 10, in resource "snowflake_database" "database":
│   10: resource "snowflake_database" "database" {
│
╵
ERRO[0011] terraform invocation failed in /Users/satya.rai/Documents/Satya/git-repos/AAA-IAC-Snowflake-run-test/projects/wpp-choreograph-techops-npd-1/.terragrunt-cache/jwmvTF7yK3J7ySs5cl9RmWaSl5s/C-qDR1v5h42PkhzkYsQAQqWGr-0  prefix=[/Users/satya.rai/Documents/Satya/git-repos/AAA-IAC-Snowflake-run-test/projects/wpp-choreograph-techops-npd-1]
ERRO[0011] 1 error occurred:
	* [/Users/satya.rai/Documents/Satya/git-repos/AAA-IAC-Snowflake-run-test/projects/wpp-choreograph-techops-npd-1/.terragrunt-cache/jwmvTF7yK3J7ySs5cl9RmWaSl5s/C-qDR1v5h42PkhzkYsQAQqWGr-0] exit status 1

Expected Behavior

Code should set a replication
State file should not get updated if apply fails. In this case even after the error the state file makes it success and the next run of terraform will not report missing replication config

Actual Behavior
Error: error enabling replication configuration on DB_DATACLOUD_DEV_DROPME err = [errors.go:17] object does not exist or not authorized
Steps to Reproduce

terraform apply

How much impact is this issue causing?
Medium
Logs
https://gist.github.com/satprarai/fdba7d8ed5808a8ca7e66c6ee2e77794
Additional Information
No response

Hey @satprarai
The logs are not complete, but my first guess is that account names are incorrect (it's case-sensitive). Please provide full logs (unless case-sensitive account names fix your issue).

@sfc-gh-jcieslak - I can create databases on the same account, just can't add replication, here is the full log
`NYCGRMSDRAIMAC:wpp-choreograph-techops-npd-1-clone satya.rai$ terragrunt apply
module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"]: Refreshing state... [id=DB_DATACLOUD_DEV_DROPME]
module.databases.snowflake_database.database["DB_SOMENAME"]: Refreshing state... [id=DB_SOMENAME]
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
~ update in-place
Terraform will perform the following actions:
module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"] will be updated in-place
~ resource "snowflake_database" "database" {
id                          = "DB_DATACLOUD_DEV_DROPME"
name                        = "DB_DATACLOUD_DEV_DROPME"
# (3 unchanged attributes hidden)
  + replication_configuration {
      + accounts             = [
          + "wpp.choreograph_techops_npd_2",
          + "wpp.choreograph_techops_npd_3",
        ]
      + ignore_edition_check = true
    }
}

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

Resource targeting is in effect
Argument is deprecated
on main.tf line 5 (and 1 more)
Deprecated Resource
on .terraform/modules/roles/snowflake/roles/main.tf line 31 (and 8 more)

To see the full warning notes, run Terraform without -compact-warnings.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"]: Modifying... [id=DB_DATACLOUD_DEV_DROPME]
╷
│ Warning: Applied changes may be incomplete
│
│ The plan was created with the -target option in effect, so some changes
│ requested in the configuration may have been ignored and the output values
│ may not be fully updated. Run the following command to verify that no other
│ changes are pending:
│     terraform plan
│
│ Note that the -target option is not suitable for routine use, and is
│ provided only for exceptional situations such as recovering from errors or
│ mistakes, or when Terraform specifically suggests to use it as part of an
│ error message.
╵
╷
│ Warning: Argument is deprecated
│
│   with provider["registry.terraform.io/snowflake-labs/snowflake"],
│   on main.tf line 5, in provider "snowflake":
│    5: provider "snowflake" {
│
│ use the file
│ Function
│ instead
╵
╷
│ Error: error enabling replication configuration on DB_DATACLOUD_DEV_DROPME err = [errors.go:17] object does not exist or not authorized
│
│   with module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"],
│   on .terraform/modules/databases/snowflake/databases/main.tf line 10, in resource "snowflake_database" "database":
│   10: resource "snowflake_database" "database" {
│
╵
ERRO[0016] terraform invocation failed in /Users/satya.rai/Documents/Satya/git-repos/AAA-IAC-Snowflake-run-test/projects/wpp-choreograph-techops-npd-1-clone/.terragrunt-cache/xSmy46PkfwymIuscUSyRFtgaJPY/C-qDR1v5h42PkhzkYsQAQqWGr-0  prefix=[/Users/satya.rai/Documents/Satya/git-repos/AAA-IAC-Snowflake-run-test/projects/wpp-choreograph-techops-npd-1-clone]
ERRO[0016] 1 error occurred:
* [/Users/satya.rai/Documents/Satya/git-repos/AAA-IAC-Snowflake-run-test/projects/wpp-choreograph-techops-npd-1-clone/.terragrunt-cache/xSmy46PkfwymIuscUSyRFtgaJPY/C-qDR1v5h42PkhzkYsQAQqWGr-0] exit status 1
NYCGRMSDRAIMAC:wpp-choreograph-techops-npd-1-clone satya.rai$`

Sorry, forgot to mention, but you have to set the TF_LOG=DEBUG environment variable for me to see what SQLs are being run.

Hey @satprarai. We also recently fixed the behavior of the account ids that were working by accident. Please try using the account locator instead of the orgname.accountname syntax (read more in https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#behavior-change-external-object-identifier-changes).

Thanks for the help. The account name is case-sensitive hence it was failing.
FYI - the Account-URL still works.
 # module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"] will be updated in-place
  ~ resource "snowflake_database" "database" {
        id                          = "DB_DATACLOUD_DEV_DROPME"
        name                        = "DB_DATACLOUD_DEV_DROPME"
        # (3 unchanged attributes hidden)

      + replication_configuration {
          + accounts             = [
              + "WPP.CHOREOGRAPH_TECHOPS_NPD_2",
              + "WPP.CHOREOGRAPH_TECHOPS_NPD_3",
            ]
          + ignore_edition_check = true
        }
    }

Plan: 0 to add, 1 to change, 0 to destroy.
...
..
module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"]: Modifying... [id=DB_DATACLOUD_DEV_DROPME]
module.databases.snowflake_database.database["DB_DATACLOUD_DEV_DROPME"]: Modifications complete after 0s [id=DB_DATACLOUD_DEV_DROPME]

Warnings:

Hey @satprarai
I'm glad it works now. I'm closing the issue, but we'll revisit this part to take a closer look during the identifiers rework.


kdevelop: 5.2.4 -> 5.3.1, bump llvm version used from 3.8 to 7

Motivation for this change
There have been some changes in kdevelop which prevented a simple version bump from compiling on NixOS. I've bumped the version and provided a fix so it will compile. I tested a brand new project with kdevelop and everything is working fine. Testing an existing project I had with kdevelop is not properly working.
I would appreciate anyone else who uses kdevelop to test this if possible and provide feedback. I'll try to follow up with kdevelop devs on troubleshooting to see what the issue might be and if it is specific to my project, or a problem with kdevelop 5.3.1 on NixOS (ie. this PR).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review-january/2002/4

At this point I've done enough testing I feel the PR is fine for merge.
Thanks!


pocketsphix installation error on windows

Which version of textract are you trying to install? As of version 1.6.2, available with pip install git+https://github.com/deanmalmgren/textract.git, pocketsphinx is an optional dependency. If you do need pocketpshinx, the issue you're encountering is related to installing pocketsphinx and not textract.
It looks like you're missing some requirements to install pocketsphinx, specifically Microsoft Visual C++ 14.0 as the error message states. You can find installation instructions on the pocketpshinx github page.

I'm closing this issue due to inactivity. If you still encounter the issue with the latest version of textract, feel free to leave a comment with additional information and I'll reopen the issue.


Not able to signup with email at app.agentops.ai

I try to signup at:
https://app.agentops.ai/signin (note endpoint ! )
with my email, but after entering username / pwd, it drops an error.

Unable to login at all. Github allows me to set up, however, stuck on a blank canvas with options on the side. If you click an icon, it sends you back to https://app.agentops.ai/welcome

@NEWLEV Can you post a screenshot of what you mean? I think it's a related but separate issue from what OP has

I try to signup at: https://app.agentops.ai/signin (note endpoint ! ) with my email, but after entering username / pwd, it drops an error.

Looks to be an issue with our auth flow. @ddtch @HowieG Let's investigate ASAP

Good evening,I initially tried creating an account but it would continue to load as if I were signing in. I was able to login via github. Attached are the requested screenshots. Thanks!Regards,Pierre Montalvo
      On Dec 8 2024, at 6:15 pm, Alex Reibman<EMAIL_ADDRESS>wrote:

@NEWLEV Can you post a screenshot of what you mean? I think it's a related but separate issue from what OP has
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Hey @NEWLEV + @vanetreg we've fixed this error-- can you try again and let us know?

Good afternoon,I'm still experiencing the same issue. Basically all links with exception to Docs - Report a Bug aren't responding. This includes Profile, billing, etc. However, Logout works. Once you try to log back in, you get the welcome screen and need to resubmit the "Before you get started" survey.Regards,Pierre Montalvo
      On Dec 10 2024, at 1:27 pm, David<EMAIL_ADDRESS>wrote:

I think this is solved. But would be nice ti check all emails like, restore password, magic link sign in etc
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Good afternoon,I'm still experiencing the same issue. Basically all links with exception to Docs - Report a Bug aren't responding. This includes Profile, billing, etc. However, Logout works. Once you try to log back in, you get the welcome screen and need to resubmit the "Before you get started" survey.Regards,Pierre Montalvo On Dec 10 2024, at 1:27 pm, David @.> wrote: I think this is solved. But would be nice ti check all emails like, restore password, magic link sign in etc —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.>

Hey @NEWLEV --I suspect you may have some sort of VPN or firewall causing this issue. Is that possibly the case?
Also we can help debug with you 1:1. Can you shoot me a private note to<EMAIL_ADDRESS>?

@vanetreg @NEWLEV Are you all still facing this issue?


To all the developers on the Hubitat platform

Last night I made this statement:
https://community.hubitat.com/t/z-wave-storms-looks-like-he-hubs-fault/46176/59
Today I am banned.  Read it through.  Tell me why it warrants a ban.  Then decide based on that answer if this is really the company you want to be dedicating your time and talents towards.

Hubitat is a product. It's a product I purchased. It's no different than any other appliance I own. I am not "dedicated" to it by any means. It currently meets my needs. If it continues to meet my needs, I will continue to use it. If it fails to meet my needs, it'll end up with my SmartThings when it stopped meeting my needs,  in the trash can. If you're unhappy with it just do like you said, move on to something else.
Hubitat is a for profit company. It's not a forum for free speech. If they want to ban you because your username had the letter "a" in it, they can. I've bought products from companies that are far worse. Hell, Apple, Google, and any other big hardware manufacturer has been accused of child labor, slavery, price fixing, sabotage, etc. Not good stuff. In the grand scheme of things, them deciding the type of speech they want on their product forum and perhaps banning a user doesn't really get me riled up. If Hubitat no longer meets your needs, use one of the other competing products. You're a smart guy and I know you're more than capable of getting any of the other platforms up and running.
The fact is, it works for me. I'm not on a crusade to make sure it works for every other consumer out there. If it does have Z-Wave issues for others, honestly, it's not my problem. At the end of the day mine is fine with nearly 80 Z-Wave devices. I feel bad for those affected by a possible bug, but it's really no harm done to me. I will continue to use it and to make tools that make my own experience with it better. I don't see any reason to do anything different.
I'm not looking to get into a "whose right?" debate. Would I have banned you? No. But you know what? I also wouldn't have pulled all my code that other people were using off of github because of a disagreement. So I don't really agree with either side here. I will keep using the product and building solutions for it for as long as it suits my needs and I find it interesting. If that changes, then I'll move on to something better. I'm a capitalist. Right now it's the best product I've found. If a day comes that it isn't, I vote my my wallet.

If you calling the reason I pulled support for Hubitat a "disagreement" then you haven't been paying attention or don't care to.
This is not a "who's right" debate and the "mine is fine" excuse is poor.  Given the current climate I hope you try that with the important political and social movements and initiatives and see how that flies.  There is somebody worse is a poor excuse.  Have a backbone.
    Have you really drank the koolaid this deeply?

Please use the issues on this package to report issues with this package.


Calling next twice inside a route handler

I had a bug where I had a chain of middleware and accidentally called next() twice inside a single middleware. This caused the next middleware, which was async in nature, to be ignored since the handler after that was the final route handler.
Perhaps it would be nice to only allow a middleware to call next() once and throw an error after that?
Just wanted to bring this to the maintainers attention to make sure this is functionality that is desired.

Hi! Yes, we want to add that validation, but are unable to in 4.x because for whatever reason people are abusing that currently. We plan to validate this in 5.x

Existing discussion on this topic is here: #2701

https://xkcd.com/1172/

@merpnderp :) Sadly, that is pretty accurate for projects with extreme user bases :(


Item total

The following receipt with partial count items cannot be printed
0.5 * 15.05 = 7.53
0.5 * 15.05 = 7.53
Total is 15.06 and we send as payment
But BgFiscalPrinter.cs calc itemsTotalAmount 15.05, because no rounding in each row and display error.
We tried to send the same receipt with payment 15.05 to pass ErpNet.FP defense. Then the receipt is annulated because, fiscal device calc price 15.06 and payment amount not fit.
To make itemsTotalAmount calc like device, will need round itemPrice to second digit:
itemsTotalAmount += itemPrice;
https://github.com/erpnet/ErpNet.FP/blob/d46714f0e3265ecece4826a50beddb2b3e043b64/ErpNet.FP.Core/Drivers/BgFiscalPrinter.cs#L149

There are two kinds of rounding (to the second digit). Which kind of rounding is used by the device, because we should use the same method for Midpoint rounding?
A) Away From Zero - When a number is halfway between two others, it is rounded toward the nearest number that is away from zero.
B) To Even - When a number is halfway between two others, it is rounded toward the nearest even number.

Notice that quantity and unitPrice are rounded by fiscal devices to 3 and 2 digits past floating-point too.
The rounding is always A) Away From Zero. Banker's rounding B) is pretty uncommon.

https://docs.microsoft.com/en-us/dotnet/api/system.midpointrounding?view=netcore-3.0
There are 3 more methods: To NegativeInfinity, To PositiveInfinity, To Zero.

So, we will use the Midpoint rounding "Away from Zero"? Please confirm, and we will implement it.
Of course for quantity and unitPrice also.

Yes, in current case the device use "Away from Zero" method.

Ok, so confirmed. Before computation rounding of quantity (3-rd digit) and unitPrice (2-nd digit), after multiplication the result will be rounded to the second digit. Method Away from Zero.


Tt

@PotyS , please close this, or edit it to provide more details.
ping @zostera

Closed, no description.


AlignOpt for multirec

I think the alignment optimization for the multirec case has to be slightly changed.
In essence, we can not always optimize away the insertion followed by deletion, but can only do so in the case that we could actually match the atoms at the previous step.

closed on f64483acbce14c06008d78d80451f4bcf4b37e7a

Actually that is not correct, I made another branch with some changes, this is hopefully correct (I also added some test cases there) b3a096acdb10036ff516204b13d1f369ff92878f


Infinite loop

Used mapster adapt method and dotnet project is broked and throw 503 after that error.
I used set null child data to stop infinite loop error, but this is wrong, what should we do about that ?
Note: it's not throwing a proper error.

My guess is it should related to circular reference. By default, Mapster doesn't track object for you.
Please check out this (PreserveReference, MaxDepth, ShallowCopyForSameType).
I will close for now. Please reopen if you still have issue.


New feature: support for more press wheels

The latest printables support changing wheels and there are also user such as myself who will want support for their own language, that has other or more characters than A-Z.
One suggestion from Andrei:

On the settings there could be a text form to write all the 43 characters present on the wheel, so they would be supported (today there is a Regex to validate the chars) and transmitted to the machine.

in theory it should be possible to move the whole mapping into a string modified from the settings, but with the caveat that the "special" characters such as CUT, 0, 1 would need to be present and in the same place on all wheels used.
But having a regex in the settings could at least ease the experience of a somewhat arduino-savvy user, modify the character map and the string in the ui and you are done. or if there is a list of different wheels already implemented in the future, those with a "new" layout could add theirs to the list.
Also a thought, should the character map be moved into an own file? or reside in opt_config? It's a bit hidden right now.

Moving it into its own file and creating a bit of extra documentation for using different dasy wheels would definitley be cool. For me p. ex. it's quite hard to get a uppercase english wheel without importing it (I refuse to pay 7€ import tax for a 2,50€ item) so it would be quite handy to be able to use a european version (or the lower case version, as that is for some reason available as well...).

So, these are the types of daisy wheels that I have here with me. Are we talking about the same models?

From left to right:

Spec A (currently supported): alphanumeric upper-case plus ♡☆♪€@
Spec B (@skrutt?): alphanumeric upper-case plus  ÄÖÜÅÆ
Spec C (@sedorr?): alpha lower-case plus '"#$@♂☏♀ (and another one I'm not sure what it is right now.)

A study need to be made on compatibility with daisy wheels with differing character quantities. The Spec C has 36, instead of the original 43 with A and B.

For a hard coded way to make it work with any 43-char daisywheel (Spec A/B):
Firmware:

modify the respective characters

Web App:

modify "regex" in the useRegex function

Now... Sketching below an idea for how it would work in an user friendly way (user configures everything through the web app).
Settings page (Web app):

have a text input form to write all the characters present on the wheel (need to check if all special characters will be transmittable);
by setting it, inform the validation Regex on the app (might need a local config cache file, need to see if that will work with a web app);
transmit the character string to the machine.

Firmware:

if a new character set is received, parse to determine the amount of characters (for instance, the lowercase daisywheel has 36 chars, instead of 43)
save the character string to flash memory (if nothing is read from this address, assume standard characters (spec A)
reboot, check flash memory for charset
merge the charset to the numbers and positions (need to investigate if that can be made on the fly)
on start, the web app must receive the charset in which the device is configured through the API.

Device:

investigate the compatibility with number of chars different than 43.

Documentation:

information of all available daisywheels, and how to change them (both on web app & physically on device)
charset strings ready to be pasted on app settings, for all daisywheel Specs.

PS: for the 0/O and 1/I optimization, I guess the treatment could be kept whatever would be the daisywheel.

B & C is what I can get. The Motex I recently ordered Is Spec B as well.
I just searched around a bit and it seems like these three wheels are all that you can get, so you can probably get away with just making three presets to choose from.
If there are really only three variants then the only use case for allowing people to define their own charset would be for people ho actually make their own 3d printed daisy wheels.

Yes, i have the spec B, Nordic wheel.
I would place a vote for predefined presets(1,2,3), for "the most common"
wheels. If there are only these three, then that should be quite easy...
If needed/wanted, then have a user defined (preset 4?), Custom variant.
This can then be a future update, since it's more work and more exotic.
Just to state the obvious; you need some kind of preset or selection
between different wheels in order for changing wheels to be useful,
otherwise each time you change the wheel you also need to update the
character string and then you'd need a reference source for this.
On Tue, Apr 18, 2023, 22:41 Andrei Speridião @.***>
wrote:

So, these are the types of daisy wheels that I have here with me. Are we
talking about the same models?
[image: image]
https://user-images.githubusercontent.com/15098003/232891044-63235768-2240-4e1d-bbc6-94f62f2af4da.png
From left to right:

Spec A (currently supported): alphanumeric upper-case plus ♡☆♪€@
Spec B @.*** https://github.com/skrutt?): alphanumeric
upper-case plus ÄÖÜÅÆ
Spec C @.*** https://github.com/sedorr?): alpha lower-case plus
'"#$@♂☏♀ (and another one I'm not sure what it is right now.)

A study need to be made on compatibility with daisy wheels with differing
character quantities. The Spec C has 36, instead of the original 43 with A
and B.
For a hard coded way to make it work with any 43-char daisywheel (Spec
A/B):
Firmware:

modify the respective characters
https://github.com/andreisperid/E-TKT/blob/main/src/LabelMaker.cpp#L137

Web App:

modify "regex" in the useRegex function
https://github.com/andreisperid/E-TKT/blob/main/data/script.js#L271

Now... Sketching below an idea for how it would work in an user friendly
way (user configures everything through the web app).
Settings page (Web app):

have a text input form to write all the characters present on the
wheel (need to check if all special characters will be transmittable);
by setting it, inform the validation Regex on the app (might need a
local config cache file, need to see if that will work with a web app);
transmit the character string to the machine.

Firmware:

if a new character set is received, parse to determine the amount of
characters (for instance, the lowercase daisywheel has 36 chars, instead of

save the character string to flash memory (if nothing is read from
this address, assume standard characters (spec A)
reboot, check flash memory for charset
merge the charset to the numbers and positions (need to investigate
if that can be made on the fly)
on start, the web app must receive the charset in which the device
is configured through the API.

Device:

investigate the compatibility with number of chars different than 43.

Documentation:

information of all available daisywheels, and how to change them
(both on web app & physically on device)
charset strings ready to be pasted on app settings, for all
daisywheel Specs.

PS: for the 0/O and 1/I optimization, I guess the treatment could be kept
whatever would be the daisywheel.
—
Reply to this email directly, view it on GitHub
https://github.com/andreisperid/E-TKT/issues/28#issuecomment-1513769568,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA326WEIKL26KZVWSQOPWZDXB337NANCNFSM6AAAAAAW7XFXVQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

You both have good points on having presets! For now I think that it might be the best approach.
... but, I was trying to thinking why I came to that over engineered solution and remembered that David Knochenhauer suggested several months ago that we could try to create custom daisy wheels. He even programmed a parametric daisywheel on OpenScad. I will ask if he would join the discussion here.
 Not sure if a standard resin might stand the pressure needed for embossing. But imagine creating vintage embossing, with contemporary typefaces? Or whatever symbols... Cool!
So, in that way we might need a real customizable charset...

That would be cool! I don't have any resin printer though :(
I think the custom wheels are fully possible, and also a (or, will be) a
logical next step after implementing presets.
As a technical question, anyone know how to integrate feedback from
firmware to the webpage? As i understand it the page is fully defined from
the sipps image, and the characters used and regex will need to be handed
over from code to web. There are ofc infinite ways but what's the clean way?

written to a sipps file by firmware?
another endpoint for js to fetch?
other ideas?

On Wed, Apr 19, 2023, 21:21 Andrei Speridião @.***>
wrote:

You both have good points on having presets! For now I think that it might
be the best approach.
... but, I was trying to thinking why I came to that over engineered
solution and remembered that David Knochenhauer
https://github.com/Knochi suggested several months ago that we could
try to create custom daisy wheels. He even programmed a parametric
daisywheel on OpenScad. I will ask if he would join the discussion here.
 Not sure if a
standard resin might stand the pressure needed for embossing. But imagine
creating vintage embossing, with contemporary typefaces? Or whatever
symbols... Cool!
So, in that way we might need a real customizable charset...
—
Reply to this email directly, view it on GitHub
https://github.com/andreisperid/E-TKT/issues/28#issuecomment-1515253038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA326WD2WNCOLD3UPFFVF6DXCA3NJANCNFSM6AAAAAAW7XFXVQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


[FEATURE REQUEST] Improve the mental health problem section in index page

also add a About in indeax navbar and redirect to mental health problems
mental health problem section looks distorted and also font is not good

Please assign me this issue

@akshitagupta15june please assign this issue to me.

Please assign me this issue. @akshitagupta15june

@akshitagupta15june please assign this issue to me because I want to work on it.

@akshitagupta15june mam can you please assign this to me. It'll be my first contribution in Moksh.

assigning

https://github.com/akshitagupta15june/Moksh/pull/933 Mam please take a look at this PR. I have made the necessary changes.


Skrollr for mobile, changing from relative to fixed position, however the element is inside skrollr-body

As per the title really. Say I have an element some way down the page, that I need to change from relative to fixed position, is there any way for me to handle this effectively, somehow removing it from the confines of skrollr-body? What I'm doing is almost fully functional but unfortunately I need to keep these elements fixed at certain points, it's part of how I'm triggering GSAP animations on parts of the site.
Any help would be lovely. Especially from the man himself Prinzhorn, excellent work with this plugin--genius in fact.

Silly question really which I've now answered myself. The solution to this is to have the same elements duplicated outside of the #skrollr-body and hide them until position fixed needs to be applied. Then use separate scripting for data-triggers depending on whether we're on mobile/tablet or not. It feels slightly hacky but then again it's going to produce an awesome unified experience quite fluidly cross-device, so it's worth it IMO.


Segfault when debugging multithreaded async-IO process

Please use the following bug reporting template to help produce actionable and reproducible issues. Please try to ensure that the reproduction is minimal so that the team can go through more bugs!

A brief description

When I try to debug a nontrivial asynchronous network network app with gdb, I find that the app always terminates with a segfault when it receives a connection.  The same application works just fine when it is not being debugged by gdb.

Steps / All commands required to reproduce the error from a brand new installation

Reproducer using Simple-Web-Server:
In one terminal:
git clone https://github.com/eidheim/Simple-Web-Server.git
cd Simple-Web-Server
cmake .
make
./http_examples

Then, in a second terminal, open up gdb, and tell it to continue (so execution is allowed to proceed):
gdb -p $(pgrep http_examples)
c

Then, open up a third terminal window and do:
curl http://localhost:8080

Expected results

The http_examples binary should serve an HTTP response

gdb should not observe any issues

curl should receive the HTTP response

This is what happens if you skip setting up gdb, and try to download an HTTP response from http_examples without debugging it.

Actual results (with terminal output if applicable)

http_examples segfaults

gdb observes the segfault as a stack trace in boost::asio

curl doesn't get a response

Reading at the code around the segfault, it looks like it's doing something like:
epoll_events events[128];
int num_events = epoll_wait(..., events, ...);
for (int i = 0; i < num_events; i++)
{
    ... handle each events[i] ...
}

And, while I haven't actually built a Boost with debug symbols, nor dug into the disassembly in much detail, it looks to me like the code is segfaulting when it indexes off the end of events.  Which makes me suspicious that epoll_wait() is returning something bogus for a process that is being debugged with gdb.
If the cause of this issue is not obvious based on the above information and code inspection on y'all's end, let me know; I can go build a debug Boost with extra debug output or something.

Your Windows build number

15042

Strace of the failing command

n/a -- unfortunately, gdb can't debug a process that is already being strace'd.  I've tried to strace gdb itself, but gdb hangs.

Required packages and commands to install

sudo apt-get install build-essential git cmake libboost-all-dev

See our contributing instructions for assistance.

We have some known issues with the ptrace syscall correctly handling signals which is likely related.  Will follow-up to see how that work is coming along.

Cool, thanks!  It'd be really useful if this worked.
By the way, I'm impressed that things work well enough these days for me to have hit this in my normal workflow.  (I only noticed this because I've done a bunch of real dev work on nontrivial multi-binary multi-language applications within WSL, and I finally hit a bug in my own code that really wanted me to run gdb with a whole stack running.)

A big push on ptrace() and gdb in general (maybe after Creators) would be greatly appreciated. If you're staring at an EINVAL or ENOSYS it's easy to track a problem. For segfaults and syscalls which succeed but behave incorrectly (like #1326), you're pretty much reduced to caveman debugging. I could probably tell you why VSCode is failing in 20 minutes with a functioning gdb. Working on gdb will pay dividends beyond just the WSL bug of the day.

@therealkenc - agreed. Ptrace is an invaluable tool for the reasons you stated.  strace and gdb support makes our life much easier.

Adam's OP test case repros on 17713. Thought I'd get lucky and score an easy close because gdb has improved considerably since Feb 2017. But for this one notsomuch.

Should be fixed in 17728.


feat: Detect non-Test Starter test setups

JIRA: CPOUI5FOUNDATION-894

Hi @KlattG ,
Would you review the new message here, please?
https://github.com/SAP/ui5-linter/pull/448/files#diff-09701c0232493655601b38f00fc2ebafebdf513a2aaf652ef5d440d1ea3ee04dR555
Cheers


withCopyFileToContainer fails silently

Hello,
I create and start a container as:
new FixedHostPortGenericContainer<>(
        "myimage")
        .withCreateContainerCmdModifier(cmd -> cmd.withName(hostname))
        .withFixedExposedPort(port, port)
        .withEnv("JAVA_OPTS", "-Xms512m -Xmx512m")
        .withEnv("SCHEMA_ZK_CONNECT", "blabla")
        .withEnv("HOSTNAME", "localhost")
        .withCopyFileToContainer(
            MountableFile.forHostPath(myFile.getAbsolutePath(), 777),
            "/var/confluent/etc/confluent.properties")
        .withCommand("something")
        .waitingFor(Wait.forHttp("/"));

I am forced to use the image I have so I am also forced to go with FixedHostPortGenericContainer and all other strange things you might see.
Also I cannot use copyFileToContainer in this particular instance as this file must be present there before the startup command is executed, and calling start() myself will fail as the image restricts startup commands to only a few possibilities.
Long story short, issue is in this line:
.withCopyFileToContainer(
            MountableFile.forHostPath(myFile.getAbsolutePath(), 777),
            "/var/confluent/etc/confluent.properties")

I develop on Windows 7 + Docker Toolbox but the build server is a RHEL7 with native Docker.
On the build environment that command does NOT copy the file in the container, but also does NOT report any exception, if I login to the container and look in that folder it is simply empty.
If I do the same operation on my DEV machine, the file is there.
The file permissions on DEV machine are:
-rw-r--r--
and on build machine are:
-rw-r-----
Passing the mode parameter as 0777 or leaving it empty doesn't change a thing.
Leaving all the suggestions and debugging aside, my request is: could you please make it so that withCopyFileToContainer includes debug statements AND raises an exception if something goes wrong while trying to copy the file to the container?
Thank you

Hi,
I am having similar issue.
When I run my tests on my Kotlin Spring Boot project test-containers fail to copy temporary file during the container creation.
    val mongoInitFile = createMongoInitDbScript()
    val mongoInitFilePath = mongoInitFile.canonicalPath
    val mongoInitMountableFile = MountableFile.forHostPath(mongoInitFilePath)

    var mongoContainer = GenericContainer("mongo:4.0-xenial")
            .withEnv("MONGO_INITDB_DATABASE", getMongoDatabase())
            .withCopyFileToContainer(mongoInitMountableFile, "/docker-entrypoint-initdb.d/init.js")
            .withExposedPorts(27017)
            .waitingFor(Wait.forListeningPort())

    mongoContainer.start()

I checked mongoInitFilePath and it points to %USER%\AppData\Local\Temp\mongo-initdb3028214640156320517
Also checked the permissions of that file and all seems good.
Some details:
OS: Windows 10
JAVA: JDK 11
Kotlin: 1.3.50
Docker: Docker for Windows <IP_ADDRESS>

Update, I solved my issue.
I created my own GenericContainer class which extended org.testcontainers.containers.GenericContainer in Kotlin.
What I unfortunately did not do was pass the constructor parameter to the parent class constructor.
Therefore it was running default Alpine image and failing instead of running Mongo.


Exiting cleanly

Heyo, I'm suggesting a few improvements for exiting the script cleanly. I haven't run the script on Linux, but on FreeBSD it doesn't exit well, and the prompt overlays the first line. Maybe it's my terminal (xfce term).
Anyway, it quits a lot more nicely if you add
# Control-C clears screen
trap 'clear; exit;' 2

towards the top, and
# Pause at end, clear on keypress
read -n1 -s
clear

at the end.
I'm probably doing this wrong, because I have next to no github experience. sorry.

I don't understand why we need these two blocks in the script.
The script starts and finishes too quickly for the trap part to work and I don't understand why we need to pause at the end and then clear the screen.

I suppose I should have explained why I made those changes. I'm smart.
The text acts weird. The prompt overlays the title, and each time you hit return our the shell outputs text, it slightly overlays the output of the script.

Does this command move the cursor to the bottom?
tput cup 100

I'm using ansi escape codes to move the cursor position and they may not work in *BSD for whatever reason, lets see if tput sets them correctly.

Huh. Cursor just goes to next line. Tested in TTY and xfce4-term

Weird.
What about this line?:
tput cud 100

I just booted up a vm and can reproduce this.
None of the tput commands are working.

Same result.

I'm pretty sure that *BSD uses termcap instead of terminfo and that the escape codes are different.

I got it working.
tput DO 100

Fixed.
Thanks for the issue!

Ctrl+c now clears the screen, shows the cursor and exits the script.


Refact Wise to ignore blocked currencies for Non-Profits

I'm also adding a custom blocked currencies list per connected account in case we need it.
Kudos to Wise for not being able to enforce their own rules. :man_shrugging:

Kudos to Wise for not being able to enforce their own rules.

🙃


All channels showing "No information"

Guide
https://iptv-org.github.io/epg/guides/en/sky.com.xml
Description
Every channel is showing "No information" in Tivimate however the channel logos seem to be showing fine.

Also getting 'no information'

At the moment the guide is working fine:

what 2 channels? No Sky movies or anything

@GaminGuys you can see the full list of channels here: https://github.com/iptv-org/epg/blob/master/sites/sky.com/sky.com.channels.xml

Not sure whats going on here then

@GaminGuys The correct link to sky.com guide:
https://iptv-org.github.io/epg/guides/en/sky.com.xml

A complete list of all available guides can always be found on the main page: https://github.com/iptv-org/epg#guides


UNDERTOW-1237 Added multiline header parsing (1.2.x)

Modified multipart header parsing to allow for headers that span multiple lines per section 2.2.3 of RFC2822.

This branch is no longer maintained


Tiny code improvements.

Added empty constructors for hibernate entities for better readability and safety.

Closed due to requirement changes.


Bugfix: accept model view instead of promise in display_view

Installing b7f8c1838b075a6e5a023cc957e5d8f99a99faec fails with jupyterLab==2.2.5 and ipywidgets==7.5.1 because this test seems to be out of date.
Dockerfile below
FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt install --no-install-recommends -y python3-pip python3-venv git curl
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs
WORKDIR /usr/src

RUN useradd -ms /bin/bash jlab
USER jlab
WORKDIR /home/jlab
ENV HOME=/home/jlab

ENV VIRTUAL_ENV $HOME/.env
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH $VIRTUAL_ENV/bin:$PATH

RUN pip install jupyterlab bqplot
RUN git clone https://github.com/maartenbreddels/ipyvolume.git -n

WORKDIR $HOME/ipyvolume
RUN git checkout b7f8c1838b075a6e5a023cc957e5d8f99a99faec

RUN pip install -e .
RUN jupyter labextension install bqplot @jupyter-widgets/jupyterlab-manager
RUN jupyter labextension install js

ENTRYPOINT jupyter lab --no-browser --ip=<IP_ADDRESS>

Coverage increased (+0.2%) to 66.402% when pulling 7bf1037ad599f15c916cb2aa4b5845c1ce590fce on agoose77:bugfix-fix-manager into b7f8c1838b075a6e5a023cc957e5d8f99a99faec on maartenbreddels:master.

@maartenbreddels I'd appreciate your thoughts on this - the ipywidgets code eventually removes this method in 8.0.0, but we need to implement it now it seems. I'm not sure when ipywidgets accepted a view promise, but I assume it was a while ago.

I think this is good, it avoid a tc error.


Mattermost plugins doesnt work on Mobile app

Dears,
Some mattermost plugins like voice message , jira and ... doesnt work on mobile app .
Do you have any plan to resolve this issue . and if your answer is positive , what is your estimated time ?
Summary
Mattermost doesnt support some plugins like voice on mobile client

Mobile plugins is a planned feature, but we don't yet have a specific timeline for it.

I really appreciate your hard work on MM mobile and hope this will get resolved soon. All the best!

Same here( We got a lot of plugins, but non of them worked on mobile (jitsi\raven\todo\playbooks\etc)...

The plugin support is still limited on mobile. Slash commands, Interactive Dialogs and Interactive Messages do work on mobile, but anything that implies changes in the client side (adding buttons to the interface or custom dialogs for example) do not work.
Nevertheless, the Apps Framework (https://developers.mattermost.com/integrate/apps/) will be able to add more integration with mobile. This will be specially noted by the ability of apps to create buttons in the interface.


improve copy propagation optimization

Turns out H. S. Teoh was right. The copy propagation optimization was not working as well as it could for data that was larger than one register in size. Formerly, the sizes had to match exactly. Now the new size only has to be a subset of the original to trigger the copy propagation.
Some small informal tests showed significant gains from this.

This probably should come with a test attached. This is scary that codegen is not more tested. This is a deterministic process and pretty damn hard to debug.

It's already tested by the test suite, as an earlier version of my fix failed the test suite in multiple places. It is commonplace.
There is a more general problem with the optimizer and code gen testing. It often passes unnoticed when an optimization doesn't happen - the tests don't prove negatives, only that the code works. One the reasons I want to switch it to D is to get some unit testing in there.

LLVM test this kind of thing but running the output assembly (in textual form) through a checker.
The checker can check that this are present or that thing are not present (as to verify optimizations). That is something worth considering. Anyway, i have no power over here, so what i'm saying is nothing more than a suggestion.

Generating a text file and then comparing does sound like a convenient way to test. It's a good idea.

For an idea of the effect of this, consider the program:
void foo() {
    __gshared uint[2]  a1 = [0x1001_1100, 0x0220_0012];
    uint[] a = a1;
    foreach (e; a)
        bar(e);
}
void bar(uint);

Before:
_D3foo3fooFZv:
                sub     ESP,010h
                mov     EAX,2
                mov     ECX,offset FLAT:_D3foo3fooFZ2a1G2k
                push    EBX
                xor     EBX,EBX
                mov     0Ch[ESP],EAX
                mov     010h[ESP],ECX
                mov     4[ESP],EAX
                mov     8[ESP],ECX
                cmp     0Ch[ESP],EBX
                je      L39
L26:            mov     EDX,8[ESP]
                mov     EAX,[EBX*4][EDX]
                call    near ptr _D3foo3barFkZv
                inc     EBX
                cmp     EBX,0Ch[ESP]
                jb      L26
L39:            pop     EBX
                add     ESP,010h
                ret

After:
_D3foo3fooFZv:
               push    EAX
                mov     ECX,offset FLAT:_D3foo3fooFZ2a1G2k
                push    EAX
                mov     EAX,2
                push    EBX
                xor     EBX,EBX
                mov     4[ESP],EAX
                mov     8[ESP],ECX
                cmp     4[ESP],EBX
                je      L30
L1D:            mov     EDX,8[ESP]
                mov     EAX,[EBX*4][EDX]
                call    near ptr _D3foo3barFkZv
                inc     EBX
                cmp     EBX,4[ESP]
                jb      L1D
L30:            pop     EBX
                add     ESP,8
                ret

You could check that these extra mov are not present. For reference, here is how LLVM is doing it:
https://github.com/llvm-mirror/llvm/blob/master/test/Transforms/SROA/basictest.ll#L594
See that they check that this optimization pass remove loads present in the IR.

For an idea of the effect of this, consider the program:

Looks like something I've encountered in the past. Great that you caught it.

Awesome. Good to know I'm not just spouting nonsense. ;-)

Awesome. Good to know I'm not just spouting nonsense. ;-)

This kind of thing is exactly why I created that thread. It's been paying off nicely. Low hanging fruit FTW.

@klickverbot see this one: https://github.com/D-Programming-Language/dmd/pull/4909

yah, the only difference is the loop isn't unrolled


New feature proposal: tracking endpoint

For many applications, tracking objects accross frames and assigning them a unique id is critical. The scope of this feature request is to consider how this could be supported
Ref: https://github.com/tryolabs/norfair
Success outcome: Proposal reviewed and decision made

This is a very relevant repo, focussed on person reId
https://github.com/mikel-brostrom/Yolov5_DeepSort_Pytorch

@alexander-rieder Yes we are actively working on this at the moment. It will shipped in a couple of months.


Error on require image

Hi :)
After install your module, i try to require an png image :
const src = require('./glouman-company-homepage.png');
But i've an error :
 error  in ./src/client/components/HomeBanner/glouman-company-homepage.png

Module build failed (from /home/project-name/node_modules/url-loader/index.js):
TypeError: Cannot read property 'context' of undefined
    at Object.loader (/home/project-name/node_modules/file-loader/dist/index.js:34:49)
    at Object.module.exports (/home/project-name/node_modules/url-loader/index.js:37:25)

I've been create next.config.js file on same path level pages.
I use latest<EMAIL_ADDRESS>Anyone have idea ?

Hi @stephane-r
Can you maybe post your next.config.js file if nothing sensitive is in it? When an error occurs within your image (error in .. .png), it is mostly just a configuration issue and another plugin is interfering and tries to also do something with that image.

Hi @cyrilwanner
I am currently getting the same error. Here is my current next.config.js
// next.config.js
require('dotenv').config();
const prod = process.env.NODE_ENV === 'production';
const path = require('path');
const Dotenv = require('dotenv-webpack');
const typeScript = require('@zeit/next-typescript');
const optimizedImages = require('next-optimized-images');
const withPlugins = require('next-compose-plugins');

const nextConfig = {
  webpack: config => {
    config.plugins = config.plugins || [];

    config.plugins = [
      ...config.plugins,

      // Read the .env file
      new Dotenv({
        path: prod
          ? path.join(__dirname, '.env.production')
          : path.join(__dirname, '.env.dev'),
        systemvars: true,
      }),
    ];

    return config;
  },
  onDemandEntries: {
    // This governs the behavior of the development server ONLY
    // period (in ms) where the server will keep pages in the buffer
    maxInactiveAge: 5 * 60 * 1000,
    // number of pages that should be kept simultaneously without being disposed
    pagesBufferLength: 10,
  },
};

module.exports = withPlugins(
  [
    [
      optimizedImages,
      {
        /* config for next-optimized-images */
        optimizeImagesInDev: true,
      },
    ],
    [typeScript],
  ],
  nextConfig,
);


1.18.2 CRASH Description: mouseClicked event handler

Issue description:
Clicked on Mod config inside of Configured (ingame mod to change configs). Game froze and crashed to NEC window.
Probably not a big issue since not many will do that but hey, maybe it's an oopsie so I thought I report it.
Not confirmed inside minimal environment (Forge 40.2.14, MC 1.18.2, LMFT 1.0.2, Configured 2.0.1) yet. But if it happens, it's probably worth a look into.
latest.log
crash-2023-11-21_05.49.56-client.txt

Well for the most part this seems to be a issue either with Forge or Minecraft not liking the path of the mod icon. Such dose not occur on more recent versions of the mod and I am not thinking about back porting a fix at the moment.


[CHAD-9000] Change the category to the same icon as in DTH

CHAD-9000
BUG-5385

@greens Would you please review & merge this commit and update to default channel?


Extension does not provide a source view for local entries

Description:
Unlike other resources, users can't view the source of a local entry.
Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The latest release v1.1.1 has resolved this issue. Please reopen if the problem persists.


[WIP] ApplicationFormatter: Implement manifest.appdescr_variant fallback

Coverage decreased (-0.2%) to 92.743% when pulling 838af70e3a1e5c2cd21be8be15a290a1942fd4ab on app-variant-namespace-fallback into bc4a197090bfd9c2062d4dad92dc9b5b2eff147a on master.


.dotnet framework used to compile

My build fails in visual studio 2022, what silution of net framework used to generate it?
Thanks

Plus i am running into error when comilig that miss defaultmacrotemplatex

Plus i am running into error when comilig that miss defaultmacrotemplatex

is there any screenshots of compiling error for check?

So tried ti compile it again to make screens to yoi! Build succeed but running it getting errors:

So tried ti compile it again to make screens to yoi! Build succeed but running it getting errors:

hey buddy, check the error code.
you can see that xlsGen lack of defualt XL4 template at the same directory.
the code works well, but it crashed when running.

 About commands is same like in macrome or it generates automatically output? Any configurables parameters??


Blank Visualizer Window

Steps to reproduce
Installing Opensim 4.1 or 4.0 and launching it.
Expected result
Displaying background + model in the visualizer window.
Actual result
Visualizer window is totally black at launch, and becomes white after loading a model, a motion, etc.
No error message.
Restarting doesn't change anything.
Reinstalling idem.
Works fine with Opensim 3.3
Environment and GUI version
Win 10 Pro, build 10.0.18363, x64
Lenovo model 4282A82
i7-2720QM CPU @ 2.20GHz, 4 cores, 8 logical cores
RAM 16 Go

Considering how long these releases have been out, this is specific to your environment, likely related to gfx card issues. There should be a red stop sign error indicator on status bar to help give more info. Try install as admin. This doesn't belong here but on user forum. Thank you

Considering how long these releases have been out, this is specific to your environment, likely related to gfx card issues. There should be a red stop sign error indicator on status bar to help give more info. Try install as admin. This doesn't belong here but on user forum. Thank you


SVG 2

SVG 2 is currently in Candidate Recommendation, and expected to go to Proposed Recommendation sometime after December 4th 2018.
https://www.w3.org/TR/2018/CR-SVG2-20181004/
This is one of those weird features because it started soooo long ago, and then got derailed at some point.  It looks like browser started working on support awhile back, but development has stalled a little while W3C worked out the kinks.
https://www.chromestatus.com/feature/5760616295825408
First time contributing to this repo, tried to follow the contribution guide as best I could, but let me know if there's anything else that would help for this PR.
Thanks!

Considering SVG 2 is a broad specification with multiple features that can each have varying degrees of support it would be more appropriate to be split out into each single feature. See Issue #1143 that's intended to list the multiple features.

thanks for pointing that one out. I'll see what I can do to help on it


[EUWE] Tenancy for CloudTenant

this is allowing tenancy RBAC feature for CloudTenant objects when cloud tenant mapping is used

pulled out from https://github.com/ManageIQ/manageiq/pull/13535 and https://github.com/ManageIQ/manageiq/pull/14036 but only functionality for  CloudTenant  as is need in the BZ

I am not creating new mixin for it but just I am adding needed methods to CloudTenant model
and then I using them in RBac similarly as is done in origin tenancny

@miq-bot add_label core, euwe/yes, blocker, enhancement
Links
https://bugzilla.redhat.com/show_bug.cgi?id=1431168
please review @gtanzillo @rwsu
@miq-bot assign @simaishi

Looks good.


Allow to hide ROMs without covers

Hi,
Thanks for your awesome front-end which makes retro gaming a unique experience. Really thanks for that.
It's nice to suggest more aggressive search for jacket search.
However, it could be a nice to also be able to hide unmatched ROMs (without any cover) from the list.
It would avoid the pain to manually remove hundreds of ROMs.

In 1.4 you can now hide ROMs.

Awesome! Thanks a lot 👍


Mixin causing crash with Corail Tombstone

For some reason, this gives me a crash with Corail Tombstone
"java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.LivingEntity.m_20148_()" because "this.entity" is null"
"-- Head --
Thread: Render thread
Suspected Mods:
CravenCraft's Bloody Bits (bloodybits), Version: 1.2.1-1.20.1
Mixin class: com.cravencraft.bloodybits.mixins.LivingEntityRendererMixin
Target: net.minecraft.client.renderer.entity.LivingEntityRenderer
at TRANSFORMER/minecraft@1.20.1/net.minecraft.client.renderer.entity.LivingEntityRenderer.redirect$ckk000$renderEntitiesDifferently(LivingEntityRenderer.java:4165)"
For some reason this gives me a crash with CravenCraft's Bloody Bits
"java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.LivingEntity.m_20148_()" because "this.entity" is null"
"-- Head --
Thread: Render thread
Suspected Mods:
CravenCraft's Bloody Bits (bloodybits), Version: 1.2.1-1.20.1
Mixin class: com.cravencraft.bloodybits.mixins.LivingEntityRendererMixin
Target: net.minecraft.client.renderer.entity.LivingEntityRenderer
at TRANSFORMER/minecraft@1.20.1/net.minecraft.client.renderer.entity.LivingEntityRenderer.redirect$ckk000$renderEntitiesDifferently(LivingEntityRenderer.java:4165)"
crash  A-2024-11-10_19.49.10-client.txt

Don't worry. I have an update coming out soon that should fix this issue. It's a common one with the latest version. I just didn't have good enough null pointer checks.

ty Craven


Trino Data Profiling is not working throwing exception

I am trying to ingest metadata from Trino to datahub. I am able to do this successfully without profiling.
When I enable profiling in the ingestion, it's throwing the below exception.
'[2022-10-30 11:58:57,814] INFO     {datahub.ingestion.run.pipeline:175} - Sink configured successfully. DataHubRestEmitter: configured '
           'to talk to http://datahub-gms:8080\n'
           '[2022-10-30 11:58:58,680] INFO     {datahub.ingestion.run.pipeline:200} - Source configured successfully.\n'
           '[2022-10-30 11:58:58,682] INFO     {datahub.cli.ingest_cli:129} - Starting metadata ingestion\n'
           '[2022-10-30 11:59:02,154] ERROR    {sqlalchemy.pool.impl.QueuePool:1371} - Error closing cursor\n'
           'Traceback (most recent call last):\n'
           '  File "/tmp/datahub/ingest/venv-trino-0.9.0/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 1294, in _execute_context\n'
           '    result = context._setup_crud_result_proxy()\n'
           '  File "/tmp/datahub/ingest/venv-trino-0.9.0/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 1269, in '
           '_setup_crud_result_proxy\n'
           '    result = self.get_result_proxy()\n'
           '  File "/tmp/datahub/ingest/venv-trino-0.9.0/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 1244, in get_result_proxy\n'
           '    return result.ResultProxy(self)\n'
           '  File "/tmp/datahub/ingest/venv-trino-0.9.0/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 775, in __init__\n'
           '    self._init_metadata()\n'
           '  File "/tmp/datahub/ingest/venv-trino-0.9.0/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 794, in _init_metadata\n'
           '    cursor_description = self._cursor_description()\n'
           '  File "/tmp/datahub/ingest/venv-trino-0.9.0/lib/python3.10/site-packages/sqlalchemy/engine/result.py", line 924, in '

Full error traceback is attached.
exec-urn_li_dataHubExecutionRequest_837cbfef-f009-4a06-8710-ba1df70632b6.log
Below is the ingestion script I'm using:
sink:
    type: datahub-rest
    config:
        server: 'http://datahub-gms:8080'
source:
    type: trino
    config:
        database: minio
        host_port: 'trino:8080'
        username: genius
        profiling:
            enabled: true
pipeline_name: 'urn:li:dataHubIngestionSource:5765b489-8ec8-4e0a-be00-b7bb6133d7a4'

@lokeish can you please add below in the recipe and try again ? Ideally information_schema need not be ingested by datahub and ignored by default. In your case, the recipe fails for profiling only because it tries to run profiling queries against information_schema and it is not supported.
    schema_pattern:
      deny:
        - ^information_schema$

Hi @yangjiandan  this seems like a troubleshooting issue, rather than a bug. We're happy to provide community support on our Slack channel, but currently reserve git issues for bugs.
If you're still having trouble, please join us at [slack.datahubproject.io](https://slack.datahubproject.io) and we can troubleshoot there. For now, I'm going to close this issue.


Lambda IAM Policies Detaching from created IAM Role when Input Order is Changed

Description
Swapping the order of policies will result in the policies being detached

[X] ✋ I have searched the open/closed issues and my issue is not listed.

Versions

Module version [Required]: 7.13.0

Terraform version:
1.8.3

Provider version(s):
AWS Provider (hashicorp/aws) Version: 5.71.0
External Provider (hashicorp/external) Version: 2.3.4
Local Provider (hashicorp/local) Version: 2.5.2
Null Provider (hashicorp/null) Version: 3.2.3

Reproduction Code [Required]
module "test" {
  source = "terraform-aws-modules/lambda/aws"

  function_name = "test-function"
  description   = "Lambda function testing"
  handler       = "index.handler"
  runtime       = "nodejs20.x"
  architectures = ["arm64"]
  timeout       = 120
  publish       = true

  // Add all files needed
  source_path = [
    "/Users/<user>/workspace/testing/index.ts"
  ]

  // Add IAM policies to role
  role_name          = "test"
  attach_policies    = true
  number_of_policies = 2
  policies = [
    "arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy",  # For Lambda Insights
    "arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole", # For Lambda in a VPC
  ]
}

Steps to reproduce the behavior:

Run terraform apply on the above code into your aws account
All IAM policies are applied successfully

Swap the policies order, now the VPC access policy is above, lambda insight policy is below

number_of_policies = 2
  policies = [
    "arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole", # For Lambda in a VPC
    "arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy",  # For Lambda Insights
]

Run terraform apply again. Plan is as follows:

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
+/- create replacement and then destroy

Terraform will perform the following actions:

  # module.test.aws_iam_role_policy_attachment.additional_many[0] must be replaced
+/- resource "aws_iam_role_policy_attachment" "additional_many" {
      ~ id         = "test-20241011122755971000000001" -> (known after apply)
      ~ policy_arn = "arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy" -> "arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole" # forces replacement
        # (1 unchanged attribute hidden)
    }

  # module.test.aws_iam_role_policy_attachment.additional_many[1] must be replaced
+/- resource "aws_iam_role_policy_attachment" "additional_many" {
      ~ id         = "test-20241011122756169000000002" -> (known after apply)
      ~ policy_arn = "arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole" -> "arn:aws:iam::aws:policy/CloudWatchLambdaInsightsExecutionRolePolicy" # forces replacement
        # (1 unchanged attribute hidden)
    }

Expected behavior
No change to the policy, nothing should happen.
Actual behavior
The policies that have been swapped are removed from the role, however the terraform apply is successful.

Issues:

Swapping the policies should not cause removal of them from the IAM role
It should not show success

See reasoning below
Terminal Output Screenshot(s)
This is because the creation happens before deletion

reopen


would you like to release the code of dataset processing？

Great work. would you like to release the code of dataset processing, especially the GRIT-Entity dataset？I would like to reproduce the training process.

Thanks for your attention to our work! We will open-source the dataset. As for the data processing code, we will also make it public, but this may not happen very soon. We need some time to refactor the code and have some other important tasks to complete.


Set jsDelivr default file

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[x] Other, please describe:
Setting a default file for jsDelivr

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Thanks - just to be consistent, we expose the non-minified build (dist/vue.js) at default CDN urls because the shorthands are more frequently used for prototyping, debugging and teaching purposes. In production we recommend always using an explicitly versioned CDN link.

Makes sense. I updated the PR.


Webtor Video is not played

The video player disappear after click play for a while.
here is the magnet link to check:
magnet:?xt=urn:btih:2bdeb90d24221269ffc64058c814212bda354ca0
error shows at inspect:
Uncaught (in promise) DOMException: Failed to load because no supported source was found.

https://www.1377x.to/torrent/5195642/Diabolik-2021-BluRay-1080p-H264-Ita-AC3-5-1-Sub-Ita-Eng-realDMDJ-iDN_CreW/
Whats up with this one? Its h264


[stdlib] Clean up some more unsafeBitCast warnings

This cleans up (I think) the remainder of the warnings that fell out of the improved unsafeBitcast. :crossed_fingers:

@swift-ci Please smoke test

@swift-ci Please smoke test Linux platform

Ah, beaten to the punch by #7314

Oops. Sorry =)


Unnecessary re-render happened when using v-model

Vue version
3.3.4
Link to minimal reproduction
https://play.vuejs.org/#eNp9UtFKwzAU/ZVrXrrB1jLmi6MbqAzUBxUVfAnI6O66zDQJSVoHpf/uTercEFkfSnLO6e05J2nZtTFpUyObsdwVVhgPDn1tFlyJymjroQWLG+hgY3UFCUkTrrgqtHIeKlfCPPCD5A6l1PCurVxfJMOjxCO95jDwwksczhctVwCB0hJTqcsBZ+Pjw9koCkd/UBrYhZl51pske7TxWBm58kg7gHw7WbRttNR1eUa7iAplag/NuNJrlHPOiOcMsp5ci4YosSE8+BwkE7LOFmGdZ0SSKs9O/sJGzDsyvxFlunNaUWsxD2eFroyQaJ+MFxSOsxlEJnAraubrIWLe1pTtBy+2WHz+g+/cPmCcPVt0aBukVg6cX9kSfU8vXx9xT+tfkjLWktRnyBek4uvgsZfd1GpNtk900e19PHuhyje33HtU7hAqGA3KLuo5o/tweyb60e40vYzf0UFSix8N2jCTCpym0/SKdd8o6tHx
Steps to reproduce
Edit one of the Input component, then check console.
What is expected?
After modifying the contents of msg, why is the test function method of v-if triggered?
What is actually happening?
Currently, after modifying the contents of msg, the test function method has been triggered.
System Info
No response
Any additional comments?
No response

This is as expected.

It is necessary to execute test() to confirm whether the value of v-if has changed.
The execution of test() does not imply that the elements of v-if will be re-rendered. Only when the value of test() changes, will it be re-rendered.

When you modified the contents of msg (which is a ref), it will trigger it's subscriber (which includes the render function) to update, so the render will re-run to update view.


Have Common#retrieve_with_timestamps support HTTParty::Response objects…

…since that is what HTTParty returns as of 0.13.x

bump


added EthernetDriver on android tv

Problem

There is no Network Commissioning Cluster on android tv which is must

Change overview

add it

Testing

chip-tool networkcommissioning read *

I grepped through the code and found things like:
examples/tv-app/linux/main.cpp has a empty ApplicationInit as well. Why does that exist and why is it empty?

because

As discussed in slack, the Network Commissioning Cluster is an option and has little value on android, we decided to not imply it. close
https://csamembers.slack.com/archives/G014G30SVV0/p1647306294842679


feat: W3Multicall.call() support sepecify the block_idenfifier

block_identifier is an optional parameter. Even if it is not passed in, it will not affect the normal use of call(). If this parameter is passed in,
the data at the specified block height can be queried.

@0rtis Please review and hopefully get merged.


I have an Error

I don't know why I have this error.
I have an Error below
Error: Command failed: im-select
/bin/sh: im-select: command not found
, stdout: , stderr: /bin/sh: im-select: command not found

logError @ plugin:vim-im-control:248

My current Setting is below and my vault is in the icloud folder.

Thanks for your support

Do you have im-select installed? If you haven't, please install it.
brew install im-select

Please confirm where im-select is if you have already installed it.
which im-select

Please copy and paste the path to PATH to IM Controller.

I already installed im-select
 >>> % which im-select
/usr/local/bin/im-select

and I also did copy and paste the path to PATH to IM controller as my previous screenshot.
Thank you for your help.

Ah, sorry.

Please copy and paste the path to PATH to IM Controller.

This sentence means to paste the /usr/local/bin/ instead of /usr/local/bin/im-select. PATH means the directory (folder) where the im-select is placed.

I already set the PATH in the obsidian preference.
but there is still a problem, how can I fix it?
is there any problem for obsidian to gain an access to the usr/local/bin folder?
I really appreciate for your help.

Hm... as you mentioned, obsidian couldn't find the executable (/usr/local/bin/im-select). In my macOS with latest obsidian, it works correctly. The difference is the PATH is not same with you (/opt/homebrew/bin).
So please

Take a screenshot of the terminal after you run these command

which im-select

then
im-select

Please try to remove / from the end of the PATH (/usr/local/bin/ -> /usr/local/bin)

I deleted "/" in the end of the PATH but there is still the same error.
and this is a screenshot below.

It's a strange behavior. Please send me your Mac version and Obsidian's version.

Obsidian version is below.
About Obsidian
Version 1.6.7 (Installer 1.4.13)

and Mac version is below

Ok. Then please try 2 things.

Please send me a log of the Obsidian
Launch Obsidian
Press Cmd + Shift + i
You can see the Developer Tool (maybe) in the right side of your obsidian
Select Console tab
Restart your Obsidian
Make some actions (open file, enter insert mode, write text, leave insert mode, etc.)
Please take a screen shot
Also copy the all logs and paste here

Please re-install Obsidian

Please re-install Obsidian

wow. It fixed. I don't know why. But after relaunch, suddenly it works well.
and there is no error log in the console message, now.
Thank you for your support and sharing this good plug-in.
Have a nice day, and Stay healthy and well during the hot summer.