Issue recording with Analog microphone

Hey there
Thanks for this project its been very helpful and insightful so far.
I managed to adapt the project to the Arduino's SD library and got the recording workig with the MEM's microphone.. but when i hook up a MAX9814 analog mic my recording gets super slow(aprox 4x longer) i think this has to do with the bit resolution of the recording or something but im fairly 'newbie' to programing. Thats why im asking you for help
The two recordings
top - analog mic (4x the size of the bottom one)
bottom - mems microphone

Could you post all the changes you made? The code would give more insight in what could be happening than a picture of audacity waveforms. That's the result not the cause.

Could you post all the changes you made? The code would give more insight in what could be happening than a picture of audacity waveforms. That's the result not the cause.

Hey there Gaai thanks for the reply.
Apart from changing some fo the pins (with no issues on that) and transitioning to the sd library using the #9  theres not much ive changed but here is the code for:
WAVFileWritter.cpp
`
#include "WAVFileWriter.h"
static const char *TAG = "WAV";
WAVFileWriter::WAVFileWriter(File fp, int sample_rate)
{
m_fp = fp;
m_header.sample_rate = sample_rate;
// write out the header - we'll fill in some of the blanks later
m_fp.write((uint8_t *) &m_header, sizeof(m_header));
m_file_size = sizeof(wav_header_t);
}
void WAVFileWriter::write(int16_t samples, int count)
{
// write the samples and keep track of the file size so far
uint8_t sampleBytes = (uint8_t*)samples;
m_fp.write(sampleBytes, sizeof(int16_t) * count);
m_file_size += sizeof(int16_t) * count;
}
void WAVFileWriter::finish()
{
// now fill in the header with the correct information and write it again
m_header.data_bytes = m_file_size - sizeof(wav_header_t);
m_header.wav_size = m_file_size - 8;
m_fp.seek(0);
m_fp.write((uint8_t *) &m_header, sizeof(m_header));
}
`
WAVFileWritter.h
`
#pragma once
#include "FS.h"
#include "WAVFile.h"
class WAVFileWriter
{
private:
int m_file_size;
File m_fp;
wav_header_t m_header;
public:
WAVFileWriter(File fp, int sample_rate);
void start();
void write(int16_t *samples, int count);
void finish();
};
`
ADCSAMPLER.cpp
`
#include "ADCSampler.h"
ADCSampler::ADCSampler(adc_unit_t adcUnit, adc1_channel_t adcChannel, const i2s_config_t &i2s_config) : I2SSampler(I2S_NUM_0, i2s_config)
{
m_adcUnit = adcUnit;
m_adcChannel = adcChannel;
}
void ADCSampler::configureI2S()
{
//init ADC pad
i2s_set_adc_mode(m_adcUnit, m_adcChannel);
// enable the adc
i2s_adc_enable(m_i2sPort);
}
void ADCSampler::unConfigureI2S()
{
// make sure ot do this or the ADC is locked
i2s_adc_disable(m_i2sPort);
}
int ADCSampler::read(int16_t *samples, int count)
{
// read from i2s
size_t bytes_read = 0;
i2s_read(m_i2sPort, samples, sizeof(int16_t) * count, &bytes_read, portMAX_DELAY);
int samples_read = bytes_read / sizeof(int16_t);
for (int i = 0; i < samples_read; i++)
{
//samples[i] = (2048 - (uint16_t(samples[i]) & 0xfff)) * 15;
samples[i] = (2048 - (uint16_t(samples[i]) & 0xfff)) * 15;
}
return samples_read;
}
`
ADCSampler.h
`
#pragma once
#include "I2SSampler.h"
class ADCSampler : public I2SSampler
{
private:
adc_unit_t m_adcUnit;
adc1_channel_t m_adcChannel;
protected:
void configureI2S();
void unConfigureI2S();
public:
ADCSampler(adc_unit_t adc_unit, adc1_channel_t adc_channel, const i2s_config_t &i2s_config);
virtual int read(int16_t *samples, int count);
};
`

There 's a few things that don't add up to me.
uint8_t* sampleBytes = (uint8_t*)samples;   m_fp.write((uint8_t *) &m_header, sizeof(m_header));
While samples is uint16_t.
Original WAVFileWriter:
void WAVFileWriter::write(int16_t *samples, int count) {   // write the samples and keep track of the file size so far   fwrite(samples, sizeof(int16_t), count, m_fp);   m_file_size += sizeof(int16_t) * count; }
I2SMEMS (config.h: 32bit):
    i2s_read(m_i2sPort, raw_samples, sizeof(int32_t) * count, &bytes_read, portMAX_DELAY);     int samples_read = bytes_read / sizeof(int32_t);     for (int i = 0; i < samples_read; i++)     {         samples[i] = (raw_samples[i] & 0xFFFFFFF0) >> 11;     }
ADC (config.h 16bit):
    i2s_read(m_i2sPort, samples, sizeof(int16_t) * count, &bytes_read, portMAX_DELAY);     int samples_read = bytes_read / sizeof(int16_t);     for (int i = 0; i < samples_read; i++)     {         samples[i] = (2048 - (uint16_t(samples[i]) & 0xfff)) * 15;     }
Also how did you bias your input?

There 's a few things that don't add up to me. uint8_t* sampleBytes = (uint8_t*)samples; m_fp.write((uint8_t *) &m_header, sizeof(m_header));
While samples is uint16_t.

Also how did you bias your input?

yeah i think everything is ok with my input. i really think the issue relies on the sample units like you said.
im gonna review it and ill give you an update

There 's a few things that don't add up to me. uint8_t* sampleBytes = (uint8_t*)samples; m_fp.write((uint8_t *) &m_header, sizeof(m_header));
While samples is uint16_t.
Original WAVFileWriter: void WAVFileWriter::write(int16_t *samples, int count) { // write the samples and keep track of the file size so far fwrite(samples, sizeof(int16_t), count, m_fp); m_file_size += sizeof(int16_t) * count; }

i got this part of the code from a reply to issue #9 @

@tuneado I had a completely different one. Recorded voice was super fast x2 or x3 times faster than normal. I'm using MEMS microphone INMP441 module.

Spend some time to figure this out, and fixed function now looks like this:
int I2SMEMSSampler::read(int16_t *samples, int count)
{
// read from i2s
int16_t *raw_samples = (int16_t *) malloc(sizeof(int16_t) * count);
size_t bytes_read = 0;
i2s_read(m_i2sPort, raw_samples, sizeof(int16_t) * count, &bytes_read, portMAX_DELAY);
int samples_read = bytes_read / sizeof(int16_t);
for (int i = 0; i < samples_read; i++)
{
samples[i] = (1024 - (uint16_t(raw_samples[i]) & 0xFFFFFFF0)) * 15;
}
free(raw_samples);
return samples_read;
}
Apparently value "15" is a gain of sound amplification.
1024 - sample rate.
Adding my i2s config:
// i2s config for reading from I2S
i2s_config_t i2s_mic_Config = {
.mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX),
.sample_rate = (uint32_t) SAMPLE_RATE, // 40000
.bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT,
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT,
.communication_format = (i2s_comm_format_t) I2S_COMM_FORMAT_STAND_I2S,
.intr_alloc_flags = 0,
.dma_buf_count = 4,
.dma_buf_len = 1024,
.use_apll = 0,
.tx_desc_auto_clear = true,
.fixed_mclk = 0
};
You are right to point out that issue relies on the sample units. Thank you!

Hey there Thanks for this project its been very helpful and insightful so far.
I managed to adapt the project to the Arduino's SD library and got the recording workig with the MEM's microphone.. but when i hook up a MAX9814 analog mic my recording gets super slow(aprox 4x longer) i think this has to do with the bit resolution of the recording or something but im fairly 'newbie' to programing. Thats why im asking you for help
The two recordings top - analog mic (4x the size of the bottom one) bottom - mems microphone

hello. I wanted to use PDM microphone. Please tell me how to do


vagrant up fails

vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'osx-sierra'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: osx_default_1512415824013_85334
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: <IP_ADDRESS>:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default:
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
==> default: Running provisioner: shell...
default: Running: inline script
==> default: vagrant.d xauthority fix
==> default: /tmp/vagrant-shell: line 1: /home/vagrant/.bash_profile: No such file or directory
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Obviously on osx .bash_profile isn't going to be in that directory.  Not exactly sure how to tell Vagrant the correct location is /Users/vagrant/.bash_profile

This is a long-overdue issue and most likely not related to the box itself (more to Vagrant configuration). I'll close it for now.

This is a long-overdue issue and most likely not related to the box itself (more to Vagrant configuration). I'll close it for now.


keep length when removing generated code before parsing the syntax tree

Sourcery removes the code inside inline blocks for syntax tree parsing, which changes the bodyTypeRange calculated by SyntaxTreeCollector which is used when calculating ranges for new sourcery:inline:auto blocks.
If we replace the code that we don't want to parse with the same number of spaces, the rangeInFile will match with the range calculated by SyntaxTreeCollector.
Stencil:
{% for type in types.all %}
// sourcery:inline:auto:{{ type.name }}.init
{{ type.accessLevel }} init({% for variable in type.storedVariables %}{{variable.name}}: {{variable.typeName}}{% if variable.defaultValue %} = {{variable.defaultValue}}{% endif %}{% ifnot forloop.last %}, {% endif %}{% endfor %}) {
{% for variable in type.storedVariables %}
	self.{{variable.name}} = {{variable.name}}
{% endfor %}
}
// sourcery:end
{% endfor %}

Source file:
class A {
	let o: String

	// sourcery:inline:auto:A.init
	internal init(o: String) {
		self.o = o
	}
	// sourcery:end
}

class B {
	let o: String
}

Original output:
class A {
	let o: String

	// sourcery:inline:auto:A.init
	internal init(o: String) {
		self.o = o
	}

// sourcery:inline:auto:B.init
internal init(o: String) {
	self.o = o
}
// sourcery:end
	// sourcery:end
}

class B {
	let o: String
}

Output with the changes in PR:
class A {
	let o: String

	// sourcery:inline:auto:A.init
	internal init(o: String) {
		self.o = o
	}
	// sourcery:end
}

class B {
	let o: String

// sourcery:inline:auto:B.init
internal init(o: String) {
	self.o = o
}
// sourcery:end
}

          1 Error

:no_entry_sign:
Any changes to library code need a summary in the Changelog.

  Generated by :no_entry_sign: Danger

@Cyberbeni I'm not sure if Spaces are in-fact going to work in all cases, take a look at StringView as that's what we use, you might want to add some composed unicode characters to the tests (like emoji) and I think we'd need to match utf8 length instead of number of chars

It turns out, it was just 1 spot where the wrong StringView was used for range calculations, so I just fixed that instead of finding out the hard way why UTF8 ranges are needed.

that's cool @Cyberbeni, thanks for contributing!
I'll get this and other hanging pr's in this week :)


Release 3.4.0 related changes (master)

@davidyan74 @PramodSSImmaneni review & merge

@PramodSSImmaneni fyi, I went ahead and merged this since it's rather straight forward.


ARROW-5490: [C++] Remove ARROW_BOOST_HEADER_ONLY

That CMake variable isn't exposed as an option and probably doesn't work anymore.

cc @majetideepak -- there are diminishing returns to maintaining this unless we add a "No Boost" docker-compose build.

+1


Add content length header for more http methods

What
Allow more than just POST requests to automatically add the Content-Length header within the PHP-FPM runtime. As per the HTTP spec, this should include at least POST, PUT, and PATCH - semantics for all other HTTP methods are undefined except for TRACE, which explicitly forbids the usage of a request body.
Why
Content-Length auto-detection appears to be a common feature at least in NGINX, which is the web server I'm used to in an environment with a server. It's simply better for DX and allows us to write RESTful services using Bref.
@mnapoli One question regarding the tests: The interface currently hardcodes POST in a few method names, what would be your preferred approach to add the other newly supported http methods? I'll add the tests to cover all methods and cases (Content-Length detection, base64 decoding) after that question was answered. :)
TODO:

[x] Implement changes in PhpFpm runtime
[ ] Get feedback on how tests should be implemented
[ ] Implement tests

Awesome, thanks for that!
Regarding the tests, you could do the same thing as what was done in #178. You could even keep the existing tests (there are 2) and run them against POST, PUT and PATCH using a PHPUnit dataprovider ?

Is this what will fix PUT requests being received with empty body at the moment?

@deleugpn it should yes.

Please ignore the amount of commits for a pull request this simple, I'm having issues with my local environment right now. 🙈

No worries! Thank you!

@mnapoli do I just have to update composer or does this require a new layer?

composer update should be sufficient, since your Lambda uses your vendor folder for the FPM runtime as of right now.

Thank you @timoschaefer. This worked great!


Fix: remove cluster field from pod view in vela top and optimize some ui

Description of your changes

Fixes #5229
I have:

[ ] Read and followed KubeVela's contribution process.
[ ] Related Docs updated properly. In a new feature or configuration option, an update to the documentation is necessary.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Special notes for your reviewer

Just remove "cluster" field is OK, but can we pass the cluster info from the "managed resource" panel?

Can we guarantee the cluster of pod is the same as the cluster of managed resource the pod belonging to?

Can we guarantee the cluster of pod is the same as the cluster of managed resource the pod belonging to?

If the pod is in a different cluster as managed resource it belongs to, then the managed resource have the capability to dispatch resources across the clusters. For now I think we have  few use case like that. So it's ok to pass the cluster info.

Can we guarantee the cluster of pod is the same as the cluster of managed resource the pod belonging to?

If the pod is in a different cluster as managed resource it belongs to, then the managed resource has the capability to dispatch resources across the clusters. For now I think we have few use case like that. So it's ok to pass the cluster info.

I got it. I have updated code.


Make publications pdf or accessible link available

I am unable to access the following publications cited in the docs:

M. Shalan and T. Edwards, “Building OpenLANE: A 130nm OpenROAD-based Tapeout- Proven Flow : Invited Paper,” 2020 IEEE/ACM International Conference On Computer Aided Design (ICCAD), San Diego, CA, USA, 2020, pp. 1-6.

R. Timothy Edwards, M. Shalan and M. Kassem, “Real Silicon using Open Source EDA,” in IEEE Design & Test, doi: 10.1109/MDAT.2021.3050000.Describe the bug
A clear and concise description of what the bug is.

Please provide pdfs.. thanks

I'm fairly sure that furnishing this request violates a copyright law of some kind. @mkkassem @shalan Care to weigh in?

If this is not publishable please remove reference in the document.

It's already been published, but we may not be able to provide a copy as part of the repository lest we run afoul of some copyright law.
The references will remain there should someone feel the need to cite OpenLane in their research projects. Getting access to the papers is a separate matter.

Ok sure. thanks.

You could link to the IEEE site like https://ieeexplore.ieee.org/document/9336682


Change in London Stock Exchange Historical Price from GBX to GBP

Hi
Noticed, interested difference in historical prices. While downloading data for Easyjet airline (listed on London Stock Exchange). Some of the close prices converted to GBP(£1) rather than GBX (100p).
See the difference between prices on 20th, 21st vs 22-24th April.
100%**]  1 of 1 completed
Open        High         Low       Close   Adj Close   Volume
Date
2020-04-20  640.000000  664.599976  605.799988  612.200012  612.200012  4869693
2020-04-21  604.599976  619.856995  584.168030  609.599976  609.599976  3280302
2020-04-22    6.170000    6.310000    5.821300    5.854000    5.854000  3812785
2020-04-23    5.868000    5.970050    5.706170    5.872000    5.872000  2900462
2020-04-24    5.784000    5.837800    5.550130    5.730000    5.730000  3612845

Ok

This is a potential bug. Is there any way to receive these prices in standard currency, i.e. either in GBX or GBP?

Not strictly a bug, but very annoying which is why I added new option repair to history(). Won't fix this specific issue because only handles weekly randomly containing GBp outliers, but maybe someone can extend function to handle this issue ...


Return error message if data is too long

Return error with message instead of simple 400.

Coverage remained the same at 80.0% when pulling e0854dc4fca8607254282bafcf02af5eb1373f3b on longError into 205d96c66d1bc36214855b396cbb3ead7f8bd943 on master.

Coverage remained the same at 80.0% when pulling e0854dc4fca8607254282bafcf02af5eb1373f3b on longError into 205d96c66d1bc36214855b396cbb3ead7f8bd943 on master.

@norchard Can you add a test to cover this case?


create a separate route handler for Loki tail endpoint

This should help clear up the issue we are seeing with query stats for loki, as all the websocket connections are being tracked through the same histogram as query requests.

closing this because this project is being replaced with grafanacloud-tools


Add ability to add a Panel through an extension

Requested by @dakaraphi in #41071
When a tree view is shown, it should be predictable where it is shown. This is why I think they all need to be on their own panel. If I want to view bookmarks, I don't want it maybe open at the bottom of the explorer, or the middle or who knows where because I have 5 or 6 other tree view contributions.

Contributing to activity bar is implemented here - https://github.com/Microsoft/vscode/issues/43645
Changing this to contribute to panel only

Just to clarify: is this a request for allowing to contribute new panels (with custom web views), i. e. next to "Problems", "Output", "Debug Console" and "Terminal"?

Yes

I have a use case to add a 'debug console'-like view to the panel, is this feature planned anytime soon?

@sandy081 maybe adjust the title and description of this issue? I only understood what this was about after reading Simon's comment and almost opened a duplicate. (Title and description is quite clear on e.g. #86789 which was closed as duplicate, so maybe borrow from there.)

7a5b90c74c6871af5f12037302476137422a5cf4

@sbatten can this be closed as it is enabled?


[Forge 43.2.3/1.19.2] Crash in heavily modded game

I'll admit that I have a lot of mods installed but this crash log only references Automobility and it doesn't occur when I disable Automobility.
I believe it's some bad interaction between this mod and Optifine (preview version 1.19.2 HD U I1 pre4. I know working with preview builds is risky but I figured I'd give the feedback.
crashlog-automobility.txt

I had that exact same error too! The only difference? No Optifine.

I'll admit that I have a lot of mods installed but this crash log only references Automobility and it doesn't occur when I disable Automobility. I believe it's some bad interaction between this mod and Optifine (preview version 1.19.2 HD U I1 pre4. I know working with preview builds is risky but I figured I'd give the feedback. crashlog-automobility.txt

I believe I have figured out the crux of this issue! Its related to Forge's "missing mod dependency" screen. I was having the same crash and was able to track down a line in the log file that one of my mod dependencies was outdated, and updating it removed the error. It looks like the Forge version of automobility doesn't play nice with that screen and instead just crashes the entire game. If you remove automobility, the missing dependency screen should pop up and tell you what mod(s) need to be updated, and once they're updated, you can add automobility back to your instance and things should work just fine!


Update message retention text to match stream opts

Fixes: Improve wording of retention period options

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

The issue this PR is for has been resolved. Thanks for your work, @half-of-a-glazier !


missing dependency in pom

dependency is missing in pom.xml
<dependency>
    <groupId>com.codahale.metrics</groupId>
    <artifactId>metrics-core</artifactId>
    <version>3.0.2</version>
</dependency>

In alpha


Fatal Error in Doctrine Connected Service

This is rather a question than an issue/bug:
I have set up my project with the Apigility 1.3.2 skeleton and added the appropriate dependencies (Phpro\DoctrineHydrationModule, ZF\Apigility\Doctrine\Server in module config; ZF\Apigility\Admin, ZF\Apigility\Doctrine\Admin  in dev config).
I created a Doctrine Connected Service for a small entity (one id and one plain text field; no associations) within the UI, but as soon as I am trying request the entity via the generated API, I get the error message:
Fatal error: Declaration of ZF\Apigility\Doctrine\Server\Resource\DoctrineResource::setHydrator() must be compatible with Zend\Hydrator\HydratorAwareInterface::setHydrator(Zend\Hydrator\HydratorInterface $hydrator) in C:\Users\<Username>\workspace\zf-apigility-skeleton-1.3.2\vendor\zfcampus\zf-apigility-doctrine\src\Server\Resource\DoctrineResource.php on line 41
I tried the following Apigility Doctrine module versions:
"zfcampus/zf-apigility-doctrine": "1.1.0"
and the latest
"zfcampus/zf-apigility-doctrine": "^2.0"
(i.e. 2.0.1 via composer).
Both create the same error message as seen above.
I tried setting up a usual REST-Service (non Doctrine-connected) and it is being served properly. So there must be something wrong or missing in my Apigility Doctrine module config. Or I am missing something else (which I cannot see at the moment) as I am quite new to Apigility. I am really stuck here.
Could you please give me hint?

Note: this is a temporary solution before this module gets updated.
The latest Zend\Hydrator is no longer compatible with this module. A workaround would be downgrade your Zend Framework to 2.5
In composer.json, change the version to:
"zendframework/zendframework" : "2.5",
Then you are good to go. I had the same issue when I reached to this article. Not just this, the recent upgrade of ZF2 modules such as Zend\Cache has been breaking our code. Now it's breaking the official module without any notice during update, which is sad really. Because there is no version leap between 2.5 and 2.5.3 so the developer wouldn't expect the broken backward compatibility.
Cheers,
Siwei

Until I can get DoctrineModule up to speed with zend-hydrator you may find a composer.json at https://apiskeletons.com for Doctrine in Apigility.

For more information see https://github.com/doctrine/DoctrineModule/issues/546

Thank you very much for your help and your suggestions!
The workaround (until the issue is finally resolved) based on your suggestions, downgrading to
"zendframework/zendframework": "2.5.1",
(did not want to install Apache ext-ldap as required in ZF 2.5) and due some other dependencies also
"zfcampus/zf-apigility-admin": "1.3.3",
did it for me.
Thank you for your quick help!

@TomHAnderson Why is the composer.json on your site behind a paywall?

Because I created it.  How much must one person give of themselves for free in order be accepted?  If you want individual help I can bill you hourly instead.

@clemf this is not the appropriate forum for you question.  The email links at https://apiskeletons.com work perfectly well.  I'm going to delete your post on this closed thread.

I know this is closed, I ran into the same error today.  Has there been any update on this?  I see there is a pending merge request but it appears as if it wasn't merged.  Is there a time frame for this?


Evaluate the warning logic in share and cite popup

With the recent changes, I added the same share popup that we have in the record page to the viewer app. The popup will use the same logic that we have in record app to show a warning to users.
When users click on the share button, we're sending a catalog request to retrieve the latest snaptime that is reported on the catalog. If the snaptime is different from the one that we get from the initial catalog request of the page (that we fire on load), we're showing a warning with the following message

The displayed content may be stale due to recent changes made by other users. You may wish to review the changes prior to sharing the <live link> below. Or, you may share the older content using the <versioned link>.

But this can be misleading. For example on the record page, the snaptime change might be because of a change that user did on the current page since we're not getting a new snapshot value after updating the page (due to create, edit, delete related entities). So I think we should improve this logic by at least updating the snapshot after each change. This is much more visible in viewer app since we want users to create/edit annotations and the warning will be displayed after the first change. We could apply the same improvement and update the snapshot after each change.
I'm not sure whether we can easily derive the snapshot or somehow get it from the ermrest response. Or should we simply send an extra catalog request to get it.

However, the fact that you made a request and updated snaptime does
not mean that these are the only changes represented in that new
snapshot. These are not sequence numbers so you cannot tell whether
there were additional snapshots in between your initial load and the
current state.
So, I think the warning is still applicable any time the snapshot is
different from the one you detected before beginning to fetch content
that is rendered on the page.

We had a discussion about this and these are what we concluded,

We should add the following to the warning: Refresh the page to get the latest snapshot.(just to provide more information to the users)

Since in record app we're updating the whole page after a change (edit/create/delete), we can be sure what's displayed to the users after the change is the latest data. So we can update the snapshot of the page by sending a catalog request after updating the page. We will use this updated snapshot for the compression that we're doing to show the warning.

In the viewer app, after edit/create, we're not updating the whole page. We're only updating the annotation that was modified. So updating the snapshot for the whole page doesn't make sense. Assume that you opened the page that has two annotations (annot1 and annot2) and clicked on the annot2 to edit it. While you were editing this annotation, someone changed the annot1. Now if you save the annot2, it's true that the displayed annot2 is the latest version, but the displayed annot1 is stale. To optimize this, we could keep track of the snapshot for each individual annotation. If you modify the annotation, we will fetch the snapshot and only use it for that annotation. This will ensure showing a proper warning to the users, but it might be confusing to the users since we're going to use different snapshot values for each one.

@karlcz Can you please see if these make sense to you? Do you think this optimization is useful or even correct?

I don't think it makes sense to talk about different snaptimes for
each part of the viewer content.  Fundamentally, you want to know
whether navigating to the versioned citation link will reproduce the
same rendered view that the user is currently viewing.
For using snaptime, I think there's really only one logic that makes
sense: compare a current snaptime T to a fixed T0 that was observed
prior to any page content being retrieved.  If snaptimes differ, you
cannot be certain whether you have a reproducible view or some mixed
reproduced that cannot be reproduced again later (i.e. different
requests producing content from different intermediate snaptimes).  I
think you should just warn the user at that point.
But, if the viewer app inputs are well-defined enough, you could fetch
a new copy and compare all the "important" parts to detect a change.
I.e. URLs, metadata fields, and display parameters that contribute to
the rendered page.  Hatrac objects are immutable, so if you have the
same set of versioned annotation URLs at time 1 and time 2, you know
the content is identical, even if the snaptimes are different. You
don't need to compare annotation contents.
However, this requires some understanding about what is the complete
set of important data content is for a viewer page.  If the viewer app
provides a very open-ended view of the catalog content (as with
record/recordset), or if it depends on model annotations for
customization, then I think sticking to snaptime is still the wiser
thing to do.  It would be hard to accurately compute the complete
set of inputs without rebooting the whole app and repeating every bit
of introspection and data retrieval...


AddressController REST API: POST with single address doesn't work

Trying to add a single address on an addressSpace via POST doesn't seem to have an effect (although 200 is returned).
POST http://[server:port]/v1/addresses/default
with payload
{
    "apiVersion": "enmasse.io/v1",
    "kind": "Address",
    "metadata": {
        "name": "test1_default",
        "addressSpace": "default"
    },
    "spec": {
        "type": "multicast"
    }
}

=> Addresslist of addressSpace "default" is unchanged, with no added "test1_default" address.
see GET on http://[server:port]/v1/addresses/default
(Test done in minikube, using EnMasse 0.13.0)

See my comment in #308. This does not work when the address controller is deployed in non-multitenant mode).

To add a single address, you must use the following JSON at present:
{
  "apiVersion": "v1",
  "kind": "AddressList",
  "items": [
    {
        "metadata": {
            "name": "test1_default",
            "addressSpace": "default"
        },
        "spec": {
            "type": "multicast"
        }
    }
  ]
}

POST of a single address remains to be implemented :)


Details about the paper

You said in section 3.4 "In experiments, we follow the simplified algorithm in [48] to estimate an approximation of φ.", but you did not use EMD as the loss function, but used PMD to minimize the total moving distance. I don't quite understand the role of this bijective function φ, I hope you can explain it, thanks.

Actually this description may be a little bit redundant. We use to apply both EMD loss (follow [48] to calculate) and CD loss, but found one of these two losses would be enough to train the model. Therefore, we finally only preserve CD for its better computational efficiency (see Eq. 10).
As for PMD and EMD, these two serves different purpose. EMD (we use CD to replace this loss) aims to regularize predicted shape close to the ground truth shape, and PMD loss regularizes the model to move points like an earth mover (which means moving points according to bijection φ, and this φ serves as an optimal target) which is define by EMD.

I understand what you mean, I didn’t read it carefully before, thank you for your answer


Please provide this package in repo.magento.com

So we can avoid adding additional repositories just to install this package.

Hello, @danslo. What will be feedback channel in this case? How would community be involved in development? On this step, I don't see an issue.


Change CLI library and make CLI more intuitive

Proposed changes
Major

Change CLI library from plac to click which supports a lot more features and works flawlessly on Windows
Add some color output
Give user some helpful instructions after loading models is finished

Minor

Rename nlp to selector in CLI code
Add pep8-naming plugin to check naming conventions with flake8 (helpful but optional!)
Ignore naming convention on Github workflows checks as it is optional

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
With python lib/cli/cli.py

Tested and displays correctly on both Linux and Windows

Related issue
n/a
Checkboxes

[x] I have run the unit tests with pytest
[x] I formatted the changes with ./scripts/formatter.sh

Fixes #154


Remove/comment out the title attribute from the widget, as this is no…

… longer processed by the library

Thanks for PR
Will waitcsome time for feedback from Bluefox weather title vould / dhould be readded.
Code chsnges from 1.0.2 are missing in repo .

totle has been restiored


Move "Single Portrait Mode" setting to the settings

Just makes more sense there I think. Having it in the Theme under "Dialog Text", seems really not like the right place.

I agree that it is weird, but not sure that settings is the proper place either. I think this is something we can figure out better for Dialogic 2.0 and how we want to handle the display and settings of portraits.

I've also thought about adding another "Portraits" tab in the theme editor, because there is now also the "Dim Portraits Color" that has no place in the theme editor so far.


Coloristical or ergonomical bug for boolean elements

System information:

Operating system (distribution) and version
Linux
DBeaver version
7.0.1
Additional extensions

Connection specification:

Database name and version
Driver name
Do you use tunnels or proxies (SSH, SOCKS, etc)? no

Describe the problem you're observing:

Steps to reproduce, if exist:
Open create column form or any interface table key-value in Dbeaver with boolean value

cannot reproduce it on ubuntu 19.04.
What OS do you use?

OS isn't a decisive factor. There is the same situation in Mint, Ubuntu and any other. I use mate https://ru.wikipedia.org/wiki/MATE as graphical shell.

thanks for the bug report

Fixed in #9327
Must be tested on Linuxes and MacOS.

ubuntu - ok

Mac Catalina is ok too


Workload Classifier definition

Where is the DataLoads membername being defined in this process, or is this meant to be the ELTLogin as the member name as well?

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

ID: 973f4ffd-c49a-fa6f-0102-c6c9dbd354da
Version Independent ID: 4fb4607f-e627-aeca-9a21-a6f367ffff54
Content: Quickstart: Configure workload isolation - T-SQL - Azure SQL Data Warehouse
Content Source: articles/sql-data-warehouse/quickstart-configure-workload-isolation-tsql.md
Service: sql-data-warehouse
Sub-service: workload-management
GitHub Login: @ronortloff
Microsoft Alias: rortloff

If it is meant to be used from the workload group name, then maybe an update to the classifier for the folllowing, does not directly call out that this can be a workload group
MEMBERNAME ='security_account'*
This is the security account being added to the role. Security_account is a sysname, with no default. Security_account can be a database user, database role, Azure Active Directory login, or Azure Active Directory group.
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-workload-classifier-transact-sql?view=azure-sqldw-latest

Hello,
The parameter values for workload_group and membername are reversed in the example.  Fixing this now.  Thanks for raising this.

pr 96770 has bee merged in.

#please-close

@ronortloff Thanks for the quick response. :+1:


Remove the feature switch "feature.use_merge_diff_ui"

The API property feature.use_merge_diff_ui was added to control using the newer merge/diff UI for merging of data models during development. This should now be enabled by default, so the switch is not longer necessary - the merge/diff UI is the correct way of managing merges now.

Remove the feature.use_merge_diff_ui API property
Remove the environment.ts feature switch defaults and ensure that removing them does not break anything
Update the documentation to reflect this - see https://maurodatamapper.github.io/user-guides/feature-switches/feature-switches/#available-features

@olliefreeman @jamesrwelch If we're removing this feature switch to assume that the newer merge/diff UI is the standard way of merging now, shall we also remove the previous merge UI as well to clean up, assuming it won't be used again?


Expand snippet without confirm() action

Hello. I find to expand snippets by aditional actions is slightly annoying. Is it possible to expand it the same way as regular completions? In my maps it's ctrl-n and ctrlp`.

Sorry. Probably, I don't understand what you expect. (Sorry for my poor English.)
Please clarify the problem.

Oh, don't worry about your english. I'm not good in English too :)
I mean why we need to expand snippets by action?
Could snippet expand and srink automatically as ordinary completion option? When you select ordinari completion option (from buffer e.g.) you don't need to invoke confirm() action to expand it. Could we do same with snippet? Expand and shrink without aditional action.

Oh, don't worry about your english. I'm not good in English too :)
I mean why we need to expand snippets by action?
Could snippet expand and srink automatically as ordinary completion option? When you select ordinari completion option (from buffer e.g.) you don't need to invoke confirm() action to expand it. Could we do same with snippet? Expand and shrink without aditional action.

If snippets automatically expand  on completion selection with c-n or c-p how would you select other stuff in the completion menu? I guess you could already see the expanded snippet from the floating menu if you want to see the snippet before expanding it?

Oh, don't worry about your english. I'm not good in English too :)
I mean why we need to expand snippets by action?
Could snippet expand and srink automatically as ordinary completion option? When you select ordinari completion option (from buffer e.g.) you don't need to invoke confirm() action to expand it. Could we do same with snippet? Expand and shrink without aditional action.

If snippets automatically expand on completion selection with c-n or c-p how would you select other stuff in the completion menu? I guess you could already see the expanded snippet from the floating menu if you want to see the snippet before expanding it?

What's wrong with continuing selection? I mean if you press C-n and snipper expand automatically. Completion menu still on the screen. And then if you press C-n snippet will shrink and you get next completion option.

That would break my lovely set up where tab is used to both navigate completion menu and traverse snippet's placeholders.
But I did see what you are asking for in VSCode on some YouTube video and it did look interesting.

Could you put youtube URL? It's interesting.

Ah, I am sorry, have no idea which video it was, and it wasn't specific to VSCode but just popped up when author was expanding emmet snippets I believe. It must have been one of https://www.youtube.com/kepowob videos, but there are so many. Sorry @hrsh7th. :(

@hrsh7th did you understand what I talking about?

@hrsh7th ping

Do not close it please


Add image update capability

As a system owner, I want to update the running image in situ, so I can perform updates without having to burn and ship an SD card.
At present, updating the running image requires writing an SD card and physically inserting it into the CuBox. The swupdate software and the corresponding meta-swupdate layer look like good options for doing in-place image updates.

You may want to look at mender.io as well.


Location scrubbing on client app side prior to upload

In the current design, my understanding is that the user will transmit their full trajectory to the healthcare provider without modification. That healthcare worker will then clean and remove personalized data.
It would be useful if prior to upload, the user has the ability to remove elements of history prior to transmission to the healthcare worker. This will enhance privacy, and decrease the load on the healthcare worker before incorporating the trajectory into the infected user database.

Thanks! Client-side redacting is on our list!

Closing this issue out as we have taken it into consideration and documented the feedback on this page in Jira.


run multi-jvm tests on travis

Current coverage is 76.01% (diff: 100%)

Merging #28 into master will not change coverage

@@             master        #28   diff @@
==========================================
  Files            41         41
  Lines           346        346
  Methods         340        340
  Messages          0          0
  Branches          6          6
==========================================
  Hits            263        263
  Misses           83         83
  Partials          0          0

Powered by Codecov. Last update bde28d5...ceac6ad


anaconda(3.8) + qlib，UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)

UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)
I have successfully installed pyqlib， and run workflow.py on pycharm.
It doweloaded data.
then raises exception:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)

@ailabx UnicodeEncodeError: 'ascii' codec can't encode characters in position 18-20: ordinal not in range(128)
This error is Python3 does not use UTF8 correctly
you can use PYTHONIOENCODING=utf-8 python workflow.py

请问解决了吗 我也遇到相同问题


Fix crash when pre_init, kw_only, and defaults come together

Fixes #1284

@zeevro I'm a bit in a rush to release 24.1.0 and I know I let it languish for too long, but if by a wild accident you have a second to look at this, that would be appreciated.

Sorry, I only got to it now, but the issue seems to be solved and everything looks like it's working :)
Thanks a lot!

hah releasing is the best way to get feedback either way ;)


complete mongodb  functionalities for playlists and recommendations + Storing real spotify api data into mongodb

Done for liked songs and recommendations -> remaining : playlists


Makefile: Fix edpm_baremetal_prep Target

Due to the refactoring of CR in dataplane operator, the
edpm_baremetal_prep target was not using the correcnt environment
variable which points to the relevant CR.

Without this PR, the target fails:
cp  /home/ciuser/out/openstack/dataplane/cr
cp: missing destination file operand after '/home/ciuser/out/openstack/dataplane/cr'
Try 'cp --help' for more information.
make: *** [Makefile:640: edpm_deploy_baremetal_prep] Error 1
make: Leaving directory '/home/ciuser/src/install_yamls'


Update deployment-jobs.md

1.Corrected the statement for example where the output variable is set in a non-deployment job.
2. Added the example to reference an output variable from a deployment job.
3. Made some corrections to variable names in other examples.
4. Corrected the reference example when using resource name.

@juliakm
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@arkoppan Thanks for your edits!
#sign-off

@arkoppan @juliakm - merging this PR https://github.com/MicrosoftDocs/azure-devops-docs/pull/14142  has seemingly caused a merge conflict ... can you address/fix and then tag me to review again? thanks.

#hold-off

Do we have an update on this @arkoppan @juliakm?

@arkoppan @juliakm - merging this PR #14142 has seemingly caused a merge conflict ... can you address/fix and then tag me to review again? thanks.

@Jak-MS The changes from this PR 14142  can be overridden with the changes suggested in this PR 14141 (as the variable vmsfortesting is defined in the environment on line 478.
@hunyu @juliakm

@arkoppan @juliakm @hunyu - i have addressed the merge conflict as recommended in a previous comment. See this commit: https://github.com/MicrosoftDocs/azure-devops-docs/pull/14141/commits/024697b823009fc633d62f4ec71840c849a22ad5
I'll merge this now... please double check that all the changes are as you intended, and if not open a new PR to address any issues. thanks.

Do we know how soon PR will get published? Noticed that https://learn.microsoft.com/en-us/azure/devops/pipelines/process/deployment-jobs?view=azure-devops#support-for-output-variables is still dated May 2024. Or this is up to Doc Gate Keeper to officially release the update document?


editorconfig + clippy + PartialEq

I've done a first pass for clippy but didn't change it all in case it was clashing with your code style. The main 2 clippy lints left are:
108 |                 if line.trim().len() != 0 {
    |                    ^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is more concise: `!line.trim().is_empty()`

and
199 |     return Ok(result);
    |     ^^^^^^^^^^^^^^^^^^ help: remove `return` as shown: `Ok(result)`

If you're ok with changing those, I'll do it in another commit

is_empty is fine.
Implicit return is good in Ok(..) case or in one-liners. But pretty much dislike when it fixes it everywhere.

Thanks for your work. Should I give you permissions, so you can work on it freely?

Thanks for your work. Should I give you permissions, so you can work on it freely?

Up to you! I would still go through PRs to make sure changes are ok either way

Up to you! I would still go through PRs to make sure changes are ok either way

Added, just to increase bus factor and so you can triage other's issues. Feel free to open PRs of course :)


Support configuration of Swift language support on Swift components

Context
See: https://github.com/gradle/gradle-native/issues/367
Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[x] Verify documentation
[x] Recognize contributor in release notes

I ignored any test regarding transitive dependency regarding different Swift language version as this is more the domain of ABI compatibility. I will open new issues tomorrow to split out the work of current issue https://github.com/gradle/gradle-native/issues/367.


Bug. It does not recognize the changes made in the code

Challenge Quoting Strings with Single Quotes has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

var myStr = "Link";

myStr = 'Link';

@harimogili Thank you for reporting this issue. Please read the instructions again.

Change the provided string from double to single quotes and remove the escaping.

This is a standard message notifying you that this issue seems to be a request for help. Instead of asking for help here, please click the "help" button on the challenge on Free Code Camp, which will take you to the help chatroom for that specific challenge. You can also view our full list of official chatrooms.
If you think I'm wrong in closing this issue, please reopen it and add further clarification. Thank you, and happy coding!

I did what was required but the interface does not let me pass the test. Please check my answer and see if I have missed what was asked in the question

I am not asking for help with coding. I am saying there is a bug in the interface that does not pass the run test even though you have made the correct changes to the given code.

@harimogili Hi, You are not supposed to create another line of code with correct solution, you just need to make changes in the line provided to you as @erictleung quoted

ok that cleared it. Thanks!


Update onreadystatecomplete.md

Added more details on addOnReadyStateComplete and removeOnReadyStateComplete events and added a sample

@ericregnier
I don't see that we support the addOnReadyStateComplete and removeOnReadyStateComplete methods for the control.
I didn't find them in the documentation. There are methods that exist, but if we don't document them, they aren't supported.
This shows the methods supported for an IFrame Control:  iframe control type methods
Am I missing something?

Hi @JimDaly,
For iFrames, shouldn't the event be supported, as we can set a handler in the classic UI?
For web resources, the documentation states that "A web resource control has the same set of methods available as the iframe control. See iframe control type" and so I assume the same event is supported for web resources. I can confirm that it works (I know it doesn't mean that it's supported thought).

@sriharibs-msft
Can you comment on whether we can add Eric's change to the docs?

This is being driven by @adrianorth and he is best placed to comment. cc @JimDaly


use bytes.fromhex/hex builtins instead of binascii.hexlify/unhexlify

Since LNBits does not support Python 3.5 and older (which are EOL since 2020 anyway), we can use the builtins instead of binascii.

Fantastic PR!
Could you run make format and push again?

Codecov Report

Merging #1246 (be7285f) into main (89aa4a1) will decrease coverage by 0.13%.
The diff coverage is 17.64%.

@@            Coverage Diff             @@
##             main    #1246      +/-   ##
==========================================
- Coverage   49.80%   49.66%   -0.14%
==========================================
  Files         255      255
  Lines       14775    14766       -9
==========================================
- Hits         7358     7333      -25
- Misses       7417     7433      +16

Impacted Files
Coverage Δ

lnbits/core/services.py
45.41% <0.00%> (-0.24%)
:arrow_down:

lnbits/core/views/api.py
39.88% <0.00%> (-0.18%)
:arrow_down:

lnbits/extensions/boltz/boltz.py
16.66% <0.00%> (-0.42%)
:arrow_down:

lnbits/extensions/boltz/mempool.py
29.09% <0.00%> (-1.27%)
:arrow_down:

lnbits/extensions/cashu/crud.py
57.14% <ø> (-1.48%)
:arrow_down:

lnbits/extensions/lndhub/utils.py
60.00% <0.00%> (-6.67%)
:arrow_down:

lnbits/wallets/lndgrpc.py
22.72% <0.00%> (-0.50%)
:arrow_down:

lnbits/bolt11.py
78.94% <66.66%> (-0.11%)
:arrow_down:

lnbits/extensions/bleskomat/helpers.py
59.77% <100.00%> (-0.46%)
:arrow_down:

lnbits/db.py
81.20% <0.00%> (-10.07%)
:arrow_down:

... and 1 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Could you run make format and push again?

Done


Can not install OpenFASOC on GCP instance-4

I tried to run (sudo) source ./Dependencies.sh on instance-4 and got this error message. It still doesn't work even with the -u option.

I tried this on ld-pll machine and it is working (except the gdsfactory installation which is to do with python version update). @msaligane @chenliyumich I am not sure which machine this is.

@saicharan0112 This is instance-4.

@chenliyumich Thanks, I still need access to this machine. I will look at it and let you know by EOD.

Thank you. Also, this is what I saw on instance-openfasoc-lcpll. Is this the machine you're working on?

Yeah. That machine is having a python version which is not supported by the gdsfactory package. It requires versions atleast 3.7. I found a workaround and it is possible to install gdsfactory on that machine. https://github.com/gdsfactory/gdsfactory/issues/627

@saicharan0112 Can you also install Magic and open_pdk globally on instance-openfasoc-lcpll? @msaligane said there's Magic installed on that machine but I could not find it.

You can install it by yourself. Remove gdsfactory in the list inside the requirements.txt file and run the Dependencies.sh script. That should do that job in this situation,

I still got this error on both instance-openfasoc-lcpll and instance-4

I think you executed this script multiple times. It already installed miniconda3 there I guess but might not be a successful installation. Can you remove the /usr/bin/miniconda3 directory and try again? sudo ./Dependencies.sh

I removed it and there's this message in the end of the installation. Is this neglectable? Is there a test that I can run after setup so that I know it is properly setup? Thank you

I have never seen this kind of error TBH. This error is with the centos package installer "yum". Please ping me on openfasoc channel.

@chenliyumich Also please share the entire error message. Just this screenshot doesn't help in understanding the error. This script installs magic, netgen, openroad, yosys, klayout and openroad binaries. Try searching for them using which command. Eg: which magic. The expected output is /usr/bin/miniconda3/bin/magic - if I am not wrong.

@saicharan0112 I tried "which" with the tools you mentioned. For instance-4, only Magic under /usr/local/bin/magic and Klayout under /usr/bin/klayout. For instance-openfasoc-lcpll, only klayout under /usr/bin/klayout. Also, I can't "sudo source ./Dependencies.sh" in instance-openfasoc-lcpll. It would say "sudo: source: command not found
". (But I can "sudo source ./Denpendecies.sh" in instance-4)
Is there a better way to share the entire error message? The log is very long.

@msaligane Yes. I don't know what's my next step.

can you try these cmds:
yum install m4 tcsh libX11-devel tcl-devel tk-devel ncurses-devel bzip2 mesa-libGL-devel freeglut freeglut-devel gcc-c++ python3 make git -y
git clone git://opencircuitdesign.com/magic
cd magic
./configure
make
make install

@msaligane can you add me to that instance 4 machine please? @chenliyumich I was able to run the script without any troubles on the pll machine.

can you try these cmds:
yum install m4 tcsh libX11-devel tcl-devel tk-devel ncurses-devel bzip2 mesa-libGL-devel freeglut freeglut-devel gcc-c++ python3 make git -y
git clone git://opencircuitdesign.com/magic
cd magic
./configure
make
make install

He already got magic installed. Weird thing is it's not from miniconda3 which is the whole purpose of the script.

@chenliyumich can you ping me on slack please?

@chenliyumich Please try again the lcdpll machine, I can see magic is installed there. Please confirm if you do too.

I ran the commands you provided on instance-openfasoc-lcpll, the magic is still installed at /usr/local/bin/magic. I am doing all the commands under /home/chenliyu/. For instance-4, the first line of the commands shows the error below:

@saicharan0112 I can't find you on Slack. @msaligane Can you please add us to the same channel?

Are you on open silicon channel? The skywater ones?

@saicharan0112 No. My name on Slack is Li-Yu Chen

can you try this sudo yum update?

I tried it on instance-4

@chenliyumich You should see an invite to the openfasoc workspace.

Thanks for testing this script at your end @chenliyumich . I will try to get back to you on the issues we saw.


Install LIS GFORTRAN environment on SLES12

SLES11 will be phased out soon on Discover, and that will lead to the retirement of the current lis_7_gcc_7_3 module (all the libraries will need to be recompiled for SLES12).
A replacement GFORTRAN based environment will need to be put together.

Resolved in #742


How to upload own art/images?

Could you add a guide how to add your own art/images to this?
Since right now you haven't written anywhere how to do it and i'm clueless what todo to get my own art/images into this art gallery,

uncommenting and commenting the text presented doesn't do anything you will have to find the text fetch images on the build.html file and it change it there too I'm still trying to figure it out

uncommenting and commenting the text presented doesn't do anything you will have to find the text fetch images on the build.html file and it change it there too I'm still trying to figure it out

The build.html is a generated file. You need to run npm start to run the dev server or npm build to build the build.html.

The build.html is a generated file. You need to run npm start to run the dev server or npm build to build the build.html.

The build.html is a generated file. You need to run npm start to run the dev server or npm build to build the build.html.

Well that does not fully answer my question, could you make proper tutorial on how to add own images? by runing these commands does not solve my problem. Since 1. I don't know what to change in coding to get it to read my own images instead from some API stuff. I want to be able to tell it to read images from a folder or something which when doing npm build it will build file so it can read images i have in a folder.

The build.html is a generated file. You need to run npm start to run the dev server or npm build to build the build.html.

Well that does not fully answer my question, could you make proper tutorial on how to add own images? by runing these commands does not solve my problem. Since 1. I don't know what to change in coding to get it to read my own images instead from some API stuff. I want to be able to tell it to read images from a folder or something which when doing npm build it will build file so it can read images i have in a folder.

I deleted the original build.html in the folder and followed the readme.md to test with the example images so I uncommented the example script and commented the top half. It works but when the pictures don't display in the frames. Why could this be?

I deleted the original build.html in the folder and followed the readme.md to test with the example images so I uncommented the example script and commented the top half. It works but when the pictures don't display in the frames. Why could this be?

The method I have posted a week ago was temporary. Now you need to follow these steps to display your images :

Setup the project
Put your images into the folder images
Modify the file images/images.json (automated soon)
Depending on what you want to do
a. Run the server npm start, go to the address displayed in the terminal
b. Build the project npm build, and host the build.html file and the image folder
append ?api=local to the URL (you can set to default in api/api.js)

I deleted the original build.html in the folder and followed the readme.md to test with the example images so I uncommented the example script and commented the top half. It works but the pictures don't display in the frames and neither does the title. Why could this be?

The file protocole doesn't allow fetch queries, you have to use host it or use the dev server. If it doesn't solve it, send me the logs.

The method I have posted a week ago was temporary. Now you need to follow these steps to display your images :

Setup the project
Put your images into the folder images
Modify the file images/images.json (automated soon)
Depending on what you want to do
a. Run the server npm start, go to the address displayed in the terminal
b. Build the project npm build, and host the build.html file and the image folder
append ?api=local to the URL (you can set to default in api/api.js)

I deleted the original build.html in the folder and followed the readme.md to test with the example images so I uncommented the example script and commented the top half. It works but the pictures don't display in the frames and neither does the title. Why could this be?

The file protocole doesn't allow fetch queries, you have to use host it or use the dev server. If it doesn't solve it, send me the logs.

The method I have posted a week ago was temporary. Now you need to follow these steps to display your images :

Setup the project
Put your images into the folder images
Modify the file images/images.json (automated soon)
Depending on what you want to do
a. Run the server npm start, go to the address displayed in the terminal
b. Build the project npm build, and host the build.html file and the image folder
append ?api=local to the URL (you can set to default in api/api.js)

I deleted the original build.html in the folder and followed the readme.md to test with the example images so I uncommented the example script and commented the top half. It works but the pictures don't display in the frames and neither does the title. Why could this be?

The file protocole doesn't allow fetch queries, you have to use host it or use the dev server. If it doesn't solve it, send me the logs.

i cannot find a line as ?api=local but i found line named local: require("./local") in folder api/api.js so what exactly do i do there? Do i put http:// url or what?

The method I have posted a week ago was temporary. Now you need to follow these steps to display your images :

Setup the project
Put your images into the folder images
Modify the file images/images.json (automated soon)
Depending on what you want to do
a. Run the server npm start, go to the address displayed in the terminal
b. Build the project npm build, and host the build.html file and the image folder
append ?api=local to the URL (you can set to default in api/api.js)

I deleted the original build.html in the folder and followed the readme.md to test with the example images so I uncommented the example script and commented the top half. It works but the pictures don't display in the frames and neither does the title. Why could this be?

The file protocole doesn't allow fetch queries, you have to use host it or use the dev server. If it doesn't solve it, send me the logs.

i cannot find a line as ?api=local but i found line named local: require("./local") in folder api/api.js so what exactly do i do there? Do i put http:// url or what?

Unfortunately, the pictures don't show but I think what you've created is great!

Unfortunately, the pictures don't show but I think what you've created is great!

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

well for me it worked, also make sure you run npm build after changes as well.

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

well for me it worked, also make sure you run npm build after changes as well.

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

well for me it worked, also make sure you run npm build after changes as well.

I've followed your instructions but it's the same problem unfortunately

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

well for me it worked, also make sure you run npm build after changes as well.

I've followed your instructions but it's the same problem unfortunately

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

well for me it worked, also make sure you run npm build after changes as well.

I've followed your instructions but it's the same problem unfortunately

Openning the build.html with you web browser directly isn't supported. You have to host the website (with apache or express for example) or run the dev webserver npm start and open the hosted address.

Unfortunately, the pictures don't show but I think what you've created is great!

Reason why they don't show is 1. they must be PNG format, 2.Reload page with ctrl and F5 or CMD F5 or w.e it is on mac.

I'm afraid neither of them resolve the issue

well for me it worked, also make sure you run npm build after changes as well.

I've followed your instructions but it's the same problem unfortunately

Openning the build.html with you web browser directly isn't supported. You have to host the website (with apache or express for example) or run the dev webserver npm start and open the hosted address.


Sparse fieldsets support, addresses #57

This PR addresses #57
It provides support for sparse fieldsets per json-api spec. Usage:
options = {}
options[:meta] = { total: 2 }
options[:include] = [:actors]
options[:fields] = {
  movie: ['name'], # will only include name attribute into attributes hash
  actor: ['email'] # ...only email for included actors
}
MovieSerializer.new([movie, movie], options).serialized_json

If i reading this correctly the model_name in the syntax could be plural or singular. Here is the link http://jsonapi.org/format/#fetching-sparse-fieldsets. I am not sure if this implementation takes care of that scenario.
So this would be allowed too?
options = {}
options[:meta] = { total: 2 }
options[:include] = [:actors]
options[:fields] = {
  movie: ['name'], # will only include name attribute into attributes hash
  actors: ['email'] # ...only email for included actors
}
MovieSerializer.new([movie, movie], options).serialized_json

Here's what spec says: http://jsonapi.org/format/#document-resource-object-identification
"Note: This spec is agnostic about inflection rules, so the value of type can be either plural or singular. However, the same value should be used consistently throughout an implementation."
And current implementation would expect record type as a key. actors would not be allowed, unless all record keys are plural. I suspect you're considering fields keys as path, but in fact it's a record types. In that example in jsonapi spec, they're including relationship author, but in fields, there's people key that defines how author will be serialized.

Any update on this?Is it blocked awaiting a performance spec of the feature for comparison to AMS, or are there other issues? I have a project used in production where we use AMS with sparse fieldsets and we're going to be ramping up use. I'm concerned that AMS is too slow (and also doesn't seem to be maintained).

@shishirmk is there any plans to work on these or we should consider another implementation for the fields feature?

@ctm @ababich @sethgw It turned out to be easier to rewrite the library, while keeping the initial idea and focus on performance. You may want to take a look at it:
https://github.com/youroff/jsonapi_serializer/
It implements fields and much more, such as arbitrary nesting, polymorphic relationships etc, while maintaining similar performance. Integration with rails is pretty much manual so far, though it may change if the library gets some interest.

@ababich  @sethgw @ctm i would like look at this feature and merge it too. I don't have a date right now. but sparse fields and optional attributes are the features we are targeting for the next release.

@shishirmk @ababich @ctm
this PR https://github.com/Netflix/fast_jsonapi/pull/254 is doing what I need!

@sethgw left a comment there

I understand the problem better now after a few hours digging through things.  I will see if I can come up with a solution to have "fields" respect both attributes and relations.  I tried a few things, but it's going to take more work to get it right.

#271 added this feature so closing this pull requst


TfLite+OpenCL with many Interpreters crashes on Nvidia GPUs

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
Nightly, 2.16, 2.10
Custom code
No
OS platform and distribution
Windows 10 Pro & Home and Ubuntu 24.04 LTS (up to date)
Mobile device
No response
Python version
Irrelevant, C++ API is used
Bazel version
No response
GCC/compiler version
Microsoft Visual Studio 2022 C++ compiler (on Windows) and gcc 13.2 (on Ubuntu)
CUDA/cuDNN version
No response
GPU model and memory
Geforce RTX 2080 (8 GB), Geforce GT 940M (1 GB), Geforce GT 1030 (2 GB GDDR5)
Current behavior?
TfLite with OpenCL crashes on Nvidia GPUs if I use many Interpreters:
(1) Geforce RTX 2080, Windows, graphics driver version: 536.23. Our application consistently crashes after TfLite constructs the 36th Interpreter. Error message: "ERROR: Failed to create a compute context - Out of resources", originates from cl_context.cc. I noticed the number of Interpreters equals the number of CL contexts. Computer has 128 GB RAM.
(2) Geforce GT 940M, Windows, graphics driver version: 472.91. Application crashes after TfLite constructs the 40th or 41st Interpreter. "ERROR: Failed to create a compute context - Out of host memory". Computer (=host) has 8 GB RAM.
(3) Geforce GT 1030, Windows, graphics driver version: 536.23. Application crashes after TfLite constructs the 58th Interpreter. "ERROR: Failed to create a compute context - Out of host memory". Computer has 8 GB RAM.
(4) Geforce GT 1030, Ubuntu, graphics driver version: 470.256.02. Ubuntu Desktop Environment becomes very slow around 40 Interpreters, and the Ubuntu Desktop Environment crashes around 50 Interpreters. Computer has 8 GB RAM.
I measured CPU usage and maximum RAM usage (via /usr/bin/time -v ./application) of a minimal-working example:
num_interpreters = 10
    Percent of CPU this job got: 89%
    Maximum resident set size (kbytes): 1276484
num_interpreters = 20
    Percent of CPU this job got: 98%
    Maximum resident set size (kbytes): 2522700
num_interpreters = 30
    Percent of CPU this job got: 99%
    Maximum resident set size (kbytes): 3771720
num_interpreters = 40
    Percent of CPU this job got: 99%
    Maximum resident set size (kbytes): 5023688 = 4906 megabytes = 4.8 gigabytes

The CPU implementation (comment out #define TFLITE_GPU_ENABLE in minimal-working-example code below) uses very little RAM:
num_interpreters = 10
    Percent of CPU this job got: 100%
    Maximum resident set size (kbytes): 8064
num_interpreters = 20
    Percent of CPU this job got: 75%
    Maximum resident set size (kbytes): 8832
num_interpreters = 30
    Percent of CPU this job got: 100%
    Maximum resident set size (kbytes): 9344
num_interpreters = 40
    Percent of CPU this job got: 99%
    Maximum resident set size (kbytes): 9984 = 9.8 megabytes
num_interpreters = 50
    Percent of CPU this job got: 88%
    Maximum resident set size (kbytes): 11008

I believe cases (2-4) crash due to the same reason: insufficient host memory. Why does TfLite (or Nvidia) consume so much memory? (Could it be because of the many CL contexts created?)
No crashes on Intel GPUs.
Our application employs 10 DNN models. So 4 Interpreters per DNN model, which is not that many, is already too much for the RTX 2080.
I have been able to construct a minimal-working example to reproduce the issue (see below).
Standalone code to reproduce the issue
Build commands on Windows (in Command Prompt):
git clone --single-branch --branch nightly https://github.com/tensorflow/tensorflow tensorflow_src
mkdir tflite_x64_release
cd tflite_x64_release
cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DCMAKE_BUILD_TYPE=release -DTFLITE_ENABLE_GPU=ON ..\tensorflow_src\tensorflow\lite
cmake --build . -j 8 --config release

Build commands on Ubuntu:
git clone --single-branch --branch nightly https://github.com/tensorflow/tensorflow tensorflow_src
mkdir tflite_x64_release
cd tflite_x64_release
cmake -DCMAKE_BUILD_TYPE=release -DTFLITE_ENABLE_GPU=ON ../tensorflow_src/tensorflow/lite
cmake --build . -j 8 --config release

#define TFLITE_GPU_ENABLE
#include "tensorflow/lite/logger.h"
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/delegates/gpu/delegate.h"
#include <array>
#include <iostream>

int main() {
    tflite::LoggerOptions::SetMinimumLogSeverity(tflite::TFLITE_LOG_VERBOSE);

    std::unique_ptr<tflite::FlatBufferModel> model = tflite::FlatBufferModel::BuildFromFile("./lite-model_deeplabv3_1_metadata_2.tflite");  //Model from https://www.tensorflow.org/lite/examples/segmentation/overview
    tflite::ops::builtin::BuiltinOpResolver resolver;
    tflite::InterpreterBuilder interpreter_builder(*model, resolver);
    interpreter_builder.SetNumThreads(1);
    #ifdef TFLITE_GPU_ENABLE
    TfLiteDelegate* gpu_delegate = TfLiteGpuDelegateV2Create(nullptr);
    interpreter_builder.AddDelegate(gpu_delegate);
    #endif

    //Construct multiple Interpreters
    constexpr int num_interpreters = 50;
    std::array<std::unique_ptr<tflite::Interpreter>, num_interpreters> interpreters;
    for (int i = 0; i < num_interpreters; ++i) {
        interpreter_builder(&interpreters[i]);
    }

    std::cout << "Done\n";
    return EXIT_SUCCESS;
}

Relevant log output
No response

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

Two weeks have passed, any news?

Hi, @misterBart
I apologize for the delayed response, thank you for bringing this issue to our attention and I'll try to replicate the similar behavior from my end, I was trying to replicate the same behavior on Windows machine but I was facing some issue with GPU set up but I see you also observed similar behavior on Ubuntu 24.04 LTS so will try to replicate the same behavior on Ubuntu 24.04 LTS with GPU and will update you.
Thank you for your cooperation and patience.

I'm glad you responded. Hopefully you can reproduce the issue on Ubuntu.
As for Windows, if you want, you may send me your setup issues with the GPU, perhaps I can help you out. (if you're using CMake)

Hi, @misterBart
I apologize for the delayed response, I was trying to replicate the similar behavior from my end on Ubuntu 24.04 with Nvidia T4 GPU so I am able to build static libraries successfully for reference I've added output screenshot below so if you don't mind could you please guide me with next steps to run your provided code to replicate same behavior ?

Thank you for your cooperation and patience.

The makefile assumes the TfLite source (tensorflow_src) and installation (tflite_x64_release) resides in folder ${HOME}/issue-74521 (taken from your screenshot). You should simply call make and then run the created executable app.
You can measure maximum RAM usage via /usr/bin/time -v ./app. Increase the number of interpreters (via num_interpreters in the .cpp file) and measure how much the RAM usage increases.
N.B. I tested only on Geforce GPUs of Nvidia, whereas your T4 GPU is a Tesla GPU. Hopefully the issue can also be reproduced on Tesla GPUs.

Fixed a few things in my previous comment.

Hi, @pkgoogle
Please take look into this issue. Thank you.

I was able to replicate on Ubuntu GPU = T4... I'm wondering if the duplicate GPU kernels are the cause:
selected output, tried it with the original 10 & 20 interpreters.
VERBOSE: Replacing 70 out of 70 node(s) with delegate (TfLiteGpuDelegateV2) node, yielding 1 partitions for the whole graph.
INFO: Loaded OpenCL library with dlopen.
INFO: Created 10 GPU delegate kernels.
Done
        Command being timed: "./app"
        User time (seconds): 0.78
        System time (seconds): 3.62
        Percent of CPU this job got: 96%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:04.56
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 972544
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 64563
        Voluntary context switches: 974
        Involuntary context switches: 10
        Swaps: 0
        File system inputs: 0
        File system outputs: 1760
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0
...
VERBOSE: Replacing 70 out of 70 node(s) with delegate (TfLiteGpuDelegateV2) node, yielding 1 partitions for the whole graph.
INFO: Loaded OpenCL library with dlopen.
INFO: Created 20 GPU delegate kernels.
Done
        Command being timed: "./app"
        User time (seconds): 1.66
        System time (seconds): 7.27
        Percent of CPU this job got: 97%
        Elapsed (wall clock) time (h:mm:ss or m:ss): 0:09.15
        Average shared text size (kbytes): 0
        Average unshared data size (kbytes): 0
        Average stack size (kbytes): 0
        Average total size (kbytes): 0
        Maximum resident set size (kbytes): 1907704
        Average resident set size (kbytes): 0
        Major (requiring I/O) page faults: 0
        Minor (reclaiming a frame) page faults: 126277
        Voluntary context switches: 2424
        Involuntary context switches: 16
        Swaps: 0
        File system inputs: 0
        File system outputs: 3520
        Socket messages sent: 0
        Socket messages received: 0
        Signals delivered: 0
        Page size (bytes): 4096
        Exit status: 0

@grantjensen, can you please take a look? Thanks.

I am glad you could reproduce the issue.
The factor of RAM increase from your measurements is: {Maximum resident set size (kbytes) with 20 Interpreters} / {Maximum resident set size (kbytes) with 10 Interpreters} =1907704 kbytes / 972544 kybytes = 1863 megabytes / 950 megabytes = 1.96
That is roughly the same factor I measured when going from 10 to 20 Interpreters. So the RAM consumption scales with roughly the same factor as the number of Interpreters.
The issue is: why is ~100 megabytes of host memory consumed by an Interpreter on Nvidia GPUs?

Any news in backtracing the issue? If I can help out, then do not hesitate to ask.

Unfortunately I cannot suggest a PR because I do not know what causes the issue, let alone how to solve the issue.
I will then wait on what you guys find in backtracing.


Error message: No available vaults...

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[ ] Workspace.  VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[x ] Lookup.  Dendron's Lookup Command
[ ] Views.  Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema.  Dendron Schemas
[ ] Pod.  Data import from / export to Dendron
[ ] Publish.  External Site Publish
[ ] Markdown.  Markdown features, such as syntax support and features

Describe the bug
I now get the following error when starting a new file or searching for existing files in dendron through ctrl-L:
          _No available vaults for file name. This error should never occur! Please report a bug if you have encountered this.__

As requested, could you please let me know a way forward?
The problem occurred after I’d been trying out things with multiple vaults, so it could be vault related?
To Reproduce
Steps to reproduce the behavior:

Ctrl-L
Type name of doc
Error message as stated above

Expected behavior
I expect to get into the md file if it exists or that a new file with search title as name will be created.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information)

OS:  Windows 10
Browser: Chrome
Version: Dendron v0.76.0,

Additional context
Add any other context about the problem here.
Dendron Log file
Please attach the output of > Dev:Dendron: Open Logs here -- Not aware how to find the log

So this is the error you're hitting. can you run Dendron: Diagnostics Report and attach the output to this issue?

Plugin Logs
{"level":30,"time":1669663849773,"pid":15187,"hostname":"v","name":"dendron","ctx":"Logger:configure","msg":"exit","logLevel":"info"}
{"level":30,"time":1669663849882,"pid":15187,"hostname":"v","name":"dendron","ctx":"_activate","stage":"prod","isDebug":false,"logLevel":"info","logPath":"/home/v/.config/Code/logs/20221128T203045/window1/exthost/dendron.dendron","extensionPath":"/home/v/.vscode/extensions/dendron.dendron-0.118.0","extensionUri":"/home/v/.vscode/extensions/dendron.dendron-0.118.0","workspaceFile":"/a/0/dendron-museum/dendron.code-workspace","workspaceFolders":["/a/0/dendron-museum/notes"]}
{"level":30,"time":1669663849898,"pid":15187,"hostname":"v","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1669663849898,"pid":15187,"hostname":"v","name":"SegmentClient","msg":"user telemetry setting: disabled by command"}
{"level":30,"time":1669663849899,"pid":15187,"hostname":"v","name":"dendron","ctx":"DendronExtension","msg":"initialized"}
{"level":30,"time":1669663850101,"pid":15187,"hostname":"v","name":"dendron","ctx":"_activate","msg":"initializeWorkspace","wsType":"CODE","currentVersion":"0.118.0","previousGlobalVersion":"0.118.0","extensionInstallStatus":"NO_CHANGE"}
{"level":30,"time":1669663850106,"pid":15187,"hostname":"v","name":"dendron","ctx":"WorkspaceActivator.init:postSetupTraits","wsRoot":"/a/0/dendron-museum"}
{"level":30,"time":1669663850125,"pid":15187,"hostname":"v","name":"dendron","ctx":"runMigrationsIfNecessary","changes":[],"workspaceInstallStatus":"NO_CHANGE"}
{"level":30,"time":1669663850125,"pid":15187,"hostname":"v","name":"dendron","ctx":"WorkspaceActivator.init:postMigration","wsRoot":"/a/0/dendron-museum"}
{"level":30,"time":1669663850143,"pid":15187,"hostname":"v","name":"dendron","ctx":"WorkspaceActivator.init:postWsServiceInitialize","wsRoot":"/a/0/dendron-museum"}
{"level":30,"time":1669663850159,"pid":15187,"hostname":"v","name":"execServer","state":"enter"}
{"level":30,"time":1669663850170,"pid":15187,"hostname":"v","name":"execServer","state":"post:exec.node"}
{"level":30,"time":1669663851358,"pid":15287,"hostname":"v","name":"SegmentClient","msg":"No cache path for Segment specified.
Too many exceptions, too complicated design. All I am looking for is a yaml frontmatter with context-sensitive auto-completion.

Hello,
I just had the same error. Below I attach the diagnostic report if that helps:
Plugin Logs
{"level":30,"time":1676294542708,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"Logger:configure","msg":"exit","logLevel":"info"}
{"level":30,"time":1676294542772,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"_activate","stage":"prod","isDebug":false,"logLevel":"info","logPath":"c:\Users\vagge\AppData\Roaming\Code\logs\20230213T150722\window1\exthost\dendron.dendron","extensionPath":"c:\Users\vagge\.vscode\extensions\dendron.dendron-0.119.0","extensionUri":"c:\Users\vagge\.vscode\extensions\dendron.dendron-0.119.0","workspaceFile":"i:\Το Drive μου\Personal Knowledge Database\dendron.code-workspace","workspaceFolders":["i:\Το Drive μου\Personal Knowledge Database\notes"]}
{"level":30,"time":1676294544704,"pid":3436,"hostname":"MSI","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1676294544705,"pid":3436,"hostname":"MSI","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1676294544705,"pid":3436,"hostname":"MSI","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1676294544706,"pid":3436,"hostname":"MSI","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1676294544706,"pid":3436,"hostname":"MSI","name":"SegmentClient","msg":"anonymous id","anonymousId":"r8bqhx7fumnlqsuj3cyesl5"}
{"level":30,"time":1676294544718,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"DendronExtension","msg":"initialized"}
{"level":30,"time":1676294544778,"pid":3436,"hostname":"MSI","name":"connector","ctx":"EngineConnector:init","msg":"enter","opts":{}}
{"level":30,"time":1676294544779,"pid":3436,"hostname":"MSI","name":"connector","ctx":"EngineConnector:createServerWatcher","msg":"enter","opts":{}}
{"level":30,"time":1676294544861,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"_activate","msg":"initializeWorkspace","wsType":"CODE","currentVersion":"0.119.0","previousGlobalVersion":"0.119.0","extensionInstallStatus":"NO_CHANGE"}
{"level":30,"time":1676294544862,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"WorkspaceActivator.init:postSetupTraits","wsRoot":"i:\Το Drive μου\Personal Knowledge Database"}
{"level":30,"time":1676294544882,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"runMigrationsIfNecessary","changes":[],"workspaceInstallStatus":"NO_CHANGE"}
{"level":30,"time":1676294544882,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"WorkspaceActivator.init:postMigration","wsRoot":"i:\Το Drive μου\Personal Knowledge Database"}
{"level":30,"time":1676294544892,"pid":3436,"hostname":"MSI","name":"dendron","ctx":"WorkspaceActivator.init:postWsServiceInitialize","wsRoot":"i:\Το Drive μου\Personal Knowledge Database"}
{"level":30,"time":1676294544905,"pid":3436,"hostname":"MSI","name":"execServer","state":"enter"}
{"level":30,"time":1676294544922,"pid":3436,"hostname":"MSI","name":"execServer","state":"post:exec.node"}
{"level":30,"time":1676294545711,"pid":10964,"hostname":"MSI","name":"SegmentClient","msg":"No cache path for Segment specified.


[BUG] Tool not getting invoked in agent flow when using Amazon Nova, but it works with Claude

Describe the bug
Tool not getting invoked in agent flow when using Amazon Nova, but it works with Claude
To Reproduce
In a sequential agent flow, use Nova in a Bedrock node, attach a tool, and ask it to search the web for something. Try it with claude and you'll see that it works.
Expected behavior
Tool should be invoked (ie: Exa search)
Flow
Additional context
The tool gets passed, but it will never invoke the tool. In a chat flow with ConversationalAgent, Nova works. I believe that's because of the way it manages memory and also because some langchainjs code is copy/pasted into that file (constructScratchPad). In langchain, it appears that only claude models will invoke tools when using the bind_tools method.

This was solved with the latest langchainjs release


"Banks" not visually altering USB toggle buttons anymore

I suspect that adding page slider functionality broke this though I am not sure at the moment.
Selecting a bank still toggles on/off USB GPIO on the other-hand....

D/R Local storage was empty!


How to show Thumbnail Local video?

I want show Thumbnail for Local video
Example : requeri('./video/video.mp4')
Help me!

@nicoara I agree, showing thumbnail and showing a paused video have a lot of difference. I am struggling with this because I cannot show thumbnail of MOV video in iOS

I have found the code in the library react-native-thumbnail works.

Hi @nicoara , I just realize that MOV movie thumbnail cannot be shown is not because of Image tag. It is because the return path of react-native-image-picker cannot be read by Image tag.

Hi @truongluong1314520， Is there any solution now? In addition to pausing the video.I also use react-native-image-picker.

Hi @nicoara, react-native-thumbnail resolve my problem, thanks.


GDPR missing on PWA version

Is your feature request related to a problem? If yes, please describe it.
On PWA version into my account section there aren't features for customer on his settings to ask about data or deleting his account.
Describe the desired solution.
Is it possible to have the same feature on PWA that is present on responsive version  ?
Maybe is something to activate on PWA BO, or properties file, but I didn't find where

Describe alternatives you've considered.

Provide additional context.
join a capture of PWA version and responsive version.

Hi Franck,
this feature is currently not supported for PWA. However customers can request their personal data or deletion of their personal data via contact us form. There are options for both retrieval and deletion of personal data available in the the subject dropdown of the form. Based on this email a customer service representative can trigger the process from the backoffice and the customer is informed via email For details see https://support.intershop.com/kb/index.php/Display/28A764

Hi Robert,
Thank you for your answer.
In our context project, the contact form will be provided by a CRM and not by Intershop. So I'll see how we could manage this topic with the CRM partner.


Unable to build tauri mobile

Describe the bug
I followed the below steps to create a Tauri android app after installing the prerequisites following the docs
omkaram@omkaram:~/Pictures/Rust projects/mobile-app$ npm create tauri-app -- --alpha
✔ Project name · Pikoto
✔ Package name · pikoto
✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, bun)
✔ Choose your package manager · npm
✔ Choose your UI template · Vanilla
✔ Choose your UI flavor · JavaScript
✔ Would you like to setup the project for mobile as well? · yes

Template created! To get started run:
  cd Pikoto
  npm install
  npm run tauri android init

For Desktop development, run:
  npm run tauri dev

For Android development, run:
  npm run tauri android dev

omkaram@omkaram:~/Pictures/Rust projects/mobile-app$ cd Pikoto
omkaram@omkaram:~/Pictures/Rust projects/mobile-app/Pikoto$ npm install

added 3 packages, and audited 4 packages in 7s

1 package is looking for funding
  run `npm fund` for details

found 0 vulnerabilities
omkaram@omkaram:~/Pictures/Rust projects/mobile-app/Pikoto$ npm run tauri android init

><EMAIL_ADDRESS>tauri
> tauri android init

        Info "/home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/node_modules/.bin/tauri" relative to "/home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/src-tauri" is "../node_modules/.bin/tauri"
Generating Android Studio project...
        Info "/home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/src-tauri" relative to "/home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/src-tauri/gen/android/pikoto" is "../../../"
victory: Project generated successfully!
    Make cool apps! 🌻 🐕 🎉
omkaram@omkaram:~/Pictures/Rust projects/mobile-app/Pikoto$ npm run tauri android dev

><EMAIL_ADDRESS>tauri
> tauri android dev

        Info Detected connected device: Pixel_3a_API_34_extension_level_7_x86_64 (sdk_gphone64_x86_64) with target "x86_64-linux-android"
        Info Using <IP_ADDRESS> to access the development server.
        Info detected host target triple "x86_64-unknown-linux-gnu"
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/home/omkaram/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names -L /home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/src-tauri/.cargo -Clink-arg=-landroid -Clink-arg=-llog -Clink-arg=-lOpenSLES --target x86_64-linux-android --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
  --- stderr
  error: multiple input filenames provided (first two filenames are `-` and `projects/mobile-app/Pikoto/src-tauri/.cargo`)

       Error `Failed to run `cargo build`: command ["cargo", "build", "--package", "pikoto", "--manifest-path", "/home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/src-tauri/Cargo.toml", "--target", "x86_64-linux-android", "--lib"] exited with code 101`

Reproduction
No response
Expected behavior
No response
Full tauri info output
> tauri android dev

        Info Detected connected device: Pixel_3a_API_34_extension_level_7_x86_64 (sdk_gphone64_x86_64) with target "x86_64-linux-android"
        Info Using <IP_ADDRESS> to access the development server.
        Info detected host target triple "x86_64-unknown-linux-gnu"
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `/home/omkaram/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc - --crate-name ___ --print=file-names -L /home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/src-tauri/.cargo -Clink-arg=-landroid -Clink-arg=-llog -Clink-arg=-lOpenSLES --target x86_64-linux-android --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=split-debuginfo --print=crate-name --print=cfg` (exit status: 1)
  --- stderr
  error: multiple input filenames provided (first two filenames are `-` and `projects/mobile-app/Pikoto/src-tauri/.cargo`)

       Error `Failed to run `cargo build`: command ["cargo", "build", "--package", "pikoto", "--manifest-path", "/home/omkaram/Pictures/Rust projects/mobile-app/Pikoto/src-tauri/Cargo.toml", "--target", "x86_64-linux-android", "--lib"] exited with code 101

Stack trace
No response
Additional context
No response

I'm getting the same error.
Did you fixed it?

You should switch on rust nightly, then try run cargo build from src-tauri folder

Nope, didn't work.

You should switch on rust nightly, then try run "cargo build" from src-tauri folder

Didn't Work.

it use rustup for that you need to use you need to
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

@Abubakar1122331 I have taken interest to give it one more try today and  I have found that the issue is with having Spaces in the absolute path of the directory. Essentially they have fixed it in the cargo-mobile2 repo but not here in he main repo. Take a look at this. https://github.com/tauri-apps/tauri/issues/6627

Removing the space fixed my issue but this needs to be fixed if someone is following this guide to create a tauri app.https://beta.tauri.app/guides/create/


Fix #4983 to use jakarta.annotation.Priority

I have already fixed this on quarkus-main so maybe we just wait till we upgrade to 3.2.0.CR1?

Thanks @jamesnetherton - it looks good to me!

Close this PR since the fix has been in quarkus-main


Replace div with template for better flexibility?

Hi! Thank you for the great project.
I found this project very useful but while using it, I got a suggestion that could possibly improve the flexibility.
https://github.com/ts-pro/vue-eternal-loading/blob/2adf928249591d988fe939fa98d8eefd8e10134c/src/components/VueEternalLoading/VueEternalLoading.vue#L2
Could we replace the <div> surrounding the content of <slot> with <template> so that we have an option not to have a <div> around the <slot> content?
Currently, I'm trying to implement a lazily loading table with this module, but I can't have the "loading" slot as a row for the table because of the <div> around the "loading" slot content.
So I thought it would be really cool if we can freely decide which tag to use for the "loading" slot.
Let me know if a sample code will help better describe the situation.
Best regards,

Hello @yoshihikoueno, thanks for the proposal.
Great idea.


Dane Review Notes

The app is built as expected. I'm happy with it.
The one thing to change is to remove  listenToReactiveValues([_tasks]); from TasksService constructor since it does nothing 😄
I'm happy with the code. I think the better way to review it is when I follow the docs you're writing. For now that's the only change required.

Thanks for the review !