SX1278 Tx timeout

Hi please help me with my problem, I have two transceivers  SX1278 1742 161510  and SX1278 1733 151144 but my first transceiver will only work as receiver. I tried to upload the Trasmit.ino, it says initialization done but it is stuck on sending packet....
When I tried to upload the Receive.ino to the first transceiver, it works. My second transceiver able to send but i haven't tried it to receive since my other transceiver will not work as sender.
They have different numbers in the chip.
1st transceiver:
SX1278
1742
161510
2nd Transceiver:
SX1278
1733
151144
I followed this connection
// create instance of LoRa class with default settings
// chip:                SX1278
// NSS pin:             7
// bandwidth:           125 kHz
// spreading factor:    9
// coding rate:         4/7
// DIO0 pin:            2
// DIO1 pin:            3
and since it will not work to have just the above connection , added
| SCK | SCK |
| MISO | MISO |
| MOSI | MOSI |
This is the module that I'm using just don't mind the number in the chip

This is the arduino board I'm using

I'm not sure if the first transceiver was designed to be just a receiver not a sender.
Please help me.
Thank you.

The numbers on the chip are just the date of production, e.g. the first one (1742 161510) was made during the 42nd week of 2017, lot number 161510. This is pretty much irrelevant for now.
Try enabling the debug output (uncomment the debug definition in TypeDef.h) and see what shows up on the serial monitor. Also check all the connections - especially the DIO0, since the library uses that to check if the packet was sent. If there's a faulty connection, that signal will never arrive.

thank you for the reply.  I already uncommented the debug definition and i got this
LoRa node address string: 1A:22:E8:B8:FF:FF:FF:FF
Found SX1278! (match by SX1278_REG_VERSION == 0x12)
Initialization done.
Source:		1A:22:E8:B8:FF:FF:FF:FF
Destination:	01:23:45:67:89:AB:CD:EF
Length:		28
Data:		Hello World!
Sending packet
still stuck on sending packet. I already checked DIO0. thank you

Does it print out a whole bunch of dots like this?
Sending packet ................................................ (and so on forever)
If so, it is stuck in an infinite loop waiting for DIO0 signal to arrive.

The way it is written now the library waits for the DIO0 to go high which signals that packet was transmitted. However, if the signal never arrives, it will be stuck there forever. I will add a timeout to that loop so that after waiting long enough, the loop will terminate and won't get stuck this way.
This doesn't solve your issue though. Just to make sure: is the SX1278 module the only thing that is connected? It would help if you could get an oscilloscope to see if there's a signal coming out of DIO0 when transmission is finished.

One more thing: how is the SX1278 module connected?

I followed this connection
// create instance of LoRa class with default settings
// chip: SX1278
// NSS pin: 7
// bandwidth: 125 kHz
// spreading factor: 9
// coding rate: 4/7
// DIO0 pin: 2
// DIO1 pin: 3
and since it will not work to have just the above connection , added
| SCK | SCK |
| MISO | MISO |
| MOSI | MOSI |
Actually im testing it now. when i tried to remove DIO0 is says success but let me check if it really sends data, thank you for quick reply.

What I meant is how is it connected physically: did you solder wires to the module, or do you have some connectors?

Yes, i solder wires directly to the module

I still suspect faulty wiring: it's odd that the module seems to be running fine, except the DIO0 signal. Try carefully resoldering the connection on DIO0.

Okay I will try that. Is there any other way that  I can use my module to send and receive without using DI0O?

Unfortunately not: the DIO0 is used to signal both transmission and reception end; see SX1278 datasheet, page 46, table 18.

Okay, thank you so much for the reply. I will update you after i re-solder the wires. thank you.

I added Tx timeout in the latest commit d38797213e37019ebfe3f4316b676e337f898f5c. I'll also release a new version of the library.
Right now, Tx timeout only depends on packet length - it will wait 1.5 seconds per byte of packet length. That should cover the worst case scenario with lowest datarate - 7.8 kHz bandwidth, spreading factor 12 and coding rate 4/8. It would be much better if the timeout was calculated dynamically based on the modem settings, I'll probably implement that later.

Just published Release 1.0.1 with the Tx timeout. If you're using Arduino library manager, it should let you update the library in a few hours.

Thank you for the update, actually I still not able to fix my problem. I have another question, if  DIO0 is used to signal both transmission and reception, does the module is using that pin during receiving a signal?if so, then the problem is not in the wire which not properly soldered.
Also, with regards to setting the bandwidth, what is the advantage or disadvantage of setting the module to high or lowest bandwidth especially with regards to the distance that the data can be transmitted or the size of the data that can be transmitted.
Another thing, I successfully modified your module specifically on Packet(const char dest[24], const char dat[240]). Instead of using char in the second parameter I changed it to String because I find it hard to manipulate char, is it a bad idea?
THANK YOU.

DIO0 is used to signal Rx done or Tx done. If you can successfully receive data with the module that is not transmitting, then you are correct and the problem is not the wiring.

See the wiki page. Basically, higher bandwidth means higher data rate, but lower range. The size remains the same, 256 bytes (16 bytes of addresses, 240 bytes of payload) is the maximum that will fit in a single packet.

Personally, I try to avoid Arduino String class whenever I can, it can be really unpredictable sometimes and it uses large amounts of RAM - of which there's never enough on Arduino.  I highly recommend that you learn the basics of C-strings. It's much easier than it looks - basically just working with an array of characters. Besides, you can always get the C-string out of Arduino String by calling the .c_str() method. So if you want to create a LoRaLib packet using some String data, you can do this:

String myString = "text";
Packet pack("01:23:45:67:89:AB:CD:EF", myString.c_str());

Thank you for information,
High likely that its not the wiring, so, what could be possibly the
problem? the module itself?, Does the module sensitive heat caused during
soldering?
Another thing, I'm worried about the other module, the one that is working
in receiving and transmitting, When I use the module for 15-20 minutes as
transmitter, it gets so hot and I notice the other side of the board gets
darken,seems like a sign of overheating, is it normal? I notice that the
transmitter easily gets hot than the receiver. I connected the module to
the 3.3v pin of arduino, is this a good practice?
I'm just curious about the transmission range of the module, is it possible
to transmitter at the distance of 5km? I haven't seen any documents  that
supports that claim,it's only the  seller says that the range is 5km.
I really appreciate for taking time to answer my queries. Thank you so much.
On Sat, Mar 10, 2018 at 12:10 AM, Jan Gromeš<EMAIL_ADDRESS>wrote:

DIO0 is used to signal Rx done or Tx done. If you can successfully
receive data with the module that is not transmitting, then you are correct
and the problem is not the wiring.
2.
See the wiki
https://github.com/jgromes/LoRaLib/wiki/LoRa-modem-settings page.
Basically, higher bandwidth means higher data rate, but lower range. The
size remains the same, 256 bytes (16 bytes of addresses, 240 bytes of
payload) is the maximum that will fit in a single packet.
3.
Personally, I try to avoid Arduino String class whenever I can, it can
be really unpredictable sometimes and it uses large amounts of RAM - of
which there's never enough on Arduino. I highly recommend that you learn
the basics of C-strings. It's much easier than it looks - basically just
working with an array of characters. Besides, you can always get the
C-string out of Arduino String by calling the .c_str() method. So if
you want to create a LoRaLib packet using some String data, you can do this:
String myString = "text";
Packet pack("01:23:45:67:89:AB:CD:EF", myString.c_str());
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jgromes/LoRaLib/issues/6#issuecomment-371857712, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AdALnMYpNFADNQQshieGjnM9TNEgQaypks5tcqllgaJpZM4SbL5D
.

I've never encountered overheating issues with these modules - in fact, LoRa modulation was designed for low-power systems. You should check the current draw on your module, looking through the datasheet, it should not draw more than 90 mA when transmitting. The 3.3 V regulator on Arduino should be able to handle that. If the modules draws significantly more, it is possible that both the modules are faulty. Try to get new ones from a different seller.
The range depends on many different factors, some of them are:

LoRa modem settings - bandwidth, spreading factor and coding rate. If you optimize all of those for the highest range possible, the data rate will drop to just a few bits per second.

The antenna you are using. If you have no antenna conneted to the module, the range will be much lower.

The type of terrain between the transmitter and the receiver. If you're transmitting in a city, the range will obviously be much shorter than in open space. Weather will play a role as well.

Under ideal conditions, with no additional amplifier between the module and antenna, I'd say you can push the range up to 2 - 3 km. While testing the library, I got to about 500 m with the highest bandwidth and a small 10 cm antenna for both the transmitter and the receiver.
I'm going to close this issue for now, feel free to re-open it if/when you get the new modules and if you run into trouble again.

I have to advise against using LoRa modules to control RC plane - or anything that requires pretty much instant reactions. The whole point of LoRa modulation is maximum range with minimum power requirements. This is achieved by lowering data rate. You can see an extreme example here: https://www.youtube.com/watch?v=nfH6tO0VnJc This is a recording of LoRa transmission with the maximum possible range. Transmitting 28 bytes takes almost 30 seconds.
The highest data rate you can get from LoRa is 37.5 kbps (according to the datasheet), but at that point, you have basically defeated the point of the modulation, because the range will drop drastically.
I recommend trying out different wireless modules - XBee, for example. Or better yet, why reinvent the wheel? You could use standard RC receiver to control the plane, and then some other wireless module for non-critical communication (data from sensors etc.).

You could probably use RFM69. These modules are similar to Semtech LoRa modules, but don't use LoRa modulation, and can reach data rates up to 300 kpbs. I don't know what's the range, though.
No worries ;) If you encountered a bug or a problem, please open a new issue, we can discuss it there.

Hi, i just want to share that my 2 lora module are now capable of sending and receiving. What i did , i just get the source address (module 1) and use it for the destination of the packet of the module 2. thank you so much.

Did you mean to post this at issue #18?


Support for parametersLink as parameters for a module

It is currently not supported to pass a parameter file for a module within a deployment.
The request would be to enable passing parameters for a module through a parameters file in the same/similar way it is supported in a nested ARM template deployment. It could look like this:
var stg1ParametersLink = './myfirstStorage.params.json'

module stg1 'storage.module.bicep' = {
  name: 'stg1'
  parametersLink: stg1ParametersLink
}

+1 I would love to have this feature available . With this feature i could have a real modular gitops  infra on DevOps

At some point, I think we will add something like a parseJson() function which will turn JSON content into bicep objects. This will allow you to do something similar to the above sample, but you will still use the params property. We won't add a parametersLink property.

var myParams = parseJson('./myfirstStorage.params.json')

module stg1 'storage.module.bicep' = {
  name: 'stg1'
  params: myParams
}

Thank you Alex, this is a good alternative. Is it safe to assume that it will be a plain json, not following the parameters file schema?
Maybe not the right place to report this, the following currently (v0.3.255 on Windows) seems not to be working, even though it compiles without errors (the parameters are not passed in the nested deployment on the resulting ARM template):
var stg1Params = {
  location: location
  name: stg1Name
}

module stg1 'storage.module.bicep' = {
  name: 'stg1'
  params: stg1Params
}

@miqm - any idea what it would take to enable something like this:
module mod 'scratch2.bicep' = {
  name: 'foo'
  params: json(loadTextContent('params.json'))
}

params.json:
{
    "myParam1": "myValue1",
    "myParam2": "myValue2"
}

Today this throws an error:

I think #5846 should cover this, as you wrote https://github.com/Azure/bicep/issues/2464#issuecomment-831329194 suggesting parseJson function. Currently json is a runtime function therefore it will not work. AFAIR we explicitly disabled passing objects or variables as entire params of a module to avoid too complex cases.

Hi,
Is there no workaround at all?
Both examples do not work:
param env string

var test1 = json(loadTextContent('./modules/keyvault/kv.parameters.json'))['${env}']
var test2= loadJsonContent('./modules/keyvault/kv.parameters.json')

module keyVaultModule './modules/keyvault/kv.bicep' = {
  name: 'a name'
  scope: resourceGroup(resourceGroupName)
  params:  test1 or test2 not working
}


TextOverflow.fade effect in RichText inverted when using WidgetSpan with ShaderMask

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce

Add a RichText widget with WidgetSpan with ShaderMask
Make the RichText single-line and specify the TextOverflow.fade effect.

Expected results
There will be a correct fading effect with a decrease in transparency.
Actual results
It is painted in black with reverse fading of transparency.
Code sample
Code sample
import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Column(
          children: [
            RichText(
              maxLines: 1,
              overflow: TextOverflow.fade,
              softWrap: false,
              text: const TextSpan(
                children: [
                  WidgetSpan(
                    child: GradientText(
                      'test text test ',
                      fillGradient: LinearGradient(
                        colors: [
                          Colors.red,
                          Colors.blue,
                        ],
                      ),
                    ),
                  ),
                  WidgetSpan(
                    child: GradientText(
                      ' test text test',
                      fillGradient: LinearGradient(
                        colors: [
                          Colors.red,
                          Colors.blue,
                        ],
                      ),
                    ),
                  ),
                ],
              ),
            ),
          ],
        ),
      ),
    );
  }
}

class GradientText extends StatelessWidget {
  const GradientText(
      this.data, {
        super.key,
        required this.fillGradient,
      });

  final String data;
  final Gradient fillGradient;

  @override
  Widget build(BuildContext context) {
    return ShaderMask(
      blendMode: BlendMode.srcIn,
      shaderCallback: (bounds) => fillGradient.createShader(bounds),
      child: Text(
        data,
        style: const TextStyle(
          fontSize: 48,
          fontWeight: FontWeight.bold,
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

Logs
No response
Flutter Doctor output
Doctor output
➜  ~ flutter doctor -v
[✓] Flutter (Channel stable, 3.7.11, on macOS 12.6.2 21G320 darwin-arm64, locale en)
    • Flutter version 3.7.11 on channel stable at /Users/man-y/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f72efea43c (7 weeks ago), 2023-04-11 11:57:21 -0700
    • Engine revision 1a65d409c7
    • Dart version 2.19.6
    • DevTools version 2.20.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/man-y/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.12.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 73.1.1
    • Dart plugin version 231.9065

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 12.6.2 21G320
      darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 114.0.5735.90

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Thanks for filing the issue!
This is not related to ShaderMask, it is working as intended, but the documentation is lacking.
I'll close this issue to consolidate conversation around the existing (but mistakenly closed) bug https://github.com/flutter/flutter/issues/13631

Misread the description, reopening

I think there are somehow conflicting shaders. Since fade makes a shader at the RenderParagrth level with BlandMode.modulate after rendering the descendant with the shader m BlandMode.srcIn (Even any one can be here)


Mediawiki install reports successful but HHVM failed

Mediawiki is failing the install because HHVM is dumping a seg fault when running Composer during the install process.
The HHVM seg fault is probably on my side.
The Mediawiki issue is that even after the seg fault, the benchpress_cli reports Mediawiki as installed and allows an attempt to run. If HHVM fails during the install step, Benchpress should not report MW as installed and should not allow a run attempt.
Composer (version 2.2.24) successfully installed to: /root/DCPerf/oss-performance/composer.phar
Use it: php composer.phar

+ yes
+ /usr/local/hphpi/legacy/bin/hhvm composer.phar install
Core dumped: Segmentation fault
Stack trace in /tmp/stacktrace.4391.log
./packages/mediawiki/install_oss_performance_mediawiki.sh: line 115:  4390 Broken pipe             yes
      4391 Segmentation fault      (core dumped) | $HHVM composer.phar install
+ echo 1
+ sudo tee /proc/sys/net/ipv4/tcp_tw_reuse
1
+ sudo cp /root/DCPerf/packages/mediawiki/my.cnf /etc/my.cnf
+ '[' centos = ubuntu ']'
+ sudo systemctl restart mariadb
[root@2pgrace-112 DCPerf]# ./benchpress_cli.py run oss_performance_mediawiki_mlp
Will run 1 job(s)
Running "oss_performance_mediawiki_mlp": Tuned +MLP run for oss_performance_mediawiki
Job execution command: ['./packages/mediawiki/run.sh', '-r/usr/local/hphpi/legacy/bin/hhvm', '-nnginx', '-ssiege', '-R0', '-c0', '--', '--mediawiki-mlp', '--siege-duration=10M', '--siege-timeout=11m', '--run-as-root', '--i-am-not-benchmarking']
stdout:
	1
	Core dumped: Segmentation fault
	Stack trace in /tmp/stacktrace.4826.log
stderr:
	./packages/mediawiki/run.sh: line 72:  4826 Segmentation fault      (core dumped) HHVM_DISABLE_NUMA=1 "$_hhvm_path" -vEval.ProfileHWEnable=0 perf.php --nginx "$_nginx_path" --siege "$_siege_path" --hhvm "$_hhvm_path" ${_db_host} --db-username=root --db-password=password --memcached=/usr/local/memcached/bin/memcached --memcached-threads "$MEMCACHE_THREADS" --client-threads "$CLIENT_THREADS" --server-threads "$SERVER_THREADS" --scale-out "${HHVM_SERVERS}" --delay-check-health 30 --hhvm-extra-arguments='-vEval.ProfileHWEnable=0' ${extra_args}
Failed to parse stdout as JSON:
Failed to parse stderr as JSON:
Failed to parse results, this might mean the benchmark failed
stdout:
1
Core dumped: Segmentation fault
Stack trace in /tmp/stacktrace.4826.log

stderr:
./packages/mediawiki/run.sh: line 72:  4826 Segmentation fault      (core dumped) HHVM_DISABLE_NUMA=1 "$_hhvm_path" -vEval.ProfileHWEnable=0 perf.php --nginx "$_nginx_path" --siege "$_siege_path" --hhvm "$_hhvm_path" ${_db_host} --db-username=root --db-password=password --memcached=/usr/local/memcached/bin/memcached --memcached-threads "$MEMCACHE_THREADS" --client-threads "$CLIENT_THREADS" --server-threads "$SERVER_THREADS" --scale-out "${HHVM_SERVERS}" --delay-check-health 30 --hhvm-extra-arguments='-vEval.ProfileHWEnable=0' ${extra_args}

Traceback (most recent call last):
  File "/root/DCPerf/./benchpress_cli.py", line 16, in <module>
    main()
  File "/root/DCPerf/benchpress/cli/main.py", line 354, in main
    args.command.run(args, bp.jobs)
  File "/root/DCPerf/benchpress/cli/commands/run.py", line 178, in run
    metrics = job.run(args.role, role_in)
  File "/root/DCPerf/benchpress/lib/job.py", line 275, in run
    return self.parser.parse(
  File "/root/DCPerf/benchpress/plugins/parsers/mediawiki.py", line 16, in parse
    metrics = super().parse(stdout, stderr, returncode)
  File "/root/DCPerf/benchpress/plugins/parsers/generic.py", line 50, in parse
    raise ValueError(msg)
ValueError: Couldn't not find or parse JSON from either stdout or stderr`

```

2ad3809 will let installation fail if something in the script fails. We'll push another feature improvement to disallow running un-installed benchmark soon.


fix: Calling the DynamicCache.gvrFromKey method when the gvr is not cached returns an nil object #3177

What this PR does / why we need it:
fix #3177
Which issue(s) this PR fixes

Fixes #3177

Special notes for your reviewer:
Release note:
release-note

Great catch :) Thank you!


User input section. User enters intelligence statement & bias source.

Do we allow multiple intelligence statements to be input?
As a proof-of-concept, this is not necessary.
Show the tool works for one statement, multiple times.

Requires testing. Use PRs from now on.

Additions (QOL):

Add a check so that the tool does not move on unless an intelligence statement is actually input

Check if .txt file is empty or not.


[Question] If I needed to return total count for pagination, where is the best place to implement?

If I am using pagination to skip and take based on page size, but still need to return total items to the client, where should I implement this?
I want to run count after the where filter so I get the actual count of items returned from the search but before my pagination.
In the specification? or run Count() on the entire table first then use the specification?
Do I need a filter specification, and then another pagination specification?
        public GetCustomersForListSpecification(QueryParams query)
        {
            if (!string.IsNullOrWhiteSpace(query.Filter))
                Query.Where(x => x.Name.Contains(query.Filter));

           **********
           NEED TO CALCULATE TOTAL COUNT HERE BEFORE PAGINATION
           **********

            Query
                .Select(x => new CustomerForListResponse
                {
                    Id = x.Id,
                    Name = x.Name
                })
                .Skip((query.Page - 1) * query.PerPage)
                .Take(query.PerPage);
        }

I was using this on the IQueryable:
var source = _context.Customers.Where(x => x.Name.Contains(query.Filter));
var count = await source.CountAsync();
var items = await source.Skip((query.Page - 1) * query.PerPage).Take(query.PerPage).ToListAsync();

Is this a job for an evaluator? I'm trying to find documentation on this

Duplicate #134

Can we add this to docs?

Here is the issue #135. I tried to elaborate it, we'll need to add it to the docs.

Thanks @fiseni I’m playing with it now. Are the 2 YouTube videos currently the best way to learn more about extending the specs and evaluators?

Not really to be honest. Perhaps we need to create a new video, a planned one :) We recorded the last ones on the fly with no particular agenda.
I know we're lacking good docs. We started working on it, but we're far from finished.
https://ardalis.github.io/Specification/

OK, thank you! Once I understand everything going on I'll see if I can create some PR's!

If you want to add/update anything in the docs, they're just markdown files here:
https://github.com/ardalis/Specification/tree/main/docs
Thanks!

hi all. im having a scenario where i start the specification from the aggregate root and include children with skip and take. it works fine. but how can i get the totalrecord count of the children using this library?


Added ngo functionalities

Description
Added ngo functionalities.
Status
READY
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[ ] I have made corresponding changes to the documentation (if applicable)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Aguardando revisão.


Show manager goal state in monitor

Fixes #3373
This PR adds a banner to the Manager page in 2.1 that will be displayed when the Managers state is not normal or when the state and the goal state differ. The new manager state banner will not be displayed if the manager is down.
Here are some screenshots from the updated Manager page:
When state and goal state differ:

After state and goal state converge (and the state is not 'NORMAL'):

When the manager is not running:

Will this show the status when it is running and normal?

Will this show the status when it is running and normal?

No it should only show if the manager state is not NORMAL or when the manager state and manager goal state differ.

From a user experience perspective - would it be better to always show the status?  Seeing that things are "normal" seems that it provides feedback to the user rather than needing to know that lack of status means "good"?

From a user experience perspective - would it be better to always show the status? Seeing that things are "normal" seems that it provides feedback to the user rather than needing to know that lack of status means "good"?

Yea that makes sense to me. The only reason I made it this way is because that is how things are done in the 1.10 monitor.
If it seems like we want to change things so that the status is always displayed, I am good with that.

From a user experience perspective - would it be better to always show the status? Seeing that things are "normal" seems that it provides feedback to the user rather than needing to know that lack of status means "good"?

Yea that makes sense to me. The only reason I made it this way is because that is how things are done in the 1.10 monitor.
If it seems like we want to change things so that the status is always displayed, I am good with that.

I don't think we need to do that. In the normal state, the manager information table is displayed with all the information about it. There's nothing to alert the user about. The dialog boxes are visually presented as exceptions to the normal state. If we provide a box under the normal situation, then we break that visual experience and possibly make it harder for the users to notice when the exceptional circumstances do occur.
Besides, we already have a visual indicator of manager normality, with the green icon in the upper-right next to the manager menu item.


[add-resource] New Plugin: Static Generator

I would like to add my new plugin to the GPM; the Static Generator. It facilitates indexing metadata and content, as well as static generation of Page(s).

Added to GPM. cheers.


Enable mocking for extension methods in mgmt SDKs

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager

@m-nash this should be ready for some internal versions to try right now.


osvr_server fails to open Razer Hydra on Linux/plugins are initialized multiple times

The server starts but then starts flooding the console with messages:
vrpn_HidInterface::reconnect(): Could not open device 0004:000c:00
   (Did you remember to run as root?)
vrpn_HidInterface::reconnect(): Could not open device 0004:000c:01
   (Did you remember to run as root?)
vrpn_HidInterface::reconnect(): Could not open device 0004:000c:00
   (Did you remember to run as root?)
vrpn_HidInterface::reconnect(): Could not open device 0004:000c:01

It isn't a permission issue (udev rules are set up correctly), because even running as root doesn't help. The same Hydra works just fine using a plain vrpn_server from older VRPN on the same machine.
I have tracked the problem down to the following:
The code manages to actually open the device, it unhooks the kernel driver and then it fails on the following line:
OSVR-Core/vendor/vrpn/submodules/hidapi/linux/hid-libusb.c:773
the call to libusb_claim_interface() fails with result code -6 (LIBUSB_ERROR_BUSY) for me, resulting in failure and the device being rejected with the above error messages.

It seems that the problem stems from the fact that the OSVR plugins are initialized multiple times.
For example, the plugin instantiation callback is called 2x on server start, for unknown reasons. In the case of Hydra on Linux the device is open already from the first try when the second initialization happens and that is when the LIBUSB_ERROR_BUSY error is reported.
This happens in Windows as well, however there the opening of the Hydra is not exclusive and the bug above doesn't get triggered by a lucky coincidence.

So I did recently fix the plugin loading multiple times issue, and just verified that in #373 at least the initial opening (not so lucky with re-connect) of Hydras works well on Linux.  Good enough for fixed?

I have just updated VRPN submodule to master, pulling in your fix and that seems to have fixed the problem on my Linux. Hydra works again.
Thanks!


WIP: json-api rc3 resource relationships

This is the largest unaddressed change between RC2 and RC3.

Include self and related links for all related resources
Resource object includes linkage object instead of type and id members
Only include linkages if refers to included item in compound document
STILL NEEDS: updating to-Many relationships request should send array of discrete resource objects, each with 1 type and 1 id--not 1 type with array of ids

:+1:

Glad to see we have this factored well enough that these structural changes are mostly nbd.

On hold pending https://github.com/json-api/json-api/issues/482. Latest commit moves toward create/update using the linkage-style object. Still need to work on updating relation URLs directly

Removing WIP. This is ready to be looked at

reviewing now

updated based on comments

:+1:


RDBES: SampleType updates

Please see attached spreadsheet for insert of 6 new codes.
SampleType updates 6 new codes.xlsx

These are not sample types, and thus these codes cannot stay in SampleType. These codes also mix measurement type (linear vs curved length) and the type of rounding. These codes will be moved to a new CodeType: MeasurementRoundingType.
Cecilia will delete the codes requested here from SampleType.
@neil-ices-dk has given his input and agreed with this course of action.

The core group request to have the following two codes added to the SampleType:
Code                  Description
LinearLength      Linear measurement (along body axis)
CurvedLength	   Length taken over body surface integer

CodeType is renamed to MeasurementRoundingType
ok for adding 2 new codes

RDBES core group: not adverse to add "CurvedLength" and LiniearLength" to a more generic Length measurement CodeType (i.e TS_LenMeasType/AC_LengthMeasurementType) - Data manager to put this forward  to GOV groups to join these two CodeTypes and adding the two RDBES codes

Should be a new issue to combine Code Types describing Length Measurements.

1 Total length
2 Standard length
3 Pre-supra-caudal fin length
4 Pre-anal fin length
5 Mantle length
6 Carapace length
7 Carapace width
8 Second dorsal fin length
9 Shell height
10 Shell width
11 Wing width
-9 Not known
Should Linear length and Curved length be types of Total length?
Will put this in 2nd WGDG agenda

1 Total length, unspecified
2 Standard length
3 Pre-supra-caudal fin length
4 Pre-anal fin length
5 Mantle length
6 Carapace length
7 Carapace width
8 Second dorsal fin length
9 Shell height
10 Shell width
11 Wing width
12 Total length, linear
13 Total length, curved
-9 Not known
And then link relevant codes to each dataset.
Need to check with WGDG @odontaster

Feedback fro WGDG:
-No need for 12
-1 should be Total length, linear
-All codes linked to DATRAS Dataset
-Missing: Pinched tail length (in Long description: only used for mackerel)

Updated TS_LenMeasType and AC_LengthMeasurementType


[semver:major] 0.15.0 support

I started an attempt to bring the CLI commands up-to-date with 0.15.0 in #33, but it seems you're further along than I am
Would it be possible to publish a version of the orb that locks terraform at a version < 0.15.0?

It would be great to have also the option to pass a different tag version for the terraform image as a parameter to the jobs.

It would be great to have also the option to pass a different tag version for the terraform image as a parameter to the jobs.

The default will be pinned to TF ver 0.14.10 for now check PR https://github.com/CircleCI-Public/terraform-orb/pull/34 and thanks for the feedback

Hey there 👋🏻 Thanks for working on supporting 0.15, is it still something you are looking at? Should we make a separate PR for just 0.15 support without the enhancements to get things moving faster?

@KyleTryon Can you tell me if you have any ETA on 0.15 support or at least if you are still working on it? I don't want to sound pushy or anything, just trying to figure out what is the best path for me to get unblocked (fork, separate PR, etc.).

Changes are being implemented in PR#46


I followed all the installation instructions, but I can't run #include <Vc/Vc>.

Vc version / revision
Operating System
Compiler & Version
Compiler Flags
Assembler & Version
CPU

1.4.2
ubuntu vscode c++
g++ 11
/usr/bin/g++-11 -fdiagnostics-color=always -g /home/user/projectt/test.cpp -o /home/user/projectt/test

amd ryzen 1600x

Testcase
#include <Vc/Vc>
#include <iostream>

int main(){
    std::cout << "Hello World" << std::endl;
}

Actual Results
/home/user/projectt/test.cpp:1:10: fatal error: Vc/Vc: No such file or directory
1 | #include <Vc/Vc>
| ^~~~~~~~~
compilation terminated.
The build completed, but an error occurred.
Expected Results
Helloworld
additional attempts
I haven't used cmake.
(I'm not sure how to use it.)
#include "Vc/Vc"
Syntax like , didn't help either.
order of commands executed

cd
git clone https://github.com/VcDevel/Vc
cd Vc
git submodule update --init
cd
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/Vc -DBUILD_TESTING=OFF "/home/user/Vc"

I see you installed Vc into /opt/Vc, which is not the standard installation directory of cmake.
Depending on the build system for your hello world example, if you use CMake, you may need to specify Vc_DIR and point it to your Vc installation for cmake to find it. If you use makefiles you are probably missing -I and -L arguments for your compiler/linker to find the Vc headers and library.

This does not look like a problem in Vc. Feel free to continue to discuss a solution for you here, but I will close this issue for the moment. You need to add either -I/opt/Vc/include to your compilation if you are compiling by hand, or add -DCMAKE_PREFIX_PATH=/opt/Vc in case you are using CMake to build your project.


New freepbx breaks database?

Hey,
Since you are always pulling freepbx 15 "latest" then you can get breaking changes.
For example look here:
https://github.com/FreePBX/framework/commit/0c0e06024cd68afa29917ffab10356d8686a9293#diff-bd921dd8daacb5ab58836d3f2822f593
You see that they changed from 'localhost' to '$answers['dbhost']'.
Therefore your script that does,
sed -i -e 's/$amp_conf['''AMPDBHOST'''] = '''localhost''';/$amp_conf['''AMPDBHOST'''] = '''db.netsat.se''';/g' /usr/src/freepbx/installlib/installcommand.class.php
fails

Thanks for noticing this. Seems they are finally upgrading their code base which is great and alot of my hacks that have been in place for a few years can finally go away. A new build it happening and tagged 15-3.9.3 or 15-latest.


Polygons from Google Earth not readable

Hello, I am trying to read files output from Google Earth Pro. I have sample output, a stack trace, and a possible solution
Sample input
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns:kml="http://www.opengis.net/kml/2.2">
<Document>
	<name>tmp.kml</name>
	<Placemark>
		<name>tmp</name>
		<styleUrl>#m_ylw-pushpin</styleUrl>
		<Polygon>
			<tessellate>1</tessellate>
			<outerBoundaryIs>
				<LinearRing>
					<coordinates>
						-50.80770360421555,27.50794679203254,0 -46.63827492868646,32.0230059721323,0 -54.85996847570588,35.7028706316008,0 -50.80770360421555,27.50794679203254,0
					</coordinates>
				</LinearRing>
			</outerBoundaryIs>
		</Polygon>
	</Placemark>
</Document>
</kml>

Stack trace
julia> scenario = read("tmp.kml", KML.KMLFile)
ERROR: ArgumentError: cannot parse "0 -46.63827492868646" as Float64
Stacktrace:
  [1] _parse_failure(T::Type, s::SubString{String}, startpos::Int64, endpos::Int64)
    @ Base ./parse.jl:373
  [2] _parse_failure(T::Type, s::SubString{String})
    @ Base ./parse.jl:373
  [3] #tryparse_internal#509
    @ ./parse.jl:369 [inlined]
  [4] tryparse_internal
    @ ./parse.jl:366 [inlined]
  [5] #parse#510
    @ ./parse.jl:379 [inlined]
  [6] parse
    @ ./parse.jl:379 [inlined]
  [7] _broadcast_getindex_evalf
    @ ./broadcast.jl:683 [inlined]
  [8] _broadcast_getindex
    @ ./broadcast.jl:666 [inlined]
  [9] getindex
    @ ./broadcast.jl:610 [inlined]
 [10] macro expansion
    @ ./broadcast.jl:974 [inlined]
 [11] macro expansion
    @ ./simdloop.jl:77 [inlined]
 [12] copyto!
    @ ./broadcast.jl:973 [inlined]
 [13] copyto!
    @ ./broadcast.jl:926 [inlined]
 [14] copy
    @ ./broadcast.jl:898 [inlined]
 [15] materialize
    @ ./broadcast.jl:873 [inlined]
 [16] autosetfield!(o::KML.LinearRing, sym::Symbol, x::String)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:108
 [17] add_element!(o::KML.LinearRing, child::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:69
 [18] object(node::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:46
 [19] add_element!(o::KML.Polygon, child::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:65
 [20] object(node::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:46
 [21] add_element!(o::KML.Placemark, child::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:55
 [22] object(node::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:46
 [23] add_element!(o::KML.Document, child::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:55
 [24] object(node::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/parsing.jl:46
 [25] iterate
    @ ./generator.jl:47 [inlined]
 [26] _collect(c::Vector{XML.Node}, itr::Base.Generator{Vector{XML.Node}, typeof(KML.object)}, #unused#::Base.EltypeUnknown, isz::Base.HasShape{1})
    @ Base ./array.jl:802
 [27] collect_similar
    @ ./array.jl:711 [inlined]
 [28] map
    @ ./abstractarray.jl:3261 [inlined]
 [29] KML.KMLFile(doc::XML.Node)
    @ KML ~/.julia/packages/KML/UtUHK/src/KML.jl:157
 [30] read(filename::String, #unused#::Type{KML.KMLFile})
    @ KML ~/.julia/packages/KML/UtUHK/src/KML.jl:153
 [31] top-level scope
    @ REPL[5]:1

The autosetfield! function in parsing.jl appears to assume newlines between coordinate tuples which is not the case here. The following change works for me and appears to still work with Points. It includes spaces in the split and has a check for a single coordinate case. Original commented out.
    if sym == :coordinates
        val = [Tuple(parse.(Float64, split(v, ','))) for v in split(x)]
        if length(val) == 1
            val = val[1]
        end
        # val = occursin('\n', x) ?
        #     [Tuple(parse.(Float64, split(s, ','))) for s in split(x, '\n')] :
        #     [Tuple(parse.(Float64, split(x, ',')))]
        return setfield!(o, sym, val)
    end

Have a look and let me know if this solution works out. Thank you

Thanks for report and elegant fix!  Fixed on master.


FPS on GPU

Hi first of all thanks for the code.
When I did the inference on GTX 1080 Ti, the speed was 5 frames/sec with a resolution of 640, 384.
In the paper, it has been mentioned that the speed on Titan XP is around 41 frames/sec. Is this speed using TensorRT acceleration or not.
Thanks.

I think they use tensorrt accelerator in paper.
My test in Xavier is(using tensorrt accelerate):
855ms
56ms
61ms
54ms
45ms
48ms

@thinkthinking , how did you manage to deploy it on Xavier (I'm struggling). I converted the wts now I need to build engine.
Did you just go to toolkit/deploy and did "cmake ." ?
I got some errors because I did not want to use the ZCam so I commented those lines out of the CmakeList. Then I still get cuda library error

@thinkthinking , how did you manage to deploy it on Xavier (I'm struggling). I converted the wts now I need to build engine.
Did you just go to toolkit/deploy and did "cmake ." ?
I got some errors because I did not want to use the ZCam so I commented those lines out of the CmakeList. Then I still get cuda library error

Hello, I didn't use author's deploy code directly. I edit the camera part and deploy with ROS.
I think there are several tips you need to notice:

in CMakeLists.txt, line 31, it should be cuda not coda;
in yoloplayer.hpp, line 19, CLASS_NUM should be 1 not 13, because official end-to-end.pth model can only detect 1 class(car).
you need to edit build_engine function as mentioned in issue #12.

@thinkthinking  I have changed all three points above,  when I build the infor_files.cpp, the .wts still not transform to .engine successfully. the error is:
[E] [TRT]  [contatcation]  all concat input tensors must have the same dimensions except on the concatenation axis (0), but dimensions mismatched at index 1. Input 0 shape: [128,45,80], Input 1 shape: [128,46,80]
in yololayer.h， the INPUT_H,INPUT_W,IMG_H,IMG_W should be change th what param?


Stop talking of “postprocessors”

Added in https://github.com/HugoGiraudel/sass-guidelines/commit/a687530a05158484803e08c5d04e159a0553300a.


open server url on webpack dev server start

Dependencies add - opn (dev)

@maddhruv Can you check why tests are failing ?

Can you check why tests are failing ?

sure

@akiran it is from the test suites
Not caused by my commit

@maddhruv Yes, Its not because of your commit.
Can you you debug why tests are failing, so that we can make sure in future PR's test are passing before merging them

Can you you debug why tests are failing

Sure, will do a PR

this can be merged?


Block/BlockHeader requests with sufficient finality signatures

Closes #1655

Closing this, since it seems to be more controversial than I thought. Let's have a discussion first.


build: 1.17.3 and ensure all https in yarn lock

@josephperrott It is very unlikely that this PR will apply cleanly on the patch branch, since you amended the lock file.

Umm.. fail("Unknown Yarn version {}".format...))


bower update task

It would be great to be able to run a command "bower update" from the "gulp" script.

var bower = require('gulp-bower');
gulp.task('bower', function() {
return bower({ cmd: 'update'});
});


Add support for @Max bean validation annotation

🆕🐥:dog: First Timers Only
This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
:space_invader: Description of the issue
Currently the dolphin-platform-bean-validation module do not provide support for all default bean validation annotations. One that is missing is the @Max annotation. For solving this issue the support for the @Max annotation must be added like it is done for several other bean validation annotations in the dolphin-platform-bean-validation module and at least one unit test must check that the annotation is supported.
📋 Step by Step

🙋 Claim this issue: Comment below.
🔄 replace the up for grabs label with in progress.
:fork_and_knife: fork the repository in github by simply clicking the 'fork' button.
:arrow_heading_down: check out the forked repository
:twisted_rightwards_arrows: create a feature branch for the issue. We do not have any naming definition for branches.
💾 Commit your changes.
🔀 Start a Pull Request.
🏁 Done 👍 Ask in comments for a review :)
🔬 If the reviewer find some missing peaces or a problem he will start a discussion with you and describe the next steps how the problem can be solved.
:boom: you did it! We will merge the fix in the master of the Dolphin Platform project.
:bouquet: Thanks, thanks, thanks for being part as an open source contributor for Dolphin Platform

🤔❓ Questions
You can join our community chat at Slack

Let's try :)

@Koziolek 👍

I'll try

See https://github.com/canoo/dolphin-platform/pull/691

see https://github.com/canoo/dolphin-platform/pull/691


Shortest Path Finder

SkillShow! 🎊🎈
Welcome! 🎉
Thank you for visiting our repository! We're excited to have you here. If you find this project useful, please consider giving it a star! ⭐
🎉 Have you reviewed the Contributing Guidelines? 🤔 (Required)

[x] YES
[ ] NO

📝 Description
In many cities, commuters face challenges in determining the quickest or most efficient route between their starting location and destination, especially when there are multiple transit stops and potential routes to choose from. Without a clear method to find the shortest or fastest path, travelers may end up taking longer, indirect routes or waiting unnecessarily.

🔧 Fixes #35 (Required)

🏷 Initiative Participation (Required)
This pull request is associated with the following initiative. Please choose the one you are contributing to:

[ ] 🌸 GSSoC (Girl Script Summer of Code)
[ ] 🌼 GSSoC 2024 Extd.
[x] 🍂 Hacktoberfest 2024
[ ] ❄ Script Winter of Code (SWoC)
[ ] ⛄ Winter of Blockchain (WoB)
[ ] 🙋♂ Personal
[ ] 📌 Other (please specify): _______________

Updated and completed the required changes in pull request Shortest Path Finder #97


Slow inserts - normal on gallera?

Hi, I'm having issues running default config in swarm.
I have dual 2.5Gbit nics + NVME drives. Yet insert performance is around 100 rows/s. In standalone config, it is 3000+ rows/s. What could be wrong? Is this drop expected for gallera deployments?

The expected performance hit is that each commit is delayed by the latency between the nodes, so if you have 5ms latency that is 5ms of additional time per commit. So if your inserts are serialized then perhaps that can explain your degradation. You could try running multiple insert transactions in parallel or combining them into multiple inserts per commit or multiple inserts per statement to get better performance.
Please note this is not a great place for Galera support, I do not consider myself a Galera expert and do not wish to engage in general community support, a place like Stack Exchange is more appropriate for this type of question.


sendfilefromUrl to download videos

Hi, when I use sendfilefromUrl function to download videos from youtube or tiktok I get BIN compressed file. The video inside the BIN file. Any idea how to fix this to send video to whatsapp?

Quero n porra
Em Qui, 4 de mar de 2021 6:51 PM, aymenitc<EMAIL_ADDRESS>escreveu:

Hi, when I use sendfilefromUrl function to download videos from youtube or
tiktok I get BIN compressed file. The video inside the BIN file. Any idea
how to fix this to send video to whatsapp?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MhankBarBar/whatsapp-bot/issues/215, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATCEX2CPTLRSEKH5JWYRXDDTB76GBANCNFSM4YUBQWAQ
.

now is working after open-wa patch


Update<PHONE_NUMBER>53.do.54-create-couchdb-users-meta-table.sql

Fixed an issue with matview refesh crashing in non SEMVER version.

Pushed to 54 from internal code, so closing this PR as unnecessary.


Add missing host/device annotations to Primal/Spin functions

Summary

Fixes an issue identified by @steveg21, where initializing spin::BVH fails with CUDA.
nvcc somehow doesn't warn us about certain functions with missing AXOM_HOST_DEVICE annotations, and instead will generate a call instruction to address 0x0. The existing tests for the BVH code weren't able to catch the issue, since the functions in question are somehow getting inlined when our tests are being built, which avoids the problematic call instruction.

One of the LC jobs got stuck waiting for an allocation.
I reran the pipeline and it passed the second time around.


lock.py: make main() argv as an argument

Instead of using sys.argv implicitly, which is inconvenient for testing.
Signed-off-by: Loic Dachary<EMAIL_ADDRESS>

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/teuthology-pull-requests/1537/
Tests passed for this pull request.


jyt

What is the meaning of this commit?
Read here about branching. You shouldn't commit into master.

Please make pull requests in develop branch and commit only the files those should be updated.
There too many *.proj files in your commits.


1.13.0 | Emmet expansion suggestions don't appear in .php files

VSCode Version: 1.13.0
OS Version: OSX 10.12.5

Steps to Reproduce:

Add new setting "emmet.useNewEmmet": true,
Enter a php file and type any HTML tag
The expansion suggestions do not appear

The same with vue,
With emmet.useNewEmmet set to true it doesn't work.
"emmet.syntaxProfiles": {
  "vue-html": "html",
  "vue": "html"
}

@blukai  yea happened to me too 😢

Thanks for reporting this.
The feature of mapping a non emmet supported language to emmet supported language is not yet implemented in the new emmet model.
I have added this to the June plan for emmet.
For now, you will have to turn emmet.useNewEmmet off to get emmet expansions in any file that is not among the below
'html', 'xml', 'xsl', 'jsx', 'js', 'pug', 'slim', 'haml', 'css', 'sass', 'scss', 'less', 'sss', 'stylus'

With https://github.com/Microsoft/vscode/commit/1809bb2fc15f8ff4ea52cad60fee2fdb368d66ef the emmet.syntaxProfiles setting works as before in the new emmet

@ramya-rao-a
Can PHP with embedded HTML be added to the supported language list?

@nanaasumadu Doesnt the below work for you?
"php: "html"
}
``

After enabling the use of emmet.syntaxProfiles for both Emmet: Expand Abbreviation command and the emmet suggestions, we have seen issues where the suggestions pop up in irrelevant places and tend to get either noisy or are of incorrect syntax (eg: gives html suggestions inside a style block in a vue file)
See #29318 #29185 and #29114
This is because the emmet extension is not aware of embedded languages (case of style blocks in vue files or js code in jsx files) and wrong locations (like <? in php)
Therefore, its best that we leave the decision to trigger emmet suggestions to language specific extensions who know better.
Conclusion:

You can still use emmet.syntaxProfiles to get Emmet: Expand Abbreviation command to give you emmet abbreviation expansions. Bind a keyboard shortcut to it (just not Tab)
Emmet suggestions will not be showing up for languages which have been emmet enabled using emmet.syntaxProfiles
Language extensions can easily trigger emmet completions by using the vscode-emmet-helper module. See https://github.com/Microsoft/vscode/issues/29114#issuecomment-310232680

Thanks to everyone who provided feedback!

@ramya-rao-a
Emmet: Expand Abbreviation has stoped working for php files in the vscode-insiders build 2017-06-26T05:03:31.319Z.  It was working fine in the build on 2017-06-23.
I still have the following in my settings.json file:
"emmet.useNewEmmet": true,
"emmet.syntaxProfiles" : {
"php": "html"
}

@nanaasumadu I was pretty happy when I saw your comment on emmet working again for you after re-installing the Insiders.
Looks like we are back to square one.
The command Emmet: Expand Abbreviation continues to work for me in php files
@jens1o Can you give it a try?

@ramya-rao-a  Yes, it was all working until I install the latest build of vscode-insider yesterday.  Is there any way of reverting to the previous build for testing??  I am certain something has changed in the latest build that is causing that.
I have tried on two different Macs with the same result.

@nanaasumadu I don't think we can go back to a previous version of Insiders.

Are you referring to the emmet auto complete in php or the command Emmet: Expand Abbreviation?
Does it work with emmet.useNewEmmet: false?
Set emmet.useNewEmmet back to true. Open your dev tools (Developer: Toggle Developer Tools). Go to Sources open the file emmetAction.ts and add a breakpoint as shown below and run the Emmet: Expand Abbreviation command again. Does it hit the breakpoint?

Timezones...
@ramya-rao-a It works for me:

However, it is bound to Tab, but I do not set it to it.

@ramya-rao-a  After setting "emmet.useNewEmmet" to "false" and "true" again, Emmet: Expand Abbreviation" works in my php file.  As mentioned above, tab completion doesn't work.
If I, however, set "emmet.useNewEmmet" to false, tab completion works.
Emmet auto complete in php doesn't work now when "emmet.useNewEmmet" is set to true.  It was working fine in vscode-insider build on 23/06/17.
Any ideas??

@ramya-rao-a
I think this  issue may be what I am experiencing.  I didn't realise that emmet suggestions has been disabled for php and responsibility passed on to the language specific extensions.
Is there a fallback until the extension authors can make their extensions "emmet" aware to call emmet completion provider instead of the emmet extension itself trying to suggest ?
I think if you can provide a user setting such "emmet.useLanguageExtension" which can be set to true or false as fallback will be good.
Alternatively, are you able to provide vscode-emmet-helper as a VSIX and provide an option for a user to set which language such as "emmet.autocompleteSuggestion": "php" ?
Some of us find the emmet suggestions and completions very useful when working in PHP/HTML mixed environment.

@jens1o Thanks!
We are definitely moving away from binding Tab to Emmet. See https://code.visualstudio.com/updates/v1_13#_emmet-abbreviation-expansion-in-suggestion-list for more on this.
@nanaasumadu Let's use #29532 to track the option to allow suggestions to show up when the language is not a pure markup or stylesheet.
Meanwhile, please look at #29678 and add your thoughts there.
It is about using a different setting than emmet.syntaxProfiles to enable emmet abbreviation in languages other than the ones that are supported by default.

@ramya-rao-a
I have tested the new setting
 "emmet.includeLanguages": {         "php": "html"     },
but emmet suggestion does not work.
html file

php file

"Emmet: Expand Abbrevation", however works.

As far as I interpreted the code, this is by design.

@nanaasumadu Am using #29532 to track the suggestions for languages that are not pure markup or stylesheet

@ramya-rao-a  Sorry about that.  I have copied my comments to #29532 for completeness.

No problem at all


[Draft] Introduce textlint default terminology rules

@chalin these are the changes the default rule set would introduce (as discussed in #3001). Overall they look good to me, I fixed the one end-user case we discussed recently.
 Or can we turn it on, and disable a few of the rules? E.g., I'd prefer that we continue to use:

"website" vs. "site"
Whether "end-user" is hyphenated or not, depends on the context (whether "end user" is an adjective).
The same remark applies to "command line"

Are the defaults an all-or-thing deal? Or can we turn it on, and disable a few of the rules?

From what I understand is that you can turn them on and then disable a few you don't like. I agree with the ones you picked, so let me see how I can disable them

That works for me too. The original goal was to fix "ID".


Output with parallel task execution was garbled

Q
A

Bug fix?
Yes

New feature?
No

BC breaks?
Not sure

Deprecations?
No

Fixed tickets
N/A

Client OS
macOS 10.15.3

Host OS
Ubuntu 16.04.6 LTS

Hi!
When i'm deploying to multiple servers i use the -p, but most of the time due to task output containing control characters causes the terminal output to be garbled.
When the symfony process is created with tty enabled it causes to use my local machines /dev/tty
this renders all output handling useless (nofi).
The $process->getOutput() does not return anything because there is nothing to return.
So i disabled it tty and added a closure that outputs the process, i could imagine this is not ideal so added an config option where the old behaviour can be forced.
I'm only seeing my view on the problem so and i don't need the tty option to be enabled, but imagine this can be crucial to other users.
Maybe there is a better solution for this problem but did not find any.
Also i added some output formatting to better show which host is outputting what.

Codecov Report

Merging #2016 into master will decrease coverage by 0.24%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #2016      +/-   ##
============================================
- Coverage     64.31%   64.07%   -0.25%
- Complexity      561      562       +1
============================================
  Files            67       67
  Lines          2228     2235       +7
============================================
- Hits           1433     1432       -1
- Misses          795      803       +8

Impacted Files
Coverage Δ
Complexity Δ

src/Executor/ParallelExecutor.php
0.00% <0.00%> (ø)
38.00 <0.00> (ø)

src/Ssh/Client.php
0.00% <0.00%> (ø)
20.00 <0.00> (+1.00)

src/Support/Changelog/Parser.php
86.00% <0.00%> (-0.14%)
33.00% <0.00%> (ø%)

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 a8dabf0...e7f25d4. Read the comment docs.


Profilev3_smol_adjustments

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Design

Needs Design check

@exezbcz please review

Context

[x] Closes #9940

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

@yangwao

and probably closer to line

what do you mean?

what do you mean?

will discuss with exez, I mean it's first shot v3.1 so it's good like this and we will do some cosmetics
Thanks!
pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 9.56 USD/DOT ~ 3.138 $DOT
🧗 1cAsKZYNRb8dkSCpn4eVkEn6ycNZTGoDo5dGDgB8J1UUWK8
🔗 0xc476d3d2c730d0cffe943e209051ac1781bb10e43a5998323843f2ab7d7b80ad
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Table revisions prt 2 (clean up)

Clean up from the table revisions.
Removal of simple_output_query with JMESPath as it wasn't dynamic enough for our needs.

:shipit:


refactor(test-kit): rename _utils to test-kit

Coverage remained the same at 84.516% when pulling 2a069e4af5d596e9a4d7137688de3da39db70e6a on test-kit into 397f39f6010b1c6600042d31aca214d722b5c3ad on master.


⚠ Bofrost.de has degraded performance

In 45fa2cb, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1883 ms

Resolved: Bofrost.de performance has improved in d17df6c.


Add AzTdxVtpm tee type

This is a new TEE type for Intel TDX VMs on Azure that rely on a vTPM for attestation

The TEE is TDX (which we already have an enum for).. how is this different from using TDX? The same could be said about AzSnpVtpm as well.

The TEE is TDX (which we already have an enum for).. how is this different from using TDX? The same could be said about AzSnpVtpm as well.

We chose to add a seperate entry for Azure's offering of SNP (and now for TDX) Confidential VMs, because the Azure implementation is specific in its reliance on vTPM. The Azure CVMs do not expose a device to the guest from which an attestation report would be retrieved, but it's retrieved once at vm init on the fw layer and made available to the guest in vTPM nv index.
This requires specific evidence + verification logic. As we use the kbs-types enum in CoCo's attestation-service to parse evidences, we need a different entry for Azure's TDX and SNP CVMs.


Unauthorized?

Hello,
I have some problems reaching resources requiring authentication.
Using FosUserBundle and have a user created. Copied your controller methods for fetching salt, getting token and fetching information about a user.
What I do:

Fetch the user salt - Returns the same salt stored in the database (GET /api/v1/user/users/myusername/salt.json)
Fetch WSSE token using username, password and salt - Returns an array with X-WSSE (POST /api/v1/tokens.json)
Try to fetch information about user (GET /api/v1/user/users/myusername.json)

cURL headers are set with:
$headers = [
    CURLOPT_HTTPHEADER => (array)json_decode($tokenRequest->getContent())
];

Still I get error 401: You are not authenticated.
Also tried generating a WSSE token using CLI tool
php app/console app:token:create myusername mysecretpassword

Have I missed some really basic stuff?
Thanks!

Did some digging and the following error appears in the logs...
The security context was not populated with a Token

Closing this issue in favor of issue #19

I have the same problem. Any issues ?


Fix truncateUnitInterval (and add a test for it)

I rather like this usage actually! No need to invent a new name and impossible to accidentally refer to the non-absolute value. TIL!


Add text_content kwarg to BrowserlessLoader

Added keyword argument to toggle between getting the text content of a site versus its HTML when using the BrowserlessLoader

@rlancemartin

Run this for formatting:
poetry run black .


Error: undefined method 'unix' for HTTP::Client.class

How do we make a HTTP::Client that uses a unix socket?

Here's the way you'd go about it in recent versions of crystal.
require "http"
require "socket"

socket = UNIXSocket.new("/tmp/myapp.sock")
client = HTTP::Client.new(io: socket)

1.0
I was just confused by this line https://github.com/aca-labs/crystal-docker/blob/master/src/docker/api/api_client.cr#L33
and where .unix came from.

I see it was extended here!
https://github.com/aca-labs/crystal-docker/blob/master/src/core_ext/http/client.cr#L12
Cool beans 😎


can't convert String into time interval starting worker heroku

I'm getting an issue on postgres on heroku where a job cannot be cleared.
The worker crashes with the following error when starting up:
can't convert String into time interval
heroku[worker.1]: State changed from crashed to starting
heroku[worker.1]: Starting process with command `bundle exec rake jobs:work`
heroku[worker.1]: State changed from starting to up
app[worker.1]:   SQL (0.5ms)  UPDATE "delayed_jobs" SET "locked_by" = NULL, "locked_at" = NULL WHERE "delayed_jobs"."locked_by" = $1  [["locked_by", "host:4e2ca0ce-f20e-49ec-868e-46641d3d6e08 pid:3"]]
app[worker.1]: rake aborted!
app[worker.1]: TypeError: can't convert String into time interval
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/worker.rb:180:in `sleep'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/worker.rb:180:in `block (2 levels) in start'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/worker.rb:166:in `loop'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/worker.rb:166:in `block in start'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/plugins/clear_locks.rb:7:in `call'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/plugins/clear_locks.rb:7:in `block (2 levels) in <class:ClearLocks>'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:79:in `call'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:79:in `block (2 levels) in add'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:61:in `call'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:61:in `block in initialize'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:79:in `call'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:79:in `block in add'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:66:in `call'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:66:in `execute'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/lifecycle.rb:40:in `run_callbacks'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/worker.rb:165:in `start'
app[worker.1]: /app/vendor/bundle/ruby/2.2.0/gems/delayed_job-4.1.1/lib/delayed/tasks.rb:9:in `block (2 levels) in <top (required)>'
app[worker.1]: Tasks: TOP => jobs:work
app[worker.1]: (See full trace by running task with --trace)
app[worker.1]: [Worker(host:4e2ca0ce-f20e-49ec-868e-46641d3d6e08 pid:3)] Starting job worker
app[worker.1]: 2015-11-23T23:46:05+0000: [Worker(host:4e2ca0ce-f20e-49ec-868e-46641d3d6e08 pid:3)] Starting job worker
app[worker.1]:   Delayed::Backend::ActiveRecord::Job Load (1.3ms)  UPDATE "delayed_jobs" SET locked_at = '2015-11-23 23:46:05.412865', locked_by = 'host:4e2ca0ce-f20e-49ec-868e-46641d3d6e08 pid:3' WHERE id IN (SELECT  "delayed_jobs"."id" FROM "delayed_jobs" WHERE ((run_at <= '2015-11-23 23:46:05.385111' AND (locked_at IS NULL OR locked_at < '2015-11-23 19:46:05.385138') OR locked_by = 'host:4e2ca0ce-f20e-49ec-868e-46641d3d6e08 pid:3') AND failed_at IS NULL)  ORDER BY priority ASC, run_at ASC LIMIT 1 FOR UPDATE) RETURNING *
heroku[worker.1]: Process exited with status 1
heroku[worker.1]: State changed from up to crashed

wrong repo sorry


python310Packages.jwcrypto: 1.3.1 -> 1.4.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.jwcrypto is: "Implementation of JOSE Web standards"
meta.homepage for python310Packages.jwcrypto is: "https://github.com/latchset/jwcrypto"
meta.changelog for python310Packages.jwcrypto is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4 with grep in /nix/store/y5wn844w5p3w4dy7lvfjwdf4vciq77fs-python3.10-jwcrypto-1.4
found 1.4 in filename of file in /nix/store/y5wn844w5p3w4dy7lvfjwdf4vciq77fs-python3.10-jwcrypto-1.4

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
baserow
python310Packages.django-oauth-toolkit
python310Packages.drf-spectacular
python310Packages.jwcrypto
python39Packages.django-oauth-toolkit
python39Packages.drf-spectacular
python39Packages.jwcrypto

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/y5wn844w5p3w4dy7lvfjwdf4vciq77fs-python3.10-jwcrypto-1.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.jwcrypto https://github.com/r-ryantm/nixpkgs/archive/aa2e3a22a297e583f14c81bfab6796710316c728.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/y5wn844w5p3w4dy7lvfjwdf4vciq77fs-python3.10-jwcrypto-1.4
ls -la /nix/store/y5wn844w5p3w4dy7lvfjwdf4vciq77fs-python3.10-jwcrypto-1.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

baserow

6 packages built:

python310Packages.django-oauth-toolkit
python310Packages.drf-spectacular
python310Packages.jwcrypto
python39Packages.django-oauth-toolkit
python39Packages.drf-spectacular
python39Packages.jwcrypto

Maintainer pings
cc @costrouc for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.jwcrypto is: "Implementation of JOSE Web standards"
meta.homepage for python310Packages.jwcrypto is: "https://github.com/latchset/jwcrypto"
meta.changelog for python310Packages.jwcrypto is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.4.2 with grep in /nix/store/p6jg57m7da7nlwax157449vnjmnk9hmz-python3.10-jwcrypto-1.4.2
found 1.4.2 in filename of file in /nix/store/p6jg57m7da7nlwax157449vnjmnk9hmz-python3.10-jwcrypto-1.4.2

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
baserow
python310Packages.django-oauth-toolkit
python310Packages.drf-spectacular
python310Packages.jwcrypto
python39Packages.django-oauth-toolkit
python39Packages.drf-spectacular
python39Packages.jwcrypto

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/p6jg57m7da7nlwax157449vnjmnk9hmz-python3.10-jwcrypto-1.4.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.jwcrypto https://github.com/r-ryantm/nixpkgs/archive/a9133913e433a577e6e959dbb0e2970a28513111.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/p6jg57m7da7nlwax157449vnjmnk9hmz-python3.10-jwcrypto-1.4.2
ls -la /nix/store/p6jg57m7da7nlwax157449vnjmnk9hmz-python3.10-jwcrypto-1.4.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package failed to build:

baserow

6 packages built:

python310Packages.django-oauth-toolkit
python310Packages.drf-spectacular
python310Packages.jwcrypto
python39Packages.django-oauth-toolkit
python39Packages.drf-spectacular
python39Packages.jwcrypto

Maintainer pings
cc @costrouc for testing.

CVE-2022-3102


[BUG] ADFS user" new created Projects shown always as Project Owner "local user" not owned by ADFS user

Rancher Server Setup
Rancher version: 2.6.8
Describe the bug
On new created Project, by the admin AD user, the Project Ownership gets always to a local user instead to OF the admin AD user.
To Reproduce
UI Rancher Login with AD Login "Active Directory" (1.png)
Create a new project (2.png)
Check Members of the newly created Project (3.png)
see screenshots
Result
The project owner is a locale user, not an AD admin user.
Expected Result
The project owner should be the AD admin user that created the Project
SURE_4152

On reviewing, it's unclear if this is team 1 or team 3. If team 3 can start researching it we can review together after.

I think I looked at this one back in February.  It looks like the ptrb_handler.go is choosing the local:// principal instead of the AD principal.  I had a PR that I thought might work (just tossed it up while doing triage), but I think Michael mentioned that there may be a better way to accomplish this. https://github.com/rancher/rancher/pull/39827

A quick explanation of what's going on here. When an ADFS user logs into Rancher, under the hood they are assigned a principal ID from the ADFS system, but they are also assigned a Local ID within Rancher. That is, every user entity internally has a list of principal IDs, one from each auth provider that they could potentially use to log in. For most ADFS users, the Local ID isn't active (it has no password assigned) but it is still present in the system. The admin who set up ADFS is an exception, and can somewhat uniquely log in using either method.
When a project is created, Rancher needs to defer creating the initial owner binding, so it stores the username as part of the object. Later that "reconciled" to find the appropriate user. Currently, Rancher always prefers the Local ID when reconciling a user in this way, and this is what we see when re-opening the project. Strictly, this behavior is working as designed, since the Local ID points to the same user, and should grant permissions in the same way. But it does create a confusing user experience.
There are a few ways we could go about solving this. The team is currently leaning towards a somewhat larger change: we'd like to separate Local IDs and ADFS IDs entirely, so that each user has just one ID within Rancher. If we do this, the reconciliation process will have no other ID to pick, and it should then consistently select the expected AFDS principal for the project owner binding.
This is a long term project, as changing the underlying auth structure has security ramifications and we'll want to be sure they are well tested. Once we have that in place, this and several other counter-intuitive UX behaviors will fall away. We're running through a design proposal, and I'll try to keep this ticket updated as we make progress on the issue.

this is being tracked in a new feature request PrincipalID always has local user and ADFS userId, leading to confusing UX around project permissions


ModuleNotFoundError: No module named 'voxceleb_trainer.DatasetLoader'

Hi , I was trying to run this on one of my video . Getting below error . Please check .
ModuleNotFoundError: No module named 'voxceleb_trainer.DatasetLoader'

closing this issue as during git clone I missed to clone submodules . Please include ultralytics, ultralyticsplus in requirement.txt though


Improve server memory usage

Resolves #17

Looks good to me. The ioutil.ReadAll is a big issue. Good find.


Replace New and Noteworthy with links to release notes.

Closes #1351
Maybe this can be the basis for a template for all modules.

This now uses the snippet introduced by https://github.com/spring-projects/spring-data-commons/pull/2723

That's merged.


How to disable semantic analyser warnings?

version: bpftrace  v0.9.4-97-20200317-1417-gef39ed0 installed via snap
Hey
Is it possible to disable such kind of warnings, or what u can advice?
I have updated from bpftrace 0.9.1 to 0.9.4 and these messages are slightly annoying
script.bt:7:7-9: WARNING: comparison of integers of different signs: 'unsigned int64' and 'int64' can lead to undefined behavior
/ pid == $1 /

script.bt example
tracepoint:syscalls:sys_enter_read,
tracepoint:syscalls:sys_enter_write
/ pid == $1 /
{
  @fd = args->fd;
  @buf_raw = args->buf;
  @size = args->count;
}

There currently is none, but it would be nice to have :)
This particular warning should be fixed in the 0.10 release btw

To fix the warning, you can cast a value.
tracepoint:syscalls:sys_enter_read,
tracepoint:syscalls:sys_enter_write
/ pid == (uint64)$1 /
{
  @fd = args->fd;
  @buf_raw = args->buf;
  @size = args->count;
}

(in this case, upgrading bpftrace would be better though)

Got it, thanks for your support!


Add a note for customers about Go and Spring SDK support

We have AKV SDKs available for Go SDK and Spring, however, they are not included on this documentation.
Reason from AKV PM:
We don't support Go SDK, it is built outside of our SDK team, same as Spring Framework. And by support I mean (Sev 1/Sev 2 incident), we have Microsoft Community support when customer can get help over github
Both of them are not part of our release cycle, so we don't have parity of features there....
Feedback: Above information should publicly be available for our customers.

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

ID: fcba3146-83d6-fea9-78ca-d75df31a7d8a
Version Independent ID: 34472edb-c5bf-d751-e5f0-70f7ab2a6c02
Content: Azure Key Vault developer's guide
Content Source: articles/key-vault/general/developers-guide.md
Service: key-vault
Sub-service: general
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@jlichwa FYI

@FabianGonzalez-MSFT
Thanks for your feedback! We will investigate and update as appropriate.

It looks like a duplicate, we will address it in upcoming weeks:
https://github.com/MicrosoftDocs/azure-docs/issues/103276
#please-close


Sign-in from unfamiliar locations: Clarify if the event it's triggered only by SUCCESSFUL sign ins or also FAILED signIns

Docs state that "...The risk detection is triggered when the sign-in occurs from a location that's not already in the list of familiar locations..."
But it does NOT clarify if it refers to a SUCCESSFUL sign in (sign-in status success) or a FAILED sign-in( sign-in status failure). We're investigating alerts and having argument with MS support because although 99% of the events are triggered by succesful signins (which is what we expected), we also find a few cases when the sign-in from unfamiliar location seems to be triggered by a failed sign in, althugh always when accompanied by other risk events. Please clarify this in the docs: When the docs states "sign-in" does it refers to a SUCCESSFUL sign in?

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

ID: 198f0e69-af2a-8c82-041a-c5ca4126f02f
Version Independent ID: 4be57788-f1c2-d6d4-b94a-a59350a618a7
Content: Azure Active Directory risk detections
Content Source: articles/active-directory/reports-monitoring/concept-risk-events.md
Service: active-directory
Sub-service: report-monitor
GitHub Login: @MarkusVi
Microsoft Alias: markvi

@christianarg Thanks for your feedback! We will investigate and update as appropriate.

@christianargRisk please see here :
https://docs.microsoft.com/en-us/azure/active-directory/reports-monitoring/concept-risk-events#sign-ins-from-ip-addresses-with-suspicious-activity

This risk detection type identifies IP addresses from which a high number of failed sign-in attempts were seen, across multiple user accounts, over a short period of time. This matches traffic patterns of IP addresses used by attackers, and is a strong indicator that accounts are either already or are about to be compromised. This is a machine learning algorithm that ignores obvious false-positives, such as IP addresses that are regularly used by other users in the organization. The system has an initial learning period of 14 days where it learns the sign-in behavior of a new user and new tenant.

@christianargRisk are there any more questions within the scope of this issue? If not  I will be closing out this github issue by end of day tomorrow.

yes the initial question remains as you answered me information about "Sign-ins from IP addresses with suspicious activity" yet I specifically asked about the event "Sign-in from unfamiliar locations". So I ask once again:
Title: Sign-in from unfamiliar locations: Clarify if the event it's triggered only by SUCCESSFUL sign ins or also FAILED signIns
Description: Docs state that "...The risk detection is triggered when the sign-in occurs from a location that's not already in the list of familiar locations..."
But it does NOT clarify if it refers to a SUCCESSFUL sign in (sign-in status success) or a FAILED sign-in( sign-in status failure). We're investigating alerts and having argument with MS support because although 99% of the events are triggered by succesful signins (which is what we expected), we also find a few cases when the sign-in from unfamiliar location seems to be triggered by a failed sign in, althugh always when accompanied by other risk events. Please clarify this in the docs: When the docs states "sign-in" does it refers to a SUCCESSFUL sign in?
Thank you

@christianarg
if username and password don't match the sign-in fails and the detection does not happen.  It only is triggered on succesful auths
Please let us know if you have anymore questions in addition to that i'll go ahead and add a note into teh doc accordingly. Thanks!

if there are no more questions i'll be closing this out by end of day monday.

@FrankHu-MSFT  yes

As I said before, can you clarify this in the docs?
I opened a support case when a failire sign in triggered an sign-in from unfamiliar location alert. After some conversations MS support confirmed me that the reason was that the attacker had valid credentials but the AD core blocked the sign-in because it was also from a known malicious IP. This should also be clarified in the docs as it is an exception in the normal behaviour: "Alerts are generated only from succesful signin BUT there are few exceptions like the one I mentioned". Docs should be clear about this. We shouldn't need to open a support request to clarify this

Issue has been addressed and docs are being changed.


completions/bash: add missing flags for create

Sorts flags also.

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

[ ] Have you successfully run brew tests with your changes locally?

Thanks so much for your first contribution (hopefully of many)!  You rock, @atetubou!


Has krustlet applied measures for containers isolation （like kata, firecracker）?

same as title

hi @chuiyunjun, given that Krustlet runs web assembly modules and not containers, what measures did you have in mind?

pong, @chuiyunjun, just wanna make sure we understand the issue you have in mind.

pong, @chuiyunjun, just wanna make sure we understand the issue you have in mind.

closing as unresponsive/inactive.

closing as unresponsive/inactive.


Added selected state for Button

What this PR does
Adds a checked state for Button that is passed from <Radio />
Screenshots & Recordings

How it does that
The <Radio /> component is passing this prop when cloning the children it gets.
Testing
Create a Button and wrap it with Radio, see it gets checked prop based on the Radio toggle

Hm, I think there is a better way to do this-- button styles could be exported so an element can look like a button, but not exactly be a button. It looks like when clicking on the button directly in your story, the checked prop does not get passed since the DOM structure looks something like this:
<input id='custom-radio-input'/>

<label for='custom-radio-input'>
  <button>
    <svg/>
  </button>
</label>

If ever, the inner element would be a label to the radio, in this custom element example, it's a div: https://github.com/vimeo/iris/blob/main/src/components/inputs/Radio/Radio.examples.story.tsx#L71-L110

@juliewongbandue Thanks got it!
I tried implementing your idea but it will not work because besides style, Button has logic that affect how it looks and the rendering order.
examples
  const radius = pill ? 50 : borderRadii[size] + 2;

  const iconOnly = typeof children === 'undefined' && icon;
  const iconLeft = iconPosition === 'left' && icon;
  const iconRight = iconPosition === 'right' && icon;
  const iconFeatured = iconPosition === 'featured' && icon;
  const iconAction = iconPosition === 'action' && icon;

Also, it will force us to do something like
<Radio element="button" buttonProps={{ format: .... }} />

Which is not very and nice and also super complex for ts.
What I came us with is just use it as custom element
        <Radio>
          <Button pill format="secondary" icon={<Pencil />}>
            Hello
          </Button>
        </Radio>

This trick is here:
  const clonedElementProps: {
    disabled: boolean;
    checked: boolean;
    element?: string;
  } = {
    disabled,
    checked,
  };

  if (children.type.displayName === 'Button') {
    clonedElementProps.element = 'span';
  }

And added a warning for when this happens so the developer is aware
WDYT?

Oh I didn't notice this before, but it looks like you can change the button element to a span with the element prop: https://github.com/vimeo/iris/blob/main/src/components/Button/Button.tsx#L34
🎉

@tylerthegrove can you please review?


Updating Upgrade Check page

Removing an internal section reported by Kenny (see https://trello.com/c/PAXHlAne/344-ome-registry-version-update-in-public-docs) and also stopping the link to the upgrade URL which redirects to version 4 docs being live after the discussion in devteam the other day (I realise the link needs updating in the qa repo and this is on the list somewhere, but there is no really no need to encourage people reading the docs to click on the link by having it live in the docs page, especially as once it is fixed, it will redirect you to the same page you are already on!).

One minor comment/suggestion. Otherwise looks good.

:+1:


Loot broadcasts showing kc from loot tracker, not actual kc

Currently loot broadcasts are displaying the kc previously recorded by the loot tracker, not the actual account kc.
Image below for reference (account has 2700+ kc but broadcast says 211)
Thanks

It's intended to only use loot tracker count, we didn't make it use boss KC yet.

Are there any plans on adding boss KC? Thanks

Are there any plans on adding boss KC? Thanks

yes

sweet, thanks for the quick replies

Keeping this open until we incorporate chat KC in loot notifications


monoio-gateway项目 目前被哪个项目替代了？

@xj524598 - It's replaced by a project called Monolake, which will soon be open sourced.

You can find the project at Monolake


service fails to get token

Hi, still having lots of connectivity issues. Recently I've noticed that the vaillant app on android appears to be able to refresh but your service still can't connect via the API. This is the error at that point:
pymultimatic.api.error.ApiError: Cannot get token at https://smart.vaillant.com/mobile/api/v4/account/authentication/v1/token/new, status: 401, response: <!doctype html><title>HTTP Status 401 – Unauthorized</title>
HTTP Status 401 – Unauthorized

Type Status Report

Description The request has not been applied because it lacks valid authentication credentials for the target resource.

Apache Tomcat/mobilDIALOG-Live
,payload: None
Eventually it seems to work but obviously some failure in the authentication chain.

Same issue here 👍

same issue here as well

Hello,
Are you using a dedicated user for HA ?
Are you able to connect to multimatic app with this user ?

I do have a dedicated user, I can login in the app, but it seems I cannot control it in the app either :\ so most likely a vaillant issue ..

I have same issue, getting 401 after 500 status codes the days before. Could it be that they changed something on their servers? App is able to connect, also using a dedicated user.

It sounds their server is unstable. I tried to connect to the application and one time out of tree, I can connect, otherwise it gives me an error.
I sent them a ticket, let's see

I'm also having issues pointing to an unstable API or (upcoming?) changes for a few days, or actually weeks. Haven't got any data since yesterday.
Unable to authenticate: Cannot get token at https://smart.vaillant.com/mobile/api/v4/account/authentication/v1/token/new, status: 401, response: <!doctype html><title>HTTP Status 401 – Unauthorized</title>
HTTP Status 401 – Unauthorized

Type Status Report

Description **The request has not been applied because it lacks valid authentication credentials for the target resource.**

Apache Tomcat/mobilDIALOG-Live

I've seen some 2022-11-20 07:54:47.427 ERROR (MainThread) [custom_components.multimatic.coordinator] Error requesting multimatic_gateway data: [Errno 104] Connection reset by peer errors to.
The MultiMatic app works now, but it had issues yesterday and was giving maintenance warnings.

Same Problem here. The App was down yesterday (2022-11-19). Now the Anroid-App is working, but the Multimatic integration is down since yesterday.

I can confirm the android app is not working properly. Just tried few times to login to the app with my HA user and I got this

This is in french, it basically says: check your username and password.
Of course, credentials are correct

I tried to create a new user account for HA and got this after I followed the link in the email....

During connection with the old credentials I got this in HA...
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.multimatic.config_flow
Source: custom_components/multimatic/config_flow.py:72
Integration: Multimatic (documentation, issues)
First occurred: 19. November 2022 um 15:42:21 (19 occurrences)
Last logged: 11:27:54
Unable to authenticate: Cannot get token at https://smart.vaillant.com/mobile/api/v4/account/authentication/v1/token/new, status: 401, response: <!doctype html>HTTP Status 401 – UnauthorizedHTTP Status 401 – UnauthorizedType Status ReportDescription The request has not been applied because it lacks valid authentication credentials for the target resource.Apache Tomcat/mobilDIALOG-Live

Hello can confirm this behaviour in my setup as well. Hope we ever see some local controll :-(

Same for me, login through app works fine, but not able to login through hacs integration. I tried to delete and add the integration, but throws a 104 error when entering username and password.

Same problem here. Multimatic application on my Android works but HA doesn't work anymore.
My log:
This error originated from a custom integration.
Logger: custom_components.multimatic.coordinator
Source: helpers/update_coordinator.py:182
Integration: Multimatic (documentation, issues)
First occurred: 1:55:13 PM (12 occurrences)
Last logged: 1:55:28 PM
Error requesting multimatic_holiday_mode data: [Errno 104] Connection reset by peer
Error requesting multimatic_hvac_status data: [Errno 104] Connection reset by peer
Error requesting multimatic_facility_detail data: [Errno 104] Connection reset by peer
Error requesting multimatic_gateway data: [Errno 104] Connection reset by peer
Error requesting multimatic_emf_reports data: [Errno 104] Connection reset by peer

I can report exactly the same behavior... Ios App works fine (yesterday it didn't), but multimatic integration doesn't get a token...

Same problem, Vaillant-App works partly.

Same issues here, hope it will get fixed, would not be the first time there are issues on the serverside. At this time, HA integration is still not functional.

@thomasgermain , any news from vaillant ?

Is there something we - as user of vaillant and your implementation - can do, in order to get your request a higher priority? You said you would create a ticket on their system - is there some way to upvote it? (I know I am dreaming here... but maybe..)

Ok so, I decompiled the last android APK and found out that there is a "new" header (not so new actually, but It apparently became mandatory) "Vaillant-Mobile-App".
Version https://github.com/thomasgermain/vaillant-component/releases/tag/1.12.10 should fix the issue

Installed the update and now it works again, thank you @thomasgermain , great work!

👏 Works again! Thanks @thomasgermain

Yes. Thank u so much. Works again.
I see the developer has fixed the app from vaillant. You can now login in to the app.

And now the servers are going down :-)
pymultimatic.api.error.ApiError: Cannot get token at https://smart.vaillant.com/mobile/api/v4/account/authentication/v1/token/new, status: 503, response: Service Unavailable,payload: None

The problem came back :(
Maybe one is blocked if two many queries are done? (here with the same authentication failure)

Ok, sorry - I had installed 1.12.10 manually, but it seems HACS overwrote it again after a restart. Now that the update is also available via HACS and I installed it, it started working again...

Just installed 1.12.10. Can confirm that it works again.
Hopefully it remains like this.
MANY THANKS THOMAS !

I'm quite happy to close this one :)

👍
On Mon, 21 Nov 2022, 19:48 Thomas Germain, @.***> wrote:

I'm quite happy to close this one :)
—
Reply to this email directly, view it on GitHub
https://github.com/thomasgermain/vaillant-component/issues/165#issuecomment-1322564673,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB36V4DDNWBDAPVKNDCCCFDWJPGXFANCNFSM6AAAAAASFLKGSQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove extra output from CLI when using --json output specifier

When using --json - we should disable other output on stdout. This allows users to pipe this output to tools like jq
For e.g - when calling go run corso.go backup create exchange --user<EMAIL_ADDRESS>--json - we currently print the following on stdout:
Logging to file: /Users/vaibhavkamra/Library/Logs/corso/logs/2023-03-27T01-45-26Z.log
Connecting to repository:      4s done
Backing Up ∙<EMAIL_ADDRESS>Connecting to M365:         done
Discovering items to backup:     18s done
∙ contacts:      2s done
∙ email:      8s done
∙ events:      7s done
Backing up data:     23s done
Done - ID: 2b0e4db3-7d3b-4be7-80f7-ae47101956f3

Completed Backups:
[
  {
    "id": "2b0e4db3-7d3b-4be7-80f7-ae47101956f3",
    "errorCount": 0,
    "started at": "2023-03-26T18:45:32.176939-07:00",
    "status": "Completed",
    "version": "0",
    "bytesRead": 2238887,
    "bytesUploaded": 2293757,
    "owner"<EMAIL_ADDRESS>  }
]

It might make sense to:

Disable progress bar if --json is set (the equivalent of --hide-progress=true)
Add the Log file message to JSON output

iirc the output should already be split along these lines.  Wonder which additional output is getting caught.

I just checked and the progressbar should be going to stderr and so piping to external tools should not cause problems.


Hide segmentation

It should be possible to hide the current segmentation result (keyboard shortcut...) as it can be distracting when manually marking an image etc.
This setting should stay active until the user disables it (shortcut), runs the segmentation or switches to another page.

added in 3b842af85685a559c4c49221319f3c4b19f31b4a


Integrated terminal over-tabulates text

When I start a new terminal, it tabulates the input WAY too right. The cursor, however, is placed right where it should be.
Seems like the text is tabulated, while the input is not.

VSCode Version: 1.12.2
OS Version: Windows 10 Creators Update x64

Steps to Reproduce:

Open a new integrated terminal
Profit =/

Couple screenshots:
https://files.gitter.im/Microsoft/vscode-go/yrzH/image.png
https://files.gitter.im/Microsoft/vscode-go/kEN5/image.png
https://files.gitter.im/Microsoft/vscode/FyeE/image.png

Duplicate https://github.com/Microsoft/vscode/issues/19665