Create Blogging On Nostr

Added A blogpost.  I hosted the images on nostr.build. I'm not sure if I should upload them to github instead.

Blog looks awesome! @BrutusBondBTC
BTW, you forgot the metadata and the post name should replace spaces with _ and end in ".md"
Example Metadata from https://raw.githubusercontent.com/plebnet-dev/website/main/src/content/post/crafting_your_story.md
publishDate: 2023-10-07T20:22:00-05:00
title: Crafting Your Story - Paving Your Way to a Bitcoin Career
author: Brandon Sauceda
description: Learn how to share your unique journey into Bitcoin.
image: /images/bitcoin_community_growth.png
category: Education
tags:

Bitcoin

If you need some tag suggestions, @saucy-tech
Since @bliotti is working on images on the other PR, I can merge this one in without and we'll add the images later.

Thanks. I didn't even know about tags, metadata or frontmatter.

Thanks. I didn't even know about tags, metadata or frontmatter.

No worries, This branch will need to be updated, please see comment from https://github.com/plebnet-dev/website/pull/72#issuecomment-1788282520

@BrutusBondBTC how about, close this PR and make a new one? might be easier for you.

bump. @BrutusBondBTC

OK I see the metadata, please also edit the file name on your branch so that it has no spaces and ends with .md , Example "Blogging_on_Nostr.md"
@amsalmeron invited you as reviewer, please help confirm that the blog post displays correctly.

@BrutusBondBTC you can 1-click edit on github web

Ok. I’ll try this when I get home from the grocery store.

I think I did this. Did it work?

I think I did this. Did it work?

It still has the old name without the "_'' and the .md ending on this branch.

I updated it for you, and will merge in a bit


metadata configmap is not updated on PUT for singletons

When patching we get an empty response (None) so we never update the metadata config map, as a result the generation is always setting the object as modified.

Fixed!


chore(jsr): export JWT utils

Fixes JWT utils not being exported.
This problem is reported on Discord.
The author should do the following, if applicable

[ ] Add tests
[ ] Run tests
[x] bun run format:fix && bun run lint:fix to format the code
[ ] Add TSDoc/JSDoc to document the code

@ryuapp Thanks! (I've updated the title)


Basic Auth support?

It would be nice to see basic auth support for CM integration. Maybe, it is possible for now and just not documented?

Thanks for your feedback!
I'll try to see what I can do

Could you try pulling the latest version and use the environment variables CHARTMUSEUM_BASIC_AUTH_USERNAME and CHARTMUSEUM_BASIC_AUTH_PASSWORD ?


Migrations command should use the UTC datetime when creating new migrations

By ensuring all migrations are created using UTC, then teams from around the world can work together better.

To piggyback on this, I think we already discussed it but I would love to see MigrationRunner process migrations universally by their UTC datetime, instead of namespace-by-namespace (which doesn't allow devs to make migrations on top of a module's migrations without intentionally staggering them).

@MGatner You're absolutely right. I knew there was more to the discussion but didn't take the time to search for what it was. So thanks!
That could only work for timestamp-based migrations, though.

I'm curious what your plans are on version control vis-a-vis namespaces. Right now App gets precise control via $currentVersion in app/Config/Migrations.php, but namespaces must be handled manually with the CLI migrate -n commands. Any plans to unify versions across namespaces, or differentiate the config variable, or some other means of version control?

I haven't gotten back to this just yet, but I'm thinking this will need a modification that records a batch number with each migration, then it can record the fully qualified classname in the database so that it will know which classes across all namespaces were part of that last up and should be brought down.
Just read back over what you wrote though and realized that's not what you were asking.  :) To be honest, I've never really used $currentVersion in my work, so I'm not 100% clear what the best way to handle it might be (or if it simplifies things just to rip that out...) Open to ideas on that part.

After posting that I was thinking "maybe I should have included ditching it". I think that's the way to go - it's a bit vestigial at this point already, and definitely doesn't fit well with a multi-source migration scheme.

This is wrapped up with the migration refactor! Safe to close.


[neon/bugfix] Fix ewva function

There was a wrong implementation of ewva function. It should be added, not multiplied.
I was implementing more options for SIMD BLAS operations, but it is being postponed for merging due to current Tensor refactorization. However as far as I am concerned, for this particular bug, it might be fatal in imbalanced-Tensor or exceptional cases, so made an immediate PR before a whole new PR for refactorization of BLAS library in NNTrainer.

Self evaluation:

Build test:     [X]Passed [ ]Failed [ ]Skipped
Run test:     [X]Passed [ ]Failed [ ]Skipped

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2374. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.


Crash when trying to use SvgImageSource.FromResource as ToolbarItem.IconImageSource

Description
When using SvgImageSource.FromResource to use the image as e.g. ToolbarItem.IconImageSource the following exception occurs:
Unhandled Exception:
System.InvalidOperationException: Unable to find the image source type because none of the interfaces on SvgImageSource were derived from IImageSource.
  at Microsoft.Maui.Hosting.ImageSourceServiceProvider.CreateImageSourceTypeCacheEntry(Type type)
  at System.Collections.Concurrent.ConcurrentDictionary`2[[System.Type, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Type, System.Private.CoreLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].GetOrAdd(Type key, Func`2 valueFactory)
  at Microsoft.Maui.Hosting.ImageSourceServiceProvider.GetImageSourceType(Type imageSource)
 …

Am I missing something?
Steps to Reproduce

Use Sample app
Add this property to SvgSamplePageModel:

 public ImageSource ToolbarIcon => SvgImageSource.FromResource("Sample.sample.svg", typeof(SvgSamplePageModel));

Add this toolbar item to SvgSamplePage

  <ContentPage.ToolbarItems>
     <ToolbarItem IconImageSource="{Binding ToolbarIcon}"/>
 </ContentPage.ToolbarItems>

Expected Behavior
Seeing the SVG as a toolbar item icon
Actual Behavior
Crash
Basic Information

Version with issue: 1.2.6
Last known good version: n/a
Platform: ios (probably all?)

Screenshots
n/a
Reproduction Link / Code
see above

I'm sorry but you can not use SvgImageSource like this. SvgImageSource.FromResource can returns a valid ImageSource model, but it does not impletment the MAUI IImageSource interface which means the SvgImageSource can not be used as image source for MAUI system's image source but only valid for SvgCachedImage or CachedImage with SvgImageSourceConverter.

@microspaze
Thats really unfortunate, but thanks anyway!


Check price deviation between external prices and settlements

In order to ensure that the driver only settles solutions from the solvers that are reasonable, we will check that settlement prices do not deviate too much from external prices (AMM spot prices calculated in the /auction endpoint in the orderbook).
Since for some tokens, the price deviation to external prices could be quite huge - due to a big slippage -, this PR allows providing a token list, on which the checks will be performed. E.g. we could start with USDC, DAI, USDT, UST, ETH, WETH, WBTC and an allowed price deviation of 3%.
More background information can be found here: https://cowservices.slack.com/archives/C0375NV72SC/p1648801241277359
Test Plan
Unit tests

This is only a quick and dirty solution. Later one, we will likely replace this check by some envy checks for AMMs.

Codecov Report

Merging #1768 (24f3c88) into main (f77e9a4) will decrease coverage by 0.00%.
The diff coverage is 71.21%.

:exclamation: Current head 24f3c88 differs from pull request most recent head 18e2651. Consider uploading reports for the commit 18e2651 to get more accurate results

@@            Coverage Diff             @@
##             main    #1768      +/-   ##
==========================================
- Coverage   65.38%   65.38%   -0.01%
==========================================
  Files         181      181
  Lines       37623    37754     +131
==========================================
+ Hits        24600    24685      +85
- Misses      13023    13069      +46

Have we written more about the motivation for this? It feels like there is some context missing.

Here is my write up in slack: https://cowservices.slack.com/archives/C0375NV72SC/p1648801241277359

I have not addressed the struct proposal, as it's also not done for other variables of the driver. Though, actually, I think its a good proposal.
Since there is a little bit time pressure, I would like to merge it and not wait until the discussion was happening.
If someone else agrees that this should be done, please note it in this PR, and then I will do it in a follow-up PR.

If someone else agrees that this should be done, please note it in this PR, and then I will do it in a follow-up PR.

I really like the struct proposal as well.

as it's also not done for other variables of the driver

I don't think it needs to be done in the Arguments struct, but instead in the fn main() you can:
let price_checker = PriceCheck::new(
    args.max_settlement_price_deviation
        .map(|max_price_deviation| Ratio::from_float(max_price_deviation).unwrap()),
    args.token_list_restriction_for_price_checks.into(),
);

And then pass in price_checker to the Driver instance instead of passing in both fields.


⚠ sg1ray.serverssh.net has degraded performance

In 94ee5ab, sg1ray.serverssh.net (http://sg1ray.serverssh.net) experienced degraded performance:

HTTP code: 200
Response time: 5534 ms

Resolved: sg1ray.serverssh.net performance has improved in ff3ef45.


THE EMBEDDING

Any updates on the embedding? Found one to use?

currently using the MsMarco-mini-LM pretrained sentence transformer


Nowhere could I find an exe file to install

How to install since nowhere can I find an *.exe file?!?!?!?

On the front page, look for Releases in the second row of headers. This lets you download the latest installer, which is an .msi file. Once you have downloaded it, double-click to install.


[fix] [client] Fix pattern consumer create crash if a part of partitions of a topic have been deleted

Motivation
Background
1.Regarding the API getting topics by regexp pattern, there are two implementations:*

List<String> HttpLookupService.getPartitionedTopicMetadata(...)
CommandGetTopicsOfNamespace BinaryProtoLookupService.getPartitionedTopicMetadata(...)

Pulsar transferred both response types List<String> and CommandGetTopicsOfNamespace to a GetTopicsResult object. And discarded the partition information when doing transference. For example:

Get a list topic-1-partition-0, topic-1-partition-1.
The transferring operation will group them to topic-1.

2.The behavior of Patten consumers

Before https://github.com/apache/pulsar/pull/5230, Patten consumers will try to create the missing partitions when it starts up.
After https://github.com/apache/pulsar/pull/5230, Patten consumers only subscribe to the partitions that exist to lead the topics can be deleted automatically. In other words, it sets the variable createTopicIfDoesNotExist of Multi Topics Consumer to false.

Issue

When users are starting a Pattern consumer, the consumer will try to subscribe to all the partitions even if some partitions have been deleted before, and then the client crashes due to a Topic Not Exists Exception. You can reproduce the issue by the test testConsumerAfterOnePartDeleted
The Patten consumer that is started removes all partitions when one partition was deleted, even if there are still half of the partitions exist.

Modifications

Multi Topics Consumer only subscribes to the existing partitions if the config createTopicIfDoesNotExist is false.
The Patten consumer that is started only removes the partitions that were deleted.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: x

/pulsarbot rerun-failure-checks

Closing and reopening to trigger CI with latest master branch changes.

Codecov Report
Attention: Patch coverage is 80.47945% with 57 lines in your changes missing coverage. Please review.

Project coverage is 73.45%. Comparing base (bbc6224) to head (af01c4f).
Report is 435 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #22854      +/-   ##
============================================
- Coverage     73.57%   73.45%   -0.12%
- Complexity    32624    33324     +700
============================================
  Files          1877     1911      +34
  Lines        139502   143274    +3772
  Branches      15299    15629     +330
============================================
+ Hits         102638   105247    +2609
- Misses        28908    29980    +1072
- Partials       7956     8047      +91

Flag
Coverage Δ

inttests
27.53% <7.19%> (+2.95%)
:arrow_up:

systests
24.75% <17.12%> (+0.42%)
:arrow_up:

unittests
72.49% <80.47%> (-0.35%)
:arrow_down:

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

Files
Coverage Δ

...va/org/apache/pulsar/client/impl/ConsumerBase.java
74.39% <100.00%> (+0.26%)
:arrow_up:

...rg/apache/pulsar/client/impl/TopicListWatcher.java
66.91% <100.00%> (-0.95%)
:arrow_down:

...g/apache/pulsar/common/lookup/GetTopicsResult.java
92.50% <100.00%> (+30.00%)
:arrow_up:

...ava/org/apache/pulsar/common/naming/TopicName.java
96.09% <100.00%> (+0.03%)
:arrow_up:

...java/org/apache/pulsar/common/util/FutureUtil.java
76.61% <50.00%> (+2.06%)
:arrow_up:

...rg/apache/pulsar/client/impl/PulsarClientImpl.java
74.29% <37.50%> (-0.02%)
:arrow_down:

...ar/client/impl/PatternMultiTopicsConsumerImpl.java
87.28% <86.86%> (+3.82%)
:arrow_up:

...he/pulsar/client/impl/MultiTopicsConsumerImpl.java
77.69% <71.66%> (-0.03%)
:arrow_down:

...pulsar/client/impl/PatternConsumerUpdateQueue.java
79.61% <79.61%> (ø)

... and 479 files with indirect coverage changes


mimalloc doesn't compile on x32 ABI

I'm trying to get mi-malloc working in a x32 linux env and I've got an error:
make[2]: *** [CMakeFiles/mimalloc-static.dir/build.make:173: CMakeFiles/mimalloc-static.dir/src/alloc.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:184: CMakeFiles/mimalloc-static.dir/all] Error 2
/root/src/mimalloc/include/mimalloc-internal.h: Assembler messages:
/root/src/mimalloc/include/mimalloc-internal.h:703: Error: operand size mismatch for `movq'

ABI information here: https://sites.google.com/site/x32abi/documents

Ah interesting -- I always liked the x32 idea :-)  (but I thought it was no longer maintained in Linux?)
Anyways, I see the offending code tests for __x86_64__ but of course the pointer is just 32 bit.
I think you need to add a test before that one, probably like:
#elif defined(__x86_64__) && (MI_INTPTR_SIZE==4)
  __asm__("movl %%fs:%1, %0" : "=r" (res) : "m" (*((void**)ofs)) : );  // x32 ABI

and another before line 723:
#elif defined(__x86_64__) && (MI_INTPTR_SIZE==4)
  __asm__("movl %1,%%fs:%1" : "=m" (*((void**)ofs)) : "rn" (value) : );  // x32 ABI

Now, perhaps it uses gs instead of fs for the tread local register on x32, not sure.
Hope this makes it work :-)
(if not, you can also just use the "standard C" code that uses no assembly by modifying the test at line 691 to be false for x32)

This works, thank you!

Great to hear :-)  Can you share what you changed so I can add those changes for others that want to run mimalloc on x32?
Thanks


WiP stats: Force-enable stats and protect value method

Commit Message: This PR starts with #14120 and adds declaration of (Counter|Gauge)::value() as a protected member function. This PR does not compile, but its offered as a demo/PoC/blueprint for a more durable fix to https://github.com/envoyproxy/envoy/issues/14051 .
There are 30 references to value() in production code; some of these should be changed to use the new valueForceEnabled methods added in this PR. Some should read the possibly-disabled-stat via a friend-class, also added in this file. Fixing these would be the meat of this PR.
The problem is that there remain 1497 direct references to value() in test code, which would be tedious to fix, review, and will also make future backports difficult.
Additional Description: See https://docs.google.com/document/d/1CnyeIi5hMBqXZRKm-0_yW3yy69HM80BHg-EGwkJb-qw/edit?usp=sharing for a more detailed discussion.
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

@jmarantz Any specific devs you want feedback from? What is blocking this PR from being ready for review?


Better support for different types of responses and interaction

Clipea is designed to give you a quick 1 line shell command to run. This should always be the priority.
With the shell integration, Clipea currently exits as soon as it gets the first shell command from the LLM.
But ideally Clipea would handle other responses better:

More than 1 command to run
explanatory text before or after the command

And also handle other interaction modes

Continue chat mode, to refine the response, without starting from scratch.
a REPL-like mode, where the LLM continually monitors the shell (expensive due to context length!)
a multi stage mode. This would let the LLM get input and/or parse output
re-act autonomous agent mode?

Need to consider how this works with shell integration. Easier if Clipea spawns sub processes but not ideal.
Could save the LLM output to a file and then stream it again if you run ?? by itself

I asked ?? write a simple template for a docker build file and found out that indeed line-by-line is a different use case. As for explanation, perhaps this would help
?? -v delete all files that are cache files from this subfolder
The -v would make it explain what it's about to do and why.
There's a slippery slope in going too deep into the multiline and chat rabbit hole though.
There's open-interpreter, which is basically that. A chatbot with execution capabilities. But that same thing that makes it powerful, also makes it needy. Embracing the premise of being a Really Smart Autocomplete is what brought me here, so personally I'd like to see that all extensions always remain true to that premise.


Add code examples from itensor.org to Documenter

Adds nearly all code examples from here: http://itensor.org/docs.cgi?page=formulas&vers=julia
to the Documenter docs. Includes some minor edits to index.md to not reuse the term Code Examples twice in the table of contents.

Should we move the sections: https://itensor.github.io/ITensors.jl/dev/#Full-Example-Codes-1 and https://itensor.github.io/ITensors.jl/dev/#ITensor-Code-Samples-1 to the new Code Examples section, and just link to the Code Examples section from the Introduction section?

Yes that's a good idea as long as the link also works from the README page too.


tor.socks specified but outbound tor connections fail

Background
My lnd node can not make outbound tor connections with tor.socks=9050 specified.
Your environment

lnd 0.5.2
FreeBSD 11.2
bitcoind 0.17.1
any other relevant environment details

Steps to reproduce
lnd.conf:
[Application Options]
nat=true
alias=blahblah
listen=<IP_ADDRESS>:9735
listen=localhost:9735
externalip=qwertyuiopasdfghjklzxcvbbm.onion
restlisten=<IP_ADDRESS>:8082
rpclisten=<IP_ADDRESS>:10009
tlsextraip=<IP_ADDRESS>
minchansize=900000

maxlogfiles=1
maxlogfilesize=10

[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=bitcoind
bitcoin.basefee=1000
bitcoin.feerate=10

[Bitcoind]
bitcoind.dir=/home/bitcoin/.bitcoin

[tor]
tor.socks=<IP_ADDRESS>:9050

torrc:
SOCKSport 9050
DataDirectory /var/db/tor
ControlPort 9051
CookieAuthentication 1
CookieAuthFileGroupReadable 1
CacheDirectoryGroupReadable 1

HiddenServiceDir /var/db/tor/lnd_service
HiddenServiceVersion 3
HiddenServicePort 9735 <IP_ADDRESS>:9735

Expected behaviour
I should be able to make outbound tor connections.
Actual behaviour
Result of lncli connect 03d06758583bb5154774a6eb221b1276c9e82d65bbaceca806d90e20c108f4b1c7@gwdllz5g7vky2q4gr45zguvoajzf33czreca3a3exosftx72ekppkuqd.onion:9735:
[lncli] rpc error: code = Unknown desc = dial tcp: address gwdllz5g7vky2q4gr45zguvoajzf33czreca3a3exosftx72ekppkuqd.onion: no suitable address found

Have you confirmed whether this happens with every peer you attempt connecting to? Is this peer actually online?

Yes, this happens to every peer I attempt to connect to. I have even checked to see if the peers are reachable on https://graph.lndexplorer.com/

Do you have tor.active=1 set? I don't see it in the lnd.conf you pasted above.

If I set tor.active=1 I get:
NAT traversal cannot be used when listening is disabled

I understand this is a safety feature for tor only listening nodes, but there is no safety concern for clearnet nodes to connect to tor only nodes. Socks proxy should work either way, imo.

I believe that error has been addressed in the current master branch. You can also try one of the v0.6 release candidates, or wait until the official release.

Yep master now lets you connect outbound and also set a distinct listening interface.


Wallet & Apple Pay tab are misplaced

The Wallet and Apple Pay tab are below the "App Store" tab after an update of PO2 (Current version is 3.7)

What iOS version and device is this happening on?

This was happening on iOS 10.1.1 on an iPhone 7. I am no longer jail broken but this issue seemed to happen after

Wallet was opened for Apple Pay
After closing setting via app switcher in the wallet or App Store category

(This may be an isolated issue)

Happend to me aswell, occurred on random opens
iPhone 6S
10.2

Happens on 10.2 6+ here. When scrolling down it will be spaced away from the AppStore section for a second then joins the block of sections.

Bug is fixed as of version 4.x.


Understand GVEA pricing strategy.

This can affect the smoothing technique/interval. Find out whether they read data per minute or finer.

Data pruning for demand charge analysis
Let's see the behavior of the data for a day, Jan. 01, 2019, the 3 figures the main variables representing the day as below.

The main concern here is demand charge in terms of the peak demand, which is the main factor deciding the cost reduction.
Two options
Through the conversation with an electrical engineer, there are 2 options to find the demand charge based on:

Demand (kW) = Energy consumed in the 15-minute interval (kWh) / 0.25 hours

Option one: By subtracting energy consumption after 15 minutes, we can get energy consumption in the 15 minute interval, thus demand value. We have cumulative energy data (kWh) in ENetTot and EDelTot I tried it with the EDelTot(kWh)

Option two: Summing all the power (kW) for each point, then divide it by the number of points for the 15 minutes interval. We can get the average 15 minutes power (kW). We have PTot which shows the power trend for each 140 frequency resolution (about 7 points each second).

I plotted them and compared them as below.

Issues
Here are two issues.

The pattern of the plots between the 1st figure and the 2nd one is different. Ideally, they should be similar.
The 2nd figure (which comes from the PTot) and the 3rd figure (this is the raw data) show the similar trend but the value is different (one is around 353 kW, the other around 279 kW).

Next step
We need to figure out which data is more reliable for the analyses as it seems there are certain abnormalities. After addressing the issues, we can use the power trend of each meters for the whole months and years for the forecasting and the further analysis.

The reason why there is a sudden reduction on the 15 mins average power (kW) from EDetTot is because there is a sudden increase power consumption during the 1st second.

A 15 min chunk maximum power is used for demand charge calculation and some calculations are presented here in the documentation.


Update to heroicons@2

<EMAIL_ADDRESS>was released a month ago, and we will want this library to keep in sync with those changes. We need to update the dependency and ensure that the build process works for the new version of the library.

How is the timeline looking on this? We're looking into integrating heroicons in a new website for our company and this would help tremendously. Are you looking for contributions?

CC @andrewdisley Just double checking that you haven't made any progress on this in the background.

@SeanMcP I’ve not made any movement on this as the main project I’m using this in is still V1 Heroicons. I do however need your assistance on getting v1.1.0 published to NPM, I have just pushed in this and added a tag.

@andrewdisley Oops! Thanks for the reminder 😅
Version 1.1.0 is now live, so we're ready to move on to this issue.

Draft PR: https://github.com/SeanMcP/eleventy-plugin-heroicons/pull/7


Publish new build

Please publish a new build to add the onSuccess / onError callbacks.

Hey @andrewmunro, thanks for that, I will be publishing it!


Have you example adding CNAME records??

Hello @Kevin2iBi and thanks for your interest in this project.
This project was born to be able to update a DNS every time the IP of a server was changing. So the current project scope only deals with IP based records.
Anyway, supporting more generic record types might not be a bad idea. At the moment I don't have the bandwidth to work on this, so feel free to submit a PR to add this feature if you can.


The factorial implementation is suboptimal

The factorial function in this package produces Doubles, and does so by multiplying together Doubles. This is both absurdly inefficient and less precise than it can be. Since Doubles only can handle factorials up to 170!, I don't really see any good reason not to use a carefully-manufactured table with all of them:
https://github.com/downloads/treeowl/factorial-stuff/factorials.hs
This also includes a trivially-produced table of Integer factorials, and a fairly silly table-lookup Int factorial.

Fixed in deca9b9775a26bba34a219630b0bf3ed7fb26dcb


[Marker.io] Mobile: images are not shown for page results and view button width does not match figma

Steps to reproduce:

on search page,search for employee
2)notice results under “pages and articles”
compare with figma

Actual result: no images are shown (on desktop it showed image )
2) view button width is more as compared to figma
Expected result: please fix this.it should match figma

Reported by: Vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://na13-prezzee.webflow.io/en-us/search?query=Employee
Issue details: Open in Marker.io
Device typemobileBrowserSafari 18.0.1Screen Size375 x 812OSiOS 18.0.1Viewport Size375 x 628Pixel Ratio@3x

intended behavior

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


libdrm: 2.4.117 -> 2.4.118

Changes :
https://gitlab.freedesktop.org/mesa/drm/-/compare/libdrm-2.4.117...libdrm-2.4.118?from_project_id=177&straight=false
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

  Superseded by PR #269129


Gaussain blur filtering

Hi.
I have one question.
why do you use gaussian blur filter after generating heatmaps?
Thanks!!

For smooth the outlier inside the heatmaps


Why is the maven.compiler.target set to 1.6?

Hi, I have a simple question. While playing around with building the Netty integration tests from source I noticed that the maven.compiler.target is set at 1.6?
<maven.compiler.target>1.6</maven.compiler.target>

What is the reason for that? Is this a strong requirement for Netty? Thank you!

It’s what we supported for a long time but will change in the next major release. We just can not do this in a bugfix release

And another related question: would it be possible to release the integration tests on maven? What I mean by integration tests is code under src/test packages, e.g., the Netty transport tests.. The reason I am asking for this is that I work on the GraalVM/SubstrateVM project and I am running some of these tests to get Netty running on our VM. I currently build them from source, which is not such a big deal, but an integration with maven would make things easier. Thank you!


Add support for mesh_to_pyvista after fixing last server issues

@cbellot000 @PProfizi This is finally ready. All tests passing correctly, no memory issues, pydpf-post in green and so on. Thanks!


windows cygwin build android error.

node version:  v12.16.3
yarn version: v1.22.4
yarn run clean && yarn && yarn gulp build --platform=android
yarn run v1.22.4
$ rm -rf build www node_modules platforms/* plugins/*
Done in 11.77s.
yarn install v1.22.4
[1/4] Resolving packages...
[2/4] Fetching packages...
info<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check.
Excluding it from installation.
[3/4] Linking dependencies...
warning " ><EMAIL_ADDRESS>has incorrect peer dependency "electron@
^1.4.15".
warning "polymer-build ><EMAIL_ADDRESS>has incorrect peer depen
dency<EMAIL_ADDRESS>[4/4] Building fresh packages...
$ bower install || echo no bower needed
bower cached        https://github.com/Jigsaw-Code/outline-shadowsocksconfig.git
#0.0.8
bower validate      0.0.8 against https://github.com/Jigsaw-Code/outline-shadows
ocksconfig.git#^v0.0.8
bower cached        https://github.com/PolymerElements/app-route.git#2.1.2
bower validate      2.1.2 against https://github.com/PolymerElements/app-route.g
it#^2.0.0
bower cached        https://github.com/PolymerElements/app-localize-behavior.git
#2.0.2
bower validate      2.0.2 against https://github.com/PolymerElements/app-localiz
e-behavior.git#^2.0.1
bower cached        https://github.com/PolymerElements/app-layout.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/app-layout.
git#^2.0.2
bower cached        https://github.com/PolymerElements/font-roboto-local.git#1.1
.0
bower validate      1.1.0 against https://github.com/PolymerElements/font-roboto
-local.git#^1.1.0
bower cached        https://github.com/PolymerElements/iron-icons.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-icons.
git#^2.0.1
bower cached        https://github.com/PolymerElements/iron-iconset-svg.git#2.2.
1
bower validate      2.2.1 against https://github.com/PolymerElements/iron-iconse
t-svg.git#^2.1.0
bower cached        https://github.com/PolymerElements/paper-behaviors.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/paper-behav
iors.git#^2.0.0
bower cached        https://github.com/PolymerElements/iron-pages.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-pages.
git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-button.git#2.1.3
bower validate      2.1.3 against https://github.com/PolymerElements/paper-butto
n.git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-dropdown-menu.git#2
.1.0
bower validate      2.1.0 against https://github.com/PolymerElements/paper-dropd
own-menu.git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-card.git#2.1.0
bower validate      2.1.0 against https://github.com/PolymerElements/paper-card.
git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-icon-button.git#2.2
.1
bower validate      2.2.1 against https://github.com/PolymerElements/paper-icon-
button.git#^2.0.1
bower cached        https://github.com/PolymerElements/paper-input.git#2.2.3
bower validate      2.2.3 against https://github.com/PolymerElements/paper-input
.git#^2.1.1
bower cached        https://github.com/PolymerElements/paper-item.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/paper-item.
git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-dialog.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/paper-dialo
g.git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-listbox.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/paper-listb
ox.git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-ripple.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/paper-rippl
e.git#^2.0.1
bower cached        https://github.com/PolymerElements/paper-menu-button.git#2.1
.1
bower validate      2.1.1 against https://github.com/PolymerElements/paper-menu-
button.git#^2.0.0
bower cached        https://github.com/PolymerElements/paper-styles.git#2.1.0
bower validate      2.1.0 against https://github.com/PolymerElements/paper-style
s.git#^2.0.0
bower cached        https://github.com/Jigsaw-Code/outline-i18n.git#0.0.7
bower validate      0.0.7 against https://github.com/Jigsaw-Code/outline-i18n.gi
t#^0.0.7
bower cached        https://github.com/Polymer/polymer.git#2.8.0
bower validate      2.8.0 against https://github.com/Polymer/polymer.git#^2.1.0
bower cached        https://github.com/web-animations/web-animations-js.git#2.3.
2
bower validate      2.3.2 against https://github.com/web-animations/web-animatio
ns-js.git#^2.3.1
bower cached        https://github.com/PolymerElements/paper-toast.git#2.1.2
bower validate      2.1.2 against https://github.com/PolymerElements/paper-toast
.git#^2.0.0
bower cached        https://github.com/Polymer/webcomponentsjs.git#1.3.3
bower validate      1.3.3 against https://github.com/Polymer/webcomponentsjs.git
#^1.0.12
bower cached        https://github.com/yahoo/intl-messageformat.git#1.3.0
bower validate      1.3.0 against https://github.com/yahoo/intl-messageformat.gi
t#^1.0.0
bower cached        https://github.com/PolymerElements/iron-ajax.git#2.1.3
bower validate      2.1.3 against https://github.com/PolymerElements/iron-ajax.g
it#1 - 2
bower cached        https://github.com/PolymerElements/iron-location.git#2.2.2
bower validate      2.2.2 against https://github.com/PolymerElements/iron-locati
on.git#1 - 2
bower cached        https://github.com/bestiejs/punycode.js.git#1.4.1
bower validate      1.4.1 against https://github.com/bestiejs/punycode.js.git#^1
.4.1
bower cached        https://github.com/PolymerElements/iron-media-query.git#2.1.
0
bower validate      2.1.0 against https://github.com/PolymerElements/iron-media-
query.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-resizable-behavior.g
it#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-resiza
ble-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-flex-layout.git#2.0.
3
bower validate      2.0.3 against https://github.com/PolymerElements/iron-flex-l
ayout.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-scroll-target-behavi
or.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-scroll
-target-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-icon.git#2.1.0
bower validate      2.1.0 against https://github.com/PolymerElements/iron-icon.g
it#1 - 2
bower cached        https://github.com/PolymerElements/iron-meta.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-meta.g
it#1 - 2
bower cached        https://github.com/PolymerElements/iron-behaviors.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-behavi
ors.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-checked-element-beha
vior.git#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-checke
d-element-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-selector.git#2.1.0
bower validate      2.1.0 against https://github.com/PolymerElements/iron-select
or.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-image.git#2.2.1
bower validate      2.2.1 against https://github.com/PolymerElements/iron-image.
git#1 - 2
bower cached        https://github.com/PolymerElements/iron-form-element-behavio
r.git#2.1.3
bower validate      2.1.3 against https://github.com/PolymerElements/iron-form-e
lement-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-a11y-keys-behavior.g
it#2.1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-a11y-k
eys-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-validatable-behavior
.git#2.1.0
bower validate      2.1.0 against https://github.com/PolymerElements/iron-valida
table-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-autogrow-textarea.gi
t#2.2.0
bower validate      2.2.0 against https://github.com/PolymerElements/iron-autogr
ow-textarea.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-input.git#2.1.3
bower validate      2.1.3 against https://github.com/PolymerElements/iron-input.
git#1 - 2
bower cached        https://github.com/PolymerElements/neon-animation.git#2.2.1
bower validate      2.2.1 against https://github.com/PolymerElements/neon-animat
ion.git#1 - 2
bower cached        https://github.com/PolymerElements/paper-dialog-behavior.git
#2.2.2
bower validate      2.2.2 against https://github.com/PolymerElements/paper-dialo
g-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-overlay-behavior.git
#2.3.4
bower validate      2.3.4 against https://github.com/PolymerElements/iron-overla
y-behavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-menu-behavior.git#2.
1.1
bower validate      2.1.1 against https://github.com/PolymerElements/iron-menu-b
ehavior.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-dropdown.git#2.2.1
bower validate      2.2.1 against https://github.com/PolymerElements/iron-dropdo
wn.git#1 - 2
bower cached        https://github.com/PolymerElements/iron-fit-behavior.git#2.2
.1
bower validate      2.2.1 against https://github.com/PolymerElements/iron-fit-be
havior.git#1 - 2
bower cached        https://github.com/webcomponents/shadycss.git#1.9.1
bower validate      1.9.1 against https://github.com/webcomponents/shadycss.git#
^v1.1.0
bower cached        https://github.com/PolymerElements/iron-a11y-announcer.git#2
.1.0
bower validate      2.1.0 against https://github.com/PolymerElements/iron-a11y-a
nnouncer.git#1 - 2
bower extra-resolution      Unnecessary resolution: polymer#^2.1.0
bower extra-resolution      Unnecessary resolution: webcomponentsjs#^1.0.12
bower install               ShadowsocksConfig#0.0.8
bower install               app-localize-behavior#2.0.2
bower install               font-roboto#1.1.0
bower install               app-route#2.1.2
bower install               app-layout#2.1.1
bower install               iron-icons#2.1.1
bower install               iron-iconset-svg#2.2.1
bower install               paper-button#2.1.3
bower install               paper-behaviors#2.1.1
bower install               iron-pages#2.1.1
bower install               paper-card#2.1.0
bower install               paper-icon-button#2.2.1
bower install               paper-dropdown-menu#2.1.0
bower install               paper-input#2.2.3
bower install               paper-item#2.1.1
bower install               paper-dialog#2.1.1
bower install               paper-listbox#2.1.1
bower install               paper-ripple#2.1.1
bower install               paper-menu-button#2.1.1
bower install               paper-styles#2.1.0
bower install               outline-i18n#0.0.7
bower install               web-animations-js#2.3.2
bower install               polymer#2.8.0
bower install               paper-toast#2.1.2
bower install               webcomponentsjs#1.3.3
bower install               intl-messageformat#1.3.0
bower install               iron-ajax#2.1.3
bower install               iron-location#2.2.2
bower install               punycode#1.4.1
bower install               iron-media-query#2.1.0
bower install               iron-flex-layout#2.0.3
bower install               iron-resizable-behavior#2.1.1
bower install               iron-scroll-target-behavior#2.1.1
bower install               iron-meta#2.1.1
bower install               iron-icon#2.1.0
bower install               iron-behaviors#2.1.1
bower install               iron-checked-element-behavior#2.1.1
bower install               iron-selector#2.1.0
bower install               iron-form-element-behavior#2.1.3
bower install               iron-image#2.2.1
bower install               iron-autogrow-textarea#2.2.0
bower install               iron-validatable-behavior#2.1.0
bower install               iron-a11y-keys-behavior#2.1.1
bower install               iron-input#2.1.3
bower install               neon-animation#2.2.1
bower install               paper-dialog-behavior#2.2.2
bower install               iron-menu-behavior#2.1.1
bower install               iron-overlay-behavior#2.3.4
bower install               iron-fit-behavior#2.2.1
bower install               iron-dropdown#2.2.1
bower install               shadycss#1.9.1
bower install               iron-a11y-announcer#2.1.0

ShadowsocksConfig#0.0.8 www\bower_components\ShadowsocksConfig
└── punycode#1.4.1

app-localize-behavior#2.0.2 www\bower_components\app-localize-behavior
├── intl-messageformat#1.3.0
├── iron-ajax#2.1.3
└── polymer#2.8.0

font-roboto#1.1.0 www\bower_components\font-roboto

app-route#2.1.2 www\bower_components\app-route
├── iron-location#2.2.2
└── polymer#2.8.0

app-layout#2.1.1 www\bower_components\app-layout
├── iron-flex-layout#2.0.3
├── iron-media-query#2.1.0
├── iron-resizable-behavior#2.1.1
├── iron-scroll-target-behavior#2.1.1
└── polymer#2.8.0

iron-icons#2.1.1 www\bower_components\iron-icons
├── iron-icon#2.1.0
├── iron-iconset-svg#2.2.1
└── polymer#2.8.0

iron-iconset-svg#2.2.1 www\bower_components\iron-iconset-svg
├── iron-meta#2.1.1
└── polymer#2.8.0

paper-button#2.1.3 www\bower_components\paper-button
├── iron-flex-layout#2.0.3
├── paper-behaviors#2.1.1
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-behaviors#2.1.1 www\bower_components\paper-behaviors
├── iron-behaviors#2.1.1
├── iron-checked-element-behavior#2.1.1
├── paper-ripple#2.1.1
└── polymer#2.8.0

iron-pages#2.1.1 www\bower_components\iron-pages
├── iron-resizable-behavior#2.1.1
├── iron-selector#2.1.0
└── polymer#2.8.0

paper-card#2.1.0 www\bower_components\paper-card
├── iron-flex-layout#2.0.3
├── iron-image#2.2.1
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-icon-button#2.2.1 www\bower_components\paper-icon-button
├── iron-icon#2.1.0
├── paper-behaviors#2.1.1
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-dropdown-menu#2.1.0 www\bower_components\paper-dropdown-menu
├── iron-a11y-keys-behavior#2.1.1
├── iron-form-element-behavior#2.1.3
├── iron-icon#2.1.0
├── iron-iconset-svg#2.2.1
├── iron-validatable-behavior#2.1.0
├── paper-behaviors#2.1.1
├── paper-input#2.2.3
├── paper-menu-button#2.1.1
├── paper-ripple#2.1.1
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-input#2.2.3 www\bower_components\paper-input
├── iron-a11y-keys-behavior#2.1.1
├── iron-autogrow-textarea#2.2.0
├── iron-behaviors#2.1.1
├── iron-form-element-behavior#2.1.3
├── iron-input#2.1.3
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-item#2.1.1 www\bower_components\paper-item
├── iron-behaviors#2.1.1
├── iron-flex-layout#2.0.3
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-dialog#2.1.1 www\bower_components\paper-dialog
├── iron-overlay-behavior#2.3.4
├── neon-animation#2.2.1
├── paper-dialog-behavior#2.2.2
└── polymer#2.8.0

paper-listbox#2.1.1 www\bower_components\paper-listbox
├── iron-behaviors#2.1.1
├── iron-menu-behavior#2.1.1
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-ripple#2.1.1 www\bower_components\paper-ripple
├── iron-a11y-keys-behavior#2.1.1
└── polymer#2.8.0

paper-menu-button#2.1.1 www\bower_components\paper-menu-button
├── iron-a11y-keys-behavior#2.1.1
├── iron-behaviors#2.1.1
├── iron-dropdown#2.2.1
├── iron-fit-behavior#2.2.1
├── neon-animation#2.2.1
├── paper-styles#2.1.0
└── polymer#2.8.0

paper-styles#2.1.0 www\bower_components\paper-styles
├── font-roboto#1.1.0
├── iron-flex-layout#2.0.3
└── polymer#2.8.0

outline-i18n#0.0.7 www\bower_components\outline-i18n

web-animations-js#2.3.2 www\bower_components\web-animations-js

polymer#2.8.0 www\bower_components\polymer
├── shadycss#1.9.1
└── webcomponentsjs#1.3.3

paper-toast#2.1.2 www\bower_components\paper-toast
├── iron-a11y-announcer#2.1.0
├── iron-fit-behavior#2.2.1
├── iron-overlay-behavior#2.3.4
└── polymer#2.8.0

webcomponentsjs#1.3.3 www\bower_components\webcomponentsjs

intl-messageformat#1.3.0 www\bower_components\intl-messageformat

iron-ajax#2.1.3 www\bower_components\iron-ajax
└── polymer#2.8.0

iron-location#2.2.2 www\bower_components\iron-location
└── polymer#2.8.0

punycode#1.4.1 www\bower_components\punycode

iron-media-query#2.1.0 www\bower_components\iron-media-query
└── polymer#2.8.0

iron-flex-layout#2.0.3 www\bower_components\iron-flex-layout
└── polymer#2.8.0

iron-resizable-behavior#2.1.1 www\bower_components\iron-resizable-behavior
└── polymer#2.8.0

iron-scroll-target-behavior#2.1.1 www\bower_components\iron-scroll-target-behavi
or
└── polymer#2.8.0

iron-meta#2.1.1 www\bower_components\iron-meta
└── polymer#2.8.0

iron-icon#2.1.0 www\bower_components\iron-icon
├── iron-flex-layout#2.0.3
├── iron-meta#2.1.1
└── polymer#2.8.0

iron-behaviors#2.1.1 www\bower_components\iron-behaviors
├── iron-a11y-keys-behavior#2.1.1
└── polymer#2.8.0

iron-checked-element-behavior#2.1.1 www\bower_components\iron-checked-element-be
havior
├── iron-form-element-behavior#2.1.3
├── iron-validatable-behavior#2.1.0
└── polymer#2.8.0

iron-selector#2.1.0 www\bower_components\iron-selector
└── polymer#2.8.0

iron-form-element-behavior#2.1.3 www\bower_components\iron-form-element-behavior
└── polymer#2.8.0

iron-image#2.2.1 www\bower_components\iron-image
└── polymer#2.8.0

iron-autogrow-textarea#2.2.0 www\bower_components\iron-autogrow-textarea
├── iron-behaviors#2.1.1
├── iron-flex-layout#2.0.3
├── iron-validatable-behavior#2.1.0
└── polymer#2.8.0

iron-validatable-behavior#2.1.0 www\bower_components\iron-validatable-behavior
├── iron-meta#2.1.1
└── polymer#2.8.0

iron-a11y-keys-behavior#2.1.1 www\bower_components\iron-a11y-keys-behavior
└── polymer#2.8.0

iron-input#2.1.3 www\bower_components\iron-input
├── iron-a11y-announcer#2.1.0
├── iron-validatable-behavior#2.1.0
└── polymer#2.8.0

neon-animation#2.2.1 www\bower_components\neon-animation
├── iron-resizable-behavior#2.1.1
├── iron-selector#2.1.0
└── polymer#2.8.0

paper-dialog-behavior#2.2.2 www\bower_components\paper-dialog-behavior
├── iron-overlay-behavior#2.3.4
├── paper-styles#2.1.0
└── polymer#2.8.0

iron-menu-behavior#2.1.1 www\bower_components\iron-menu-behavior
├── iron-a11y-keys-behavior#2.1.1
├── iron-flex-layout#2.0.3
├── iron-selector#2.1.0
└── polymer#2.8.0

iron-overlay-behavior#2.3.4 www\bower_components\iron-overlay-behavior
├── iron-a11y-keys-behavior#2.1.1
├── iron-fit-behavior#2.2.1
├── iron-resizable-behavior#2.1.1
└── polymer#2.8.0

iron-fit-behavior#2.2.1 www\bower_components\iron-fit-behavior
└── polymer#2.8.0

iron-dropdown#2.2.1 www\bower_components\iron-dropdown
├── iron-behaviors#2.1.1
├── iron-overlay-behavior#2.3.4
├── neon-animation#2.2.1
└── polymer#2.8.0

shadycss#1.9.1 www\bower_components\shadycss

iron-a11y-announcer#2.1.0 www\bower_components\iron-a11y-announcer
└── polymer#2.8.0
Done in 45.84s.
yarn run v1.22.4
$ C:\Users\rc452\Documents\workspace\outline-client\node_modules\.bin\gulp build
 --platform=android
[00:09:28] Using gulpfile ~\Documents\workspace\outline-client\gulpfile.js
[00:09:28] Starting 'build'...
[00:09:28] Starting 'buildWebApp'...
$ bash ./scripts/do_action.sh src/www/build
++ git rev-parse --show-toplevel
+ export ROOT_DIR=C:/Users/rc452/Documents/workspace/outline-client
+ ROOT_DIR=C:/Users/rc452/Documents/workspace/outline-client
[Running src/www/build]
+ export BUILD_DIR=C:/Users/rc452/Documents/workspace/outline-client/build
+ BUILD_DIR=C:/Users/rc452/Documents/workspace/outline-client/build
+ export -f do_action
+ do_action src/www/build
+ local action=src/www/build
+ echo '[Running src/www/build]'
+ shift
+ C:/Users/rc452/Documents/workspace/outline-client/src/www/build_action.sh
+ tsc -p src/www
+ rsync -ac --exclude '*.ts' src/www/ www/
+ echo '[Done src/www/build]'
[Done src/www/build]
[00:09:33] Finished 'buildWebApp' after 5.33 s
[00:09:33] Starting 'copyBabelPolyfill'...
'node_modules/babel-polyfill/dist/polyfill.min.js' -> 'www/babel-polyfill.min.js
'
[00:09:33] Finished 'copyBabelPolyfill' after 151 ms
[00:09:33] Starting 'browserifyAndBabelify'...
[00:09:36] Finished 'browserifyAndBabelify' after 2.8 s
[00:09:36] Starting 'transpileBowerComponents'...
[00:09:46] Finished 'transpileBowerComponents' after 10 s
[00:09:46] Starting 'transpileUiComponents'...
[00:09:46] Finished 'transpileUiComponents' after 116 ms
[00:09:46] Starting 'rtlCss'...
[00:09:46] Generating RTL CSS
[00:09:46] Finished 'rtlCss' after 109 ms
[00:09:46] Starting 'writeEnvJson'...
[00:09:47] Finished 'writeEnvJson' after 372 ms
[00:09:47] Starting 'cordovaPlatformAdd'...

You have been opted out of telemetry. To change this, run: cordova telemetry on.
Using cordova-fetch for<EMAIL_ADDRESS>Adding android project...
Creating Cordova project for the Android platform:
        Path: platforms\android
        Package: org.outline.android.client
        Name: Outline
        Activity: MainActivity
        Android target: android-28
Subproject Path: CordovaLib
Subproject Path: app
Android project created with<EMAIL_ADDRESS>Discovered saved plugin "cordova-custom-config". Adding it to the project
Installing "cordova-custom-config" for android
Adding cordova-custom-config to package.json
Discovered saved plugin "cordova-plugin-device". Adding it to the project
Installing "cordova-plugin-device" for android
Adding cordova-plugin-device to package.json
Discovered saved plugin "cordova-plugin-outline". Adding it to the project
Installing "cordova-plugin-outline" for android
Copying Android third party libraries...
���������ȷ��
Failed to install 'cordova-plugin-outline': Error: Command failed: mkdir -p plug
ins/cordova-plugin-outline/android/libs/arm64-v8a/
���������ȷ��

    at checkExecSyncError (child_process.js:630:11)
    at Object.execSync (child_process.js:666:15)
    at C:\Users\rc452\Documents\workspace\outline-client\plugins\cordova-plugin-
outline\android\scripts\copy_third_party.js:23:19
    at Array.forEach (<anonymous>)
    at module.exports (C:\Users\rc452\Documents\workspace\outline-client\plugins
\cordova-plugin-outline\android\scripts\copy_third_party.js:21:49)
    at runScriptViaModuleLoader (C:\Users\rc452\Documents\workspace\outline-clie
nt\node_modules\cordova-lib\src\hooks\HooksRunner.js:181:32)
    at runScript (C:\Users\rc452\Documents\workspace\outline-client\node_modules
\cordova-lib\src\hooks\HooksRunner.js:157:16)
    at C:\Users\rc452\Documents\workspace\outline-client\node_modules\cordova-li
b\src\hooks\HooksRunner.js:125:20
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Failed to restore plugin "cordova-plugin-outline" from config.xml. You might nee
d to try adding it again. Error: Error: Command failed: mkdir -p plugins/cordova
-plugin-outline/android/libs/arm64-v8a/
���������ȷ��

Discovered saved plugin "cordova-plugin-splashscreen". Adding it to the project
Installing "cordova-plugin-splashscreen" for android
Adding cordova-plugin-splashscreen to package.json
Discovered saved plugin "cordova-plugin-statusbar". Adding it to the project
Installing "cordova-plugin-statusbar" for android
Adding cordova-plugin-statusbar to package.json
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for android
Adding cordova-plugin-whitelist to package.json
Discovered saved plugin "cordova-plugin-clipboard". Adding it to the project
Installing "cordova-plugin-clipboard" for android
Adding cordova-plugin-clipboard to package.json
Discovered saved plugin "cordova-webintent". Adding it to the project
Installing "cordova-webintent" for android
Adding cordova-webintent to package.json
cordova-custom-config: Applied custom config from config.xml to C:\Users\rc452\D
ocuments\workspace\outline-client\platforms\android\app\src\main\AndroidManifest
.xml
[00:14:06] 'cordovaPlatformAdd' errored after 4.32 min
[00:14:06] Error: exited with error code: 1
    at ChildProcess.onexit (C:\Users\rc452\Documents\workspace\outline-client\no
de_modules\end-of-stream\index.js:39:36)
    at ChildProcess.emit (events.js:310:20)
    at ChildProcess.EventEmitter.emit (domain.js:505:15)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
[00:14:06] 'build' errored after 4.63 min
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.

There is no such problem on Mac.

Hi @rc452860, I see that mkdir -p plug ins/cordova-plugin-outline/android/libs/arm64-v8a/ fails. We often run into issues in cygwin with absolute paths. In this case I'm not sure why the failure happens.
Are you able to run this command by itself in cygwin?

Hi @rc452860, I see that mkdir -p plugins/cordova-plugin-outline/android/libs/arm64-v8a/ fails. We often run into issues in cygwin with absolute paths. In this case I'm not sure why the failure happens.
Are you able to run this command by itself in cygwin?

yes i can run mkdir -p plugins/cordova-plugin-outline/android/libs/arm64-v8a/ in cygwin, I tried it without error. An error will be reported only when the yarn gulp build --platform=android

I had the same problem
Failed to install 'cordova-plugin-outline': Error: Command failed: mkdir -p plugins/cordova-plugin-outline/android/libs/arm64-v8a/
���������ȷ��

I had the same problem
Failed to install 'cordova-plugin-outline': Error: Command failed: mkdir -p plugins/cordova-plugin-outline/android/libs/arm64-v8a/
���������ȷ��

我用 gitbash成功了

我用 gitbash成功了

May I ask what your goal is with using cygwin vs. Windows Subsystem for Linux or the native build?

May I ask what your goal is with using cygwin vs. Windows Subsystem for Linux or the native build?

Same issue people :/
$ cordova plugin add file:dependencies/cordova-plugin-outline
Installing "cordova-plugin-outline" for android
Copying Android third party libraries...
The syntax of the command is incorrect.
Failed to install 'cordova-plugin-outline': Error: Command failed: mkdir -p plugins/cordova-plugin-outline/android/libs/arm64-v8a/
The syntax of the command is incorrect.

    at checkExecSyncError (child_process.js:630:11)
    at Object.execSync (child_process.js:666:15)
    at E:\Projects\Electron.js_Mobile\dz.imrdjai.electronjsmobile\plugins\cordova-plugin-outline\android\scripts\copy_third_party.js:23:19
    at Array.forEach (<anonymous>)
    at module.exports (E:\Projects\Electron.js_Mobile\dz.imrdjai.electronjsmobile\plugins\cordova-plugin-outline\android\scripts\copy_third_party.js:21:49)
    at runScriptViaModuleLoader (C:\Users\DjGam\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:157:32)
    at runScript (C:\Users\DjGam\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:136:12)
    at C:\Users\DjGam\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\hooks\HooksRunner.js:108:40
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
Command failed: mkdir -p plugins/cordova-plugin-outline/android/libs/arm64-v8a/
The syntax of the command is incorrect.

Any solutions?


Answer

The .map function is only available on array.
It looks like data isn't in the format you are expecting it to be (it is {} but you are expecting []).
eg : this.setState({data: data});

Invalid issue, closing.


Mutation race condition with arrays

When splicing two branches of a tree in quick succession, a race condition causes the second mutation to sometimes be dropped.
In the example below, the user hits tab on the last item.
This remove the item from the current branch and then add the item to the end of the previous item's child branch.
The order doesn't matter. Most of the time the item is removed from the main branch, but the addition to the previous item's child branch is dropped.
https://github.com/dxos/dxos/assets/3523355/0491e089-584b-4561-a992-e67e290a09ad

Issue was due to a bug in creating nested Trees rather than Tree.Items.


MELPA integration?

any chance we could get this into melpa?

I submitted a PR for this, please comment if I did something wrong! https://github.com/milkypostman/melpa/pull/2527

sweet. thanks!

As you can see from the linked issue (which I have closed), submitting to melpa requires pretty massive changes to how this works. If you can provide those changes as a PR without ruining the purpose of this plugin, I will gladly accept them and resubmit a pull request.


Chore: docs grammar fix

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

my bad

is it right this time??

I checked the git log
it's showing that it's signed off now

2 CI /test and DCO failed

Ok


Object.defineProperty not polyfilled in phantomjs

Phantom JS isn't a target browser. What's the User Agent for the version you're using?

It hasn't changed for ages and was supposedly tackled here https://github.com/Financial-Times/polyfill-service/issues/208

That issue aliases all versions of phantom to Safari 5, which doesn't receive the defineProperty polyfill. So the problem here is either:
a) Safari 5 does have defineProperty but Phantom does not, which means the problem is the aliasing
b) Neither Safari nor phantom have it, which means we should add targeting for those browsers (but our tests show that defineProperty is native in Saf 5)
c) Phantom has it, and you are not detecting it / have a bug in your code?

@wheresrhys I'm closing this for lack of activity, but if you want to follow up you'd need to get some support data for Phantom so we can action it.


Refactorise the errors

Merge the two meilisearch error types
Use Deserialize and Serialize to generate the string associated with every error instead of writing it by hand

@irevoire is it breaking for the users?

Huum when the user is accessing the error contained in a task he'll get types on the error_code and error_type instead of getting everything as string.
I think that's the only change for the user

I rebased on main, you can merge

bors merge

I rebased on main, you can merge

I'll release it tomorrow :)


[Docs]: NextJs validation request problem

Description
Page: https://lucia-auth.com/tutorials/username-and-password/nextjs-app
Subtitle: Validate requests
the snippet about lib/auth.ts shows
export const lucia = new Lucia();
but Lucia is not defined at this point, so typescript warns

Cannot find name 'Lucia'. Did you mean 'lucia'?

I believe export const lucia = new Lucia(); is just a random lucia instance needed to show the example of validating requests. You would need to import the lucia instance from the code example under "Update database" in the page you have linked (if you are following that guide).
Or you can import the Lucia class from 'lucia' import { Lucia } from "lucia";. I think that is what the documentation is missing.

Can you paste the full code block you're referencing?


[Help wanted] Customize onnxruntime

TODO

[ ] Reduce the number of operator kernels when building onnxruntime to reduce the resulting file size of the generated lib

Please see https://onnxruntime.ai/docs/build/custom.html

Hello, I'm interested to work on this task, and I've followed the ONNX Runtime docs to try and build a much smaller lib for iOS. Would love to get some feedback on this work.
I've started by forking csukuangfj/ios-onnxruntime and making some changes based on this guide; you can find my fork here. For this purpose, I will use csukuangfj/sherpa-onnx-streaming-zipformer-en-2023-06-26 from which the custom lib will be specialized towards.
As such, I began with cloning the repo to download the ONNX models and use the cloned models and this script to create the reduced ops.config. You can find the bash script here. The resultant ops.config file looks like this
# Generated from ONNX model/s:
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/decoder-epoch-99-avg-1-chunk-16-left-128.int8.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/decoder-epoch-99-avg-1-chunk-16-left-128.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/decoder-epoch-99-avg-1-chunk-16-left-64.int8.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/decoder-epoch-99-avg-1-chunk-16-left-64.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/encoder-epoch-99-avg-1-chunk-16-left-128.int8.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/encoder-epoch-99-avg-1-chunk-16-left-128.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/encoder-epoch-99-avg-1-chunk-16-left-64.int8.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/encoder-epoch-99-avg-1-chunk-16-left-64.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/joiner-epoch-99-avg-1-chunk-16-left-128.int8.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/joiner-epoch-99-avg-1-chunk-16-left-128.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/joiner-epoch-99-avg-1-chunk-16-left-64.int8.onnx
# - /path/to/ios-onnxruntime/onnxruntime/sherpa-onnx-streaming-zipformer-en-2023-06-26/joiner-epoch-99-avg-1-chunk-16-left-64.onnx
ai.onnx;13;Add,Cast,Clip,Concat,Constant,ConstantOfShape,Conv,Div,DynamicQuantizeLinear,Equal,Exp,Expand,Gather,GatherElements,Gemm,GreaterOrEqual,Identity,If,LessOrEqual,Log,MatMul,MatMulInteger,Mul,Neg,Pow,Range,ReduceMean,ReduceSum,Relu,Reshape,Shape,Sigmoid,Slice,Softmax,Squeeze,Sub,Tanh,Tile,Transpose,Unsqueeze,Where

I then specified this ops.config file when building the iOS libraries.
And finally ran the script to create onnxruntime.xcframework:
$ tree -h onnxruntime.xcframework
[ 192]  onnxruntime.xcframework
├── [ 224]  Headers
│   ├── [1.5K]  coreml_provider_factory.h
│   ├── [ 397]  cpu_provider_factory.h
│   ├── [170K]  onnxruntime_c_api.h
│   ├── [ 86K]  onnxruntime_cxx_api.h
│   └── [ 67K]  onnxruntime_cxx_inline.h
├── [1.0K]  Info.plist
├── [  96]  ios-arm64
│   └── [ 55M]  onnxruntime.a
└── [  96]  ios-arm64_x86_64-simulator
    └── [113M]  onnxruntime.a

3 directories, 8 files

and successfully created the onnxruntime.xcframework, which you can find here.
Unfortunately, I wasn't able to get this to run on the sample iOS sherpa-onnx app. I think the checkout of onnxruntime I used is too old and needs an upgrade. Nonetheless, I noticed that the resultant onnxruntime.a files are just slightly smaller than that found in the complete builds, hence I'm wondering if I'm missing some additional steps to further reduce the library size. Looking forward to getting this task done, cheers!

Nonetheless, I noticed that the resultant onnxruntime.a files are just slightly smaller than that found in the complete builds, hence I'm wondering if I'm missing some additional steps to further reduce the library size

Thanks for the detailed description.
One approach is to convert the model to onnxruntime format and when you invoke
https://github.com/microsoft/onnxruntime/blob/main/tools/python/create_reduced_build_config.py
you can pass additional arguments to it.

Thanks for the pointers, @csukuangfj!
My latest progress is that I'm finally able to build my own custom iOS lib that successfully ran converted models in  .ort format, although the lib size is still the same. I am going to try several more flags (e.g. minimal_build) to see how small I can get the library to be. I will keep you posted.

Hi @csukuangfj.
I was able to build a minimal ONNX lib for iOS, and that managed to get the lib to be about half the size of the original full build. However, I am getting an error on during the initialization of the recognizer, and it seems to be happening on the C level, which I'm unable to debug from the Swift side. I am guessing it's probably several unsupported ops, which is a usual issue for mobile/minimal ONNX builds.
If you'd like to give it a shot, I have provided the onnxruntime.xcframework and its build scripts in my fork here. Cheers.

I was able to build a minimal ONNX lib for iOS

Great!
Are you able to build a version for macOS (x86_64)? That would make the debugging easier as we can use macOS to debug it.

Sure, I can try that out in a bit.

@w11wo
You may find the following workflow helpful.
https://github.com/csukuangfj/onnxruntime-libs/actions/runs/5581669504
By default, it builds a static library. If you want to build a shared library, please pass --build_shared_lib.
See also https://github.com/csukuangfj/onnxruntime-libs/tree/master/.github/workflows
I have been using github actions to build static libraries of onnxruntime.

This is very helpful, @csukuangfj. Many thanks, I'll test it out once I have some time.

Hi @csukuangfj, I was able to reproduce your workflow to create a static library with minimal build. I've also tried to build the shared library version with the addition of --build_shared_lib, however, I'm confused about how to build the *.dylib files which are needed for sherpa-onnx. Could you guide me through it or give pointers to do so? Thanks.

Are you able to find a folder with name framework or xcframework. If there is a file named onnxruntime, please use
file onnxruntime

to check whether it is a shared lib or a static lib.

Hi @w11wo, in the end, how small did manage to reduce the size of onnxruntime static lib?  (ios-arm64)
I try to reduce it to 20M+, it seems to be the limit

Hi everyone, sorry for the late response, got busy with work stuff.
@csukuangfj, yes I was able to find that file, looks like it's a shared lib.
$ file onnxruntime.framework/onnxruntime
onnxruntime.framework/onnxruntime: Mach-O 64-bit dynamically linked shared library x86_64

Now I just need to know how to use this within sherpa-onnx.

Hi @601222543. I'm getting similar sizes to your findings, about 20MB as you said. You can find my latest ios-arm64 build here. I haven't fully debugged why we can't use it.

Now I just need to know how to use this within sherpa-onnx.

Please create a symlink to it, e.g.,
cd /path/to/onnxruntime.framework
ln -s onnxruntime libonnxruntime.dylib

Then, please set the environment variable
export SHERPA_ONNXRUNTIME_LIB_DIR=/path/to/onnxruntime.framework

Also, please find the directory containing the header files. If it is /tmp/foo/bar, please set the following environment variable
export SHERPA_ONNXRUNTIME_INCLUDE_DIR=/tmp/foo/bar

Note: Assume there is /tmp/foo/bar/onnxruntime_cxx_api.h.
After setting the above two environment variables, please remove the build directory of sherpa-onnx and rebuild it as usual.

I was able to follow the instructions, but it failed since it couldn't find CoreML-related header files.
0: fatal error: 'coreml_provider_factory.h' file not found
#include "coreml_provider_factory.h"  // NOLINT

For some reason, this build did not include CoreML build files, even though I've specified to build CoreML as well.
I made sure that the build was pointing to the pre-built and minimized onnxruntime, and this is from the logs:
-- location_onnxruntime_header_dir: path/to/ios-onnxruntime/onnxruntime/build-macos/x86_64/Release/Release/onnxruntime.framework/Versions/A/Headers
-- location_onnxruntime_lib: path/to/ios-onnxruntime/onnxruntime/build-macos/x86_64/Release/Release/onnxruntime.framework/libonnxruntime.dylib

and it's size is
$ du -ah onnxruntime
3.6M	onnxruntime

It's only 3.6MB compared to the official release which is 23M.
Now the remaining question is why the iOS minimal build didn't work.


Get response for checkboxes

Trello: https://trello.com/c/h5u7N1T9
Follows on from: PR #5315
What's changed?
Add a method to CheckboxQuestionPresenter to get the current value of the checkbox.
Changes in this PR

[x] Checkbox question

Changes in other PRs

[x] When a user click back on a URL based Smart Answer then the previous questions show, with the previous answer pre-filled (#5315)
[x] When a user click back on a session based Smart Answer then the previous questions show, with the previous answer pre-filled (#5315)
[x] Country-select question (#5315)
[x] Money question (#5315)
[x] Postcode question (#5315)
[x] Value question (#5315)
[x] Radio button question (#5318)
[x] Date question (#5319)
[x] Salary question (#5320)

Why?
There is currently a bug in session-based smart-answers, where answers to previous checkbox questions are not being populated even though the answers exist in the session.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

@kevindew Thanks for your review. I've addressed all of your comments and fixed up.


Explain status output in general and encryption method specifically

Hi,
With regards to the vulnerabilities found in hardware encryption of SSDs, it would be helpful if more information about the output of the status command was added.
How can we know if hardware encryption is in use for a drive or software encryption?
According to this blog: https://helgeklein.com/blog/2015/01/how-to-enable-bitlocker-hardware-encryption-with-ssd/
the encryptionmethod field will return something with "hardware encryption" in the value if hardware encryption is enabled and something like XTS-AES when using software encryption?
cheers,
Valentijn

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

ID: d84ea616-7dad-0931-2ccf-1966836114c1
Version Independent ID: 98591e29-4ce2-f2b0-67b2-34e3a6a0f152
Content: manage-bde status
Content Source: WindowsServerDocs/administration/windows-commands/manage-bde-status.md
Product: windows-server-threshold
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

Yes and this issue has clearly now become a lot more important!
https://www.howtogeek.com/fyi/you-cant-trust-bitlocker-to-encrypt-your-ssd-on-windows-10/

#please-close


Maintain proper commit messages

It would be great if the commit messages were a bit more meaningful.
Would help the community keep track of the active developments in the project.
Cheers.

I know, sorry for that :+1:


Multiple lines command

Show the first line of the command with ... at the end.
Show the full command on the right when the command is selected.

Thanks for this work. Are there any instructions on how to upgrade tbmk from an earlier release?

@abulka you can just extract and override the old version.
Let me update the document. thanks

Thanks. Presumably no need to Run ./install for the update, only for the initial install.


[docs] Add instructions for usage with SWC

Is your feature request related to a problem? Please describe.
Currently the documentation only details instructions for usage with Babel. This library seems to be working fine now with SWC as well, although with a bunch of additional configs.
Describe the solution you'd like
Please add setup instructions on how to use this library with SWC.
Describe alternatives you've considered
None
Additional context
Thanks for this awesome library!

For anyone stumbling across this issue, all that is required is in your tsconfig.json, add these lines inside of "compilerOptions":
"experimentalDecorators": true,
"emitDecoratorMetadata": true,


How to set a configuration key for a slot?

I have two slots: production and pre-prod.
I want to add config WEBJOBS_STOPPED=1 to pre-prod, but on production set WEBJOBS_STOPPED=0.
This so the pre-prod slot does not run its webjobs.
How can I do it with yaml task?

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

ID: 29c94df7-9de9-ea1a-8b77-d1e6023694dc
Version Independent ID: a525989e-2e0a-0399-556e-9011ee95da4e
Content: Azure App Service Deploy task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/azure-rm-web-app-deployment.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

@katlimruiz Thank you for the question.
If you don't mind including a Azure CLI task, you can make a call to az webapp config appsettings set.
Please comment if there are issues with this approach.

Closing the issue now.


Setting attachment filename doesn't do anything

I'm setting up an attachment like this:
const attachment = {
  filename: 'test.pdf',
  data: pdfBuffer // This is defined elsewhere as a Buffer-ized PDF file
}

mailgunParams.attachment = attachment // Other parts of mailgunParams are also defined elsewhere
mg.messages.create(DOMAIN, mailgunParams)

But when I receive the email (and when looking at it in the mailgun console) the filename is always set to 'attachment' (no extension) instead of 'test.pdf'. I've confirmed the file data is being sent correctly because when I download 'attachment' locally and rename it to 'attachment.pdf', I can see the PDF content; only the filename isn't being set properly.
Here's a screenshot of a message, taken from the Mailgun console logs -- see how the filename is just attachment even though I definitely set it to something else:

Am I doing something wrong here? I've tried everything at this point and can't get it to work:

Defining mailgunParams.attachment as an array: [attachment]
Setting fileName instead of filename
Setting content-type on the attachment to application/pdf

Hello @morgan-adams
Unfortunately, I can't reproduce this issue.
I've checked two versions of maligun.js package (3.4.0 and 3.5.1).
Here is a code example that I used and few screenshots in addition:
const DOMAIN = "Domain here"
const mailgunParams = {
    to: 'mailAddressHere',
    from: 'mailAddressHere',
    subject: 'TestSubject',
    html: "<html>HTML version of the body</html>"
};
const clientOptions = {
    username: 'username here',
    key: 'private key here',
    url: 'url here'
};

const formData = require('form-data');
const Mailgun = require('mailgun.js');
const mailgun = new Mailgun(formData);
const mg = mailgun.client(clientOptions);

const fs = require('fs');
const path = require('path');
const filepath = path.resolve(__dirname, './test.pdf');

fs.readFile(filepath, async (err, data) => {
    if (err) {
        console.error(err)
        return
    }
    console.log('data', data);

    const file = {
        filename: 'newNameOfAttachment.pdf',
        data
    }

    mailgunParams.attachment = file;
    try {
        const res = await mg.messages.create(DOMAIN, mailgunParams);
        console.log(res);
    } catch (error) {
        console.error('sending error', error)
    }

});

Dashboard output:

Message in mailbox:

Browser download window:

To be honest, for now, I don't know for sure what was the reason for the issue in your case.
Can you try the code that I provided?
if it doesn't work for you, please share a version of node.js and a version of the mailgun.js package

Hey, thanks for the response!
It turns out that I was using a somewhat outdated version of formdata-node, and that updating to the most recent version (as of this writing<EMAIL_ADDRESS>fixed the problem of the attachment filenames not being set. (I also tested with the latest version of form-data, which also fixes the issue.) Just figured I would update in case anyone else runs into the same issue, and to report that it's not an issue with the mailgun package after all. I appreciate the help!

Thank you @morgan-adams for sharing the solution.
This may really help somebody.


Text input fields are often too wide

See for example the wishlist line form:

The quantity field is too wide.  This is tricky to change within the Django form declarations since any size attribute gets clobbered by a width=206px setting in the LESS files.
Can we adjust the LESS so that we can manually control input sizes?

Already fixed by fcddaececf4d30fa8588f72812338e551efea056.


Find home directory in platform agnostic way

For OSX fellows

Thank you for making a pull request!

I'm a bit silly, I merged this request but I haven't updated the NPM entry yet, will add to update 0.0.6.


👷♂ Add init.py to unittests

Make unittests a real python package so imports are handled correctly (especially by VS code's test explorer).
See also https://stackoverflow.com/a/48804718

works on pycharm ✅ besides that I don't care :)
Anyways it will be helpful to also add the file to our https://github.com/Hochfrequenz/python_template_repository
because all new repos derived from the template will ship without the __init__.py as of now

How about the comment that I added now? Considering that only this addition allows running $ pytest unittests (which vscode does) on the module in the first place, it seems like a more general issue.
This explains the reasoning behind using init.py in pytest and even goes into specific detail for tox projects. It seems that we are safe anyway because our source is inside the non-package src folder.

Thanks for the comment in the __init__.py file! I'm pretty sure it won't hurt, hence my approval!
Pytest says

This layout [with a separate src directory for the package itself] prevents a lot of common pitfalls and has many benefits

sorry, ich habe gerade den dependabot gemerged 🙈


Replace Tokens :  The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'

2024-11-07T16:27:59.7992242Z ##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details.
2024-11-07T16:27:59.7995027Z ##[section]Finishing: Replace tokens in Set Parameters files

I had the same issue, but updating the azagent software on my build agent resolved this for me.

I'm having the same issue. Our agents are version 2.181.2 so they're well above the min agent version.

@colindembovsky My customer is also having the same issue.

We're running into this.
Another oddity, it is saying task version 1.2.162?
v1.4.162 (Latest) of the extension is installed, and the latest task version for ReplaceTokens is 1.2.28, so not sure how we got 1.2.162 unless the extension patch overwrites the task patch?
Starting: ReplaceTokens
==============================================================================
Task         : Replace Tokens
Description  : Replaces tokens in a file using RegEx. Values come from any variable defined in the current Environment.
Version      : 1.2.162
Author       : Colin Dembovsky (colinsalmcorner.com)
Help         : [More Information](https://github.com/colindembovsky/cols-agent-tasks/tree/master/Tasks/ReplaceTokens)
==============================================================================
##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details.

In the event it helps anyone else, I found this (apparently undocumented) rest api call to update agents programmatically and created a script to update all Environment agents as these can't be set to auto-update. Once they were all up to date the minAgentVersion bump was no longer an issue.
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents?view=azure-devops&tabs=yaml%2Cbrowser#how-can-i-trigger-agent-updates-programmatically-for-specific-agent-pool


Related Manga Feature / Demo

Thanks again for this project, I have been working on adding a recommendation tab to the app. I wanted to try to create a way for users to "discover" other related content which isn't something available right now besides looking at recently updated or looking through manual searches.
I have changed the MangaController to have an optional tab which can be enabled in the settings. A user can load a JSON file which I provide in my MangadexRecomendations which has the correspondences between a given MangaDex ID and other related mangas. I added a RelatedTable to the database for fast lookup of the matches as recommended.
Not sure if this is something interested in merging, it was something I implemented for myself and thought maybe others might like to use it also. There are a few bugs including: freezing when the json file gets loaded and display bug when browsing into the related mangas the back button logic breaks.
Not sure if you want to merge something that is still pretty "alpha/beta" level but since it is pretty optional, I think that people that want it could enable it as needed. I want to figure out how to do a progress bar for the json loading, and then try to figure out how to fix the back button issue which hopefully complete the feature.

From a UI perspective, it uses stuff that is already made. I think I could for example shown the matching score percentage down the line to the user so they know how good of a match is being recommended.

I finished up the last issues, including a progress bar, and fixing the navigation bug.
Seems to work pretty good, let me know if I need to change any formatting etc.


fix issue #318 change HashMap to ConcurrentHashMap

Original PR:
https://github.com/perwendel/spark/pull/1218


Labels not getting updated for PVCs during reconciliation

Describe the bug
Having a cluster up and running using 1 PVC per broker and with propagateLabels set to true. When adding a new label to the KafkaCluster CR nothing happens at first (and its expected behavior) but after deleting a broker pod, a reconciliation is triggered and the new label is added to all resources except PVCs.
Replacing the PVC or adding new ones seems to add the new label though.
I tried putting the operator in verbose mode to see debug logs, I do see it trying to patch the PVC but I am not sure why it has no effect.
Is this something known or expected?
Steps to reproduce the issue:
Create a simple cluster with at least 2 brokers with 1 PVC each broker and with propagateLabels set to true. Wait until it reaches the "Cluster running" state. Edit the KafkaCluster CR, add a new label and delete a pod after to trigger a reconciliation.
Expected behavior
All resources managed for the KafkaCluster to receive the new set of labels.
Additional context
Using the latest version.

Hi @ecojan thanks for opening this ticket and sorry for the late response. We just identified the bug and going to fix this soon.

Hi @baluchicken , what was the issue itself? I am quite curious, tried figuring it out myself but didn't manage to reach the source of the bug

@ecojan we are coping everything from the current pvc expect the resource requests.
https://github.com/banzaicloud/kafka-operator/blob/39b8b0f682a622a46b32bc43e1e00bb5179da678/pkg/resources/kafka/kafka.go#L747
Since PVC has multiple immutable fields and I am not aware of any documentation about this it is little challenging to figure out which values are suitable for update. I will add the annotations and labels here for now. Expect PR soon.


VM and Flutter CFE targets should only support strong mode

It turns out we still sometimes use legacy mode - which is unexpected.
We should add errors when trying to use VmTarget with strongMode set to false.
/cc @alexmarkov @a-siva

dart seems to also still accept the old --checked flag

Any further updates, @a-siva @mraleph ?

Yes we still accept '--checked' flag. This essentially equivalent to --enable-asserts.
Did we make a decision on whether we want to deprecate the '--checked' flag ?

This is being discussed over in https://github.com/dart-lang/sdk/issues/32442

Opened https://github.com/dart-lang/sdk/issues/34660 to track removing --checked from the VM. With that @mraleph I think we can close this issue as the other cleanup was completed, right?

This bug is actually about strongMode flag that is used pervasively through front-end and parts of the VM code.
VM also has a FLAG_strong which also needs to be removed.

We will remove it from the CFE.

Adding @peter-ahe-google based on the comments in https://dart-review.googlesource.com/c/sdk/+/78660

I suggest that we push this to the next release. I'm actively working on this, but there's a lot of places that are still (mostly likely unintentionally) relying on strongMode = false. This is my plan:

Convert all strongMode flags in package:kernel and package:front_end to legacyMode.
When I don't see legacyMode: true, I'll completely remove the flag.
Rename "vm_platform_strong.dill" to "vm_platform.dill" (I think this can be done in parallel).
Audit all the places that use legacyMode: true and either convert them to Dart 2, or delete them (I can ask for help with this).

It's hard form me to estimate the amount of work required before I have a burn-down list. That's because strongMode: false is the default in most cases, and not explicit in code. This is why I'm converting all strongMode options to explicitly named arguments so I can search for legacyMode: true.

+1 that this is important, but doesn't gate, this release.
On Thu, Oct 11, 2018, 12:18 AM Peter von der Ahé<EMAIL_ADDRESS>wrote:

I suggest that we push this to the next release. I'm actively working on
this, but there's a lot of places that are still (mostly likely
unintentionally) relying on strongMode = false. This is my plan:

Convert all strongMode flags in package:kernel and
package:front_end to legacyMode.
When I don't see legacyMode: true, I'll completely remove the flag.
Rename "vm_platform_strong.dill" to "vm_platform.dill" (I think
this can be done in parallel).
Audit all the places that use legacyMode: true and either convert
them to Dart 2, or delete them (I can ask for help with this).

It's hard form me to estimate the amount of work required before I have a
burn-down list. That's because strongMode: false is the default in most
cases, and not explicit in code. This is why I'm converting all strongMode
options to explicitly named arguments so I can search for legacyMode: true
.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dart-lang/sdk/issues/34468#issuecomment-428847595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACAsWwZFSVrOyHyyN_sHalwizgahSfxtks5ujvCxgaJpZM4Wp63T
.

I guess I am fine with some internal tests using the legacy mode but we need to make sure that it is not possible for command line Dart users or Flutter/Fuchsia to run the VM in non strong mode.
We are in the process of creating a CL that will remove the following flags from the VM
--strong
--reify_generic_functions
--error_on_bad_override
--enable_type_checks
--error_on_bad_type

I've created a CL that removes the non-strong VM platform.dill files from the SDK. This should help prevent command-line users from running the VM in non-strong mode.

This is the CL https://dart-review.googlesource.com/c/sdk/+/79520

When https://dart-review.googlesource.com/c/sdk/+/79431 lands there will be no way to run the VM in non strong mode.

The VM and Flutter only run in strong mode now, it is not possible to use non strong mode.


Websocket Secure (wss://...) doesn't work on Android

This is the root issue https://github.com/paritytech/subxt/issues/563
Assigning this to you @elsirion

This change does indeed fix it on Android. Not sure about security implications ...

736d86a82d5fbd24f8f0c767346ace372600d686 seems perfectly sound. Is there a PR for this already?


add topics for hydrology

proposal circa Feb 2024, see branch

prediction

hydrological-hazards

short-range-flash
long-range-riverine
nine-months-hdi
three-months-phdi
spei

water-resources-groundwater

monthly-well-water-levels
three-month-springs-levels

water-resources-soil

seasonal-soil-moisture

water-resources-surface

monthly-streamflow
stream-stage
monthly-reservoir-levels
seasonal-snowmelt

water-resources

monthly-streamflow

space-based-observations

earth-systems
space-based-observations

soil

...

groundwater-quality

...

groundwater-quantity

...

subsurface-based-observations

water-quantity
water-quality
land-atmospheric
sediment-surface-water

surface-based-observations
...

@PaoloLeoniIT @disiiwash-- can you help topics for hydrology? I think we want to narrow the list of topics down to the types of datasets that will be initially shared on WIS2...

@sgrellet @PaoloLeoniIT @disiiwash-- can you help topics for hydrology? I think we want to narrow the list of topics down to the types of datasets that will be initially shared on WIS2...

Yes sure, here you can find the updated file where there are also other variables.
Hydrology_Variables_URI_code register WMO_v20240529.docx

2024-11-26

@tomkralidis / @amilan17 to discuss with hydrology experts on WIS2 data publication requirements (consultation phase)