libmicrohttpd: 0.9.64 -> 0.9.66

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libmicrohttpd/versions.
meta.description for libmicrohttpd is: '"Embeddable HTTP server library"'.
meta.homepage for libmicrohttpd is: '"https://www.gnu.org/software/libmicrohttpd/"

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 0.9.66 with grep in /nix/store/0h83d4cdjigbxascbcznl62a7hv1qxvb-libmicrohttpd-0.9.66
directory tree listing: https://gist.github.com/9f83833bb34a76c24c526066578624d1
du listing: https://gist.github.com/c15a550254390ee22b18d78c05f42dcf

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

21636 total rebuild path(s)
8059 package rebuild(s)
8053 x86_64-linux rebuild(s)
7055 i686-linux rebuild(s)
174 x86_64-darwin rebuild(s)
6354 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
AgdaSheaves
AgdaStdlib
DisnixWebService
EmptyEpsilon
MMA
R
SDL
SDL2
SDL2_gfx
SDL2_image
SDL2_mixer
SDL2_net
SDL2_ttf
SDL_gfx
SDL_gpu
SDL_image
SDL_mixer
SDL_net
SDL_sound
SDL_stretch
SDL_ttf
Sylk
TotalParserCombinators
_20kly
_90secondportraits
a2jmidid
aacskeys
abbaye-des-morts
abcde
abcl
abiword
abootimg
accountsservice
acoustidFingerprinter
acsccid
adapta-gtk-theme
adementary-theme
adlplug
adobe-reader
adom
adoptopenjdk-bin
adoptopenjdk-hotspot-bin-11
adoptopenjdk-jre-bin
adoptopenjdk-jre-hotspot-bin-11
adoptopenjdk-jre-openj9-bin-11
adoptopenjdk-openj9-bin-11
adwaita-qt
aegisub
aeolus
aerc

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0h83d4cdjigbxascbcznl62a7hv1qxvb-libmicrohttpd-0.9.66 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A libmicrohttpd https://github.com/r-ryantm/nixpkgs/archive/67d931bf251f519a3c1cf9f7b433ec878cfe55f5.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0h83d4cdjigbxascbcznl62a7hv1qxvb-libmicrohttpd-0.9.66
ls -la /nix/store/0h83d4cdjigbxascbcznl62a7hv1qxvb-libmicrohttpd-0.9.66/bin

cc @edolstra @vrthra @fpletz for testing.

@GrahamcOfBorg build libmicrohttpd


Theo/createmenu

Adding the functionnality of creating a menu in the menu-server.

everything's ok


2.x

google optimization

@master-b ,
What did you do?  Your request is to merge changes from 2.x to 3.x.


Front-end - Distinguish active tab

For tabs hotels/attractions/restaurants, distinguish which one is active (via css, probably)

nice shadow-highlighting.  ideally, that would persist until the end user clicks on another of the tabs.  as-is, it goes away once they click elsewhere


kbfsgit: optimize clone by copying the raw object files out of KBFS

This doesn't solve the memory/performance problems of big pulls, but optimizing for clone is an easy win.
Issue: KBFS-2416

I found it somewhat counterintuitive for the addition to be happening down a level if it's a dir, and at this level if it's not. I'd expect the recursive function to return the total of its subtree, and then we add it at this level whether it's a file or directory.

Agreed it's counterintuitive, but it's the only way to print the total byte count so far interactively, as soon as the bytes are counted.  If I only add the bytes at the end, then I'll only update the count once and there'll be a UI hang until the whole count is done.
I guess I could do a chan-based thing where the byte counts are passed around, but that didn't seem worth it and could still cause UI lag.  I'll add a comment explaining that and toErase in a new PR.


Tests for http.Server

We should be able to test actual requests and their status / body.
That way we could test all sorts of invalid parameters (e.g. unescaped characters, empty params, floats, negative numbers, all sorts of things that can go wrong between the web server and the methods we are testing)
@coveralls would also give us kudos for greater test coverage.

#91 done!


Update bartender to 3.0.12

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if updating a cask:

[ ] sha256 changed but version stayed the same (what is this?).
I’m providing public confirmation below.

Thanks for the PR! Closing because this has already been updated and the current appcast shows the correct version.


Failed to activate the ionide-fsharp package

[Enter steps to reproduce below:]

Remove Atom
Re-install Atom
Install ionide-installer
Set the path for mono

Atom Version: 1.0.16
System: Mac OS X 10.10.5
Thrown From: ionide-fsharp package, v1.2.1
Stack Trace
Failed to activate the ionide-fsharp package
At spawn ENOTDIR

Error: spawn ENOTDIR
    at exports._errnoException (util.js:814:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at Object.exports.spawn (child_process.js:343:9)
    at Process__spawnSimple$ (/Users/ryan/.atom/packages/ionide-fsharp/lib/fsharp.js:3235:29)
    at LanguageService__start$ (/Users/ryan/.atom/packages/ionide-fsharp/lib/fsharp.js:2116:17)
    at FSharpIDE__activate$ (/Users/ryan/.atom/packages/ionide-fsharp/lib/fsharp.js:1417:5)
    at /Users/ryan/.atom/packages/ionide-fsharp/lib/fsharp.js:5328:14
    at Object.module.exports.IonideFSharp.activate (/Users/ryan/.atom/packages/ionide-fsharp/lib/fsharp.js:5351:26)
    at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:245:19)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:226:30

Commands

Config
{
  "core": {},
  "ionide-fsharp": {
    "MonoPath": "/Library/Frameworks/Mono.framework/Versions/Current/bin/mono"
  }
}

Installed Packages
# User
atom-yeoman, v0.3.14
ionide-fake, v1.2.0
ionide-fsharp, v1.2.1
ionide-fsi, v1.0.6
ionide-installer, v1.2.1
ionide-paket, v2.0.9
ionide-yeoman, v1.0.1
linter, v1.6.0

# Dev
No dev packages

I initially installed ionide successfully in an older version of Atom. I upgraded initially to get the updated atom-typescript to work, but then ionide broke, so I removed everything and re-installed with the same issues.

Bah! My bad, as usual. I left /mono at the end of the path.

:+1: me too


Getting Prettier error when updating mui-public and mui-private to the latest Toolpad version

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
I tried updating the Toolpad version in tools-private and tools-public but was getting a prettier.config error:

Current behavior 😯
No response
Expected behavior 🤔
No response
Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

I can't reproduce this on mui-private or mui-public, Toolpad version 0.1.32.
I think it might an issue with the repos themselves in your local environment - have you tried running yarn install both on the root project and in tools-private? They are separate things in these projects.
If you still get errors after that I did have some issues that I ended fixing by first deleting all node_modules folders and yarn.lock files everywhere and then running the yarn installs as above.

have you tried running yarn install both in the root project and in tools-public?

This worked! Thanks for looking into this 🙌


Fails to find .js files when given a directory on Windows

When trying to run tap (current version on NPM) on Windows using, I just get the following result:
> tap ./tests
total ................................................... 0/0

ok

If I specify a specific .js file in the tests folder, it runs just fine.
I dug into this and found that on line 162 of tap-runner.js is the following check:
} else if ((st.mode & 0001) == 0) {
return cb()
}
I debugged this and when provided just the directory, the st.mode was 0x41B6.  In the Node source it looks like this would be a check against UV_FS_SYMLINK_DIR?  But since this is a real directory and not a symlink, this is true, and the directory is not processed further. Making this check false, allows the directory to drop down to line 167 where it runs as expected.
I'd submit a pull request, but I'm new to the internals of Node and I have no idea what exactly this is a check for.

It looks like this was fixed upstream about 2 years ago.


'Skip' button

Are there plans to add a 'skip' button to bypass the remaining panels?

+1 I believe bottom right is most common


The Census includes pre-computed results with specific focus on integration algos which simplify access, usability and expand the user base (e.g. embeddings, pre-trained models, summary statistics).

Census H2 roadmap item 2, see full roadmap here in this epic

completed


[Theme Request] Albedo from Overlord

Who/What do you want to be featured?
Albedo  from Overlord
What do they look like?

What type of theme?

[] Light Theme
[x] Dark Theme

Additional Information (Optional)
If you can use monokai or dracula color tones as the background color, it is much more comfortable on the eyes.
Thanks

If you can use monokai or dracula color tones as the background color, it is much more comfortable on the eyes.

Sounds like you already know what you want :)
Why not just use those color schemes & just put her as the background image in your editors?

Why not just use those color schemes & just put her as the background image in your editors?

Yes, this is also an option but i said it only for background color.


Feat(eos_designs): Auto BGP ASN

Change Summary
Automatically assign BGP ASNs to a node type from a range of ASNs
Related Issue(s)
N/A
Component(s) name
arista.avd.eos_designs
Proposed changes
Amends the existing eos_designs bgp_as variable to support ranges of ASNs.  This allows a bgp_as range to be defined under a node type's defaults clause so that ASNs can be allocated to (for example) l3leafs using the following mechanism:
The bgp_as range is expanded into a list of ASNs and ASNs allocated according to the following:

Standalone nodes: device's id is used to index into that list.
A/A EVPN MH nodes: device's id is used to index into that list.
MLAG nodes: The device ID of the first node in the node group of the MLAG pair is used to index into the list.

Bare (non-range) ASN behaviour is unaffected.  Inheritance is also unaffected.
# Node BGP AS | Required.
# For eBGP topologies, bgp_as can be defined as a range of ASNs under defaults.  This range will be expanded and ASNs allocated
# according to the following rules:
#  - Standalone nodes and Non-MLAG (i.e. EVPN A/A multi-homing) node groups will be allocated unique ASNs from the range based on
#    the node's ID.
#  - Switches in MLAG pairs will be allocated a single ASN, based on the node ID of the first node in the node group.
# Examples:
# bgp_as: 65101-65110                 Contiguous range of ASNs.
# bgp_as: 65001,65010,65020,65030     Non-contiguous range of ASNs.
# bgp_as: 65000.101-125               Contiguous range of 4-byte ASNs, increment in the last 2 bytes.
# bgp_as: 64512                       Single AS, no range.
# Commas and hyphens can be combined in more-or-less any combination.

How to test
New molecule test switches defined to test just this functionality.  Also tested against my standard demo repos.
Checklist
Repository Checklist

[X] My code has been rebased from devel before I start
[X] I have read the CONTRIBUTING document.
[X] My change requires a change to the documentation and documentation have been updated accordingly.
[X] I have updated molecule CI testing accordingly. (check the box if not applicable)

LGTM, but would it possible to test on 5stage-2DC-clos scenario, instead of creating a new one.

we need the unit tests as well, but for feature interaction it would be good to see it on one of the other examples. One change it will give though is that mlag leaf switches will only user every other ASN from a list.


Fix Margin in team page.

Is your feature request related to a problem? Please describe.
Margin in teams page icons is not looking good.
Describe the solution you'd like
i would like to solve this.
Are you participating under any open-source program?
( fill NA if none )
hacktoberfest

@siddhi-244 Assigning this issue to you . Happy Coding !


How do I make TextInput flex-grow?

Context
How do I make Strapi design-systems TextInput flex-grow?
style={{ flexGrow: 1 }} does not work.
flexGrow="1" does not work as well.
EDIT:
I seem to be able to do it by wrapping it with a flex-grow:1 div
Proposal
TextInput should at best be able to take all classic CSS style attributes?
style={{ flexGrow: 1 }}
Reasons
Obvious.

I seem to be able to do it by wrapping it with a flex-grow:1 div

I think its just the way ahead. Just wrap it around the div and if you want it more the DS way, you can just use Box instead of div


Fluent Design 404

The fluent design hyperlink under the WinUI 3 section goes to https://docs.microsoft.com/en-us/design/fluent/, which is a 404 page. It should probably go to https://www.microsoft.com/design/fluent/#/

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

ID: c2607ab3-0ec2-00bd-f8a8-cf2f57fe258f
Version Independent ID: c2607ab3-0ec2-00bd-f8a8-cf2f57fe258f
Content: Windows developer glossary - Windows apps
Content Source: hub/apps/get-started/windows-developer-glossary.md
Product: reunion
Technology: get-started
GitHub Login: @MatchaMatch
Microsoft Alias: mikben

Broken link.

The links are working again. Thanks for letting us know.


feat: add support for AWS Profile for aws ecr get-login-password cmd

I've added the --profile parameter w/ value from ${var.aws_profile} variable to the aws ecr get-login-password… command to support setting/ overwriting this in terraform.tfvars.

@semanticdreamer love it! I've approved - will let you do the honors.


Python wrappers

Thank you very much for making this fantastic code public! I think it has some great potential applications in analyzing numerical solutions to partial differential equations (e.g. fluid flow simulations). In this area, many people do data analysis in a language like Python, so I'm curious if you happen to have or might be interested in helping to produce Python wrappers for some of the functionality of the code? For example, wrappers that can directly take arrays describing a set of curves, and returning the linking numbers, rather than passing them through serialization to BCC files. I don't have much experience wrapping C++ code in Python but am happy to give it a shot, I just wanted to check if anyone on your team had already given this some thought. Thanks again!

Hi,
Thanks for asking about this! I don't have much experience with (or the bandwidth to add) python wrappers, so unfortunately I won't be able to do this. It is a very good suggestion that would be useful to a lot of people, and it would be great if anyone can help with this!
Here are two other solutions that you can try purely with python (they are not ideal, in that they might be more work than just writing wrappers):

You can try to write BCC files from your data in Python, then call verifycurves from the command line. This is likely the easiest solution. It's a simple binary file format; after the header, for each curve it's just the curve size (as a 32-bit integer) followed by the curve coordinates (as an array of single-precision floats). See the bottom of this page for the file specification, and this page for a tutorial in C++ which you need to translate to python. Note that the second code section in the tutorial has a bug in it --- it should actually be something like this:

std::vector<cy::Vec3f> controlPoints( header.totalControlPointCount );
std::vector<int> firstControlPoint( header.curveCount + 1 );
std::vector<char> isCurveLoop( header.curveCount );
cy::Vec3f *cp = controlPoints.data();
int prevCP = 0;
for ( uint64_t i=0; i<header.curveCount; i++ ) {
    int curveControlPointCount;
    fread(&curveControlPointCount, sizeof(int), 1, pFile);
    isCurveLoop[i] = curveControlPointCount < 0;
    if ( curveControlPointCount < 0 ) curveControlPointCount = -curveControlPointCount;
    fread(cp, sizeof(cy::Vec3f), curveControlPointCount, pFile);
    cp += curveControlPointCount;
    firstControlPoint[i] = prevCP;
    prevCP += curveControlPointCount;
}
firstControlPoint[header.curveCount] = prevCP;

You could output your vectors as line elements in the wavefront OBJ format (See here. Unfortunately I can't find any python OBJ libraries that output line elements from a quick web search and then use our obj2bcc converter followed by verifycurves. You can write your own OBJ file writer in python; this might be just as hard as a BCC writer.

Good luck, and let me know if you are still stuck!

Ok, we've already written functions for writing BCC files from Python arrays, so we can definitely go that route for now, but of course it would be great to have wrappers that don't require serialization, eventually.  We'll keep you updated!


community support / getting started?

This isn't really an "issue" - so feel free to close immediately :)
In the meantime...

Is there a recommended place for asking one-off and getting-started type questions?
Are there tutorials available for using filament in VR environments?
Are there tutorials that discuss how to mix filament with other rendering needs, like maybe for switching to another shader for a particle emitter?

Thanks!

It's fine to ask questions using GitHub Issues.  Filament can be used to render particles, we have a demo for it (point_sprites.cpp).  We have tutorials for JavaScript clients, and plan on writing some for Java / C++.

Thanks!
I see the VR question is being dealt with here so I'll leave that for now :)
I have another getting started question:
What is the recommended workflow for getting a scene from Blender into Filament?
The JS tutorials convert a OBJ to filamesh, convert materials, and then imperatively create lights/cameras. But what if I set up a scene in Blender - do I export each object and texture image and then copy values over to code, or is there an easier way to like export a glTF or something and batch convert everything filament needs?

The newest version of Blender has a built-in gltf exporter, you can export (either gltf or glb) and use our gltfio library to load it into Filament.  See our gltf_viewer (c++) and gltf-bloom (kotlin) samples.
The filamesh format is useful for simple applications, but we should probably update our tutorials to use a glTF-based workflow.

my target is specifically webgl for now. does the gltfio library fit into that flow somehow?
would be great to see updated javascript tutorials that work with gltf :)
also - don't additional material settings get lost when using gltf? I see @romainguy requested clearcoat for a future gltf version here, for example

For now you can look at the helmet.html sample to see how to use gltfio from JavaScript.
You're correct that Filament's material model isn't designed around glTF, but personally I'd still recommend glTF for your asset workflow, unless you're building something that needs customized shading.


Add docs for inter-data-node TLS

Please document this change:
https://github.com/influxdata/plutonium/pull/2857
This only affects data nodes. The following config options have been added:
[cluster]
  https-enabled = true
  https-certificate = "/etc/ssl/influxdb.crt"
  https-private-key = "/etc/ssl/influxdb.key"
  https-insecure-tls = true

This is very similar to meta node TLS:
https://github.com/influxdata/docs.influxdata.com/issues/1285
URL for relevant page?
https://docs.influxdata.com/enterprise_influxdb/v1.6/administration/config-data-nodes/#cluster-settings
What products and version are you using?
1.7.2
Where did you look before opening the issue?

Added to 1.7.2 Enterprise docs pending release.


Document Unique Id for Meetings originating from Exchange or Gmail

Hi Guys
I'm trying to integrate the domino calendar service in one of our web portals.
Usually we are getting back a list of events from the calendar service where the id property is something like "id":"D860077416285DBEC1258226003652FE-Lotus_Notes_Generated". With this I'm able to extract the document unique id and build a link to open the meeting in iNotes.
This works perfectly for meetings created in Notes. Unfortunately this is not valid for meetings which are comming from the outside world like Exchange or Gmail. For this kind of meetings the service is providing an id something like this: "id":"040000008200E00074C5B7101A82E00800000000004089BAF6D7D30100000000000000001000000004E6C04C43F3CA42AAFFAEB6928854FF".
After some research I've found that this is the id stored in the item $ICAL_UID of the meeting document.
I've also tried to open the event detail by GET/{folder}/{database}/api/calendar/events/{uid} but this is not providing an proper document unique id as well. Or do I miss something?
So can you tell me how I can get rid of my issue? Or is there an easy way to extend your service to fulfill my needs? Or maybe you guys could enhance your service with this useful property? An statement from your side would be appreciated! Thanks!
Regards
Artur

Yes.  The JSON "id" property property maps to the UID property in iCalendar.  As you have discovered, it is different than the UNID in Notes.  When a meeting originates outside of Notes (e.g. Gmail), the iCalendar UID is completely up to the external product.  This makes sense when you consider that UID is the key for all scheduling workflow between heterogeneous products.  The originating product gets to decide the value of that key.
Unfortunately, the Domino calendar API doesn't directly expose the Notes UNID of an event.  So you aren't missing something.  We could consider this as a future enhancement, but it gets very tricky for repeating events.  In Notes, a repeating event sometimes corresponds to multiple documents -- each with it's own UNID.  In other words, UID-to-UNID may be a one-to-many relationship.
We have discussed this enhancement in the past, but the repeating event use case has always been the deal breaker.  Sorry.

Hi Dave
Thanks for your quick reply. Well this will make my boss unhappy... I have just one remark. You're saying that you have not implemented the Notes UNID as a json property because of repeating events... But on event documents originating from Notes it is exactly the Notes UNID in the id property just enriched with a post fix nobody is understanding for what this postfix is good for. Anyway, what I like to say isn't the argument of repeating events as the reason to not implement the Notes UNID a little bit contradictory? I mean the Notes UNID is already stored in the id property of Notes meetings so why not for the others I am asking my self. At the end of the day both are simple Notes documents isn't it? Well I do not have to understand everything on this whole wide world. Thanks!
Regards
Artur


Crash

Hi, everyone.
If I load:
aux : forall (a : Type, b : Type, r : Nat=, s : Nat=) . (a |r| -> b) -> (a |1| -> b)
aux f |x| = f |x|

into Grin, then I get the following:
Granule> :l examples/Monoidal.gr
grin: Kind error trying to generate SNat Discrete <symbolic> :: SInteger <= SNat Ordered <symbolic> :: SInteger
CallStack (from HasCallStack):
  error, called at source/Checker/Constraints.hs:360:4 in granule-<IP_ADDRESS>-GZIecH9ynkF9sN7rYMiXAg:Checker.Constraints

I believe this has gone away now in the over haul of the kind system and the introduction of usage intervals. This example as is, is no longer typable anyway. A related, typable example would be:
aux : forall (a : Type, b : Type, r : Nat) . (a |1..1| -> b) -> (a |1..(r+1)| -> b)
aux f |x| = f |x|


Package is being compiled with C, it doesn't require that now?

Comment:
With the addition of tsdownsample, I believe there is no need for this package to be compiled. This package, via pypi,  easily runs on my macOS ARM chipset, but the package here is being compiled in a way that won't allow for it to install.
Is it necessary to build this with C still?
See release notes for 0.9.0 > https://github.com/predict-idlab/plotly-resampler/releases/tag/v0.9.0

Specifically, these lines:
https://github.com/conda-forge/plotly-resampler-feedstock/blob/3914f4e69ec28970b35af4a2f148faac4c1ab97a/recipe/meta.yaml#L19-L21

Oh, possibly? We can try to see if we can go back to noarch.

Mostly now we need to figure out how to deal with these Python version dependent pins for numpy I think.

Yeah... Poetry is killing us on that one...

I've attempted to adapt the pyproject.toml file into the recipe/meta.yaml file here: https://github.com/darynwhite/plotly-resampler-feedstock/blob/main/recipe/meta.yaml

We cannot do that for noarch.

So I can learn a bit more about conda-forge feedstocks, could you explain, briefly, why it won't work?

We can make it work without using noarch, which is when the package has not architecture-dependency requirements. This saves a lot more resource as Conda will build purely python package as intended. A side effect of this is that there can't be also dependencies that varies with different versions of Python, because then technically there can't just be 1 binaries that work for all intended environments. We can remove noarch and use the numpy dependencies as specified in pyproject.toml but then we'll need to do a matrix build that uses a lot more resource. It's win some lose some I'm afarid.

Thanks for explaining this!
I was testing different sets of things for the recipe/meta.yaml locally yesterday and noticed the matrix build until setting noarch: python and removing the second numpy requirement. Your explanation makes it all clear to me.


[BUG] - Semantic colors do not carry the specified prefix in the config

NextUI Version
<EMAIL_ADDRESS>Describe the bug
Semantic colors (as defined in the docs) do not get prefixed if you provide a prefix in the NextUI config. This results in a conflict between my globals.css (Next.js) and Nextui's colors, causing globals.css to override the colors.
This is particularly the case when using Shadcn's globals.css theme setup.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue

Create any project with any framework.
Set up NextUI & Tailwind
Add a css variable pointing to a color that's also used by NextUI (eg.: --primary) to the :root
Render a NextUI button with color="primary"
Observe how the button gets the background from the globals.css and not from it's own config.

Expected behavior
I would expect that semantic colors also get prefixed with nextui (or whatever you set in the config), resulting in no conflits.
Screenshots or Videos
No response
Operating System Version
macOS (unrelated)
Browser
Chrome

It somehow got prefixed now. False alarm!


Error 404 sending to remote server

I have setup my pi as the client and I have a remote connection to the server side, all is well but I'm having issues sending the data to the remote server.
https://pastebin.com/skYsq0wk
Thanks.

What's your hostname set to in your client's config file?

Looks to me that it's hitting the home page and not the API
You need to make sure that HOSTNAME is the client config is set to

"hostname": "http://XX.63.26.185:3000/",

As per Marshy's comment (which i just fixed lol) you need to put the full path to the api in there.
so it would be "hostname": "http://XX.63.26.185:3000/api/messages"

Wow, things that can happen when you add a "/" at the end.

Yeaaah that shouldn't happen... it should be smart enough to deal with that :D Will reopen and fix!

Should be able to do soemthing like this
function stripTrailingSlash(hostname) {
    if(hostname.substr(-1) === '/') {
        return hostname.substr(0, hostname.length - 1);
    }
    return hostname;
}

Just wanted an update on this?  Has this been pushed?

I haven't seen a commit for it yet.
Unfortunately @davidmckenzie @marshyonline and myself have all been busy with life stuff recently. Personally i haven't really had a chance to do much of anything with pagermon recently.

I don't think we have pushed a fix to strip the tailing slash
Quick way to fix on your end is to remove the trailing slash from the hostname

Okay.

This is fixed in https://github.com/pagermon/pagermon/pull/233

This will be fixed in v0.3.0 ... closing 😁


Title kinda explains most of it, ngl.
https://github.com/AnyiLin/Pedro-Pathing-Quickstart/tree/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing
The 4 READMEs in the link above are literally what my team and I used to tune Pedro w/ OTOS, they are more comprehensive overall and have more details that are genuinely useful. If you don't include them, please at least list them out in the intro/overview page. I noticed that the Pedro OTOS page is lacking in detail specifically.
Also, please create a better introduction/overview page with links to the official quickstart, path visualizer (yes O know its somewhere else in the readme buy whatever), and the other stuff in the !pedro command on FTC Discord. Basically, more links in there.
Also include link to Pedro discord and help categories.

Okay we will work on it, thank you!

Updated Intro Page


For issue_#1211

Changed log

Fix the #1211 and #1221.
Since the PHP-8.0 version is released, it seems that the patterns in configure and build/Makefile.global files are changed. And it should modify pattern in src/PhpBrew/Patches/Apache2ModuleNamePatch.php file to let the Apache2 module for PHP 8.x can have the version information.
This PR is the hot patch and it doesn't have the test, but it has the following steps to verify this PR.
The detailed explanation is available here.

The PR Verification

Prepare the clean and fresh Ubuntu 20.04 Linux distribution.
Switch the user to be the root user.
Installing the required packages to run the PHPBrew. Please refer here.
Running the sudo apt-get install libonig-dev command for compiling mbstring extension.
Running the git clone https://github.com/peter279k/phpbrew --branch issue_#1211 command.
Running the cd phpbrew/.
Download the composer.phar with running the curl -sS https://getcomposer.org/installer | php command.
Running the php ./composer.phar install -n command.
Running the cp ./bin/phpbrew /usr/local/bin/phpbrew command.
Running the phpbrew init and echo "[[ -e ~/.phpbrew/bashrc ]] && source ~/.phpbrew/bashrc" >> ~/.bashrc commands.
Running the source ~/.phpbrew/bashrc command.
Running the phpbrew update command.
Running the phpbrew install 8.0 +default +apxs2=/usr/bin/apxs2 command.

Related building log
After running above steps, it can see that the Apache2 module for PHP 8 has the version info.
Here are some building logs about compiling the PHP 8.0.19 version:

The running PHPBrew log is available here.
The PHP 8.0.19 compiling log is available here.

@c9s, please review this PR at your available time. Thanks 🙏.

@peter279k thanks, will check this later 👍

Awesome!!!! thank you!!


Newbie (Game refusing to TEST)

Hi,
First and foremost, your engine is AMAZING! I can not say that enough, I'm just impressed with the features I can see (depth of field and stuff). Plus, I played the Android games from the App Store.
I have a challenge with my first attempt at using the engine. I've used Construct2 and Adventure Game Studio but Bladecoder is new to me.
My challenge is, I'm learning by doing. So I've started a game. Unfortunately this game wont do a "Test" so that I can see how things are running. It's giving me the errors I've attached in the images below. Are you able to assist me in layman terms, how to fix this? The solutions I'm finding on Google, either don't apply to me or they have a high skill level of assumed knowledge.
I can see that this seems to be JAVA related, but any help you can give me would be greatly useful.
I feel so stuck!

Hi, @Totally2d,
I need more info to understand the problem:

The screenshots are almost the same, can you put the missing part of the top, please?
Which version of the engine are you using? Can you attach the gradle.properties of you project?

Cheers!

Hi,
Thank you for the prompt reply. I've never worked with Gradle before, so let me know if the info I got helps.
I've attached images of the entire message.
Plus I checked the Gradle file I downloaded and installed today its "gradle-core-2.3.0". I also found a file named (gradle.properties) which has this info:
#Thu Feb 08 14:39:40 CAT 2018
roboVMVersion=2.3.3
spinePlugin=false
gdxVersion=1.9.8
org.gradle.daemon=true
bladeEngineVersion=2.0.0
org.gradle.jvmargs=-Xms128m -Xmx1536m
bladeInkVersion=0.4.4
roboVMGradlePluginVersion=2.3.3
version=1
appName=Testingblade
org.gradle.configureondemand=true
androidGradlePluginVersion=2.3.0

Ok, the problem is with your java install. You have installed the JRE but you NEED the JDK.
You have to uninstall your Java and download and install the JDK here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Thank you so much!!!! Let me do that and tell you what happens.

My internet connection is a bit slow, so I'll keep the download running as long as it but as soon as it's finished I'll let you know the outcome.
Thank you again for such an amazing engine.
I still have a lot to learn but I'm looking for every Bladecoder tutorial video I can find.
My first games with your engine are oing to be short simple, so that I can see how things work.
I'll be in touch when my download & install ends.
Tafadzwa

Thank you!!!
The problem has been solved 😃
I can now resume my learning!

That's great. I close the issue.


Scrollbar theme remains default light mode even when scaffoldEthDark theme is active

Why not create a custom scrollbar that updates based on website theme?
Currently only browsers default light mode scrollbar appears on both the themes.

For reference I have implemented it in my project:
https://github.com/kevinjoshi46b/lsd/blob/396bcd87e37b60b7e19218477e5c2fc3184cf26f/packages/nextjs/styles/globals.css#L34-L48

Tysm @kevinjoshi46b this is really nice suggestion it looks cool, but I think we are trying to restrain ourselves from presetting any global defaults to keep things minimal and simple
Also, I remember ::-webkit-scrollbar has not become a standard yet checkout MDN docs...So it might be great if we delegate this to the user 🙌

@technophile-04 Ohhh I wasn't aware it isn't a standard. Fair it does make sense to delegate it to users 🙌


add QuantumOperators module and refactor Graph

add QuantumOperators module;
refactor Graph;
add feynman_diagram construction;
add tests of quantum_operator and computational_graph.

Codecov Report

Merging #73 (2fb5f2f) into dev (48ee9bc) will increase coverage by 6.07%.
The diff coverage is 59.50%.

@@            Coverage Diff             @@
##              dev      #73      +/-   ##
==========================================
+ Coverage   46.25%   52.33%   +6.07%
==========================================
  Files          40       41       +1
  Lines        2633     2608      -25
==========================================
+ Hits         1218     1365     +147
+ Misses       1415     1243     -172

Impacted Files
Coverage Δ

src/FeynmanDiagram.jl
41.66% <ø> (ø)

src/computational_graph/ComputationalGraph.jl
0.00% <ø> (ø)

src/computational_graph/common.jl
17.64% <0.00%> (+17.64%)
:arrow_up:

src/computational_graph/io.jl
0.00% <0.00%> (ø)

src/computational_graph/graph.jl
48.85% <48.85%> (ø)

src/quantum_operator/operator.jl
82.60% <82.60%> (ø)

src/quantum_operator/expression.jl
83.56% <83.56%> (ø)

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


stream.deserialize buffers everything

https://github.com/mapbox/tilelive.js/blob/master/lib/stream-deserialize.js#L19
It doesn't look like this stream's _buffer member is reset to a value other than "all of the data"

The deserialize transform stream stores incomplete lines at _buffer as chunks come in and then replaces this value wholesale here https://github.com/mapbox/tilelive.js/blob/master/lib/stream-deserialize.js#L27 on processing each chunk.
Is there something I'm missing?

:+1: was misreading it.


Unknown target framework moniker

https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/blob/e57fc2470b80ac277d2ccaf6b1336580ec3c88c9/src/DacpacTool/DacpacTool.csproj#L5
netcoreapp5.0 should be net5.0
The test project targets net5.0. In Visual Studio that leads to the error message:

Project '....\src\DacpacTool\DacpacTool.csproj' targets 'netcoreapp2.1;netcoreapp3.1;netcoreapp5.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v5.0'.

Hmm, I believe that netcoreapp5.0 and net5.0 are actually synonymous. The reason we're using netcoreapp5.0 is because of this check.
I haven't had any problems with it so far to be honest, although I haven't opened the solution in Visual Studio at all. I usually use VS Code which doesn't seem to have any issues with it.

You could be right in that netcoreapp5.0 can still be used. The error that I got, made me look for it in the docs. The moniker netcoreapp5.0 is no longer official: https://docs.microsoft.com/en-us/dotnet/standard/frameworks
On the bright side: I got the error because of a newer .NET5 SDK and an old(er) version of Visual Studio.
The following line will also need to be changed:
https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/blob/e57fc2470b80ac277d2ccaf6b1336580ec3c88c9/src/MSBuild.Sdk.SqlProj/MSBuild.Sdk.SqlProj.csproj#L34
And then of course the line you mentioned (and the error message below it) should use MicrosoftNETBuildTasksTFM which translates to netcoreapp2.1 or netcoreapp3.1 or net5.0.

I wonder how long MicrosoftNETBuildTasksTFM has been there. I remember looking for something like that but I wasn't able to find it. I guess we could try changing the logic to depend on that property instead of BundledNETCoreAppTargetFrameworkVersion and then see what CI thinks of that. We already build with different versions of the SDK anyway, so if older versions didn't have it it would probably fail ;).

I edited my comment above. Turns out SDK 2.1 sets $(MicrosoftNETBuildTasksTFM) to netstandard2.0.
Bummer.

I guess it is time to drop support for .NET Core 2.1 anyway since it has gone out of support anyway.

I'm thinking that maybe we should do a 2.0 release in which we drop support for .NET Core 2.1 (since it is out of support) and add support for .NET 6 (since that is now Go Live) and include all of the other changes and include this change as well. For people that are still on .NET Core 2.1 they can stick with version 1.16 for now, but my guess is that most people use at least 3.1 so they can easily upgrade to 2.0.
@jeffrosenberg @ErikEJ What do you think?

Good idea, maybe it should stay as 2.0-preview until 6.0 RTM?

Yeah, that makes sense.

Sounds good to me!

https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/blob/addbf26c69f00a2faaae71e3d993636d75772f69/version.json#L3
Does the pipeline change this automatically, or can I just replace this with 2.0-beta?

Yeah, that should probably be updated to be 2.0.0-beta.{height}. It is used by the pipeline to calculate the final version number automatically.

I can get the MSBuild.Sdk.SqlProj itself to build nicely for target  framework net6.0.
However, building one of the test projects while using the net6.0 SDK fails with the following message:
  Determining projects to restore...
  All projects are up-to-date for restore.
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  Using target framework net6.0 to run DacpacTool
  Using package name TestProject and version 1.0.0
  Setting property ServiceBrokerOption to value EnableBroker
  Setting property RecoveryMode to value Simple
  Setting property AllowSnapshotIsolation to value True
  Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
   ---> System.PlatformNotSupportedException: Strong-name signing is not supported on this platform.
     at System.Reflection.AssemblyName.get_KeyPair()
     at Microsoft.Data.Tools.Schema.Extensibility.ExtensionTypeLoader.ExtensionAssemblies.CreateAssemblyName(String partialName, AssemblyName templateName)

The command leading to this exception:

/Sdk.targets(228,5): error MSB3073: The command "dotnet "/Sdk/../tools/net6.0/DacpacTool.dll" build -o "obj/Debug/netstandard2.0/TestProject.dacpac" -n "TestProject" -v "1.0.0" -sv Sql150 -i "obj/Debug/netstandard2.0/TestProject.InputFiles.txt"   -p ServiceBrokerOption=EnableBroker -p RecoveryMode=Simple -p AllowSnapshotIsolation=True         " exited with code 1.

Adding a global.json to force SDK 5.0.401 resolves the issue, so I find it reasonable to assume that the problem is related to using the current net6.0 SDK.
Any ideas on how to solve this?

That's an interesting error. I thought .NET Core has never supported strong-name signing, but perhaps they've only started throwing exceptions when trying to use it with .NET 6.
Do we know where this occurs in our code? The TargetInvocationException suggests this is coming from some code that we're calling through reflection. This sounds like an issue in the DacFx assembly, so maybe we can file that here.

I've asked about it here: https://github.com/dotnet/core/issues/6688#issuecomment-921204627
Let's see what comes back...

The MSBuild fix https://github.com/dotnet/msbuild/pull/6395 modified only the Microsoft.Build.BackEnd.TranslatorHelpers class, which also appeared in the stack trace in https://github.com/dotnet/msbuild/issues/6389. Because your stack trace does not include that class, I don't think the MSBuild fix can help solve this issue.

I'm afraid you are correct.

I really think this is an issue in DacFx and has to be fixed there. Unfortunately that isn't open source yet. But they do have a repo for filing issues [here[(https://github.com/microsoft/DacFx/issues).

See Microsoft/DacFx#33

It seems that the 16.x preview release of DACFX solves the issue, so that's the good news. Unfortunately it seems that we can't use MicrosoftNETBuildTasksTFM to reliably determine the correct version of DacpacTool to run either since it is set to netcoreapp2.1 even for the .NET 3.1 SDK release (see here) for which we're trying to drop support.

So I've gone back to using BundledNETCoreAppTargetFrameworkVersion and then special casing .NET Core 3.1 to use netcoreapp as the prefix, while for other versions we use net as the prefix. Since we're dropping support for .NET Core 2.1 I think that'll be fine for now. I guess we could remove it again once 3.1 goes out of support.


Load Testing: Measurements - Celery - deliver_sms

Issue
We do not currently know how long "deliver_sms" takes to complete. Without knowing how long it takes to complete we are unable to identify abnormalities or expected throughput for our system.
Find and implement a way to measure how long the method takes to process so we can create metrics. This could take many forms, but the key is to identify the time difference between when the method was called and when the method responds.
Checklist

[ ] Measurement of time for each call to the method is stored somewhere

[ ] Preferable to know if the method ran clean or if it hit an error (but not necessary for MVP)

Hey team! Please add your planning poker estimate with Zenhub @cris-oddball @EvanParish @ianperera @jakehova @k-macmillan @kalbfled @ldraney @trevor2718

Goal: Find a way to aggregate the logs similar to this output:

I'm currently talking to Cris to make sense of the situation with her expertise and my naivety.  So first, the relevent deliver_sms function is mentioned in:
./tests/app/user/test_rest_verify.py
./tests/app/public_contracts/test_POST_notification.py
./tests/app/celery/test_provider_tasks.py
./tests/app/celery/test_tasks.py
./tests/app/v2/notifications/test_post_notifications.py
./tests/app/notifications/test_process_notifications.py
./tests/app/notifications/rest/test_send_notification.py
Whereas in app/celery/provider_tasks.py it is defined and in app/celery/tasks.py it is being used...
It's also in app/notifications/process_notifications.py
Also the end point notifications/sms is referred to in the following files:
./load_testing/send_sms_load_test.py
./lambda_functions/user_flows/steps.py
./documents/openapi/openapi.yaml
./documents/openapi/openapi-with-push.yaml
./tests/app/public_contracts/test_POST_notification.py
./tests/app/v2/notifications/test_post_notifications.py
./tests/app/notifications/rest/test_send_notification.py
./scripts/postman/notification-api.postman_collection.json
./app/v2/notifications/notification_schemas.py

The logs that Kyle wants me to get are from cloudwatch, so to get access to those logs through datadog I need to reference this documentation:

Another relevant file:
/notification-api/.github/workflows/load-test-sms-response-time.yaml

Perhaps the first step forward is adding prod-notification-api-log-group to datadogs Logs
My blocker here is I want to see our AWS log groups from my own CLI rather than GH Actions, since learning about our infra through Actions is a pain.
I also need to learn how to enable Datadogs Collection and Integrations with our desired log group...
I can see that we already have some log groups with datadog in vanotify-infra/cd/application-infrastructure/monitoring.tf, but I can't find a way to access the groups from the Datadog dashboard.

Another potentially relevant/useful file is Send AWS Services Logs With The Datadog Lambda Function

The flask POST response that is going to our log group on AWS is associated with these files:
./tests/app/public_contracts/test_POST_notification.py
./tests/app/v2/notifications/test_post_notifications.py
./tests/app/notifications/rest/test_send_notification.py

@ldraney anything in ./tests/app/ are unit tests, which all use mocks.
The API route in question is v2/notifications/sms - probably a good place to start is with the Postman collection, and that endpoint, noting that it takes a little effort to get the Postman collection set up with the correct env vars and an api key to be able to make calls. Any dev should be able to assist (or I can).

The most helpful and relevant Datadog docs are the following:

Essentially for monitoring, "to monitor your ECS Fargate tasks with Datadog, run the Agent as a container in same task definition as your application container."
Essentially for log aggregation, we either need to set up an ECS file or follow the guide to Docker Log Collection

We already have the above document applied to notification/api/cd/application-deployment/dev/vaec-celery-task-definition.json

Here is the exact Terraform guide to set up the Lambda Forwarder to get the logs to Datadog.

The first part of the Terraform guide was complete, in that the dd_api_key was set up.
But we do not have the datadog-forwarder lambda set up yet!

Made first changes to branch 966-deliver-sms-data, I'm not sure if this lambda should be deployed from utility-infrastructure or another directory... though it probably doesn't matter.

I'm getting close to having the forwarder deployed!  Now I'm battling the fact that utilities-infrastructure never had a development.tfvars file!  So, I'll probably have to go through these .tf files and set one up myself.

Back on this issue.  I recently found this command produced some logs with the desired information:
But, I need to parse out what we need.  So, I'm looking at this aws documentation for log queries.

I wrote a query that gives the desired output in the CloudWatch Logs Insights console:
But, the problem is still being confined to the AWS GUI; and the point of this project is to create useful metrics.  So, first I will make a successful CLI query; A successful CLI query output is a key indicator for this project, because then we can make metrics from a python script.
Then final leg of this project would be: can and how does Datadog make this easier?

The following script will get the desired logs into a file called query-results.json.  (I'm not really sure if the output is json but looks like it.)
#!/bin/bash
aws logs start-query
--start-time $((date -d "2022-12-07 00:00:00" -u +"%s" * 1000))
--end-time $((date -d "2022-12-19 00:00:00" -u +"%s" * 1000))
--limit 4
--log-group-name "prod-notification-api-log-group"
--query-string 'fields @message
| filter @message like "POST"
| filter @message like "INFO"
| filter @message like "sms"
| filter @logStream like "ecs/notification-api" '
--region us-gov-west-1
--output text > /tmp/query.txt
echo "sleeping three seconds..."
sleep 3
aws logs get-query-results
--region us-gov-west-1
--query-id "$( cat /tmp/query.txt )"

Output looks like this:
2022-12-18	23:15:16,091	https://api.notifications.va.gov/v2/notifications/sms	201	0.16541"
2022-12-18	23:00:24,659	https://api.notifications.va.gov/v2/notifications/sms	201	0.14184"
2022-12-18	23:00:17,470	https://api.notifications.va.gov/v2/notifications/sms	201	0.16029"
2022-12-18	22:45:28,809	https://api.notifications.va.gov/v2/notifications/sms	201	0.15200"
2022-12-18	22:30:23,311	https://api.notifications.va.gov/v2/notifications/sms	201	0.15434"
2022-12-18	22:01:56,075	https://api.notifications.va.gov/v2/notifications/sms	201	0.13331"
2022-12-18	22:01:32,398	https://api.notifications.va.gov/v2/notifications/sms	201	0.12127"

And the script can be adjusted for different log groups, most recent, how many logs you want, etc.
outputs to /tmp/metric-data.txt

@ldraney I think the task asks to report on celery, not the api, "how long "deliver_sms" takes to complete".
The above metrics are pretty much what Locust is already providing me for the API route call.  We need insight into how Celery (the queue) is performing.  Could be as easy as changing this line to point to celery  filter @logStream like "ecs/notification-api" ' \
I believe there are ways to get those celery metrics into DD directly (Google says so, anyhoo).

@cris-oddball    Good catch!  I changed the filter to ecs/notification-celery and deleted POST and INFO filters, and got useful data!
However, you're right that DD is the way to go, so I'll be focusing on that for the next sprint and put this in our glossary meanwhile.

I updated our Teams Repo (AKA the glossary, right?)  And now am hoping to close this ticket.

@ldraney you can set it to Done, but not Closed, please.


Update files -> example path in config.json

The existing exercises store the example file as Example.cfc not Solution.cfc. I think Solution.cfc was intended to be used with the exercise generator, but the fact the exercises use Example.cfc should trump that.

@ErikSchierboom, can I get a review and merge for my five open PRs here? Thanks in advance.


2.x Fix URLHelper methods is_local and is_external

Related:

#2766

Issue
The is_local() and is_external() methods use strstr() on the entire $url argument to indiscriminately search for the current host (see get_host() method). If ever the given $url includes the current host in a subset of the host or a non-host position, the aforementioned methods will return a false positive.
Solution
Change the logic to match the $url argument's host against the current host, instead of searching the entire URL.

Modified method is_local() to match the URL's hostname against the current host.
Modified method is_external() to use is_local().

Impact
Fixes various false positives but could in itself create unexpected false negatives in existing projects using Timber?
Usage Changes
No changes.
Considerations
Open to considerations.
Testing
Tests have been updated but I am unable to run them locally due to a mysterious segmentation fault.

Hi @Levdbas, I've updated the docblocks for is_local and is_external.
I've also made fixed a merge conflict and improved handling of local URLs.

@mcaskill Thanks for the updated PR!
I added some more changes in https://github.com/timber/timber/pull/2782 that I want your opinion on.
In https://github.com/timber/timber/commit/8d06cf830efb727f288b11aac8a6d6bd5fa308cf, I added some more tests to make it more explicit what we check against.
With that, I found that passing a domain only without a scheme is always returning false. As a developer that uses that uses these functions, I would think that passing a domain only should work, too. So I added a check to catch that by adding a // scheme if the URL doesn’t contain one.
What do you think of that? Would it make sense to include that?

In 8d06cf8, I added some more tests to make it more explicit what we check against.
With that, I found that passing a domain only without a scheme is always returning false. As a developer that uses that uses these functions, I would think that passing a domain only should work, too. So I added a check to catch that by adding a // scheme if the URL doesn’t contain one.

Good catch. I absolutely agree with these extra checks.

Perfect, thanks for the feedback 👍. This is now merged into 2.x.


webvisor does not work in yandex.metrika

Version
v2.4.5
Reproduction link
http://nothing
Steps to reproduce
include to the project https://github.com/nuxt-community/modules/tree/master/packages/yandex-metrika
What is expected ?
webvisor is vorked
What is actually happening?
webvisor is not vorked

This bug report is available on Nuxt community (#c9775)

Its not issue with nuxt itself. please create issue in proper project e.g.  https://github.com/nuxt-community/modules


Symbol mode not outputting css

When using these mode settings the css file(s) for symbol mode do not get created. The view mode CSS/LESS/SCSS files do get created, however.
mode: {
  view: {
    render: {
      less: true,
      scss: true,
      css: true
    },
    example: true
  },
  symbol: {
    render: {
      less: true,
      scss: true,
      css: true
    },
    example: true
  }
},

Hi @iansoper,
the symbol mode generally doesn't create any CSS as this type of sprite is not suitable for being used via CSS (it's a "foreground image sprite" only). The <symbol> elements contained in the sprite are not rendered until you <use> it somewhere (inline) in your HTML.
Cheers,
Joschi

Ah, forgot to mention: For the above mentioned reason, the symbol mode also doesn't have a render option!

That makes sense, thanks for clarifying.

But wouldn't you still need the dimensions in CSS? When using symbol output and creating an example, the generated HTML-file has the following comment:
Sprite shape dimensions
====================================================================================================
You will need to set the sprite shape dimensions via CSS when you use them as inline SVG, otherwise
they would become a huge 100% in size. You may use the following dimension classes for doing so.
They might well be outsourced to an external stylesheet of course.

And then some inline CSS with the dimensions of the SVG symbols, e.g.:
.svg-svg--logo-dims { width: 139px; height: 65px; }

Is it not possible to have this CSS output to a separate file?

Good point. Let me think about this. Will get back to you later.

I just pushed a new version out the door that supports creating a dimensions stylesheet along with non-CSS sprites (defs, symbol and stack mode). However, this is not really documented anywhere yet. Just use it as you would do with the CSS sprite types (css and view). Please let me know if you need further assistance.

@jkphl It looks like the mode..dimensions doesn't work with value TRUE (as it is noticed in the documentation, but it should work now, doesn't it?)

@LostSenSS I can't confirm this. For me, a basic configuration like
var config = {
	mode: {
		stack: {
			dimensions: true,
			render: {
				css: true
			}
		\
	}
}

just works fine. Could you please post your full configuration?

@jkphl My configuration:
default: {
    options: {
        shape: {
            id: {
                separator: '-'
            }
        },
        mode: {
            stack: {
                sprite: 'sprite.svg',
                render: {
                    scss: {
                        dest: '../../../css/blocks/_svg-dim.scss'
                    }
                },
                prefix: '.',
                dimensions: true
            }
        }
    },
    src: 'img/svg/**/*.svg',
    dest: 'img/svg-sprite/'
}

I tried your configuration but I got the same:
.img-svg-bd-dims {
	width: 15px;
	height: 9px;
}

.img-svg-menu-dims {
	width: 25px;
	height: 15px;
}

But I wanted to get:
.img-svg-bd {
	width: 15px;
	height: 9px;
}

.img-svg-menu {
	width: 25px;
	height: 15px;
}

@LostSenSS It seems like you misinterpreted what setting dimensions to TRUE is meant for. For non-CSS sprites («defs», «symbol» and «stack»), TRUE means essentially the same as not setting dimensions at all. Please try setting it to "%s" and let me know the results.

@jkphl Thank you very much, it works right. There is only one thing, prefix stopped work (dots in css disappeared), but I moved it to dimensions: dimensions: '.%s'

@LostSenSS Sorry, my fault: Please set prefix to ".%s"  and dimensions to "%s", that should work too (auto-prepending CSS selectors with a dot was remove in this svg-sprite commit).

@jkphl Looks like it doesn't work:
default: {
    options: {
        shape: {
            id: {
                separator: '-'
            }
        },
        mode: {
            stack: {
                sprite: 'sprite.svg',
                render: {
                    scss: {
                        dest: '../../../css/blocks/_svg-dim.scss'
                    }
                },
                prefix: '.%s',
                dimensions: '%s'
            }
        }
    },
    src: 'img/svg/**/*.svg',
    dest: 'img/svg-sprite/'
}

Result:
img-svg-bd {
	width: 15px;
	height: 9px;
}

img-svg-menu {
	width: 25px;
	height: 15px;
}

@LostSenSS Sorry, that was a bug which is now fixed with release v1.0.18.


make the tests pass by binding to available port as opposed to fixed …

…ports

Is the second commit intentional? It will be good to have a new branch for 1.2.x before moving up to 2.x.


Add a dummy cache when no policy is required

Coverage decreased (-0.04%) to 81.812% when pulling 343f9f19ec33c44aefd94063b313576acb5b5537 on adericbourg:none_cache into b203f460e01b8540795f406fd0215267ac6900e6 on criteo:master.

Coverage decreased (-0.04%) to 81.812% when pulling 343f9f19ec33c44aefd94063b313576acb5b5537 on adericbourg:none_cache into b203f460e01b8540795f406fd0215267ac6900e6 on criteo:master.


feat(notify): notify when the build fails

Fixes #153

Verified on OSX, Win8, and on at least one Linux distro

Got it in. Had to tweak a couple of things.


Google Chat groups

Hi,
I would like to know if it's possible to blacklist Google chat while allowing Gmail. is it possible? or not possible since it's embedded into Gmail?
thanks

Hi @SimKay1 thank you for this!
I am converting this to a discussion since it's out of scope as an issue.


Server will not start if failing to load modules

Describe the Bug
I've been using oh-my-posh for a while and today I wanted to try out Pode. When I try to start the pode server (pode start) it will throw an exception because there is a module it cannot load.
In my case, I found out that this was caused by oh-my-posh dynamically creating a module called "oh-my-posh-core". The module is listed when running Get-Module, but the path reported does not exist and is a guid that is new for each session.
PS> (Get-Module -Name oh-my-posh-core).Path
/Users/aa/3360407f-4100-4347-986d-002902c38c87

This can be fixed by changing -ErrorAction Stop to -ErrorAction SilentlyContinue in src/Private/Helpers.ps1 on line 912.
Is there a reason you want to use -ErrorAction Stop when loading other modules in Pode?
Steps To Reproduce
Steps to reproduce the behavior:

Use oh-my-posh to customize prompt in powershell
Create a basic Pode server from docs (server.ps1)
Run pode start

Expected Behavior
A clear and concise description of what you expected to happen.
Platform

OS: MacOS 12.6
Browser: N/A
Versions:

Pode: 2.7.1
PowerShell: PS7.2.6

Additional Context
Thrown error:
Import-Module: /Users/aa/.local/share/powershell/Modules/Pode/2.7.1/Private/Helpers.ps1:913
Line |
 913 |  …     $null = Import-Module $path -DisableNameChecking -Scope Global -E …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The specified module '/Users/aa/3360407f-4100-4347-986d-002902c38c87' was not loaded because no valid module file was found in any module directory.

at Import-PodeModules, /Users/aa/.local/share/powershell/Modules/Pode/2.7.1/Private/Helpers.ps1: line 913
at Open-PodeRunspace, /Users/aa/.local/share/powershell/Modules/Pode/2.7.1/Private/Helpers.ps1: line 603
at <ScriptBlock>, <No file>: line 1

Import-Module: /Users/aa/.local/share/powershell/Modules/Pode/2.7.1/Private/Helpers.ps1:913
Line |
 913 |  …     $null = Import-Module $path -DisableNameChecking -Scope Global -E …
     |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | The specified module '/Users/aa/3360407f-4100-4347-986d-002902c38c87' was not loaded because no valid module file was found in any module directory.

at Import-PodeModules, /Users/aa/.local/share/powershell/Modules/Pode/2.7.1/Private/Helpers.ps1: line 913
at Open-PodeRunspace, /Users/aa/.local/share/powershell/Modules/Pode/2.7.1/Private/Helpers.ps1: line 603
at <ScriptBlock>, <No file>: line 1
ParentContainsErrorRecordException: /Users/aa/.local/share/powershell/Modules/Pode/2.7.1/Private/Helpers.ps1:723
Line |
 723 |          throw $_.Exception
     |          ~~~~~~~~~~~~~~~~~~
     | Main runspace failed to load: The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to Stop: The specified module
     | '/Users/aa/3360407f-4100-4347-986d-002902c38c87' was not loaded because no valid module file was found in any module directory.

Hi @madsaune,
The -ErrorAction Stop is needed so that if there's a module that's needed for the running of Pode routes, Pode can stop immediately when importing the other modules, and inform you quickly rather than much later on - or if some runspaces do import a module successfully, but others don't.
You can disable the loading of other modules: https://badgerati.github.io/Pode/Tutorials/Scoping/#disable, or keep it enabled but specify that you only want Pode to import specifically exported modules rather than the default of everything.

Ah, I see!
I probably should have read the documentation more carefully. I didn't know you could disable autoloading. It works like a charm now.
Thank you for your time answering my issue and the work you've put into Pode. It's an awesome Powershell module!


[Issue 2722] Extension - Merge dApp request from both of interface into one interface

🚀 Deployed on https://pr-2746--sw-web-runner.netlify.app


Add dive tool for exploring each layer in a docker image

https://github.com/wagoodman/dive
Dive feels like the perfect tool to fit on the DevOps toolkit. It facilitates exploring a docker image, layer contents, and discovering ways to shrink the size of your Docker/OCI image.
Are you a GitHub Sponsor (Yes/No?)
Check at https://github.com/sponsors/alexellis

[ ] Yes
[x] No

Thanks for the suggestion.
@dirien what do you think?

@alexellis, definitely! Thats a really cool tool!

@alexellis @dirien will be sending a PR for this

@yankeexe, what do you think it would be the effort to build "groups" of tools. So if i would say arkade get dev-ops i get a nice bundle of, opinionated, dev-ops tools?

@dirien yeah I proposed something similar to @alexellis a while back, basically adding a new label element on the Tool struct and using enum kind list of items to choose from to label that tool would do.
So based on that label like you said the command could be:
 arkade get devops-tools,  arkade get security and such.

@yankeexe, I think that would give arkade such a unique feature. Having an opinionated bundle of the already hand-curated tools.

Yes it feels like an intuitive next feature for the tool.


POM update 0.2.0

Updating version to 0.2.0

Will tag it after this is merged; and then upload the tar.gzs.

Yes, I'll update the docs shortly, and link to the new documentation as well.


Updated content on error screen iOS 14 beta users will see

Test on iOS simulator which doesn't have the Framework so should be good on this.


Task: Add Hover Effect on Events Card

Description
The events cards (examples shown on homepage) currently do not have any interactability with the users. We can change this so that when the user hovers over an event card there is something more interesting that happens, like the card glows or it moves up by a few pixels.
Associated User Story
As a visitor, I want to see a short list of upcoming events on the homepage so that I can stay connected with the organization’s activities.
Associated Epic: Homepage

We need a mockup for this, so if anyone has any ideas, feel free to post a picture, a comment explaining the effect, link to an inspiration, etc.

We need a mockup for this, so if anyone has any ideas, feel free to post a picture, a comment explaining the effect, link to an inspiration, etc.

There could be a subtle hover effect added in the className of the EventCard component.
Example: hover:shadow-xl transition duration-300 ease-in-out
This would make it stand-out when a user hovers over each of the event cards.


Update token setting for delegate kubernetes yaml

Current document is showing token setting for legacy delegate. In ng, we have rolled out immutable delegate.
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

@xingchi-jin please review Katherine's suggested revisions and commit them if you agree with them or comment with reasons why the revisions are not correct. Thank you.

@xingchi-jin Hi Xingchi. I happened to notice this PR and it looks like something we need to finish up. A conflict had developed and I resolved it by eliminating the section of YAML you marked to be deleted. If you could read-through and commit my edits, if they are technically correct, we can merge this. Thank you.

Preview environment: https://ci.pr.harness.io/pr-531

Preview environment: https://ci.pr.harness.io/pr-531


Make the cmd-k panel prettier

The cmd-k panel for the docs at https://docs.railway.app/ isn't as pretty as the one for https://railway.app/

fax

Closing in favor of #249


After release, update dependencies with new script

After this PR has landed, we can add a simple step to update dependencies after a new release.

Done in https://github.com/FlexMeasures/tsc/commit/23f58b3238261ad95e2f6e3e494fc9729aa514ab


Feature/use wfi cycles for mhpmcounter11

This PR replaces the functionality behind performance counter 11 from Cycles waiting for multiply to complete to Cycles waiting in WFI instruction

@szbieg seems this is now conflicting with the main branch after merging the dv changes. Could you rebase to main and update the PR?

the commits of this PR have been rebased and can now be merged to main


Double check Litmus crowdloan reward amount

As @Kailai-Wang mentioned in https://github.com/litentry/research-force/issues/90#issuecomment-1040174477, it would be great if our Litmus crowdloan reward amount could be double-checked before the reward distribution happens on Litmus.
As a reference, this JSON file stores the calculated reward amount of each contributor. The format is like this:
[
    [contributorAddress, rewardAmount],
    ...
]

where rewardAmount is with the unit of 10^-12 LIT.
Please make sure to take the referral also into consideration.

Or @bdmason you can showcase how to get the data directly with the graphql interface by providing the query. 😸

Would be better if any of you can calculate the rewards again and this guarantees calculation or logic errors existing in my code. What do you think?

Or @bdmason you can showcase how to get the data directly with the graphql interface by providing the query. 😸

Sorry guys I've just seen this, already spoken to @h4n0, I shared the query for the graph on the original issue, and I'm going to double check all the logic now to make sure everything matches.

The reward result has been verified by @bdmason 's implementation (different implementation, different data source) and proven to be correct.


Google ReCaptcha Verification Bug In The Current Year of 2019

I hope that everyone has a Great Fourth of July if you are in the US! What better way to start this off by VERIFICATION!  Thus, I took screen caps of this verification bug.  It's pathetic, really, that this bug exists and it HAS NOTHING TO DO WITH MY BROWSER AND ITS SETTINGS.

Unrelated to client.


Add json environment runner

replace the current runners with an improved json environment runner

Thanks for doing this @albertchen-sifive, it's a much more useful example environment package than we had before.
I've been thinking a bit more and we may just want to implement our own semver comparison functions in wake itself since the python package doesn't provide very many, but I think we should leave that for future work. Great job!


Customer endpoint [GET] returns code 500

During testing of new Customer/Devices endpoints, the following issue was found.\
When calling /customers with [GET] the server returns HTTP 500.
Log from server attached.
customers_get_log.txt

to lathos einai sto column cust_contact_num_2, arxika sto models eixe ginei lathos kai upirxan 2 cust_contact_num


Cilium with etcd spams logs with "retrying of unary invoker failed"

Multiple users have reported seeing these messages in the logs when running recent (eg v1.6) releases of Cilium:
{"level":"warn","ts":"2019-12-19T17:25:29.221Z","caller":"clientv3/retry_interceptor.go:61","msg":"retrying of unary invoker failed","target":"endpoint://client-62c44804-9924-4add-a807-d58b11854d2f/etc-server1:2379","attempt":0,"error":"rpc error: code = Canceled desc = context canceled"}

Questions:

[ ] What does this log mean?
[ ] Does it imply broken etcd connectivity?
[ ] What are the debugging steps?
[ ] This log does not follow the standard Cilium log output format, can we turn it into a meaningful log or report its status through a Cilium controller?

Slack user reports seeing these messages after Cilium appears to have successfully connected to etcd, with these logs:
level=info msg="Successfully verified version of etcd endpoint" config=/var/lib/etcd-config/etcd.config endpoints="[https://etcd-server1:2379 https://etcd-server3:2379]" etcdEndpoint="https://etcd-server2:2379" subsys=kvstore version=3.3.13

I have seen these messages show up in a testing cluster once, just before setting up the BPF datapath. In that cluster they do not recur.

Potentially related:
https://github.com/etcd-io/etcd/issues/11186


App getting crashed

Actual Behaviour
After merging the PR #1371, the app is getting crashed on clicking speakers from navigation drawer.
Expected Behaviour
App should not crash.
Steps to reproduce it
Take the pull of the latest code. Run the app and click on the speakers in navigation drawer, the app will get crashed.
LogCat for the issue
Caused by: android.database.sqlite.SQLiteException: no such column: thumbnail (code 1): , while compiling: SELECT id, name, photo, thumbnail, shortBiography, email, web, facebook, twitter, github, linkedin, organisation, position, country FROM speakers ORDER BY name ASC
at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:887)
at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:498)
at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:588)
at android.database.sqlite.SQLiteProgram.(SQLiteProgram.java:58)
at android.database.sqlite.SQLiteQuery.(SQLiteQuery.java:37)
at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:44)
at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1316)
at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1163)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1034)
at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1202)
at org.fossasia.openevent.dbutils.DatabaseOperations.getSpeakerList(DatabaseOperations.java:186)
at org.fossasia.openevent.dbutils.DbSingleton.getSpeakerList(DbSingleton.java:119)
at org.fossasia.openevent.dbutils.DbSingleton$4.call(DbSingleton.java:126)
at org.fossasia.openevent.dbutils.DbSingleton$4.call(DbSingleton.java:123)
at io.reactivex.internal.operators.observable.ObservableFromCallable.subscribeActual(ObservableFromCallable.java:42)
at io.reactivex.Observable.subscribe(Observable.java:10700)
at io.reactivex.internal.operators.observable.ObservableSubscribeOn$1.run(ObservableSubscribeOn.java:39)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
Screenshots of the issue

Would you like to work on the issue?
Yes, sending the PR resolving the issue.

Tried running the app, it works fine for me.
Probably @iamareebjamal forgot to update the db version after making changes in the contract.
Clean install should fix it.

Though the app is crashing on clicking OSM fragment, you might want to take a look at that

I opened similar issue back when short biography was added in database. Database version remains constant over the time schema changes. I didn't change the version following the convention from old commits. Simple workaround is to clear the data.
If required, it would be better to increment db version for each schema change as suggested by me earlier


Trajectory generator-based FlightTasks - Handle position and velocity resets from EKF

So far, only the XY position reset was properly handled to avoid position jumps during an EKF reset (GPS regained for example). This PR also takes care about the Z axis and all the velocities resets.
Needs #11636 to show the real improvement.

Same as for #11636 ,
@PX4/testflights please test this PR with a multicopter and the following parameter:
MPC_POS_MODE = 3 (Smooth Vel)
We need to test that both in manual position control and in mission.
Thanks!

Tested on Pixhawk v2 cube; The MPC_POS_MODE parameter was changed to Smooth position control (velocity). It took off in position, but there was a delay between the RC commands and the vehicle response; note that this issue was only present during Position Mode.
In altitude, Stabilized, Mission and RTL modes vehicle flew as expected.
https://review.px4.io/plot_app?log=83f6e61d-3fa6-4b4f-9c52-1b12604e1af8

Testes on Pixhawk 4 v5; no issues were noted, good flight in general.
Parameter tested:

MPC_POS_MODE to Smooth Position Control (Velocity).

https://review.px4.io/plot_app?log=4bf45cbe-6658-4fbd-913e-a4a0cdac519c#Nav-Local-Position-Y

I checked the log files:
On v2:
MPC_ACC_HOR_MAX = 2.5
MPC_JERK_MAX = 2
On v5:
MPC_ACC_HOR_MAX = 10
MPC_JERK_MAX = 20
So it makes sense that the response is slower on the V2.
@dagar Can we merge that PR?

Thanks everyone, let's get this in.


@files should be implemented like the rest of the built-in context providers

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: MacOS
- Continue: Latest (Pre-release)
- IDE: VS Code

Description
@files is not implemented like the rest of the built-in context providers
It should have an @file property that you add to the contextProviders list
There should also be a mention of it under the Context Provider docs
We should also rename @files to @file, since you are only adding one file at a time and 2) it should match the config property
Finally, we should show recently opened files (up to last 8 or fill in any additional files if less than 8 have been opened) (note: look in getSuggestion.ts for this)
To reproduce

Open VS Code with an empty contextProviders list
See that @files always shows up
See that it's not @file
See that only recently opened files show up (instead of the full up to 8 possibilities)
See that there is not mention of it in the docs

Log output
No response

I would like to contribute to this as my first issue. Would you please mind assigning it to me so I can look into it? @TyDunn

@Saumyanavani just assigned! Let me know if I can help you get going at all. I think there are 3 distinct directions here:

Updating the context-providers docs page
Not automatically injecting the "files" context provider here, but instead adding it to the default lists here, and preferably some kind of migration (like we used to do here, adding it to config.json if the user doesn't already have it then they don't lose the files context provider)
Show more possibilities in the dropdown beyond just open files (I believe this was recently solved)