Wrapping an  in backticks does strange things

I'm seeing some weird behavior when wrapping an  in backticks:
Wrapped in an `<aside>`

Becomes

Wrapped in an

.

Rather than the expected

Wrapped in an

.

Hmm... weird, I'm having trouble reproducing this one as well. Here's the output I'm seeing:
$ mistletoe
mistletoe [version 0.5.6] (interactive)
Type Ctrl-D to complete input, or Ctrl-C to exit.
>>> wrapping in an `<aside>`
...

wrapping in an <aside>

This looks similar to the inline code issue (#38). Could you try running your Markdown snippet in interactive mode and paste your result here?
Thanks again!

See comment in #38 - this is probably not a mistletoe issue


Point Vector

Hello,
My layer is a  ol.layer.Vector  and my source is ol.source.Vector and my style is a img camera.png :
Result :

But when I put my mouse over an element, A blue point appears :

I don't want blue point, what to do ?

You have to modify the style for the layer you populate with the features that you hover over.

Sorry but I don't understand , Please can you more explain ?

You have to share your code. We cannot explain more when we don't know more about what you're doing.

var vectorSource = new ol.source.Vector({
format: new ol.format.GeoJSON(),
projection: "EPSG:3857",
url: function(extent) { return geoserver.getWfsUrl('v_syn_lay_camera_dirce', extent.join(','));},
strategy: ol.loadingstrategy.bbox
});
var styleLayer = new ol.style.Style({
image: new ol.style.Icon({
src: './resources/images/camera_48.png',
scale: 0.4,
})
});
var Layer = new ol.layer.Vector({
title: "EXTERNE",
visible: true,
preview: "./resources/images/logo_camera.png",
projection: "EPSG:3857",
source: vectorSource,
style: styleLayer
});
map.addLayer(Layer);
You need another part of my code ?

Please format your code using Markdown. You do not show the code that is used to highlight features on mouseover, so what you posted does not help.

blue point is default style. and it's about hover interaction or event.

I have resolve my problem, thanks for your help !

Same problem, here, can you give your solution, please?


Restore the Serialize/Deserialize impls for ObserverMode

These impls got removed in 99f16b4d perhaps by accident I suppose. We've been using these impls in our project so I'd like to restore them.

Codecov Report
Base: 93.39% // Head: 93.38% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (85bb181) compared to base (fd8b15f).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #334      +/-   ##
==========================================
- Coverage   93.39%   93.38%   -0.01%
==========================================
  Files         119      119
  Lines       18975    18976       +1
==========================================
  Hits        17721    17721
- Misses       1254     1255       +1

Impacted Files
Coverage Δ

argmin/src/core/observers/mod.rs
93.12% <0.00%> (-0.36%)
:arrow_down:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I don't know what I was thinking when I removed this. Apologies for the inconvenience and thanks for reporting and fixing! :) I will release 0.8.1 including this fix soon-ish.

Thanks for the quick turnaround!


Create @Decorate annotation to make decoration painless

Would be nice if there was a @Decorate feature. The Decorator Pattern is a great design pattern, however it is sometimes cumbersome to implement for Interfaces with many methods. The following example shows a proposal for the usage of the @Decorate feature before and after being Delomboked:

public interface Vehicle {
    String getA();
    int getB(int n);
    <T> T getC(T t);
    String getD();
    //... and so on
}

public interface Component {
    String getName();
    //... and so on
}

Lombok-ed version

@RequiredArgsConstructor
public class Car implements Vehicle, Component {

    @Decorate(class=Vehicle.class)
    private final Vehicle vehicle;

    @Decorate(class=Component.class)
    private final Component component;

    //User override
    @Override
    public String getD(){
        return "this is a Car calling getD";
    }
}

Delomboked version

public class Car implements Vehicle {
    private final Vehicle vehicle;
    private final Component component;

    public Car(Vehicle vehicle, Component component){
        this.vehicle = vehicle;
        this.component = component;
    }

    //Lombok Override
    @Override
    public String getA(){
        return this.vehicle.getA();
    }

    //Lombok Override
    @Override
    public int getB(int n){
        return this.vehicle.getB(n);
    }

    //Lombok Override
    @Override
    public <T> T getC(T t){
        return this.vehicle.getC(t);
    }

    //User override
    @Override
    public String getD(){
        return "this is a Car calling getD";
    }

    //Lombok override
    @Override
    public String getName(){
        return this.component.getName();
    }
}

It already exists, but is still experimental. it is called @Delegate.
The reasons it is still experimental:

It need resolution, and that's still brittle
The java compiler needs to determine all field and method signatures at the same time, and that's before resolution is possible. However, for this to work properly, the fields need to be resolved before the methods can be created.

For now, we got it working for most use cases.


Sitemap (Read timed out/Connection Reset), how to stop the crawler if this happen?

Hi,
I'm using norconex to crawl Sitemap into Solr.
But when there is Read Time Out or Connection Reset and few others scenario, the crawler still proceed and end up all my data in Solr has been removed.
Is there any way to stop the crawler if scenario happen?

You can have it ignore such problems.  Have a look at https://www.norconex.com/collectors/collector-core/latest/apidocs/com/norconex/collector/core/spoil/impl/GenericSpoiledReferenceStrategizer.html, in combination with setting <orphansStrategy> to IGNORE.

i did try this one.
1st time crawl, it will do DOCUMENT_FETCHED,CREATED_ROBOTS_META, URLS_EXTRACTED, DOCUMENT_IMPORTED and DOCUMENT_COMMITTED_ADD.
2nd time crawl, it will REJECTED_PREMATURE, because its already there.
3rd time crawl, (sitemap error), it did IGNORE and does not delete or process any record
4th time crawl, (sitemap resolved), it will do like 1st time crawl. will it be possible if sitemap resolved, it do like 2nd time crawl?

and is it possible if i want to use  DELETE (delete record if not in the sitemap), but if got ERROR for sitemap (cannot resolved/timeout/etc) , i want to stop crawl.

The REJECTED_PREMATURE is not related to the issue you were facing.  It is the result of using a "Recrawlable Resolver" and not enough elapsed time has passed between your two crawls.
For your connection timeout, was an exception thrown in the logs?  If so, you can tell the crawler to stop if that error is encountered with:
    <stopOnExceptions>
        <exception>com.whatever.ExampleException</exception>
    </stopOnExceptions>

Hi ,
i try it as below, anything i miss to add?

com.norconex.committer.core.CommitterException

Exception in thread "main" java.lang.NoSuchMethodError: com.norconex.commons.lang.config.XMLConfigurationUtil.getNullableClass(Lorg/apache/commons/configuration/HierarchicalConfiguration;Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Class;
at com.norconex.collector.core.crawler.AbstractCrawlerConfig.loadStopOnExceptions(AbstractCrawlerConfig.java:407)
at com.norconex.collector.core.crawler.AbstractCrawlerConfig.loadFromXML(AbstractCrawlerConfig.java:340)
at com.norconex.commons.lang.config.XMLConfigurationUtil.loadFromXML(XMLConfigurationUtil.java:445)
at com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfig(CrawlerConfigLoader.java:120)
at com.norconex.collector.core.crawler.CrawlerConfigLoader.loadCrawlerConfigs(CrawlerConfigLoader.java:80)
at com.norconex.collector.core.AbstractCollectorConfig.loadFromXML(AbstractCollectorConfig.java:304)
at com.norconex.collector.core.CollectorConfigLoader.loadCollectorConfig(CollectorConfigLoader.java:78)
at com.norconex.collector.core.AbstractCollectorLauncher.loadCommandLineConfig(AbstractCollectorLauncher.java:141)
at com.norconex.collector.core.AbstractCollectorLauncher.launch(AbstractCollectorLauncher.java:92)
at com.norconex.collector.http.HttpCollector.main(HttpCollector.java:74)

The REJECTED_PREMATURE is not related to the issue you were facing. It is the result of using a "Recrawlable Resolver" and not enough elapsed time has passed between your two crawls.
for above, is there any place to set the elapsed time between the crawl?

If you have not set it up yourself already, it probably takes the instructions from the site sitemap.xml.   You can overwrite those and/or set your own using the GenericRecrawlableResolver.


feat: add default store to simplify react & vue hook

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

10 of 10 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
955

Relevant Lines:
955

💛  - Coveralls


[DUOS-1298][risk=no] Vote updates

Addresses
Partial fixes for https://broadworkbench.atlassian.net/browse/DUOS-1298
Will need to manually fix the identified error cases via the admin API once this is merged.
Changes

Added logging when submitting a final access vote so we can better follow up on future errors
Update the vote API so we can manually fix any errors that do happen
Fix api docs so we can use swagger for vote updates

Have you read CONTRIBUTING.md lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

There is another update I'd like to make to the voting endpoints to restrict on auth user but those are not related to the primary ticket.


TritonCTS crashes with multiple clocks

Description
TritonCTS fails crashes with no specific error.
Defining the clocks dll_clk and dll_clk90 causes the crash. I tried removing the .lib files of the DLL macro that produces these clocks and it still crashes.
Expected Behavior
CTS creating clock trees for dll_clk and dll_clk90.
Environment report
Kernel: Linux v6.2.0-26-generic
Distribution: ubuntu 23.04
Python: v3.11.4 (OK)
Container Engine: docker v24.0.5 (OK)
OpenLane Git Version: 01e67230f35aa4cd08ef33a9f8df8a83f578b710
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: OK
---
Git Log (Last 3 Commits)

01e67230 2023-07-25T13:53:21+03:00 [BOT] Update magic (#1914) - Openlane Bot -  (HEAD -> master, tag: 2023.07.26, origin/master, origin/HEAD)
157a6505 2023-07-25T13:02:39+03:00 Update Documentation (#1917) - Mohamed Gaber -  ()
f6e50abd 2023-07-24T15:20:03+03:00 PIP Version Ranges (#1916) - Mohamed Gaber -  (tag: 2023.07.25)
---
Git Remotes

origin  git@github.com:The-OpenROAD-Project/OpenLane.git (fetch)
origin  git@github.com:The-OpenROAD-Project/OpenLane.git (push)

Reproduction material
issue_reproducible.part1.zip
issue_reproducible.part2.zip
Relevant log output
[INFO CTS-0007] Net "gpio_in[38]" found for clock "clk".
[INFO CTS-0010]  Clock net "gpio_in[38]" has 3 sinks.
[WARNING CTS-0041] Net "_02778_" has 1 sinks. Skipping...
[INFO CTS-0007] Net "dll_clk" found for clock "dll_clk".
Signal 11 received
Stack trace:
 0# 0x0000000000D429A7 in openroad
 1# 0x00007FABFB640400 in /lib64/libc.so.6
 2# odb::dbBTerm::getConstName() in openroad
 3# cts::TritonCTS::initClock(odb::dbNet*, std::string const&, cts::TreeBuilder*) in openroad
 4# cts::TritonCTS::initOneClockTree(odb::dbNet*, std::string const&, cts::TreeBuilder*) in openroad
 5# cts::TritonCTS::populateTritonCTS() in openroad
 6# cts::TritonCTS::runTritonCts() in openroad
 7# 0x000000000123E23F in openroad
 8# 0x00007FAC00174EB2 in /lib64/libtcl8.5.so
 9# 0x00007FAC001B936C in /lib64/libtcl8.5.so

There are no virtual clocks, the clocks that make the issue are outputs of a macro and defined as follows:
create_clock -name dll_clk -period 6.666 [get_pins {dll/clockp[1]}]
create_clock -name dll_clk90 -period 6.666 [get_pins {dll/clockp[0]}]

It seems this zip file is corrupt and can't be uncompressed:
issue_reproducible.part1.zip
Also, can the testcase be provided without using proprietary software like PkZip?
Thanks.
Cho

Apparently something went wrong while splitting the files, those should be working.
issue_reproducible.partab.tar.gz
issue_reproducible.partaa.tar.gz
Thanks

Also, can the testcase be provided without using proprietary software like PkZip?

the utility to extract zip files is present under a libre software license on every linux distribution under the name unzip

PR #4330 resolves this issue.

@maliberty Please keep these kind of issues open in the future until OpenROAD is updated in OpenLane. This helps us track things. You can remove OpenROAD label if you would like to.

@maliberty I am still facing the crash using OpenROAD commit f758ec989211179258a31b8c19dba68b66370bec and latest too.

@maliberty I am still facing the crash using OpenROAD commit f758ec989211179258a31b8c19dba68b66370bec and latest too.

@precisionmoon please check if this works for you or not with the head of OR

@maliberty Please keep these kind of issues open in the future until OpenROAD is updated in OpenLane. This helps us track things. You can remove OpenROAD label if you would like to.

Will do

Please re-assign this back to me.   Let me look into this.

My apologies for missing up this issue with another CTS fatal.   The enclosed testcases are corrupt and can't be uncompressed:
gunzip -t issue_reproducible.partaa.tar.gz
gzip: issue_reproducible.partaa.tar.gz: unexpected end of file
gunzip -t issue_reproducible.partab.tar.gz
gzip: issue_reproducible.partab.tar.gz: not in gzip format

@precisionmoon
Hope this is helpful to uncompress the parta/partb files.
cat issue_reproducible.parta* > issue_reproducible.tar.gz
tar zxvf issue_reproducible.tar.gz

The issue here is that a clock net is not connected to any output instance pin or input block terminal.  We can skip such nets for CTS.  CTS completes successfully with the testcase  with the following messages:
[INFO CTS-0122] Clock net "dll_clk" is skipped for CTS because it is not connected to any output instance pin or input block terminal.
[INFO CTS-0122] Clock net "dll_clk90" is skipped for CTS because it is not connected to any output instance pin or input block terminal.
This issue will be fixed when PR 4390 is merged.
Thanks for your patience.

@precisionmoon Thank you. I can confirm that the crash has been fixed with the update.

Can we close this issue then?
On Sun, Dec 17, 2023 at 2:05 AM Kareem Farid @.***>
wrote:

@precisionmoon https://github.com/precisionmoon Thank you. I can
confirm that the crash has been fixed with the update.
—
Reply to this email directly, view it on GitHub
https://github.com/The-OpenROAD-Project/OpenLane/issues/1935#issuecomment-1859104620,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BBVEJRWNQFT5I6E3MLRXDD3YJ27XHAVCNFSM6AAAAAA3G7R6A2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGEYDINRSGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@precisionmoon it is linked against #2062. I will remove the assignment to you and OpenROAD label.


Feature: Cloning all services into new environment.

🔖 Feature description
Want to clone all the resources ie Devtron apps and helm apps from one environment to newer or existing environment
🎤 Pitch
As we have fixed number of micro services which is installed in one cluster and to replicate the same we have to create the pipeline for new cluster which is quite time taking, and for testing purpose or for some other purposes we replicate the same.
So for time management and fast development we need UI where we can replicate on environment basis
✌ Solution
Need a Button on UI for replicating the resources
🔄 Alternative
No response
👀 Have you spent some time to check if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

AB#6013

Use Case :
The specific usecase that i'm looking for is capability to clone complete workflow (ci + cd) both from a source environment.
We have workflow get api and workflow post api, we can utilise these to create a script but these API's need appId, workflow Id. Now fetching workflowId for all applications belonging to a certain environment is another headache.
Hence I have a simple use-case that I should be able clone workflow (CI + CD) just by providing source envId (or envName) and target envId (or envName).


dbconf verify is not working

It looks like there is a bug in dbconf verify. The ci GitHub workflow should fail here: https://github.com/open-telemetry/opentelemetry-go-build-tools/blob/6fd2bd763e919eb562f800dd9df3d63d6a5dd035/.github/workflows/ci.yml#L41
as make dependabot-check should fail.
Originally posted by @pellared in https://github.com/open-telemetry/opentelemetry-go-build-tools/pull/320#pullrequestreview-1438613489

@CharlieTLe do you want to look at it?

Yes, I can't assign this to myself yet, but I'll take a look.

@pellared @Aneurysm9 can you assign this to @CharlieTLe :-)


Refactor: Migration component Timeout coffee

Description
This pull request has been created with a markdown document for the component "timeout.coffee" by reviewing the project task migration timeout. coffee.
This allows all users to notify they have been distracted from the system for specific time and allows them to take actions regarding their purposes.
Fixes # (issue)
No issues
Type of change

Migrated from angular.js to angular
Markdown documentation has been completed

How Has This Been Tested?
Successfully tested with given credentials. Please refer the changes of following images ( before and after)
Before:

After:

Testing Checklist:

[x] Tested in latest Chrome
[x] Tested in latest Safari
[x] Tested in latest Firefox

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

@tedwang will be reviewing this


Refactor to simplify code

Codecov Report

Merging #121 (f4af2b2) into main (bea5459) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #121   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           14        14
  Lines          816       812    -4
=========================================
- Hits           816       812    -4

Impacted Files
Coverage Δ

meilisearch_python_async/_http_requests.py
100.00% <100.00%> (ø)

meilisearch_python_async/client.py
100.00% <100.00%> (ø)

meilisearch_python_async/index.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Non volatile storage

WIP

[x] partition table
[x] partitions
[x] flash/memory hal
[ ] ~nvs "filesystem" (include wear leveling) (linked list?)~

here partitions and filesystem are not really those, in the traditional sense, its a very basic implementation of something akin to those

I was going to write my own pseudo filesystem, but the longer i thought about it the bigger project it became, right now I'm inclined to write a memory block hal, and connect it to a new external component filesystem, looking at littlefs right now, i think it fits the application, the only thing bothering me is that every file uses at least 1 block of memory, which is one of the things i was trying to avoid, but we will have very little files so perhaps its not too bad, our edge case here is using the internal eeprom on the atmega32u4 which is only 1KB, but the block size is 4B/1W so it might just be manageable.
What do you think @FFY00 ?

The 1KB limitation is complicated, but we don't strictly need to use a fs there, its definitely the better choice for targets where we have more space like the sammy

Can you outline the benefits of using a (pseudo-)FS here? And which features would benefit from it, and how?
My quick impression is that we can do without it, but maybe I am misjudging the complexity of the implementation without a FS.

The problem:
We want to store data structures, be it for configuration like profiles dpi and keyboard mappings, or statistics like boot count click count etc. and these need to be store in non volatile form.
The biggest problem we face is, where do we determine what to store where, and this sure sounds easy, we can just store them in a fixed location, but this makes for a very static configuration, fixed number and type of configurations, if we made changes like adding a configuration we would likely have to wipe the configuration etc, but the bigger problem with this is the wear on the memory, If we have some sort of data that gets update regularly, think active profile, we will be quickly wearing out that particular location, leading to the premature death of the device.
We need to spread the writes throughout the whole memory to make sure it wears evenly; Here comes dynamic location, this is much harder to solve, where do we save things, and worse, how do we know where we saved them! this is what I was naively trying to solve in my head, do we just write it to the next block? but then we need to erase the old when, and if the power goes out, which is the correct block, we could have a journal with the location of the data-structures, but that too needs to be stored, etc etc, when we try to solve all of these little problems what we are doing is writing a filesystem, so we might as well use something that has already solved those problems.
A bit ranty, and not very thorough in highlighting all of the problems, but I'm not good at this. I think this minimally highlights the problem.
What does a FS (littlefs in particular) solve?

handles the where to store and find any particular "datastructure"
deals with the wear leveling
has power-loss resilience
very dynamic

The problems it eventually brings:

Even for a relatively simple FS, it's very complex
memory, relatively small, but still 14K of rom!

Maybe there are simple and elegant ways of dealing with this in a more static maner.
The one approach I though of is, have a static data structure with all of the configurations we want to store, fixed size and locations, and have X blocks allocated for storage, and every time we write to it we store it in the next block, with a timestamp and maybe a crc for error checking and power loss resilience, we cycle through all of the blocks, like a circular buffer.
The problem with this is, very static
This is probably a good approach for the atmega using the internal eeprom.
We are using more and more powerfull devices, lets make use of them.
The beauty of our project is that this is totally optional on a target basis, the base for all this is the memory block hal that is usefull for all approaches

either way, for now I'm going to implement a memory block hal, and we stay at that, it is enough to progress in other areas of the project like the protocol

actually the more i think about it, this simplistic approach i mentioned at the end might just work well for everything, have a linked list with the various configs, and we just pack it and write it to the next logical block(s), we would use offsets instead of pointers, and we would need some sort of identification of the data

Thank you for noting this down. I can see how a FS-ish approach might be beneficial, but I am a bit skeptical of the wear leveling
mechanism, as it always needs to have a static table for the entrypoint. I haven't done a lot of research about this, but that is something that might be worth doing in the long run. Other concern is low memory targets, where the overhead of a FS might be unwanted.
I think we could actually have both approaches, as different targets might have different needs. The idea would be to define the non volatile HAL and then provide two (or more) implementations that targets could use, in this case, static memory and a FS-based one.
That should also fit pretty well in the timeline, as we can start things up right now with a static memory implementation, and then add a better, more complex, FS-based implementation in the future and have the targets that make sense switch to it. The main thing to keep in mind right now is the HAL design, we should make sure that it does not leak implementation details, as that will create more work for us in the future. How does this sound?

Sounds good, I will try to implement and test a hal with a firts port for the internal flash of the sammy, I'm going to base myself on what these embbeded oriented FSs usually use for abstraction, this should lead to something future proof.

I was curious so i did some looking around and found this https://github.com/tock/tock/blob/master/libraries/tickv/SPEC.md, could be interesting instead of doing file based storage.

Nice find, that key/value strategy is the same used by espressif in their idf, it's something i initially considered but then dismissed, the main disadvantages were the wasted space (1 key/value per block minimum), and the search algorith that would be needed (looking for the most recent key/values) and looking for available blocks, these are expensive.
With my idea both of those would be avoided, but it has its own disadvantages like the fact that you would need to rewrite the whole list, and you could only at best use half of the available space.
That said, theres something to be said about this flexible yet simple/elegant approach, I think it makes sense here.
The esp idf implementation is written in cpp so this is more useful to me.

filesystems that served as inspiration/compatibility guideline for the hal

spiffs
littlefs
petit fatfs
tickv
mbed block dev

Finally got to finish this, we still need some sort of higher level layer to manage key-value paris/files, but the fundamentals are implemented, Improvements can be made but we''l leave that to when they are actually needed

the CI test seem to be broken, I believe it's due to a change github made not too long ago, to do with http?


HTML5 pop up problem

there is some problem when we access website that using only html5, like dropdown or date picker require pop up to select and it won't work. it just work if the website using css and js. not the feature of html5. I don't know, maybe it just me or there still in issue here?

this plugin can only capture webview, so native widget (like date picker) cannot appear and interact.

Announce
The plugin has been updated to support some HTM5 input tags that are not supported in Oculus Quest. See here for more details.

Announce

Announce
The plugin has been updated to support some HTM5 input tags that are not supported in Oculus Quest. See here for more details.

Android native widget component based html popup ui are obsolete. In the latest update (v1.0.0+), this plugin add supports GeckoView as browser engine and has uGUI based popup ui available in GeckoView. Here is how to set it up if you want to use GeckoView.


Webpack poc

Motivation
Enable webpack integration for typescript.
How it may work
Webpack publish bundled js to ./dist folder for individual packages
Individual modules have compiled javascript in their dist folder.
Types are also available in dist folder.
How to run it:
npm run webpack:release

Result:

Unit tests are now broken - @paolobueno is trying his magic to get that sorted.
Notes
There are multiple ways we could expose packages - this PR is only suggestion.
I'm going to investigate best one once modules will be connected with the example apps
We will need another dummy package to spike that - not pushing that at the moment
I'm not pushing actual dist and types folder to repository. Leaving that up to discussion.
Progress

[x] Webpack integration
[x] Type generator support
[x] Releases
[x] Unit tests support
[ ] Usage in Cordova
[x] Usage in ReactNative
[ ] Documentation

This PR is low level technical extension to proposal.
There are still couple unanswered questions. I would love to get some comments about this aproach.
See also my comment above.

@wtrocki I'd recommend we get this merged first,
then look at updating the cordova example to use the core sdk


Custom LLVM Statements

[ ] Decide on which statements and update this issue
[ ] Assignment
[ ] Function call
[ ] Allocation
[ ] Deallocation (And destructor calling)

This is primarily to mirror what numba did. It improves the readability of most code in LLVMGen.py and ASTVisitor.py if we don't require immediate IR generation, capsule it away nicely and also improves support variations in assignments, function calls and what not.
The ASTVisitor.py will most likely become even more of an analysis pass while LLVMGen.py will most likely lose a few methods.

Actually doesn't seem like such a great idea now.


Documents steps for component creation

What type of PR is this?
/kind documentation
What does this PR do / why we need it:
what: $subject
why: because it helps users new to odo
Which issue(s) this PR fixes:
Fixes part of #4895
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[x] Documentation

[x] Update changelog

[ ] I have read the test guidelines

How to test changes / Special notes to the reviewer:

One more thing; I think you forgot to mention that a single directory can contain only one component.

One more thing; I think you forgot to mention that a single directory can contain only one component.

I forgot. But I'm not sure if adding that info in this doc makes sense. I'm more inclined to put it in odo component command reference doc.
Anyhow, I have added it in https://github.com/openshift/odo/pull/4982/commits/6a4e77e214478e06ffc6293dd5b02569d30c9d5f. PTAL.
@kadel PTAL. Let me know if you folks would like to word it differently.

Nesting odo components is not expected to work well.

When you say this, it gives an impression that managing nested components is possible with odo, which is not the possible, is it?

Why does it seem that way? I have mentioned that it is "not" expected to work well. I can change it to "not supported" instead of
"not expected to work well" if that helps. But I'm confused why it sounds exactly opposite of what I have written there.

This lookgs good, but I think that there is one important piece missing. "How to access the application".
There is a lot of details about how to create a component, but not how to access it after running odo push.

This lookgs good, but I think that there is one important piece missing. "How to access the application".
There is a lot of details about how to create a component, but not how to access it after running odo push.

That will be put up in doc for URL. At the moment, we have kept doc for env vars after the component creation doc. But I think it makes more sense to write doc for creating and accessing URL.

/approve
/lgtm


chore(dep) Upgrade Concerto to 1.0.0-alpha6

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>Changes

Upgrade to latest Concerto 1.0.0-alpha.6
Makes dayjs test in boxing collection code more robust

Coverage increased (+0.004%) to 95.458% when pulling 4c56b79550254c0fc3a76d668498eab70322e716 on jeromesimeon:js-concerto-alpha.6 into a08ad4a7874248b0e36459dc6fe6ef04076b181d on accordproject:master.


test_host_api_hoststats fails when admin client tries to list projects.

Server version - Build from master - Nov 6
___________________________ test_host_api_hoststats ____________________________

client = <cattle.Client object at 0x7f9c27356710>
admin_client = <cattle.Client object at 0x7f9c27323bd0>

    def test_host_api_hoststats(client, admin_client):
        hosts = client.list_host(kind='docker', removed_null=True)
        assert len(hosts) > 0

        stats = hosts[0].hostStats()
        conn = ws.create_connection(stats.url + '?token=' + stats.token)
        result = conn.recv()
        conn.close()
        assert result is not None
        assert result.startswith('[')

>       project = admin_client.list_project()[0]
E       IndexError: list index out of range

Interesting. Not sure how that is failing. Do you have any logs from the server?

@hibooboo2. Can you just run this one validation test locally?  This doesn't look like a random issue.

This test case had failed last 3 times when validation tests are executed against latest server ( from master). This set up is git hub auth enabled setup.

Looking at it, when github auth is enabled validation tests cannot run currently because when the admin client fixture lists projects to get the hosts it has none because it is not a member of the default project where the hosts are. In order to fix this we have to change the way the test pick the project to act as.

test_host_api_hoststats test cases are now executing fine and reporting success.


Added jsdoc comments

I added jsdoc comments for the added benefit of autocompletion. Doc strings are a combination of what is already in the readme, a bit of the Facebook docs, and some editorialised explanations of the private functions.
I personally prefer this method over what has been done in PR #114 as inline documentation is much more helpful, although #114 could benefit TypeScript users (I'm not a TS user so wouldn't want to comment).
Closes #115

Thanks, @tom-sherman! 🎉


Added LSP, telescope & other features.

Added LSP plugins to facilitate autocompletion. Enabled for some languages by default. Added telescope plugin and added some keymappings for it. Added dressing plugin which replaces the default vim select UI with telescope picker UI. Added custom ASCII art and footer for the dashboard plugin. Added some code optimizations and enhancements as well. Added Mason and other plugins to manage LSP clients as well. Improved the Lualine to a great extent. Enabled tabs and winbars and buffers. Added shortcuts to switch through buffers.
Commit Id: #8

Self-reviewed✅


Button Card Request

Requesting if you could include a button card. I have alot of switches connected to lights and fans which dont show up in either light or fan cards.
I am new to github, couldnt find the button to request feature. Love the cards. Thanks for sharing.

Hi,
Thanks for your request.
You can already add button card: add an entity card with your input_boolean, on tap action, call the service input_boolean.toggle, select the Wright entity to toggle and voilà.

@pierrecle I think we can add the toggle to tap_action and hold_action for entity card to facilitate the switch or button usage 🙂
And the documentation need to be updated too 👍

I re-open this issue for the documentation improvement 😅
@Noob25930 You can update to the latest version to use the toggle tap action with entity card.

Thank you both of ya'll for your answers @pierrecle @piitaya . I will try that. Again, fantastic work.

Is it also possible to add 'scene.turn_on' option to the entity card tap action?
Using 'toggle' to activate scenes gives an error due to the lack of a 'scene.turn_off' service.
Thanks for your efforts both this is a fantastic set of cards.

You can use any service you want by choosing the call service action in tap action 😉

Awesome thanks for clarifying, I was pulling my hair out and missed the obvious.

@piitaya should we close this issue or an action still needed?

We can close it and we will add a task : improve doc


Compatibility issue between @mdx-js/react v3.0.0 and mdx-embed v1.1.2 in gatsby-plugin-mdx v4

Is your feature request related to a problem? Please describe.
Yes, I've recently updated gatsby-plugin-mdx to version 4 and encountered a dependency conflict between @mdx-js/react and mdx-embed. When attempting to install mdx-embed alongside the latest version of gatsby-plugin-mdx, npm throws an ERESOLVE error, indicating an inability to resolve the dependency tree.
Error log:
$ npm install mdx-embed gatsby-plugin-mdx-embed
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@mdx-js/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/mdx-embed
npm ERR!   mdx-embed@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/user/.npm/_logs/2023-11-27T13_28_07_570Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: /Users/user/.npm/_logs/2023-11-27T13_28_07_570Z-debug-0.log

Describe the solution you'd like
An update or a workaround that would resolve this dependency conflict. Ideally, mdx-embed should be compatible with the latest versions of @mdx-js/react.
Describe alternatives you've considered
I've considered using --force or --legacy-peer-deps flags to bypass the conflict, but this might lead to unstable and potentially broken dependencies. Another option could be to fork mdx-embed and update the peer dependencies myself, but I would prefer an official update for stability and future compatibility.
Additional context
N/A

I am experiencing the same issue


Webpack config and fonts

❓Question
How does Webpack know it is supposed to serve availity-uikit fonts directory?
I know this loader matches the font files and uses file-loader in fonts dir. But where is the link between uikit and workflow?

I think this may be what you are looking for

Yes. Icon fonts...
I need to know how does webpack realizes that when that loader matches, it should grab the files from here

Alright so I had to do some digging myself bc I too have not touched any of our uikit much at all.
We have a script that will pull in the font configs and parse svg content to css readable content.
I hope that answered your question otherwise I'm going to have to refactor some code until it makes sense for me as it does for you lol 🙃


Typings install commands

Can anybody please show me how to install the following typings package in globalDependencies section:
"globalDependencies": {
    "es6-collections": "registry:dt/es6-collections#0.5.1+20160316155526",
    "es6-promise": "registry:dt/es6-promise#0.0.0+20160423074304",
    "node": "registry:dt/node#4.0.0+20160423143914"
  }

Thanks!

Hi,
You can install these typings with: typings install or if you want install with the command line: typings install dt~node --global --save
Regards!

Thank you! The typings install dt~node --global --save is exactly what i need


Add shutdown handler for new launcher

Context
Part of ADP-92 (new launcher).
User story
As an API client (Javascript)
I want a method to cleanly and reliably stop cardano-wallet (and its node)
so that I can exit my application and release resources allocated to it.
Decision
Implement the cardano-wallet side of the launcher shutdown process.
DaedalusIPC can stay for the time being, but will be deleted later.
Acceptance Criteria

The shutdown handler must work on both Windows and POSIX.

Development

PR  #1315

QA

Unit tests in Cardano.StartupSpec
Integration test in .../Scenario/CLI/Server.hs.

hm, one of the integration tests fails for me locally. (btw. thanks for handy PATATE handler ;) https://github.com/input-output-hk/cardano-wallet/blob/master/lib/jormungandr/test/integration/Test/Integration/Jormungandr/Scenario/CLI/Server.hs#L72)
Failures:

  test/integration/Test/Integration/Jormungandr/Scenario/CLI/Server.hs:162:17:
  1) CLI Specifications, PATATE, LOGGING - cardano-wallet serve logging [SERIAL], LOGGING - Serve debug logs for one component
       not expected: 0

  To rerun use: --match "/CLI Specifications/PATATE/LOGGING - cardano-wallet serve logging [SERIAL]/LOGGING - Serve debug logs for one component/"

Randomized with seed 831114914

Finished in 3.8773 seconds
13 examples, 1 failure

Also fails for me locally for a reason I can't explain, but does not on CI :thinking:

@rvl, @KtorZ:

is this failure on local machine (https://github.com/input-output-hk/cardano-wallet/issues/1314#issuecomment-594061933) is something that should be investigated further?

also acceptance criteria for ADP-92 is quite extensive:

1. I want to start cardano-wallet (and its node)
2. I want to cardano-wallet to use a free TCP port for its server
3. I want to receive events when the wallet backend is started/stopped
4. I want to receive events when the node is started/stopped
5. I want to receive an event when the wallet API is ready
6. I want a method to get the wallet backend API base URL and connection parameters
7. I want a method to cleanly and reliably stop cardano-wallet (and its node)
8. I want a documented Javascript module with typed interface files
9. I want the cardano-launcher to be well-tested on Windows
10. I want the module to output detailed logging

Does this ticket cover all points or part (which part if so)?

Also in particular re pt. 9 from AC - do you recommend any manual tests to perform under Windows (or any further manual or automated tests) to be performed or added

Sorry @piotr-iohk I lost track of your message.
Yes the failure is due to withShutdownHandler and I am working on fixing it.
Those items from ADP-92 are user stories and each has its own AC. It's a bit difficult to track because the user stories are implemented in two git repos - cardano-launcher and cardano-wallet.
This ticket covers "7. I want a method to cleanly and reliably stop cardano-wallet (and its node)"
Regarding point 9 from the user stories - there are some automated tests for windows in the cardano-launcher. The end-to-end test is still pending on input-output-hk/cardano-launcher#12.

Ok, the failing test is fixed but there is now also this opened PR related to this task #1424. (Not sure than, shall we move it back to "in progress" or...?)

I don't know ... the code removal is not part of the epic, it's just a clean up which I wanted to do early because its tests are fragile. I'm not sure when to make a github issue and when not, because we have jira there, and also multiple github repos, ...

All right. It seems the original scope for this particular GH task is addressed, so I will close this one.
Then maybe if there are further parts related to ADP-92 that need QA review, let's add them as separate GH tasks moving forward.


Locale or Private Server Compiling

In the future will it be possible to compile either locally or on vps of some sort.

You will be able to use community edition on your own server/computer

Any documentation about private compiling ?

It's coming,
For starting, you need gcc/g++, and pass thecompiler to nectarjs in the cli
ie for g++: ./nectar.js --compiler g++ example/string.js
for g++-8:   ./nectar.js --compiler g++-8 example/string.js

sweb@sweb-laptop:/tmp/aaa/nectarjs$ ./nectar.js --compiler g++ example/string.js
'[!] Please set your id and your key before build (see nectar --help)'

Why do i need id and key?
After set id and key as random string.
Why do i need eslint ?
./nectar.js --compiler g++ 1.js
/bin/sh: 1: eslint: not found
NectarJS: Compilation Error :

child_process.js:656
    throw err;
    ^

Error: Command failed: cd /tmp/aaa/nectarjs/core/nativejs && ./njs /tmp/aaa/nectarjs/1.js --compiler g++ -o /tmp/aaa/nectarjs/1-linux-x86-64.bin
/bin/sh: 1: eslint: not found
NectarJS: Compilation Error :

    at checkExecSyncError (child_process.js:616:11)
    at Object.execSync (child_process.js:653:13)
    at /tmp/aaa/nectarjs/nectar.js:635:32
    at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)

after install eslint as dependency package. not work.
But after global package it's done.
I think these parts must be as documentation as well.
Thanks.

Right,
You're using the NPM version, outdate now, the github repo embed the native compiler, so it doesn't force cloud compilation


Governance Core Unit Subproposals. MIP39c2-SPX, MIP40c2-SPX, MIP41c4-SPX to RFC.

Still in progress, please don't merge.

Aight. This is good to go @Davidutro, apologies for the late landing.


Support for tracking multiple packages

Thanks for an awesome package!
Since the USPS API can handle up to 35 tracking IDs per request, i'm wondering if there's a good way to pass a list with your existing package, or if it would be possible to add this feature.
I tried to generate the URL string using variations of the code below, but I lost the detailed dictionary that your single query code provides.
{'EventTime': '
'EventDate':
'Event':
'EventCity':
'EventState':
'EventZIPCode':
'EventCountry':
'FirmName':
'Name':
'AuthorizedAgent':
'DeliveryAttributeCode': },
-----------------------------------what I tried --------------------------------------------------
def USPSRequest(trackingNumbers,userID):
TrackingNumbersFormatted = f'<TrackRequest USERID="{userID}">'
TrackingNumbersFormatted = str(TrackingNumbersFormatted)
for i in trackingNumbers:
    TrackingNumbersFormatted += "<TrackID ID="
    TrackingNumbersFormatted +='"'
    TrackingNumbersFormatted += str(i).strip()
    TrackingNumbersFormatted +='"></TrackID>'

URL = f'https://secure.shippingapis.com/ShippingAPI.dll?API=TrackV2&XML={TrackingNumbersFormatted}</TrackRequest>'.replace('&','&').replace('<','<')
#return URL

xml_response = requests.get(URL).content
response = json.loads(json.dumps(xmltodict.parse(xml_response)))
if 'Error' in response:
    raise USPSApiError(response['Error']['Description'])
return response

I'm fairly new to APIs & XML so I'm sure there's a much more elegant way to do this.
Thanks again, and have a great night!

I've added this capability to the CityStateLookup API in this PR: https://github.com/Brobin/usps-api/pull/13. Should be very easy to do the same thing for the tracking.


Starting manage Multi datastore

Add the manage of Multi datastore. This adding is not complete and you can't use with "image_accessor" But works fine with fetch/store etc..
Can be usefull with my patch default_image.

Hi - as discussed earlier, I don't want the complexity of multiple datastores so I won't use this, but thanks for the pull request


⚠ CONFLICT! Lineage pull request for: skeleton

Lineage Pull Request: CONFLICT

Lineage has created this pull request to incorporate new changes found in an
upstream repository:
Upstream repository: https://github.com/cisagov/skeleton-docker.git
Check the changes in this pull request to ensure they won't cause issues with
your project.
The lineage/skeleton branch has one or more unresolved merge conflicts
that you must resolve before merging this pull request!
How to resolve the conflicts

Clone the lineage/skeleton branch locally:
git clone --single-branch --branch lineage/skeleton git@github.com:cisagov/pca-gophish-composition.git

Review each of the following files looking for conflict-resolution markers:
.bandit.yml
.github/workflows/build.yml
.gitignore
.isort.cfg
.pre-commit-config.yaml
CONTRIBUTING.md
README.md
docker-compose.yml
requirements-test.txt
tests/conftest.py
tests/container_test.py

Resolve each of the conflicts and add your changes to the branch:
git add .bandit.yml .github/workflows/build.yml .gitignore .isort.cfg .pre-commit-config.yaml CONTRIBUTING.md README.md docker-compose.yml requirements-test.txt tests/conftest.py tests/container_test.py

Once all the changes have been added, commit and push the changes back to
GitHub:
git commit --message="Resolved Lineage conflicts."
git push

Wait for all the automated tests to pass.

Check the "Everything is cool" checkbox below:

[x] ✌ The conflicts in this pull request have been resolved.

Mark this draft pull request "Ready for review".

Note: You are seeing this because one of this repository's maintainers has
configured Lineage to open pull requests.
For more information:
🛠 Lineage configurations for this project are stored in .github/lineage.yml
📚 Read more about Lineage

Jumping Jesus on a pogo stick!

Ok.  Let's try this again.  A lot of the pain was caused by a mismatch in the lineage.  This project is not a Docker container.  It is more akin to a Python library.  Once I made that change the pieces fell into place better.
Again... I apologize for the previous state of the merge.


[SP-5988][PDI-19055] CLIENT column in PDI job log table records "unknown" when job executed on Pentaho server

:white_check_mark: Build finished in 31m 53s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine

:ok_hand: All tests passed!
Tests run: 4866, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


[Bug]: copy text from MS OneNote or Excel become an image

What happened?
There is an issue: when you copy text from MS OneNote or Excel and paste it into the input box of gpt, it becomes an image, but you cannot send it out.
Steps to Reproduce
1.copy something in locally excel
2.paste it into the input box
3.ask the question.
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Same here with e.g Word.

this is a known issue for a while, and I have a solution for parity with ChatGPT
ChatGPT

LibreChat


added parsePinterest function for getting pinterest meta tags

Will do thanks!
On Sat, Aug 15, 2020 at 12:59 PM Marielle Volz<EMAIL_ADDRESS>wrote:

@mvolz requested changes on this pull request.
It looks like maybe your text editor converted all the tabs to spaces?
This makes this very hard to review. If you could re-submit without making
changes to the spacing that'd be great!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/wikimedia/html-metadata/pull/89#pullrequestreview-468014699,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGXQFKGI5AJSYBN5AVLITNLSA3SLDANCNFSM4QANOVJQ
.


Microphone recording no sound when opened from Finder

When the app is opened from Finder on Mac (via double-clicking the app from Finder or opening from Spotlight Search), the recording stream returns arrays of all zeroes. But it works fine when the program is opened from the terminal (via python main.py or ./dist/Buzz.app/Contents/MacOS/Buzz).
This seems related: https://stackoverflow.com/questions/69193993/pyinstaller-app-not-getting-microphone-permission-works-fine-with-terminal

It seems to work after signing a new version??

Finally figured it out 🤦🏾♂
The second step of code signing overwrites the previous entitlement for requesting audio input. Fix is to add the audio permission to the entitlements.plist file

I'm getting the same issue using the latest release 0.5.2 on MacOS Monterey. If I open it through finder, it doesn't request Microphone permissions, but if I open the python app directly through the terminal, it spawns the GUI and requests Microphone access correctly.

I'm getting the same issue using the latest release 0.5.2 on MacOS Monterey. If I open it through finder, it doesn't request Microphone permissions, but if I open the python app directly through the terminal, it spawns the GUI and requests Microphone access correctly.

Ah, I'll have a look at this

@transitive-bullshit, this should be fixed in the latest release https://github.com/chidiwilliams/buzz/releases/tag/v0.5.4

Huzzah! 😄


unexpected server error

Hi,
I followed your steps in the document to try the simplest example. But I run into trouble. Something wrong on the server side. The console output as below,
W20150213-16:23:17.156(8)? (STDERR)
W20150213-16:23:17.160(8)? (STDERR) /home/roger/.meteor/packages/tomi_upload-server/.1.1.1.b4xvxt++os+web.browser+web.cordova/npm/node_modules/connect/lib/middleware/static.js:60
W20150213-16:23:17.160(8)? (STDERR)       next();
W20150213-16:23:17.160(8)? (STDERR)       ^
W20150213-16:23:17.162(8)? (STDERR) TypeError: undefined is not a function
W20150213-16:23:17.162(8)? (STDERR)     at resume (/home/roger/.meteor/packages/tomi_upload-server/.1.1.1.b4xvxt++os+web.browser+web.cordova/npm/node_modules/connect/lib/middleware/static.js:60:7)
W20150213-16:23:17.162(8)? (STDERR)     at SendStream.error (/home/roger/.meteor/packages/tomi_upload-server/.1.1.1.b4xvxt++os+web.browser+web.cordova/npm/node_modules/connect/lib/middleware/static.js:73:37)
W20150213-16:23:17.162(8)? (STDERR)     at SendStream.emit (events.js:95:17)
W20150213-16:23:17.163(8)? (STDERR)     at SendStream.error (/home/roger/.meteor/packages/tomi_upload-server/.1.1.1.b4xvxt++os+web.browser+web.cordova/npm/node_modules/connect/node_modules/send/lib/send.js:147:51)
W20150213-16:23:17.163(8)? (STDERR)     at SendStream.onStatError (/home/roger/.meteor/packages/tomi_upload-server/.1.1.1.b4xvxt++os+web.browser+web.cordova/npm/node_modules/connect/node_modules/send/lib/send.js:248:48)
W20150213-16:23:17.163(8)? (STDERR)     at /home/roger/.meteor/packages/tomi_upload-server/.1.1.1.b4xvxt++os+web.browser+web.cordova/npm/node_modules/connect/node_modules/send/lib/send.js:320:26
W20150213-16:23:17.163(8)? (STDERR)     at Object.oncomplete (fs.js:107:15)
Can not find the next() definition.
Could you help me?

Umph, did you manage to solve it? This error tells me nothing :/

What kind of file were you trying to upload?  I get the same error, but only if I'm trying to upload certain mime types (docx, pptx, etc), and I've been scouring the internet trying to figure out how to fix it.

Guys and Gals, I will need a minimally reproducible app to deal with this error. I'll close this issue now, please reopen if necessary or if you prepare the app for me ;)


Add files via upload

This version of the CCO has two additional parameters which can be selected from a drop-down box. This will allow the changing of the Azure API and the Azure AD Graph API between Gov and Commercial.

We are developing a new version of the Dashboard to handle either Commercial or GOV.


oke-30296-fix-multi-nodeport-bug

Fix for bug :
In scenarios with Service having multiple nodeports assigned, Native ingress controller is picking the first nodeport instead of picking the targetport based on the port in the ingress.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

19 of 45 (42.22%)  changed or added relevant lines in 3 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.05%) to 65.427%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/controllers/backend/backend.go
3
5
60.0%

pkg/controllers/nodeBackend/nodeBackend.go
5
7
71.43%

pkg/util/util.go
11
33
33.33%

Files with Coverage Reduction
New Missed Lines
%

pkg/util/util.go
1
53.85%

pkg/controllers/nodeBackend/nodeBackend.go
1
65.98%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
2269

Relevant Lines:
3468

💛  - Coveralls


Support kickstarting swaps

https://modulelab.slack.com/archives/C8ADPSWTB/p1525328006000031
Sindre Sorhus [1:13 PM]
@Luke Childs https://github.com/jl777/SuperNET/commit/8725909b3c12f8df17de0b075422ad3676cc5195

Have you thought about how the kickstart thing will work? I assume it's just a temporary workaround until mm does this automatically?

Luke Childs [1:14 PM]
no we’ll need kickstart long term
so if they quit the app with pending trades
or in process trades
then restart
we need to filter all the in progress trades and tell mm to resume them
I think it will be a fair bit of work to integrate
mm will most likely give us no helpful feedback in the event that:
- the trade doesn’t exist
- exists but can’t be restarted
- was already automatically restarted
- is in the progress of being rolled back (edited)
we need to handle all those cases
and we probably won’t get enough information to
and we also need to re-attach event listeners so we get socket updates on restarted trades
if mm auto restarts them without telling us we’ll miss them
so many things that can go wrong
this is exactly why we shouldn’t have two separate swap DB instances…
😞
For v2 we need to push for a built in swap DB in mm that actually works and scales
so we have no internal copy
we just query mm as the single source of truth
They could use sqlite or LevelDB or something light weight

Just saving this snippet here for future reference:
_swapDB._getSwapData('f8b3d902d9c21ed0a2231ade8965f6f710d04953c27f00156e9a346550de1b20')
.then(data => data.messages.reduce((ids, msg) => {
	ids.requestid = msg.requestid || ids.requestid;
	ids.quoteid = msg.quoteid || ids.quoteid;
	return ids;
}, {}))
.then(ids => {
	console.log(ids);
	_api.debug({method: 'kickstart', ...ids})
})

This behaviour is too unreliable right now and doesn't appear to be as important as we first thought:

kickstart can only make progress if progress is possible. likely you need to wait the 4hrs and unless the .finished file was created in error, kickstart wont be needed

https://github.com/lukechilds/hyperdex-bugtracker/issues/1#issuecomment-389808367
There's no way for us to reliably know if a kickstart is needed and or if it has been successful.


No Directive annotation found on ToasterContainerComponent

Upgrading to Angular 2 rc.2 causes me to start getting the following error.
Reproduced in new clone of https://github.com/AngularClass/angular2-webpack-starter when following the Getting Started with Default Configuration instructions.

Angular2-Toaster is not yet upgraded to rc.2.  Thank you for reporting, I'll investigate.

Same issue here

same issue here

Could you please provide an example of your webpack config?

So the issue at hand is the your referencing a specific release of
Angular.  Currently, when your package is restored from npm, @angular/*
RC.2 is dropped into node_modules of angular2-toaster.  Perhaps a better
solution is updating package.json to depend on ^2.0.0-rc.X so that the
Angular dependencies can float as consumers of this package upgrade.
Regarding webpack.config - refer to comment when I opened the issue.
On Wed, Jun 22, 2016 at 2:44 PM, Stabzs<EMAIL_ADDRESS>wrote:

Could you please provide an example of your webpack config?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Stabzs/Angular2-Toaster/issues/31#issuecomment-227839543,
or mute the thread
https://github.com/notifications/unsubscribe/ABMTaKLewe58tHywM5WiJZMzHctuFyMEks5qOYKAgaJpZM4I3tFI
.

@jFensch that's a reasonable solution.  I'm assuming that justme1 has run into the issue due to the RC 3 update.  I'll apply this change to the RC.3 update for angular2-toaster.

@Stabzs indeed - solution suggested sound decent.
Thanks


Feature: useMaxWidth option for diagrams

One of mermaid.js  diagrams' common config useMaxWidth,  the diagram can expand to as wide as the container.
Could be useful fitting the diagram to the container.

This config can be set through core config, or each diagram's config

pintoraStandalone.setConfig({
  core: { useMaxWidth: true },
  // or
  sequence: {
	useMaxWidth: true
  }
})

If you are using @pintora/standalone renderTo() function, it will get containerSize for you

  const containerSize = {
    width: container.clientWidth,
  }
  drawResult = pintoraStandalone.parseAndDraw(code, safeAssign<RenderToOptions>({ containerSize }, options))

If you are using the @pintora/cli, canvas width can be assigned by --width argument

pintora render -i ../test-shared/example-files/sequence.pintora --width 1000 -o sequence-w-1000.jpg

Released in<EMAIL_ADDRESS>


[FLINK-26249][table-planner] Run BuiltInFunctionsTestBase and BuiltInAggregateFunctionsTestBase in parallel

This PR includes two commits to port BuiltInFunctionsTestBase and BuiltInAggregateFunctionsTestBase to JUnit 5 and run those tests in parallel.
On my machine running the whole functions package and subpackage tests with non-parallel execution takes 55 secs, while with parallel it takes around ~25 secs

@flinkbot run azure

Run 3 times in my local CI, all green:

https://dev.azure.com/francescoguard/Flink/_build/results?buildId=764&view=results
https://dev.azure.com/francescoguard/Flink/_build/results?buildId=773&view=results
https://dev.azure.com/francescoguard/Flink/_build/results?buildId=774&view=results

@flinkbot run azure


Release 2.0.0

@dpyryesk no, that's not how you need this. You just need to create a tag with name v2.0.0 and push it


Is there any chat for discussions related to the bot?

Maybe Telegram, Discord, Slack any chat group where we can discuss about this bot together with the developer and the contributors?

Not at the moment and I won't create it as I don't have much time to spend on it ;)
But feel free to create 👍

Ok, there's this Telegram group someone mentioned in #23
https://t.me/joinchat/z3cKyYFcx0NiOTA8
I guess we can use it in the meanwhile.
Already report another one for the wiki...
Closing this one.


cargo doc hangs using a full CPU

Problem
When I run cargo doc, it never terminates. Instead, it uses 100% of a CPU indefinitely.
Steps

git clone https://github.com/gfx-rs/wgpu.git
cd wgpu
git checkout 91d872e1
cargo +nightly doc -p wgpu-core

That final comment never seems to exit.
Possible Solution(s)
No response
Notes
I'm running Fedora 38 and cargo 1.73.0-nightly (7c3904d6c 2023-08-14).
Version
No response

The change described in https://github.com/gfx-rs/wgpu/pull/3626#issuecomment-1679877134 contributing to this freeze is a bit too big to me. Is it possible for you to minimize the scope and the relevant part, so that people can focus on debugging withoug reading through all the changes?
BTW, this looks like a rustdoc issue, not a Cargo issue.

For more contexts, this failed from at least 1.64 to today's nightly.


Physical qubit is not scanned or parsed correctly

EDIT: See next comment first.
OpenQASM version:
5858c878 , four day old main branch
Python version:
3.10.5
Operating system:
fedora
What is the current behavior?
Somtimes parsing a physical qubit specification fails.
Steps to reproduce the problem
Write the following to phys_test.qasm.
OPENQASM 3.0;

qubit $0;

Then do the following:
In [1]: import openqasm_reference_parser

In [2]: openqasm_reference_parser.pretty_tree(file="./phys_test.qasm")
---------------------------------------------------------------------------
Qasm3ParserError                          Traceback (most recent call last)
Cell In [2], line 1
----> 1 openqasm_reference_parser.pretty_tree(file="./phys_test.qasm")

File ~/github/openqasm/openqasm/source/grammar/openqasm_reference_parser/tools.py:50, in pretty_tree(program, file)
     48     error = err.getvalue()
     49 if error:
---> 50     raise Qasm3ParserError(f"Parse tree build failed. Error:\n{error}")
     51 return tree

Qasm3ParserError: Parse tree build failed. Error:
line 3:6 mismatched input '$0' expecting Identifier

What is the expected behavior?
No error. When I first read the paper it looked kind of like these should only work in a defcal. But there are snippets in the paper including $0, $1 etc that do not explicitly include this context. The live language spec is pretty clear. There are no qualification on scope or otherwise when introducing physical qubits.
Suggested solutions (Optional)
Reading test suite, it looks like physical qubits are parsed correctly in a defcal. This might be a starting point.

This looks like I am trying to declare a physical qubit, which should not be allowed.
There is another implementation of a qasm parser which does allow this qasm code. I think the bug should be filed against that parser, not this one.

Yes, the internal IBM parser allows this as a language extension, but it's explicitly against the text of the spec.

Just to clarify: it's convenient for our infrastructure internally to know how many physical qubits will be used, which is in part why there's the syntax extension, and because our compiler assumes Qiskit has already laid out and routed the circuit, so there's no "register-like" definitions that would conflict.

but it's explicitly against the text of the spec

I see it.
It seems to me that it could be useful for many architectures and simulators to make the resources explicit.  Maybe I missed it, but I don't find this extension documented anywhere.

At any rate, this is not a bug, but rather documented behavior.

I've created #417 as there has also been other related discussion internally.

@jakelishman wrote

... allows this as a language extension, but it's explicitly against the text of the spec.

If a language extension is allowed to transgress a prohibition in the spec, then you can make extensions to make the language into anything you like.
(This issue is off topic here.)

If a language extension is allowed to transgress a prohibition in the spec, then you can make extensions to make the language into anything you like.

https://github.com/openqasm/openqasm/pull/417


Expose webpack dev-server config to allow for multiple projects

Command
serve
Description
Like others (https://github.com/angular/angular-cli/issues/12181), we are utilizing the multi-project features of Angular to create smaller and more efficient SPAs.
The production reality is they are served within separate URI contexts on a web server.
Currently in development we are required to run multiple servers on separate ports. This is inefficient, and introduces more variables compared to production.
Therefore, it would be beneficial to allow webpack to with each application project underneath its own URI context.
Describe the solution you'd like
New command to the CLI such as "serveAll" which launches a single web server, with URI context defined for each project.
Describe alternatives you've considered
Two solutions so far. Spin up Apache web server, and configure (using a sledge hammer for a nail).
Create a script which spawns "ng build --project=name" for each project with a standalone dev project with just webpack-dev-server in it. The webpack.config.js contains hard coded static sections for each project.

Hi @n614cd, thanks for your feature request however exposing webpack specific functionality/configuration is not the goal of the Angular CLI.
For this approach, it is recommended to use a custom builder.

@alan-agius4
Where did I say expose webpack functionality? That was the solution some others tried on the previous ticket.
My ask is not the same. I just want to have all projects spin up at once under a single web-pack-dev server, with each project under its own URI context.
Current work arounds are to run each project on separate ports. This is not conducive to keeping development and production as similar as possible.
Tim


Add high-pass filter support

The chip supports high-pass filtering of the data, with several settings.
Will need consideration of current data rate and oversampling mode to determine available HPF cutoff freqs. Units in milli-Hz.
Refer to AN4071 also.

initial implementation in d8fbb48d1df5a2b0943a7a6e3e7e81e34b03dadd
(warning: method is currently huge)


Add phone content

Fixes: #10
Adds content to empty phone screens:

text message convo on opening slides

LOL a big fan of the "hackerman" messages. Jamie you're really killing it on this learning lab 💯

Hahah thank @alyssamw for the hackerman inspiration 😄


Syncer should support targeting existing pcluster namespaces

Currently, the syncer assumes responsibility for managing the lifecycle of a scheduled kcp namespace and its contained resources on a given pcluster. Internal discussion suggests that some uses cases may require that a non-kcp agent be responsible for creation of a given pcluster namespace and populating it with resources that kcp should not attempt to manage. This suggests that it be possible to indicate (e.g. via kcp.dev/unmanaged: true label on a kcp namespace) that only the resources explicitly contained by a kcp namespace are to be managed on a pcluster and that the syncer should not attempt to manage the namespace on the pcluster.
The syncer would respond to such a label by:

never attempting to create/update/delete the namespace on the pcluster
never attempting to update/delete resources on the pcluster which do not correspond to resources in the kcp namespace

the syncer may need to be able to identify resources it manages (e.g. label with kcp.dev/synced: true) to avoid updating or deleting resources without that label in 'unmanaged' pcluster namespaces.

TODO: is 'unmanaged' the right descriptive term for a namespace that kcp manages some but not all resources in on a pcluster?

Can you elaborate on the use case for this?

Closing as it doesn't look like we actually want to do this any more


Update mkdirp dependency to 1.x

Closes #134. mkdirp version 0.x is deprecated, this updates mkdirp to the latest 1.x version.

@whitecolor Any update on this? There's a security warning for minimist that the old version of mkdirp depends on.

Ok, thanks


Index Update Call

Great project. Is there an update mechanism for an index - adding a field, or updating index type, for example.

@MikeHawkesCapventis
Thanks for your comment.
Unfortunately, changing the index mapping is not yet supported.

Ok, thanks - trying to work out a process in that case. Would I be able to add a field to its own index and add that to the aliases subsequently searched? I'm also struggling to find an example of adding or removing shards / nodes / aliases - if you could point me in the right direction, I'd really appreciate it.
BTW Thanks for the speedy reply :)


LT - POOL Reconection

Good Day,
I don't know why, but after restarting UmbrelOS, LT did not allow me to bind (the password was entered well). Nothing helped other than reinstalling LT, then I was able to log in with that password.
However, I was re-generated a seed and after logging into the LT web app again, I don't see my previous transactions and open contracts for provided liquidity anywhere in POOL.
As a beginner I now don't know how to proceed further.
Thanks for help
David

Your .pool folder may have been deleted (please check) during reinstallation and you may need to do a recovery, you can read up on that here: https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/troubleshooting#pool-account-recovery and here https://docs.lightning.engineering/lightning-network-tools/pool/account_recovery. During that process, did you restore lnd as well? Did you use the same seed as before?

Thank you for your answer, I understand restore system but I am not yet aware of command line and more detailed configuration.
Yes the LND server is running with same seed. I currently have liquidity locked in two transactions for two weeks. Therefore, I would like to be able to access these funds after the period expires.
Thanks for the response.


Support Docker native backend

Docker 1.12 brings an experimental feature to deploy a bundle describing the tasks to run. Conveniently, this manifest looks an awful lot like scheduler.App.
This is pretty cool, because it means we can add a pure Docker backend in probably < 100 lines of code.

I spiked into a little PoC implementation tonight: https://github.com/remind101/empire/compare/docker-native
Pretty cool, and works well just using it locally. In an actual production environment, I think managing the Docker services via something like CloudFormation/Terraform would be better, to avoid listing services and using labels to filter.


[Rust CI]: Setup extras for Rust CI

Is your feature request related to a problem? Please describe.
As we want to write more rust, we will have to ensure the robustness of our implementations. to do this we need cargo caching, run the rust unit tests and display them on the CI, the clippy checks and finally the coverage check.
Describe the solution you'd like
We can use github actions if this help for unit tests report in CI.
Checklist

[ ] cargo caching
[ ] run rust unit tests
[ ] unit tests report in the CI
[ ] clippy check in the CI
[ ] coverage check + report CI

I would also like to integrate the rustfmt tool for formatting Rust code.
This may require to add the rustfmt.toml config file to wallet-core/rust directory.

For cargo caching, sccache  is a compiler caching tool, avoiding compilation when possible


<EMAIL_ADDRESS>hash check failed

Updating 'cudatext' (<IP_ADDRESS> -> <IP_ADDRESS>)
Downloading new version
Loading cudatext-win-x64-<IP_ADDRESS>.zip from cache.
Checking hash of cudatext-win-x64-<IP_ADDRESS>.zip ... ERROR Hash check failed!
App:         extras/cudatext
URL:         https://www.fosshub.com/CudaText.html/cudatext-win-x64-<IP_ADDRESS>.zip
First bytes: 50 4B 03 04 0A 00 00 00
Expected:    9b0ddf09172b1fa582c2dd4e4a512f4d62f9a182ba98bf7692e95fa0d8b2d0b4
Actual:      bb588e71e1a1773913eb0cb133acecae2496f2f513abec2aeebf92cd44a26ba0
Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=cudatext%4<IP_ADDRESS>%3A+hash+check+failed

Duplicate of #4152 (lukesampson/scoop#4051)


Add guava dependency

It would be great to add google guava dependency to ExoPlayer.Core because when initializing a new instance of the playerview, it will crash without that library. Adding the nuget package separately will work. Those who aren't aware of adding guava to their projects will encounter problems.

It's definitively possible, although considering when moving to the newext ExoPlayer version I already added Guava to ExoPlayer.Common https://github.com/Baseflow/ExoPlayerXamarin/commit/6aa6b2cbd85bd0b08984ce9de1805b5cd07434c9 and I thought it would just propagate to the other projects.. I assume that isn't the case however?

Sorry, my bad. I just rechecked it and it works for nuget. Since the nuget packages weren't updated, I rebuilt the ExoPlayer project and referenced all the libraries in the output folder but doing that does not include the package references so I had to add them manually. The nuget pacakge takes care of them automatically. I'm patiently waiting for the update.


Question: Adding and removing fields

Screenshots

Current
This seems simple, but our developer can't figure it out. The screenshot is what comes up when someone applies for a job, and attachment of a resume is required. We want to make the resume optional but also add a field for job title. The website that uses this is http://stembridgeagency.com

All the logic that control how the modal works is located here:
https://github.com/bullhorn/career-portal/tree/master/src/app/modal
Pre-submit validations occur here:
https://github.com/bullhorn/career-portal/blob/master/src/app/modal/modal.controller.js#L299
You can add all the fields you want to the form and submit them with the Apply Service.


#565 - Partition Function

Closes #565

[x] Running yarn lint does not trigger any linter errors
[x] The test of the method you have fixed is passing
[x] You have written a new skeleton method for someone else to work on!
[x] You have written tests to accompany your skeleton method

Will do, thanks @BlakeGuilloud


Mount_internal() needs a recursive chmod on the internal .bitcoin directory

This has been difficult to implement for some reason, rust command seems to not like the recursive flag.
Need to revisit as this is causing issues after syncing on node mode.

resolved...I think


Filter excludes all files in public/js ...?

In release 38, I can no longer search in my public/js folder. Every other folder works just fine, but this one reports "Allows all 0 files in public/js" if I right-click public/js, click "Find in...", and then click on "Exclude files..."
If I switch to another project and remove the one I'm working in from the drop-down, and then re-open the project via "Open Folder...", it reports "Allows all 165 files in public/js" the very first time I search and searches successfully.
After that, it's always 0 if I search again.
Anybody know what's going on?

+1 same issue.

For me, the issue turned to be that Brackets was barfing on the number of files in the directory I was opening. There were such a large number of files because of various libraries pulled in by bower and files produced by grunt, etc.
I installed the "Exclude Folders" extension, and now I can search happily.

+1 same issue. Mac OS X Yosemite 10.10.2.

@scottschafer That's a different issue, and Brackets should have showed you an error dialog first saying "This project contains more than 30,000 files. Features that operate across multiple files may be disabled or behave as if the project is empty."

@peterflynn @scottschafer I also had the same problem:
when I was trying to search through a project that has more than 30k files Brackets gave me an error that every file is excluded from the search. Fixed it by installing the same extensions as @scottschafer
Brackets Release 1.2 experimental build 1.2.0-15697 (release 8f82e2a97)
on Ubuntu 14.04.2 LTS

I get the same error. I also get this dialog when I'm starting the search:

Those 30k files are in node_modules directory.

I am tagging @rroshan1 to see what could be the best possible way to exclude files? Do we want a global preference to exclude all files inside node_modules or any other folder in general?

@ile You can add exclusion set while searching and add /node_modules/ It will exclude files in node_modules directory.

@prafulVaishnav This doesn't have anything to do with Find in Files, it's a general error message that can pop up any moment when files are indexed, for example when Quick Open is opened.


Custom env in jupyter notebooks.

Changes:

Refined the instructions on using custom environments in jupyter notebook.

@sdradsb it is showing a lot of changes in this PR that aren't yours. Which branch did you create your custom-env-doc branch from ?
I suggest that you create a branch from develop directly, and put your notebook changes there, so that the history looks clean.

suggested change @sdradsb, along with changing the base branch :) Thanks !

Stating a new PR, as this PR has lot more commits that are not mine.


[FR]blend batch:1+batch and batch+batch

Currently you can only blend latent with batch, but cannot blend image in Image Blending Node.
I've tested 1 add batch and batch add batch, both failed.
Could this be fixed?
Traceback (most recent call last):
File "/home/admin188/AI/webui/ComfyUI/execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/home/admin188/AI/webui/ComfyUI/execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/home/admin188/AI/webui/ComfyUI/execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/home/admin188/AI/webui/ComfyUI/custom_nodes/was-node-suite-comfyui/WAS_Node_Suite.py", line 4093, in image_blending_mode
img_a = tensor2pil(image_a)
File "/home/admin188/AI/webui/ComfyUI/custom_nodes/was-node-suite-comfyui/WAS_Node_Suite.py", line 352, in tensor2pil
return Image.fromarray(np.clip(255. * image.cpu().numpy().squeeze(), 0, 255).astype(np.uint8))
File "/home/admin188/anaconda3/envs/fooocus/lib/python3.10/site-packages/PIL/Image.py", line 2955, in fromarray
raise TypeError("Cannot handle this data type: %s, %s" % typekey) from e
TypeError: Cannot handle this data type: (1, 1, 512, 3), |u1

Most the image nodes are designed for single images. I've updated some but haven't gotten around to all it.


chore: fix staticcheck issues

Use staticcheck to find and fix correctness issues.
❯ go run honnef.co/go/tools/cmd/staticcheck@latest ./...
internal/iptables/iptables.go:61:3: should replace loop with rules = append(rules, EgressNetworkPolicyToIpTableRules(policy, peerChain)...) (S1011)
internal/iptables/iptables.go:80:22: unnecessary use of fmt.Sprintf (S1039)
internal/it/suite_test.go:32:5: var cfg is unused (U1000)
internal/it/suite_test.go:34:5: var testEnv is unused (U1000)
internal/it/suite_test.go:172:2: this value of b is never used (SA4006)
internal/it/suite_test.go:185:2: this value of b is never used (SA4006)
internal/it/suite_test.go:222:2: this value of err is never used (SA4006)
pkg/api/v1alpha1/wireguard_types.go:26:2: only the first constant in this group has an explicit type (SA9004)
pkg/controllers/suite_test.go:41:5: var cfg is unused (U1000)
pkg/controllers/wireguard_controller.go:151:13: error strings should not be capitalized (ST1005)
pkg/controllers/wireguard_controller.go:407:3: this value of port is never used (SA4006)
pkg/controllers/wireguard_controller.go:407:10: Sprint doesn't have side effects and its return value is ignored (SA4017)
pkg/wireguard/wireguard.go:63:2: this value of err is never used (SA4006)
pkg/wireguard/wireguard.go:104:2: this value of link is never used (SA4006)
pkg/wireguard/wireguard.go:155:2: this value of err is never used (SA4006)
pkg/wireguard/wireguard.go:293:6: should omit comparison to bool constant, can be simplified to peer.Spec.Disabled (S1002)
pkg/wireguard/wireguard.go:343:2: this value of err is never used (SA4006)
exit status 1

Refs: #160

:tada: This issue has been resolved in version 2.1.0 :tada:
The release is available on:

v2.1.0
GitHub release

Your semantic-release bot :package::rocket:


Broken source map file after updating to OSX 10.11.5 (15F34)

After installing the newest Mac Update: OSX 10.11.5 (15F34) the ‘gulp-sourcemaps’ plugin seems not to work correctly with TypeScript files.
In my case the ‘gulp-sourcemaps’ plugin generates an inlined source map file which contains all my JavaScript files. Unfortunately the generated source map file seems to be broken.
The linked TypeScripts files in the source map are empty when debugging in my Browser. (I tested Chrome, Firefox and Safari)
Safari for example gives me the following error for a TypeScript file:
Cannot GET /source/components/feedbackEvaluation/feedbackEvaluationDirective.ts
I included in the attachments my generated source map file.
tsc.js.zip

An OS update wouldn't effect this. Support questions should be directed to StackOverflow.


docs: add update intent sample

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[x] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[x] Ensure the tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@sofisl I corrected and added comments to some of the changes


Create Ravi Gupta.html

Please merge it.

Good work. I am merging your PR.
Do give us a star by hitting the star button of this repo!


Standalone website: Client-side search

We can use lunr.js or similar to implement client-side search for generated standalone websites.
This will be useful for larger documentation deployments.

From personal experience, I can recommend https://pagefind.app/
Since it can run after the build step, you might no need to integrate it into doc2go. The user "just" needs to be able to add customize the HTML (to add the search box and link the JS files) and run pagefind on his own.
I couldn't find a way to customize the HTML by looking at the doc, is it possible?

Thanks for the tip, @oliverpool!
I discovered pagefind.app some time after writing this issue, and I was toying with that idea but hadn't committed either way.
Following your comment, I experimented a little and it seems pretty straightforward to integrate. So I agree, this issue should probably use pagefind.

I couldn't find a way to customize the HTML by looking at the doc, is it possible?

The standalone doc2go website provides very little customization.
This issue is to add explicit support to the standalone template for search.
The way I'm imagining that'll work is a -pagefind=path/to/exe flag or something like that--possibly turning on automatically if found on $PATH.  If set, we'll add the relevant HTML bits, and run the pagefind binary after generating.
Thinking out loud, with -subdir (#76), we probably want search to be per-subdir. Otherwise, the duplication across the versions may cause confusing jumps (e.g. search in v1.2.3 takes you to the symbol in 1.1.0).

A way to allow for template customization would be to add 2 flags:

template dir
template pattern

If provided, those templates would be parsed (after the builtin templates), allowing the user to override:

the head to link to the JS of pagefind
the header to add the HTML for a search box

This way the user can add the search engine they want!

Thanks, @oliverpool, but I don't currently intend for the standalone website to support template customization. It may support themes in the future, but not the templates. Supporting custom templates greatly increases the breakable surface area, which is not something I want to do right now.
(All's not lost! Note that Embedded mode already supports that level of customizability—it omits the <head> and other page layout sections, and allows you to use a static site generator like Hugo or Jekyll to fill in those bits. I just want to support search without requiring users to switch to embedded mode.)

(FYI, @oliverpool, this was released. Pagefind made it quite a breeze. The results are 👌.)

Nice work!
The search results inside https://abhinav.github.io/doc2go/std/ are quite good (and fast).


Divide by zero panic with embedded_hal::pwm::SetDutyCycle and LEDC

I'm getting this error trying to use embedded_hal::pwm::SetDutyCycle and LEDC.
!! A panic occured in
'/home/asus/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-hal-0.16.1/src/ledc/channel.rs',
at line 333, column 34:
attempt to divide by zero

Here is the code I am using.
#![no_std]
#![no_main]

use esp_backtrace as _;

use esp_hal::{
    clock::ClockControl,
    gpio::IO,
    ledc::{
        channel::{self, ChannelIFace},
        timer::{self, TimerIFace},
        LSGlobalClkSource,
        LowSpeed,
        LEDC
    },
    peripherals::Peripherals,
    prelude::*,
    Delay,
    Uart
};

use embedded_hal::pwm::SetDutyCycle;
use core::fmt::Write;

#[entry]
fn main() -> ! {
    let peripherals = Peripherals::take();
    let system = peripherals.SYSTEM.split();
    let clocks = ClockControl::boot_defaults(system.clock_control).freeze();

    let mut delay = Delay::new(&clocks);
    let mut uart0 = Uart::new(peripherals.UART0, &clocks);

    let io = IO::new(peripherals.GPIO, peripherals.IO_MUX);
    let led = io.pins.gpio0.into_push_pull_output();

    let mut ledc = LEDC::new(peripherals.LEDC, &clocks);
    ledc.set_global_slow_clock(LSGlobalClkSource::APBClk);

    let mut lstimer0 = ledc.get_timer::<LowSpeed>(timer::Number::Timer0);
    lstimer0
        .configure(timer::config::Config {
            duty: timer::config::Duty::Duty5Bit,
            clock_source: timer::LSClockSource::APBClk,
            frequency: esp_hal::prelude::_fugit_RateExtU32::kHz(24),
        })
        .unwrap();

    let mut channel0 = ledc.get_channel(channel::Number::Channel0, led);
    channel0
        .configure(channel::config::Config {
            timer: &lstimer0,
            duty_pct: 10,
            pin_config: channel::config::PinConfig::PushPull,
        })
        .unwrap();

    writeln!(uart0, "Max duty: {}", channel0.max_duty_cycle()).unwrap();

    loop {
        channel0.set_duty_cycle_percent(100).ok();
        delay.delay_ms(1000u32);
        channel0.set_duty_cycle_percent(0).ok();
        delay.delay_ms(1000u32);
    }
}

I added writeln!(uart0, "Max duty: {}", channel0.max_duty_cycle()).unwrap(); attempting to debug the issue and it appears max_duty_cycle() always returns zero.
I tried changing duty: timer::config::Duty::Duty5Bit, to  duty: timer::config::Duty::Duty16Bit, which didnt' have any affect.

I can confirm this is a bug. It actually works when using set_duty instead of the embedded-hal's set_duty_cycle_percent - so it's probably only a bug in our implementation of the embedded-hal trait

The division by zero occurs in the function set_duty_cycle which is called by the other embedded_hal::pwm functions set_duty_cycle_percent and set_duty_cycle_fraction, so everything is affected. The same error occurs using set_duty_cycle instead of set_duty_cycle_percent. I believe this is the result of the max_duty_cycle function always returning zero. The result of max_duty_cycle is used in the division on line 333 where the error occurs.

I can confirm this is a bug. It actually works when using set_duty instead of the embedded-hal's set_duty_cycle_percent - so it's probably only a bug in our implementation of the embedded-hal trait

agreed, in the embedded_hal crate they made a revision in 1.0.0 to this ->
/// Set the duty cycle to `duty / max_duty`.
    ///
    /// The caller is responsible for ensuring that the duty cycle value is less than or equal to the maximum duty cycle value,
    /// as reported by [`max_duty_cycle`].
    ///
    /// [`max_duty_cycle`]: SetDutyCycle::max_duty_cycle
    fn set_duty_cycle(&mut self, duty: u16) -> Result<(), Self::Error>;

so is it that the equation is just reversed in esp_hal? since it is doing let duty_pct = 100 / (self.max_duty_cycle() / duty); and instead it should be let duty_pct = 100 / (duty / self.max_duty_cycle() );? I'm just guessing here.

No, that equation should be right, but doesn't work for duty = 0.
100/(4096/4096) = 100 (%)
100/(4096/41) = 1 (%)

So this should do it:
diff --git a/esp-hal/src/ledc/channel.rs b/esp-hal/src/ledc/channel.rs
index 8106b877..8d0b436b 100644
--- a/esp-hal/src/ledc/channel.rs
+++ b/esp-hal/src/ledc/channel.rs
@@ -323,8 +323,12 @@ mod ehal1 {
         }

         fn set_duty_cycle(&mut self, duty: u16) -> Result<(), Self::Error> {
-            let duty_pct = 100 / (self.max_duty_cycle() / duty);
-            self.set_duty(duty_pct as u8)?;
+            if duty == 0 {
+                self.set_duty(0)?;
+            } else {
+                let duty_pct = 100 / (self.max_duty_cycle() / duty);
+                self.set_duty(duty_pct as u8)?;
+            }
             Ok(())
         }
     }

Certainly not the most elegant solution, but works.. It's a bit weird that it deals with percentages internally, is that a hardware limitation?

It's a bit weird that it deals with percentages internally, is that a hardware limitation?

It's not the hardware. In general, the LEDC driver would need some more love but feel free to submit a PR for fixing it

With #1403 merged I guess we can close this

With #1403 merged I guess we can close this

@bjoernQ & @markus-k
is that truly fixing the core issue though? I'm lost on why is max_duty returning 0 in the first place when the duty isn't set to 0.
for example
fn test<Servo>(servo: &mut Servo)
where Servo: SetDutyCycle
{
  servo.set_duty_cycle(1000u16).ok();
}

    channel0
        .configure(channel::config::Config {
            timer: &lstimer0,
            duty_pct: 10,
            pin_config: channel::config::PinConfig::PushPull,
        })
        .unwrap();

    test(&mut channel0);
    ```

If max_duty_cycle() is indeed retuning 0, then this change really doen't fix that problem. It wasn't the issue that I encountered though.

i agree it fixes the panic, but it doesn't fix the underlying issue that if you run the code Droog71 posted above, the big issues is using embedded_hal and calling the SetDutyCycle is returning a 0 (i believe) for the max_duty_cycle in esp_hal
so even with the change it still isn't going to move the "servo" it will just not panic

@Token-Thinker feel free to re-open or maybe create a new issue (probably a new issue might be better since there is no panic anymore now)


Why do nodes restart when an NFS mount fails?

It seems that the CloudStack agent forces a restart of a node when one of the primary storage NFS mounts fails, even if there are no VMs currently using a volume on it. That means that it takes just one NFS hickup to take down an entire cluster. Why was this design decision made and will it be changed at some point?

Good points, we can review if it's possible for the agent to be intelligent about this. I certainly see the point that a host need not be rebooted when failing NFS node is not used by any of the VMs running on it. This was done to avoid data corruption cases, when VM HA kicks in and would start a HA enabled VM on a different host leading of disk corruption and rebooting the host seems the best option (not ideal). I'll tag few people to get their view on way forward - @PaulAngus @wido @rafaelweingartner @GabrielBrascher  @nvazquez and others.

Similar: https://github.com/apache/cloudstack/issues/2657

Addressed and replied, this is not a bug but a question that is better placed on the users ML. Closing on this remark, thanks.


nvim-lspconfig pushed a breaking change

They have changed the setup function to use ts_ls instead of "tsserver"
https://github.com/neovim/nvim-lspconfig/commit/bdbc65aadc708ce528efb22bca5f82a7cca6b54d

why was this closed?

i didnt notice the error came from mason-lspconfig

Please re-open. This prevents TSToolsOrganizeImports from working, e.g.:
Error executing Lua callback: .../neovim/0.10.1/share/nvim/runtime/lua/vim/lsp/client.lua:669: not found: "typescriptTools/organizeImports" request handler for client "ts_ls".
stack traceback:
        [C]: in function 'assert'
        .../neovim/0.10.1/share/nvim/runtime/lua/vim/lsp/client.lua:669: in function 'request'

That command works ok for me.
This plugin doesn't actually reference any of the lspconfig values by name, and when it looks up the installation from mason, it does so by file path, which is still typescript-language-server.
ts_ls shouldn't actually be configured at all if this plugin is used, though... https://github.com/pmizio/typescript-tools.nvim?tab=readme-ov-file#-installation. I.e. if you have a TypeScript file open and run :LspInfo, neither tsserver nor ts_ls should be present. If you manually excluded it somewhere in your lsp config, maybe you need to change the name there?
E.g.
-if server_name == 'tsserver' then
+if server_name == 'ts_ls' then
   -- configured by `typescript-tools`
   return
 end

@ehaynes99 thanks for posting this! Looks like I have this misconfigured as I do see ts_ls in LspInfo.


fix(userspace/engine): avoid storing escaped strings in engine

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
When the engine compiles list infos, we have a small bug for which we store forcefully-quoted strings in the engine's data structures instead of quoting them only at the time of their usage (at list refs resolution time). After investigating, this doesn't seem to affect the runtime-evaluated rules data structures, but it's clearly visible with the -L functionality and reproduced on list items that are YAML-escaped or contain spaces.
Example:
# rules_sample.yaml
- list: my_list
  items: [non_escaped_val, "escaped val"]

$ falco -L -o json_output=true -r rules_sample | jq .
{
  "lists": [
    {
      "details": {
        "items_compiled": [
          "non_escaped_val",
          "\"escaped val\""
        ],
        "lists": [
          "escaped val"
        ],
        "plugins": [],
        "used": false
      },
      "info": {
        "items": [
          "non_escaped_val"
        ],
        "name": "my_list"
      }
    }
  ],
  "macros": [],
  "required_engine_version": "0.0.0",
  "required_plugin_versions": [],
  "rules": []
}

Here, "escaped val" is interpreted as a list reference and is not properly escaped when printed as a value.
Which issue(s) this PR fixes:
Special notes for your reviewer:
With these changes, the same example now correctly prints as:
{
  "lists": [
    {
      "details": {
        "items_compiled": [
          "non_escaped_val",
          "escaped val"
        ],
        "lists": [],
        "plugins": [],
        "used": false
      },
      "info": {
        "items": [
          "non_escaped_val",
          "escaped val"
        ],
        "name": "my_list"
      }
    }
  ],
  "macros": [],
  "required_engine_version": "0.0.0",
  "required_plugin_versions": [],
  "rules": []
}

Does this PR introduce a user-facing change?:
fix(userspace/engine): avoid storing escaped strings in engine defs

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM! Can we add a simple unit test like the one you used in the PR description?

Definitely! Just added one.

LGTM label has been added.  Git tree hash: c8022055cdd4f1d0d1e5e9d5a5831088e1ad8c6f

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,LucaGuerra,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment