1.7.0 on ubuntu with systemd doenst read socket file alternative listen address

Hi,
Maybe I am doing something wrong, but on ubuntu 16.04 I setup dnscrypt (have installed many times on other systems).
However when using systemd i edit dnscrypt-proxy.service to include username and resolver to use and
I then edit dnscrypt-proxy.socket file to use <IP_ADDRESS>:53 as I want a windows DNS server to use it as the forwarder.
When running systemctl status dnscrypt-proxy.socket the socket is running as expected on <IP_ADDRESS>:53
But... dnscrypt-proxy.service is still using <IP_ADDRESS>:53 and can only be accessed from the local machine.

systemd[1]: Started DNSCrypt client proxy.
dnscrypt-proxy[30414]: [INFO] + DNS Security Extensions are supported
dnscrypt-proxy[30414]: [INFO] + Provider supposedly doesn't keep logs
dnscrypt-proxy[30414]: [NOTICE] Starting dnscrypt-proxy 1.7.0
dnscrypt-proxy[30414]: [INFO] Generating a new session key pair
dnscrypt-proxy[30414]: [INFO] Done
dnscrypt-proxy[30414]: [INFO] Server certificate with serial '0001' received
dnscrypt-proxy[30414]: [INFO] This certificate is valid
dnscrypt-proxy[30414]: [INFO] Chosen certificate #808464433 is valid from [2016-06-26] to [2017-06-26]
dnscrypt-proxy[30414]: [INFO] Server key fingerprint is 3730:AAB4:B7FD:40F6:3C42:B12C:60DF:B615:8392:B6AF:9AA4:4CFD:C282:0BAC:E68E:2624
dnscrypt-proxy[30414]: [NOTICE] Proxying from <IP_ADDRESS>:53 to <IP_ADDRESS>:443

Weird because there is no dnscrypt-proxy.socket for <IP_ADDRESS>:53?? (I dont know enough about how systemd works...)
Anyway, if I add the line --local-address=<IP_ADDRESS>:53 to dnscrypt-proxy.service it runs fine (so long as I change the dnscrypt-proxy.socket back to <IP_ADDRESS>:53, otherwise it fails with [Address already in use])

ExecStart=/usr/local/sbin/dnscrypt-proxy
--resolver-name=d0wn-nl-ns3
--user=dnscrypt
--local-address=<IP_ADDRESS>:53

So it would seem dnscrypt is not using the .socket file properly under systemd in ubuntu 16.04?

Looks like dnscrypt-proxy was not compiled with systemd support
So, systemd starts it, but the dnscrypt-proxy socket is not handled by systemd. Which is totally fine.
Where does the package you installed come from?

@jedisct1 On that note, I am using a systemd system for the first time and both of my services and sockets are 'inactive (dead)'.
λ desktop ~ → systemctl status dnscrypt-proxy.socket
● dnscrypt-proxy.socket - dnscrypt-proxy listening socket
   Loaded: loaded (/etc/systemd/system/dnscrypt-proxy.socket; enabled; vendor preset: enabled)
   Active: inactive (dead)
   Listen: <IP_ADDRESS>:53 (Stream)
           <IP_ADDRESS>:53 (Datagram)
λ desktop ~ → systemctl status dnscrypt-proxy.service
● dnscrypt-proxy.service - DNSCrypt client proxy
   Loaded: loaded (/etc/systemd/system/dnscrypt-proxy.service; enabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:dnscrypt-proxy(8)

Instructions on how to change the socket address with systemd have been added to the wiki.

Hi @jedisct1, I seem to have the same problem as xternaal.
I installed the dnscrypt-proxy in my raspi, i followed the guide from http://www.dornochplace.com/2017/05/18/use-for-a-raspberry-pi-dnscrypt-and-pihole/, because i want to run 2 dnsproxy just in case one of them is down.
Just a note. I didn't install pihole. my aim is just to make the dnscrypt works  at this point.
I created the<EMAIL_ADDRESS>template and socket exactly like in the guide. but everytime I reboot the raspi they conflict with dnsmasq, making it failed to start. I did set the ListenStream and ListenDatagram to <IP_ADDRESS>:40 and <IP_ADDRESS>:40, respectively. But when i check journalctl to see why my fnsmasq failed to start, both dnscrypt-proxy keep using address <IP_ADDRESS>:43. I don't know why dnsproxy won't use the address I specify as in the systemd socket files.
These are the screenshot of my service and socket file:

Journactl output:
-- The start-up result is done. Nov 09 00:34:55 raspberrypi polkitd(authority=local)[653]: Registered Authentication Agent for unix-session:c2 (system bus name :1.12 [lxpolkit], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] Server certificate with serial #1510136236 received Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] This certificate is valid Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] Server certificate with serial #1510136236 received Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] This certificate is valid Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] Favoring version #131072 over version #65536 Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] Chosen certificate #1510136236 is valid from [2017-11-08] to [2017-11-09] Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] Using version 2.0 of the DNSCrypt protocol Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [INFO] Server key fingerprint is 5480:077A:6C88:23B0:8F2C:009F:C572:32D1:72F7:A53F:8016:862E:0A2A:5055:05AA:353B Nov 09 00:34:55 raspberrypi dnscrypt-proxy[410]: Thu Nov  9 00:34:55 2017 [NOTICE] Proxying from <IP_ADDRESS>:53 to <IP_ADDRESS>:443 Nov 09 00:34:55 raspberrypi dnscrypt-proxy[408]: Thu Nov  9 00:34:55 2017 [INFO] Server certificate with serial '0001' received Nov 09 00:34:55 raspberrypi dnscrypt-proxy[408]: Thu Nov  9 00:34:55 2017 [INFO] This certificate is valid Nov 09 00:34:55 raspberrypi dnscrypt-proxy[408]: Thu Nov  9 00:34:55 2017 [INFO] Chosen certificate #808464433 is valid from [2017-09-11] to [2018-09-11] Nov 09 00:34:55 raspberrypi dnscrypt-proxy[408]: Thu Nov  9 00:34:55 2017 [INFO] The key rotation period for this server may exceed the recommended value. This is bad for forward secrecy. Nov 09 00:34:55 raspberrypi dnscrypt-proxy[408]: Thu Nov  9 00:34:55 2017 [INFO] Server key fingerprint is D616:D268:09D2:29A7:9457:DE07:3DE8:EBD8:3C24:BFF3:2BF7:B406:108B:44DA:51FE:3711 Nov 09 00:34:55 raspberrypi dnscrypt-proxy[408]: Thu Nov  9 00:34:55 2017 [NOTICE] Proxying from <IP_ADDRESS>:53 to <IP_ADDRESS>:443
Can you please tell me what's wrong? I want to make it work. thanks.

Don't use systemd sockets.
You can also use the pre-built binaries here https://github.com/jedisct1/dnscrypt-proxy-installer

I use the prebuilt binary from https://github.com/jedisct1/dnscrypt-proxy-installer.
I see.. what should I do then? Do i hardcode the ip address directly in the service unit files?

All the parameters are read from the configuration file, including the local IP address and port to listen to.


Smaller JS package sizes!

I think we've beaten the world record of biggest JS bundles. Let's contain this.
State of things:
$ du dist/*|sort -n -r | head
14640   dist/dashboard.13e463a9f8b8738180b3.entry.js
14032   dist/explore.248040abcbbaf60a59b9.entry.js
6072    dist/sqllab.ea495dee48ee855009f6.entry.js
2296    dist/addSlice.66d103d9c1275427d857.entry.js
2064    dist/profile.90e39d37579af32c6091.entry.js
2040    dist/welcome.41f4f4057ba02c52f350.entry.js
1072    dist/common.7ece420589d15408bce6.entry.js
520     dist/theme.ed0d61cb90e4574ee3da.css
216     dist/89889688147bd7575d6327160d64e760.svg
160     dist/dashboard.13e463a9f8b8738180b3.css

Ideas:

break out a superset-visualizations npm package with sub packages for each visualizations sets, one for deckGL-related visualizations, one for nvd3-related, and any other big chunks separately. This will also pave the way towards a superset-embedables package
the biggest win is to break out the deckgl related packages (luma.gl, mapbox.gl, deck.gl, ...)
in the main app, visualizations bundles should be lazy loaded
working viz out of explore and dashboard,  should make those much leaner
keep theme.js we still need that has standalone
maybe add a common.js with things like React and commonly used utilities that we need across the board
...

comments? ideas? @graceguo-supercat @williaster @GabeLoins

@mistercrunch unrelated, but is there a way for users to hide certain visualizations like deckGL?
Most common viz_types used by our users are table, line, bar and area.

I think the biggest win here will be with lazy loading, I will look into this more today/tomorrow (just had a big project land so have a bit more time for this)

I might have a go at a PR to add lazy loading for visualizations, sound okay @mistercrunch ?

think I have a proof of concept (this is just lazy loading the visualizations, could do more with mathjs, etc). dashboard + explore are cut in half on their own.
before

after

@williaster This is great work and would dramatically help in optimizing Superset performance.
I was just wondering why my js file sizes are almost half than yours in the before screenshot
du dist/*|sort -n -r | head
7664    dist/dashboard.4d5e5eea04a5c0ebdcd4.entry.js
7344    dist/explore.9f1172c4902e89a2db66.entry.js
3560    dist/sqllab.659eaa505425bb31afe8.entry.js
1288    dist/addSlice.70355f12808eb866abef.entry.js
1160    dist/profile.44aab22ce1d1646ac4b3.entry.js
1148    dist/welcome.dffbb04150e98261f5a2.entry.js
564     dist/common.99d345e775ca73f033e1.entry.js
312     dist/theme.e4d50476aef490a57f7f.css
108     dist/89889688147bd7575d6327160d64e760.svg
96      dist/dashboard.4d5e5eea04a5c0ebdcd4.css
cat version_info.json
{"version": "0.23.0dev", "GIT_SHA": ""}%

@mistercrunch @williaster hello, bro. I have some questions about smaller JS package. May I have your contact？Thanks a lot.

This is an open community, the conversation should take place here on Github or on the mailing list.

Hi, I am looking for improving the performance my superset charts. Recently we upgraded our superset to the latest version.
We are using MySQL database both as data source for charts and as the meta-database. We have also optimized the queries such that they don't take not more then 1-2 seconds in running.
We are using charts in a standalone mode inside iframes, then those iframes are integrated with our angular application. For the purpose of applying filters we are editing the chart-url and that is being handled from the angular side. We did this sort of implementation as we were looking for a more flexible orientation of charts inside our web applications.
However, we are currently facing performance issues in our production environment(which is set up with gunicorn, apache server for reverse proxy and superset installation on a centos 7 remote server).
I am currently looking for some performance enhancements from superset UI side as the chart rendering is taking a long time(around 2-3 minutes). We have approximately 10-15 charts in each web-page.
Can anyone from the community please let me know if this current issue has been fixed with superset-ui plugins implementation. If yes, can you suggest me any alternative to improve the performance and load time of the charts.
Thanks.


More detailed schematics?

Thanks so much for publishing this. I would like to learn more about the H bridge implementation of this project, but I can find only a block diagram and the code. I could find no details on the type of H bridge used, nor of the circuit to drive the fans (is it just a GPIO input directly to the fan? if so, what fans did you use)?
Can you please share additional info on the components used? I did find the temp sensor info in the code (Amphenol TK95F232V NTC thermistor), but not much else

I added a link to the BOM in the README (under the block diagram). Yep, the fans are just driven by GPIOs - that's probably a place to improve here :)

Thanks!


Widerface evaluation: ModuleNotFoundError: No module named 'vision'

When I run widerface test program follow the readme guideline, it report error:
Traceback (most recent call last):
File "evaluation_on_widerface.py", line 13, in
from vision.ssd.config.fd_config import define_img_size
ModuleNotFoundError: No module named 'vision'
Does anyone else has this problem?

solve by move vision folder into widerface_evaluate


Url is not supported with Query param after &

A link with query param is not detecting like "https://myapp.com/faq.html?tag=abc&newtag=bcd" in the text but it is working if using with heading(#) tags.
Describe the bug
A clear and concise description of what the bug is.
Checklist

[x] I can reproduce this issue with a SwiftUI project.
[x] I can reproduce this issue using the main branch of this package.
[x] This bug hasn't been addressed in an existing GitHub issue.

Steps to reproduce

Add a url with query params (i.e https://myapp.com/faq.html?tag=abc&newtag=bcd). You will see that url is partially detected in markdown UI view.

Expected behavior

Complete url(https://myapp.com/faq.html?tag=abc&newtag=bcd) should be detected as link.

Screenshots

Version information

MarkdownUI: 2.4.0
OS: macOS 13
Xcode: 15.4

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


[imporve] simplify NoticeConfig Code.

What's changed?
simplify NoticeConfig Code,and some methods using getReferenceById cannot return prompt information correctly..
Checklist

[ ]  I have read the Contributing Guide
[ ]  I have written the necessary doc or comment.
[ ]  I have added the necessary unit tests and all cases have passed.

Add or update API

[ ] I have added the necessary e2e tests and all cases have passed.

Could you explain why method getReferenceById return wrong information or show the test result that indicate the difference after you change getReferenceById to findById?

Could you explain why method getReferenceById return wrong information or show the test result that indicate the difference after you change getReferenceById to findById?

These are comparison charts of the returned results


Add required_ruby_version to gemspec

Follow up of https://github.com/rails/arel/pull/494#issuecomment-321524575.
Arel tested Ruby 2.0.0 or higher with Travis CI, so I wrote that version to required_ruby_version.

I understand this pull request has been opened to follow up #494 that Arel does not need encoding magic comments.
I'm wondering which version specified here. At first I was thinking about ">= 2.2.2" as Rails set here But Rails depends on Arel but Arel does not depends on Rails (who uses Arel without Rails or ActiveRecord?) and Travis CI is still testing Arel with Ruby 2.0.0.
I'd like to hear from Rails core team members since version requirement is the one of the very important project decisions.

Yeah, I'm rather inclined to go to 2.2... partly because it seems rare to use Arel without AR, but mostly just because earlier versions are unsupported anyway.

I see. I think that it is reasonable to specify ">= 2.2.2" to required_ruby_version of arel.gemspec. Because I also think that it is rare to use Arel independently from AR.
I will update this PR like that if it is OK.
Also, I'd like to do maintenance of travis.yml with another PR.
What do you think?

Yeah, let's go ahead and do that. We can drop the older rubies from travis in this PR too.

Thanks for replying. I taken your advice. Maintenance of travis.yml was this PR.
travis.yml made it follow Rails (AR). The summary is as follows.

Drop MRI 2.2.1 or lower and updated with latest MRI versions.
Drop rbx-2. This build has failed since before.
Update JRuby version to <IP_ADDRESS>

I updated this PR as described above.


Policy: handle policy parameter error in bool case

stacktrace:
Error
error while converting policy weave.policies.containers-block-hostports-range to response: found unsupported policy parameter type bool in policy weave.policies.containers-block-hostports-range

like in code : https://github.com/weaveworks/weave-gitops//blob/084bdb90e7852a07fff0406b680a9b1f5a3353fb/core/server/policies.go#L72

the term bool is not supported on the policies parameter type, instead you should use boolean


[Refactor] Extract TabletSchemaPB from olap_file.proto

Problem Summary ：

We're going to implement a new storage engine based on object storage
with the same TabletSchemaPB structure but different TabletMetaPB
and RowsetMetaPB. Extract the common structure TabletSchemaPB to
a new protobuf file for future use.
What type of PR is this：

[ ] others

[ ] bug

[ ] feature

[ ] enhancement

[x] refactor

run starrocks_fe_unittest

run starrocks_fe_unittest

[FE PR Coverage check]
:heart_eyes: pass : 0 / 0 (0%)

run starrocks_be_unittest


Update teams-on-wvd.md

added note on  Redirection and the local WebSocket client

@TomHickling : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@TomHickling we need to change "Enabling microphone, audio and camera redirection is not required when using Teams with WVD optimizations as the local Teams WebSocket service enables this capability." to:
"Enabling microphone, audio, and camera redirection is not required when using Teams with media optimization."
We don't call out the client plugin at any other point in the docs because it is abstract from the customer unless they're looking at debug logs.

@TomHickling : Thanks for your contribution! The author(s) have been notified to review your proposed change.


A Handful of Icons Do Not Depth Test

Describe the bug
A handful of icons are using the GUI/Text Shader which does not depth test which results in the icons drawing though objects.
I would recommend switching the materials of those icons to use the MRTK/Standard shader then switching the Rendering Mode on the material to "TransparentCutout."
To reproduce
Steps to reproduce the behavior:

Open the HandInteractionsExample scene.
Look at the ToggleFeaturesPanel from the back
Notice icons drawing though the back panel.

Expected behavior
3D objects should respect depth.
Screenshots
If applicable, add screenshots to help explain your problem.

Your Setup (please complete the following information)

mrtk_development

Target Platform (please complete the following information)

HoloLens
HoloLens 2
WMR immersive
OpenVR

@Cameron-Micka  and @cre8ivepark  this is marked for our next iteration. Could you please assign/follow up?

I fixed this in this PR: https://github.com/microsoft/MixedRealityToolkit-Unity/pull/5522 please let me know if any other icons exhibit this behavior!


Add Word Shuffle Game

Is your feature request related to a problem? Please describe.
Users enjoy engaging in word puzzle games to enhance their vocabulary and problem-solving skills. However, the platform currently lacks a fun and challenging word game that keeps users entertained and intellectually stimulated.
Describe the solution you'd like
I propose the development and integration of a Word Shuffle game. This game will present users with a series of jumbled letters that they must rearrange to form valid words. Features of the game should include:
Multiple difficulty levels (easy, medium, hard) to cater to different skill levels.
A timer to add an element of challenge and urgency.
Hints and the ability to shuffle the letters if users get stuck.
A scoring system based on the speed and accuracy of solving the puzzles.
A visually appealing and user-friendly interface.
Describe alternatives you've considered
Incorporating existing third-party word games, but these might not offer the same level of integration and user experience.
Developing simpler word games with fewer features, which may not provide the same level of engagement and replayability.
Additional context
Adding a Word Shuffle game will provide users with an entertaining way to improve their language skills and keep them engaged on the platform. Below are mockups and design concepts for the proposed game interface.
What problem is this feature trying to solve?
This feature addresses the need for a fun and challenging word game that enhances vocabulary and cognitive skills while keeping users engaged.
How do we know when the feature is complete?
The feature will be considered complete when:
The Word Shuffle game is fully developed and integrated into the platform.
Users can choose different difficulty levels and enjoy a smooth gameplay experience.
Positive feedback is received from user testing, indicating high satisfaction and engagement.
Metrics show increased user activity and time spent on the platform playing the game.
Something like this

Already added this project here #186

@Sulagna-Dutta-Roy my idea is to make the extension where there will be some letter and we have to join the letters.
Check this application like this one
https://play.google.com/store/apps/details?id=word.tailor.match.game.en&hl=en_IN&pli=1


Can't find error logs

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT
What happened:
I made the kubeless setup and everything worked fine with examples.
Then i migrated a lambda to it and now when there is a error (I am guessing there is a error btw), I can't see the logs
This is the very first lines of the lambda:
def lambda_handler(event, context):
    print('aaaaa')
    print(event)

When I call with dummy data it prints as expect, but when I call it with some real data, and I am guerssing there is a error, no output is produced with kubectl logs, and after some time I see:
<IP_ADDRESS> - - [06/Jan/2020:18:09:04 +0000] "POST / HTTP/1.1" 408 754 "" "curl/7.58.0" 180/120776

If I call the lambda by cli:
% kubeless function call xxxxxx --data '{"group_id":"yyyyyyyy"}'
ERRO[0180]
FATA[0180] Request timeout exceeded

What you expected to happen:
The minimum I expect is to see some logs...
How to reproduce it (as minimally and precisely as possible):
Not sure here, there is a lot of async on this code.
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):

% kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:18:23Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T19:09:08Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}

Kubeless version (use kubeless version):

% kubeless version
Kubeless version: v1.0.5-dirty

Cloud provider or physical cluster:
Digital Ocean

Hi @brunomanzo,
It seems that something in the code is cause the request to hang. Unfortunately I am not an expert in Python so there is not a lot I can help you with. Maybe the function code is creating a new thread, causing the issue.
As you can see, in the runtime code, the function is executed in a thread:
https://github.com/kubeless/runtimes/blob/master/stable/python/kubeless.py#L75
My recommendation is to locate the piece of code that causes the issue, then we can figure out if it's a runtime issue.

Hello @andresmgot,
I am not a Python expert also haha.
I will remove all async/thread things and see if I can find the error.
What bugs me is that no log is printed to stdout


How do I use cocoon within a gem I am bulding

I am building a gem using cocoon. Here is the error message I am getting
couldn't find file 'cocoon' with type 'application/javascript'
Please advise.
Thanks

Why add an exact duplicate of #474 ?

Unless I misunderstood, it looks like you are hitting an issue with authoring your own gem.
If it's not something in cocoon that is broke, that is a question you need to research in a tutorial or on stackoverflow.
Some helpful hints:
... are you following the ruby tutorial for it?  Link
If you are correctly following the tutorial, then this answer (will only work if you gem is setup right) might provide specific directions ... Link
Once you have proved to yourself that you have all of that correct, you probably will either hard code a set of views/controllers or want to look into setting up more advanced & dynamic configurations with rails generators - Link.


[eslint] changing to always-multiline on comma-dangle

@williaster @ascott

Coverage decreased (-0.03%) to 81.155% when pulling 859c2df4a48304de8abe02e0e5a162ba796e13bc on mistercrunch:comma-dangle into 7bba9f73d0ed37a342e3f0519969110c03f142d3 on airbnb:master.

nice! dangling commas can sometimes cause js errors. did you do some clicking around to see if everything is working ok, since you've touched a bunch of files here that don't have testing in place yet.

Just did a bit more clicking around and things are looking swell. I read about how in IE7  [1,].length == 2. But I bet not much else actually works in IE7 anyhow.


Access is denied: setup.py build and install

I tried running python setup.py build and it keeps saying Access is Denied. I have installed all of the necessary packages before this step by following the tutorial and also have placed setup.py in the models\research directory. I'm not sure what could possibly be the issue. Any help would be appreciated!

Hi, check this link
https://youtu.be/nZUxoHPFf4w
make sure run the anaconda prompt as administrator


Problems creating movie

Describe the bug
After saving movie, image is rotated 180 degrees, color table is wrong. Saving intermediate to PNG does workaround the issues. I am unable to reproduce on my OSX laptop. Also, avi and mpeg4 move saves didn't work.
See attached notes Sep 3, 2019.pdf
Desktop

OS and version: OSX
VisIt Version: 3.0.1

This was reported by Salvador Portillo, University of New Mexico<EMAIL_ADDRESS>

@biagas ... I have some recollection you fixed something similar to this.

I don't think so.

No response from the user, and we fixed this problem, so closing.


Add support for br

Closes https://github.com/tinacms/tinacms/issues/2636
When inserting a soft-break (shift+enter), this will now result in a <br> tag being inserted. Note that this will save the markdown with a backslash to indicate line break (instead of multiple empty spaces):
#### Address:
123 Abc St\
Charlottetown, PEI

I wasn't able to easily pull back on some of the other stuff in the PR, but credit here is to zeropaper from this PR https://github.com/tinacms/tinacms/pull/2652. Thanks!

Works for me. Tested with a file that uses the double spacing format and it rendered correctly in the editor & page, and when I save the document with new changes it saves existing double-space breaks with \ instead. New line breaks with shift + enter work great.


[TACHYON-1075] extract frequent used string calculation to Tachyon.Constants

change all "target/tachyon-" + Version.VERSION + "-jar-with-dependencies.jar" to use Tachyon.Constants.TACHYON_JAR

Can one of the admins verify this patch?

Jenkins, test this please.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/5802/
Test PASSed.

+1 LGTM


Ratify v2 architecture proposal

What would you like to be added?
Background
Ratify has reached its first major release in over a year and has been widely adopted by users at scale. However, there are some know limitations in the current design and implementations of Ratify v1 that make it difficult to support more user scenarios/new features and enhance performance. These constraints make it challenging to attract more users and contributors. This discussion will compare the current architecture of Ratify v1 with the proposed v2 design to gather feedback and insights on the new approach.
Current design
The current architecture of Ratify v1:

From the above diagram, we can see a few limitations:

Ratify only supports CLI and K8s scenarios. But actually current Ratify is only well implemented/designed for K8s scenarios. There are some feature gaps between CLI and K8s implementations. To support more scenarios, like containerd plugins or docker plugins, or just a library for downstream services, we need to make Ratify to be more extensible.
Ratify was designed to validate security metadata of any given artifacts. But right now Ratify is mainly focusing on the K8s scenarios with images being verified.
The plugin framework was designed to separate built-in and external plugins. Built-in plugins run in the same process of Ratify while each external plugin would be executed in a new subprocess. Therefore, external plugins cannot share the in-momory cache with the main process, which may result to performance degradation , data inconsistency, race condition and security vulnerabilties.
The built-in plugins and authentication for different cloud providers are part of the main Ratify repository, which introduces a significant number of dependencies.  This issue will become even more pronounced as additional cloud provider and new plugin implementation are added in the future.
Converting config.json from the CLI to Kubernetes CRs is not straightforward for users, increasing the learning cost for new users.

Proposed design
To address the above limitations, one possible v2 architecture design is as below:
    %% Subgraph for inputs
    graph TD
    subgraph Inputs [Inputs]
        direction TB
        C[User Input per Request]
        D["System Input (config/CRD)"]
    end

    %% Subgraph for core logic
    subgraph Core [Core Logic]
        direction TB
        E[core]
    end

    %% Subgraph for middleware
    subgraph Middleware [Middlewares]
        B[Driver/Entrypoint]
        F[Output Render]
    end

    A[Customized App]

    %% Relationships
    Inputs --> B
    B --> Core
    A -.- B
    A --> Core
    Core --> F

One example implementation would look like below:

The key design principles are as follows:

Extract the Ratify core library(ratify-go) to focus solely on its primary functionality: validating the security metadata of artifacts in an efficient way. Consequently, the mutation API may be removed from the core library. The Ratify core will define required interfaces including Verifier, Store, and PolicyEnforcer but contains no implementation in the repo to minimize the dependencies in the core library.
To implement different plugins for each interface, we can create monorepo for each interface(e.g. ratify-verifier-go) or just all of them. Therefore the dependencies from plugins would just reside in plugin repos.
Different entrypoints may need a separate repo for each, e.g. ratify-cli, ratify-Gatekeeper, ratify-service.
Each entrypoint repo will own the responsibility to select appropriate plugin implementations to build the image or binaries. Through dynamically loading plugins, entrypoint repos will NOT introduce new dependencies from those plugin implementations. Additionally, plugins will run in the same process as Ratify main process to achieve the best performance and security.
The configuration CRD needs to be redesigned to allow seamless conversion to config.json for other use cases.

Example of dynamic plugins:
// core
type ReferrerStore interface {
	ListReferrers() string
}
type ReferenceVerifier interface {
	VerifyReference(store ReferrerStore) bool
}
func (r *PluginManager) RegisterStore(name string, store ReferrerStore) {
	fmt.Printf("Registering store %s\n", name)
	r.storeTypes[name] = store
}

func (r *PluginManager) RegisterVerifier(name string, verifier ReferenceVerifier) {
	fmt.Printf("Registering verifier %s\n", name)
	r.verifierTypes[name] = verifier
}

func NewPluginManager() *PluginManager {
	return &PluginManager{
		verifierTypes: make(map[string]ReferenceVerifier),
		storeTypes:    make(map[string]ReferrerStore),
	}
}
/*----------------------------------------------------------*/
// notation verifier
// build the plugin by: go build -buildmode=plugin -o notation.so ./
type Verifier struct{}

func (v *Verifier) VerifyReference(store core.ReferrerStore) bool {
	fmt.Println("Notation verifier")
	fmt.Println(store.ListReferrers())
	return true
}

func Register(pluginManager *core.PluginManager) {
	pluginManager.RegisterVerifier("notation", &Verifier{})
}
/*----------------------------------------------------------*/
// cosign verifier
// build the plugin by: go build -buildmode=plugin -o cosign.so ./
type Verifier struct{}

func (v *Verifier) VerifyReference(store core.ReferrerStore) bool {
	fmt.Println("Cosign verifier")
	fmt.Println(store.ListReferrers())
	return true
}

func Register(pluginManager *core.PluginManager) {
	pluginManager.RegisterVerifier("cosign", &Verifier{})
}
/*----------------------------------------------------------*/
// oras store
// build the plugin by: go build -buildmode=plugin -o oras.so ./
type Store struct{}

func (s *Store) ListReferrers() string {
	fmt.Println("oras")
	return "oras"
}

func Register(pluginManager *core.PluginManager) {
	pluginManager.RegisterStore("oras", &Store{})
}
/*----------------------------------------------------------*/
// Ratify main application
// Build ratify binary: go build -o ratify ./
func loadPlugin(manager *core.PluginManager, pluginPath string) error {
	p, err := plugin.Open(pluginPath)
	if err != nil {
		return err
	}

	registerFunc, err := p.Lookup("Register")
	if err != nil {
		return err
	}

	registerFunc.(func(*core.PluginManager))(manager)
	return nil
}

func main() {
	manager := core.NewPluginManager()
	if err := loadPlugin(manager, "../cosign/cosign.so"); err != nil {
		panic(err)
	}

	if err := loadPlugin(manager, "../notation/notation.so"); err != nil {
		panic(err)
	}

	if err := loadPlugin(manager, "../oras/oras.so"); err != nil {
		panic(err)
	}
}

In the above example, the only dependency of Ratify repo is the Ratify core library.
Proposed Repo Layout

Keep the Ratify repo for K8s scenario as an external data provider for Gatekeeper.
ratify-go (serves as the Ratify core library)
ratify-verifier-go (monorepo for different implementations of verifiers)
ratify-cli (for CLI user scenario)
more repos for other user scenarios in the future.

Proposed milestones

Alpha.1: Ratify core library
Alpha.2: Create v2 branch in ratify repo, migrating the Executor to the new Ratify core.
Beta.1: Implement Oras store and Notation verifier
Beta.2: Improve performance, bug fix and add more features.

Oras store cache
Cosign verifier

RC.1: Add missing features from v1
GA

Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this feature?

[X] Yes, I am willing to implement it.

Can you please reflect each repo in the new architecture diagram? It could add more clarity to Ratify new architecture and  each's repo functionality. Thus I should be clear about where should I start in Ratify as a new developer/contributor.


Setting a scence's yaw value to a string in the config breaks the viewer

pannellum version: 2.5.4
Related issues: #792
As mentioned in the title, setting the yaw value to a string breaks the viewer:
"scenes": {
        "main": {
          "type": "equirectangular",
          "panorama": "img/test.jpg",
          "autoLoad": true,
          "vaov": 45,
          "yaw": "50", // <--
          "ignoreGPanoXMP": true,
          "hotSpots": [{
         // [...]

The viewer starts out normal but once you start moving the camera it quickly turns either purely white or something like this:

While the documentation clearly states that the yaw value should be a number, I think it should fail more gracefully.
Thanks for making this great library!

Garbage in, garbage out. There's no input validation, since there are hundreds of ways the input can be invalid, and it's not practical to check everything. This isn't going to be changed.


Add support for file-based object storage

The go-git library currently relies on in-memory storage of objects. I am interested in adding support for file-based object storage. My long term goal is to use this as a lightweight library for cloning and pulling repositories to local disk.
Right now RAWObjectStorage is the only implementation of the ObjectStorage interface. I would like to contribute by adding a FileObjectStorage implementation that reads and writes objects to the file system.
Is this something that the developers are amenable to?
To meet my goal there would of course be a number of other required features, such as index file support, but those can be tracked as separate issues.

The current implementation of the Repository directly includes RAWObjectStorage. I suggest that the Repository be changed to work through the ObjectStorage interface instead. This way a FileObjectStorage implementation could take advantage of it.
To do this and still support the needs of the Repository, the ObjectStorage interface will need to provide some means of iterating over objects. This means an API change is necessary.
As an experiment last week I familiarized myself with the code by making such a change. You can see the result of the experiment here. You'll notice that I messed with the Iter implementations pretty heavily.

Dear Joshua,
We are already working on that, index and everything.
We will contact you again again with more details in a few days, when we
come back from FOSDEM (Brussels) to our offices in Madrid.
On Saturday, January 30, 2016, Joshua Sjoding<EMAIL_ADDRESS>wrote:

The current implementation of the Repository directly includes
RAWObjectStorage
https://github.com/src-d/go-git/blob/e9164d853bed12ed9f6787a608db32504c894a64/repository.go#L22.
I suggest that the Repository be changed to work through the ObjectStorage
interface
https://github.com/src-d/go-git/blob/e9164d853bed12ed9f6787a608db32504c894a64/core/object.go#L20
instead. This way a FileObjectStorage implementation could take advantage
of it.
To do this and still support the needs of the Repository, the
ObjectStorage interface will need to provide some means of iterating over
objects. This means an API change is necessary.
As an experiment last week I familiarized myself with the code by making
such a change. You can see the result of the experiment here
https://github.com/scjalliance/go-git/commit/855517cb6c6796c8893c0d9191e88ccf6e1b5c7a.
You'll notice that I messed with the Iter implementations pretty heavily.
—
Reply to this email directly or view it on GitHub
https://github.com/src-d/go-git/issues/19#issuecomment-177043665.

--
Alberto Cortés
Backend Software Engineer || source{d} http://sourced.tech/
GitHub https://github.com/alcortesm | LinkedIn
https://www.linkedin.com/in/alcortesm | Google+
https://plus.google.com/112745437569579542152/posts
Claudio Coello 16, 2º Izq.
28003 Madrid, Spain

Sounds good!

Awesome!
I'm eager to take a look to your work!
Thanks for your patience.
On Saturday, January 30, 2016, Joshua Sjoding<EMAIL_ADDRESS>wrote:

Sounds good!
—
Reply to this email directly or view it on GitHub
https://github.com/src-d/go-git/issues/19#issuecomment-177045618.

--
Alberto Cortés
Backend Software Engineer || source{d} http://sourced.tech/
GitHub https://github.com/alcortesm | LinkedIn
https://www.linkedin.com/in/alcortesm | Google+
https://plus.google.com/112745437569579542152/posts
Claudio Coello 16, 2º Izq.
28003 Madrid, Spain

@JoshuaSjoding is great to see that you are interested on contribute on go-git.
Our first implementation of ObjectStorage was for memory because our main objetive is be able to analyse a git repository very fast, but we are working on now days on a FileObjectStorage and all the required changes. Actually here it the first version of the idx support from some weeks ago.
Anyways any PR related about this or any other topic is more than welcome.

About the FileObjectStorage our idea was make the implementation based on .idx files (here is basic implementation of idx reader), something more close to how works git internally when you make a clone than just plain files.

@mcuadros My primary use case is to be able to do the equivalent of a git pull over an existing local repository on disk. That local repository could either be in packed or loose format. In the long term I think that our filesystem.Storage should be able to support both in a single implementation.
Aside from the idx reader, have you guys started the implementation yet or would you like me to go ahead and take a shot at it?

@JoshuaSjoding this is perfect, our initial goals was make only base on the idx and pack file from a pulled repository. But make it work with both formats is the final goal.
The only work done was the idx reader (and is a naive implementation), so go ahead, now we are busy with other stuff so will be great if you can handle this task.


What is the prefix:'PCAGML' of font:"PCAGML+SourceHanSerifCN-Regular,16.0"?

Hi @jstockwin ,
I am trying to load 3 similar files which is auto generated from same system, but get 3 different prefix of font.
>>> set(e.font for e in doc.elements)
{'OHKPGR+SourceHanSerifCN-Regular,10.5', 'Helvetica,12.0', 'OHKPGR+SourceHanSerifCN-Regular,26.0', 'OHKPGR+SourceHanSerifCN-Regular,9.0', 'OHKPGR+SourceHanSerifCN-Regular,12.0', 'OHKPGR+SourceHanSerifCN-Regular,8.5', 'OHKPGR+SourceHanSerifCN-Regular,16.0', 'OHKPGR+SourceHanSerifCN-Regular,14.0'}

>>> set(e.font for e in doc2.elements)
{'Helvetica,12.0', 'FZVVCB+SourceHanSerifCN-Regular,8.5', 'FZVVCB+SourceHanSerifCN-Regular,12.0', 'FZVVCB+SourceHanSerifCN-Regular,26.0', 'FZVVCB+SourceHanSerifCN-Regular,14.0', 'FZVVCB+SourceHanSerifCN-Regular,10.5', 'FZVVCB+SourceHanSerifCN-Regular,16.0', 'FZVVCB+SourceHanSerifCN-Regular,9.0'}

>>> set(e.font for e in doc3.elements)
{'PCAGML+SourceHanSerifCN-Regular,16.0', 'PCAGML+SourceHanSerifCN-Regular,14.0', 'PCAGML+SourceHanSerifCN-Regular,26.0', 'PCAGML+SourceHanSerifCN-Regular,12.0', 'PCAGML+SourceHanSerifCN-Regular,8.5', 'PCAGML+SourceHanSerifCN-Regular,9.0', 'Helvetica,12.0', 'PCAGML+SourceHanSerifCN-Regular,10.5'}

What is the prefix:'PCAGML' of font:"PCAGML+SourceHanSerifCN-Regular,16.0"?
And how to use FONT_MAPPING over these diff?
Thanks in advance.

Hi @forhonourlx,
Thanks for getting in touch.

What is the prefix...

I have also seen these in certain PDFs, and to be honest I've never looked into why they happen. The fonts are taken from how pdfminer.six does its extraction. I suspect it's just something to do with how the fonts are given in the PDF, but perhaps there is a bug somewhere and they shouldn't be included.

And how to use FONT_MAPPING over these diff?

In general, the font_mapping argument to the PDFDocument is a dictionary mapping the actual font names to more useful names. I find it helpful to map the fonts to something more meaningful in the document, so for example you might pass font_mapping = {"OHKPGR+SourceHanSerifCN-Regular,26.0": "heading"} if that font is usually used for headings.
To get around the prefix issue, you can also use regular expressions as the dictionary keys. In this case,  you also need to pass font_mapping_is_regex=True. This will allow you to do something like font_mapping={"SourceHanSerifCN-Regular,26.0$": "heading"}, font_mapping_is_regex=True, or perhaps font_mapping={".*SourceHanSerifCN-Regular,26.0": "heading"}, font_mapping_is_regex=True (I'm not sure if we force the start and end of the string or not, you'd have to experiment). You can also pass regex_flags if you want any flags to be used, for example you can pass regex_flags=re.IGNORECASE.
You can see all of these arguments in the reference documentation for PDFDocument. Note that although the arguments are for PDFDocument, you're probably using load or load_file to load the document. These arguments can also be passed to the loader, which will pass them through to the PDFDocument.
I hope that helps! Please do let me know how you find the tool - It's fairly new and I am keen to get it as user-friendly as possible.

Hi @jstockwin ,
Thank you for your sharing the project again, py-pdf-parser is rather perfect. It seems that font_mapping_is_regex has already solved the problem.
I came to know this project from a diligent Chinese colleage computer science bloger @爱可可-爱生活 on Weibo.
I also wonder how he found your project, maybe @fly51fly  on github could tell you.
My story is  facing a pdf parser task on my job, coming with a lot of nosql data(also tables) represented in many sections, I search the keywords: 'pdf', 'table' on Weibo @爱可可-爱生活 , getting camelot and py-pdf-parser for choices.
Frankly speaking,  camelot is more famous and has some tutorials on the net, so I try camelot first. Very soon, I meet great difficulties in LOCATING contents in pdf with camelot. Then py-pdf-parserdoes help me, I really appreciate the idea of loacting by wording or font format, it is rather flexible and effective and able to parse contents over pages. I just don't agree with the word on your home page, for the significant advantages: 'When Should I Use Py PDF Parser?'
In conclusion, I guess that a clear and deep tutorial on tech medium or search engine may help popularizing this great work.
Hoping py-pdf-parser be best pdf parser!

Hi @forhonourlx, Thanks for the info - that's cool to know and many thanks for the kind words.
Since font_mapping_is_regex has solved your problem, I'll close this issue.
What would you suggest changing the docs to? Maybe I can a new sentence in the first and last paragraphs:
Py PDF Parser is for extracting specific, structured data from a PDF. You will be able to write code that should extract for multiple PDFs with the same format. It will also be useful when searching through a PDF for specific bits of data that you'd like to extract.

If you’re trying to extract specific tables from a certain PDF, other tools (e.g. https://camelot-py.readthedocs.io/en/master/) may be more appropriate, although py-pdf-parser also has some good table extraction tools (link).

In my opinion,
Py PDF Parser is an excellent tool for locating and extracting specific contents(i.e. texts, tables...) from any comprehensive PDF. You can always find a way to  locate contents you really want: by words or by font format. You may write codes to get flexible manipulation of pdf parse procedure, especially for comprehensive, repeat or over-page tasks.

Py PDF Parser is good at locating certain tables in comprehensive PDFs, and extracting tables over pages.
If you're trying to extract all tables without locating and over-page problems, other tools
(e.g. https://camelot-py.readthedocs.io/en/master/) may be appropriate in some cases.

Forgive my poor English.

@forhonourlx many thanks! I will use this as a base and update the documentation.
Thanks again for submitting the issue, and I hope you continue to find this project useful!


[WIP]send_later: Add send later feature.

Not to be merged.
Solves https://github.com/zulip/zulip/issues/11227.
Current work : https://github.com/zulip/zulip/pull/11941 + all suggested changes in it.
TODO: Write tests and clean up code a bit.
I'll get back to it soon.

 I might not for some time.

Closing in favour of #20218

Thanks @Abhishek-Balaji for your effort on this.


Think i used too much it and now return empty array

Is there a way to avoid it?

I have no knowledge of Amazon's rate-limiting systems. I'd advise waiting a while and seeing if they let you send requests again. Otherwise, not much you can do. Try to not hit their systems too much - it's Amazon, they know a thing or two about spammers and scraping.
Closing this since it is an issue with your application and not with this library.


Update Aries vs W3C-CCG did-resolution overlaps

update diagram for the new understanding of the Aries did-resolution and the W3C-CCG did-resolution specs.
Think of the Aries spec as a precursor to the W3C-CCG versions. This does not change the fact that at least one spec referenced by the w3c did-resolution document in turn references the aries version. These are not dependency relationships though it was a reference citing an example in a note of the W3C version at the time of the diagram creation.
i.e. w3c did-resolution --references--> w3c did-peer --references--> Aries did-resolution
This may involve also putting in an issue to have the w3c did-peer document updated if possible to point to it's sibling w3c did-resolution instead of the Aries version.

This issue has been migrated to the new project location as an issue. It's new home is:
decentralized-identity/vc-spec-map#5


TIER3: binary analysis

Adding binary analysis test case for tackle-testapp, private repo
GITHUB_USER  and GITHUB_TOKEN can be provided as configuration variables (in config/config.json) or as environment vars

@mguetta1 Please take as a template test cases with deps https://github.com/konveyor/go-konveyor-tests/blob/main/analysis/tc_tackle_testapp_public_deps.go

Thanks for update Maayan! PR looks good, Just to understand better what the Binary mode means.  I can see Binary field on analysis and application (that should be checkout from SVN) in this PR.  Just to be sure, isn't  it needed to upload the application binary file to application's bucket to use it for analysis?

Thanks for update Maayan! PR looks good, Just to understand better what the Binary mode means. I can see Binary field on analysis and application (that should be checkout from SVN) in this PR. Just to be sure, isn't it needed to upload the application binary file to application's bucket to use it for analysis?

There are two modes of analysis @aufi .
In binary analysis we provide source code which contains an embedded binary in the repo.
Second is "Upload Binary" where we upload a ear/jar/war/zip file for analysis .
This PR covers the first option . Binary analysis on source repo.


[Bug Report] BLAKE3 Fails To Compile On Linux For No Apparent Reason

So, I've been using the Bevy game-engine to work on some fun game ideas I've had – but, after coming back from a long break ov not programming with Bevy, I found out that I could not compile it due to the following error:
  error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-std=c11" "-o" "/home/calin/Projects/Vessie/target/debug/build/blake3-10ff633bb8fa3e2c/out/db3b6bfb95261072-blake3_sse2_x86-64_unix.o" "-c" "c/blake3_sse2_x86-64_unix.S" with args cc did not execute successfully (status code exit status: 1).

I have not experienced this issue before, and the last project I, successfully, built with Bevy was in the version that introduced BLAKE3. — Someone recommended running cargo clean then rebuilding, but that did not work.
I am using Ubuntu 22.04.4 with Wayland, natively, and I am compiling for the same system.
Here is a shared Google Drive folder sharing the very primitive code I have, to try and replicate the bug: https://drive.google.com/drive/folders/1zx6BmUN7HQKXIgMKCH_F84uPCbJoVpmD.
Please let me know if anymore information is needed.

I'm not able to reproduce the error you're describing from the files you shared in the Google Drive folder. (I see errors like "cannot find type Scene in this scope" in your read.rs, but those don't seem relevant.) I'm on x86_64 Arch Linux running Rust 1.81.
You included the command that failed above, but you didn't include the error output of that command. Can you repeat the build and see if you can spot the error output? If not, can you include a complete capture if all the build output, so that I can see if I can spot it.
Other things that we might need to know:

Your Rust version.
Your C compiler version.
Your CPU architecture.
Any relevant environment variables you might have set, like CC.

Another point to clarify: Is there anything specific about your own code that's related to the build failure? Or can you trigger the failure purely by building bevy? Specifically, can you trigger the failure this way:
$ cargo new example
...
$ cd example
$ cargo add bevy
...
$ cargo build
...

When I do those steps on my machine, it takes quite a long time to build :) but I don't see any errors.

You included the command that failed above, but you didn't include the error output of that command.

Is that not what's in the codeblock I provided? — There wasn't any information proceeding that chunk ov text.
The preceding information, with CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG set to true – as recommended by the compiler – looks like this:
The following warnings were emitted during compilation:

warning<EMAIL_ADDRESS>Compiler family detection failed due to error: ToolExecError: Command "cc" "-E" "/home/calin/Projects/Vessie/target/debug/build/blake3-75236400a1f88d00/out/16036542310283992667detect_compiler_family.c" with args cc did not execute successfully (status code exit status: 1).
warning<EMAIL_ADDRESS>Compiler family detection failed due to error: ToolExecError: Command "cc" "-E" "/home/calin/Projects/Vessie/target/debug/build/blake3-75236400a1f88d00/out/5889472015475158423detect_compiler_family.c" with args cc did not execute successfully (status code exit status: 1).
warning<EMAIL_ADDRESS>Compiler family detection failed due to error: ToolExecError: Command "cc" "-E" "/home/calin/Projects/Vessie/target/debug/build/blake3-75236400a1f88d00/out/12487841639296948905detect_compiler_family.c" with args cc did not execute successfully (status code exit status: 1).
warning<EMAIL_ADDRESS>The C compiler "cc" does not support -mavx512f and -mavx512vl.
warning<EMAIL_ADDRESS>Compiler family detection failed due to error: ToolExecError: Command "cc" "-E" "/home/calin/Projects/Vessie/target/debug/build/blake3-75236400a1f88d00/out/3418268258640279083detect_compiler_family.c" with args cc did not execute successfully (status code exit status: 1).
warning<EMAIL_ADDRESS>cc1: error: /usr/local/include/x86_64-linux-gnu: Permission denied
warning<EMAIL_ADDRESS>cc1: error: /usr/local/include: Permission denied

error: failed to run custom build command for `blake3 v1.5.4`

Caused by:
  process didn't exit successfully: `/home/calin/Projects/Vessie/target/debug/build/blake3-d2f3a51f26eb2411/build-script-build` (exit status: 1)

/* ... */

  --- stderr

  error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-std=c11" "-o" "/home/calin/Projects/Vessie/target/debug/build/blake3-75236400a1f88d00/out/db3b6bfb95261072-blake3_sse2_x86-64_unix.o" "-c" "c/blake3_sse2_x86-64_unix.S" with args cc did not execute successfully (status code exit status: 1).

(You probably already could tell, but no, /* ... */ is not part ov the output – I am just skipping a lot ov, what I think is useless, debug info to save on readingtime.)

Your Rust version.

cargo 1.80.0 (376290515 2024-07-16)
rustc 1.80.0 (051478957 2024-07-21)

Your C compiler version.

gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
cc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0

Your CPU architecture.

x86_64

Any relevant environment variables you might have set, like CC.

Neither GCC nor CC are defined (which, to reiterate, has been okay before) — I am not aware ov any environment variables that could have been set or unset that would have caused this, as I don't find myself modifying them (manually).

Another point to clarify: Is there anything specific about your own code that's related to the build failure?

No. — Why would there be?
After all, I'm not directly using your crate; besides, the code that runs into this error literally only has a trait, which would have compiled if Bevy were not dependency ov the program.

Specifically, can you trigger the failure this way:
$ cargo new example
...
$ cd example
$ cargo add bevy
...
$ cargo build
...

Yes.
I get the exact same output for, presumably, the exact same reason.

If any further information is needed, please let me know.
This is a very perplexing bug.

Those Permission denied errors in your output above are very suspicious. What the build is trying to do there is to compile an empty or nearly empty C file, just to see what compiler flags are supported. If that's running into permissions errors, that's pretty surprising. If you create a file like /tmp/test.c:
int main() {
    return 0;
}

And then try to compile it like this:
$ cd /tmp
$ cc test.c

Do you see any output? For me that command succeeds with no output (and creates /tmp/a.out).

This, for some reason, still causes permission errors... for no apparent reason.
cc1: error: /usr/local/include/x86_64-linux-gnu: Permission denied
cc1: error: /usr/local/include: Permission denied

(I ran this test with both cc and gcc and got the same results.)
I am able to run it with sudo — I would say this usually suggests a program is misconfigured, or erroneously installed using sudo; however, as far as I'm aware, CC/GCC comes with Ubuntu, and consequently *should* not have such an error – so, I'm not really sure what the issue could be.
[Note:  the compiled file is owned by root (and has the lock symbol on it), but users with normal privileges can still run it normally.]
While I am not quite sure what's causing this behavior, it seems to me that this is more likely a bug with CC/GCC than with BLAKE3.
(However, personally, I would refrain from closing the issue until I can verify the Rust code can be compiled.)

Yeah this is definitely a "can't compile C for some reason" issue and not really a BLAKE3 issue, but now you've got me curious what the heck's going on :) Can you paste in the output of ls -l /usr, ls -l /usr/local, and ls -l /usr/local/include?

Yeah this is definitely a "can't compile C for some reason" issue and not really a BLAKE3 issue, but now you've got me curious what the heck's going on :)
It looks like you might've installed some sort of custom compiler, presumably not through your system package manager, but maybe through a make install command or similar? The reason I say that is that /usr/local/ isn't where the system compiler goes. You probably have a system compiler at /usr/bin/cc or similar, but then /usr/local takes priority in your $PATH. And then my next guess is that whatever custom install process that was, it left those directories in a not-publicly-readable state. There's a decent change that a chmod -R a+r on /usr/local will fix everything, but I want to be careful suggesting big sweeping commands when your system's in a sketchy state...

It looks like you might've installed some sort of custom compiler, presumably not through your system package manager,

No(?).
The problem with this is... I have no recollection ov installing such a custom compiler — I only ever remember installing Ubuntu, Cargo, and the rest ov the Rust toolchain, which is immensely confusing if I did install a custom version ov CC/GCC.
Furthermore, Ubuntu does come with GCC, according to a quick glance at the search-results provided by Google, meaning I probably would have had to resolve some conflicts. (Right?)

You probably have a system compiler at /usr/bin/cc or similar, but then /usr/local takes priority in your $PATH.

Weird, /usr/local/include is not a path in my PATH environment variable, only  subdirectories ov it are.
My PATH env-var – formatted, for your sake –looks like this:
/home/calin/.nvm/versions/node/v21.7.3/bin
/home/calin/.cargo/bin
/home/calin/.local/bin
/usr/local/sbin
/usr/local/bin
/usr/sbin
/usr/bin
/sbin
/bin
/usr/games
/usr/local/games
/snap/bin
/home/calin/.deno/bin/
/snap/bin

(I'm not quite sure why /snap/bin is in PATH twice. nor am I sure about any consequences that might incur.)
Another oddity is that the only item in /usr/local/include – according to Nautilus ran with sudo – is a folder called node, which I am assuming is in reference to Node and Node Package Manager (NPM), which is totally unrelated to C, GNU, CC, or GCC.

And then my next guess is that whatever custom install process that was, it left those directories in a not-publicly-readable state, which you might be able to see if say ls -l /usr/local/include doesn't show universal read permissions.

It seems like /usr/local/include is owned by root, and the same, seemingly, applies to its parent directory.
The command output look like this:
total 4
drwxr-xr-x 6 root root 4096 Apr 16 16:59 node

There's a decent change that a chmod -R a+r on /usr/local will fix everything, but I want to be careful suggesting big sweeping commands when your system's in a sketchy state...

Should /usr/local, and its subdirectories, not be owned by root (and/or sudo)?
If not, how would you recommend I get my system out ov this "sketchy state"? — The way my machine is operating now does not seem to be conducive ov an efficient programming cycle.

the permissions looks good on your directories. its supposed to be owned by root, but since its 755 you can still read all the libraries and file in it, but weirdly the compiler get a permission denied.
youll have better change searching for this problem on internet or starting a forum post for your distro.
as a quick trick, you can probably pass the problem of permission denied with running sudo cargo build, but there might be other problem after than


Update API testing tool: Policy-based Auth

Description
Update to use the latest recommended API testing tool per its scenario context.
Related to parent issue #31967
Page URL
https://learn.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/authorization/policies.md
Document ID
7089b376-949f-c1c6-c37a-5d8cc7ecf104
Article author
@Rick-Anderson

@Rick-Anderson, I can handle all the other Postman/API tooling updates across topics for the team, but this particular one might be best handled by you.  I'm not up at all on this topic area and it is not clear to me what is going on with the Postman json.  Could you consider taking this one for your topic?

@Rick-Anderson, just a heads up on this old one from March that might have been forgotten, related to current work on Postman.
Related to #33083


Add selector to ovs-vsctl template

Failed to apply ovs-vsctl with error:
selector does not match template labels

@phoracek
Some tests failed with:
failed: [node02] (item=python-docker) => {"attempts": 3, "changed": false, "item": "python-docker", "msg": "No package matching 'python-docker' found available, installed or updated", "rc": 126, "results": ["No package matching 'python-docker' found available, installed or updated"]}

@myakove this is a know issue the PR is waiting to get merge https://github.com/kubevirt/ovs-cni/pull/60

@myakove please rebase

ci test please


A Question About the Example -- sentence_classifier

I am a new user of texar, when I try one of the examples named "sentence_classifier"(https://github.com/asyml/texar/tree/master/examples/sentence_classifier), I find some problems hard to resolve.
In the example, the language of the data is english however I want to try it in chinese. I just replace the SSTdata with my data.
Here is the form of the data  I use:
2 但是您的所作所为不合适。
1 我觉得这个苹果味道一般。
0 今天终于修正了一个错误。
About the vocab ,I use my own word segmenter for chinese sentence.
The program displays an error:

I guess it is because the size of the batch. So I change the batch size from 50 to 64 in config_kim.py.
Then there is another error appears:

I don't know how to explain it so I hope someone can tell me if I use Texar incorrectly or there are other problems exist.

The error is because the (1) input sentence length < filter size, and (2) the default config does not use padding.
For (1), it looks your data is not tokenized. Texar does not tokenize the text. The input sentence should be like "但是 您 的 所作所为 不 合适", i.e., tokens are separated by whitespaces.
The code should work after fixing (1). To add padding, set the hyperparameter "other_conv_kwargs": {"padding": 'SAME'}, in the dict clas in the config file config_kim.py

Thank you very much ,it really works.
I want to let the program to classify my test sentence so I need to get the result of the class. I change the fetches to fetches = {             "accu": accu,             "pred": pred,             "batch_size": tx.utils.get_batch_size(batch['y'])         }.
I think the key:pred will be the list of the result however the order of the list is messy rather than in the order of the test data. Is there some solution for this problem?

Not quite sure what you meant by "the order of the list is messy". pred should be a Tensor of shape [batch_size].

For example, the label of the test data is [0,1,0,1] and when I print the pred ,it is [1,0,0,1] although the acuuracy is 100%. Maybe it is because the shape of the data is smaller than the size of batch?

accu is computed using pred and the ground-truth labels here.  accu=100% means pred matches ground truth. Can you print out the ground truth to see if it's correct?
To avoid batch smaller than batch_size, you may set allow_smaller_final_batch to False in the data hyperparameters (doc)

I have solved my problem . Thank you very much!


Accessibility:MAS36: Not able to navigate to the view bar options  in the "vs code editor" using "Tab" key for the first time.

VS Code Version: 1.6.1
OS Version:1607
Steps to Reproduce:
1.Open visual studio code editor.
2.Using "Tab", key try to navigate to the "viewbaroptions (Explorer, Search, Git, Debug and Extensions)"
Expected result:
User should be able to navigate to all the "view bar options" using "Tab" key for the first time.
Actual Result:
User is not able to navigate to the view bar options using "Tab", key.User has to travel a lot using "Tab",key to reach view bar options.
User Impact:
User might wouldn't able to Navigate to View Bar without using short cut keys for the first time.
Attachments:

@WiproPSAccTest that depends on where the keyboard focus is when you start. I think in your case it was inside the editor and then you need more keys to go there. Can you find out where you started from?

Timeout.

Title has been changed to a common format to perform data population.


LIMIT 1 returns first point, should return last point

Found in: InfluxDB 0.9.0
Issue: Query such as "SELECT * FROM cpu LIMIT 1" returns the first point in each series for measurement cpu.  It should return the last point, as documented in https://influxdb.com/docs/v0.9/query_language/querying_data.html
Please fix.  Being able to get the latest point data for multiple series is fundamental.

@MarekRychlik Sorry about the confusion  in the documentation, it could certainly be more clear. The "last" point in the series is first point that was ever written. Currently there is no way to get the latest point that was written.
See 2022 for more information.

Why don't support this ?  I think it is very useful in my case.
How can we get the newest point?

Why don't support this ? I think it is very useful in my case.
How can we get the newest point?  @mjdesa

@zhulinhong please follow issue #2022 for details. We also consider this important but not as important as other work already happening. It's not a matter of "we will not support this" but just "we have not yet built this but we will."


Missing Files

Hi! This was reported and fixed (but not released). You can try the installer from here and see if it solves the issue,
https://ci.appveyor.com/project/picotorrent/picotorrent/build/job/w4c6sb7svp44nsxr/artifacts

On 24 Oct 2019, at 06:50, ozonesn<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


[Suggestion] Main levels

The same thing but for main levels too

In a future update, if all goes well with my life.


Anonymous checkout (OCC-79)

it would be possible to sell digital file such book or files without sign up and required email address. and download after purchase from browser.
Jira issue

Anonymous checkout

Exactly

Changed the title to reflect that. Thanks!

Changed the title to reflect this. Thanks!

Understood, thanks!

To confirm, the checkout currently (not talking about digital good purchases that's not available yet) can be anonymous, no, @DAud-IcI?

Since #154 it is possible to grant the "Ability to checkout" permission to the Anonymous role. Since  #155 you can provide all necessary details on the checkout screen including email and billing address. (the shipping address fields are technically required, but you should be able to hide them via placement) After successful checkout you are redirected to the Order's display page (as of #156) so you can include a download URL there using a link field or custom templates. These three work together, I have just confirmed.
Technically nothing stops you from leaving the email field empty during checkout. It's pre-populated for authenticated users so it's no concern for the regular use-case. If you want your store to be anonymous-only, you can hide the field via placement configuration. On the flip side if the user provides an email address you can send out the download URL using workflows (Order Content Published trigger and Email task). Anything else you need for digital goods should be doable using normal OC features and it's probably very specific to your content delivery backend, which would likely fall out of OCC's scope. But if you have a specific request feel free to open a new issue.


Fronting a domain with DNS A-record round-robin & ACME

Automatic ACME works nicely if you use Traefik on a single server. How would you use it if you had multiple servers behind a single domain with Traefik in front? ACME domain ownership verification requires the response to be the same from all of the servers (or rather, from the single server that it resolves to). I currently do not see any way to do this.
I presume sharing the acme.json file across the servers is enough to share the certs once they're generated, but not enough to actually pass the tri-monthly validation.
How could we remedy this?

@niieani see https://github.com/containous/traefik/issues/348

Thanks. Closing in favor of #348.


IRSA Support for Snow

What would you like to be added: IRSA Support for Snow clusters
Why is this needed: Users with Snow clusters want to send metrics back to AWS using ADOT w/IRSA.
Today, if a user tries to add a serviceAccountIssuer in their cluster spec, it's not passed through to the kube-api config so the pod-identity-webhook does not work.

@evdevr We do pass the serviceAccountIssuer arg in cluster spec to create KCP for snow provider.
I just tested IRSA for snow and it works:
bash-4.2# aws amp list-workspaces --region=us-west-2
{
    "workspaces": [
        {
            "alias": "adot-amp-test",
            "arn": "arn:aws:aps:us-west-2:xxxxxxxx:workspace/ws-xxxxxxxx",
            "createdAt": "2023-02-22T14:17:39.353000+00:00",
            "status": {
                "statusCode": "ACTIVE"
            },
            "tags": {},
            "workspaceId": "ws--xxxxx"
        }
    ]
}

Notice there is a bug in amazon-eks-pod-identity-webhook repo where to fix it temporarily you need to manually create the mutation webhook and test again. REF: https://github.com/aws/amazon-eks-pod-identity-webhook/issues/176
Feel free to test out. Closing the issue.


LIN-1473: paywall UI fixes

Update paywall UI by reducing spacing and updating layout to remove scrolling on most devices
On some small screens it is expected to still have scorlling behaviour

few screenshots would be useful I guess


Does this simulation environment support the task of combining trajectory prediction with reinforcement learning decision-making?

First, trajectory prediction, then adding traffic flow from the dataset to the environment, and then using the trajectory prediction results as part of the reinforcement learning input?

Yes. You can have a trajectory prediction module to predict future trajectories for surrounding vehicles with the camera output. However, such a module is too heavy to implement. Instead, you can get the ground truth positions/velocities for surrounding vehicles, so you can make a proxy for that heavy real trajectory prediction module by generating future trajectories with speed and position. Afterward, you can add some noise to make it as predicted from the lidar or camera output.


MT25QL flash MTD driver addtion

Summary
Addition of MT25QL flash memory driver to support MTD operations.
Impact
New NOR flash support, for storage.
Testing

We typically backport.
Did you mean to upstream this to NuttX?
Also what is the actual differance from the stm32427 to the stm32427A?

@Jaddu-jd  did you mean to reuse this PR?


lint: fix glossary headings, ignore blank lines in block quotes

Indent headings in glossary, only one <h1> per document
Accept blank lines in block-quotes, see https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md028

merged https://github.com/ethereum-optimism/optimistic-specs/pull/56 for same effect


Dead code in RedisClient.send_command

There following line seem to do nothing:
https://github.com/NodeRedis/node_redis/blob/42e979b1af844abb815469dceff6b37e05e3e210/index.js#L735

True indeed. There is a typo in that line and it's covered by a later line that should be removed instead after fixing this. Thx for pointing this out.

Thanks for your quick reaction.
Have a great day :)


Seemingly spurious UV_EOF (errno 4095) upon closing TCP connection.

Hi, I've been testing Winloop and I was happy to see similar performance speedups on Windows as for uvloop on Linux. Really nice!
To get full functionality for my application I had to use two simple workarounds though, to fix two problems with Winloop 0.1.0.
The first problem happens upon closing a TCP connection. An error UV_EOF occurs on one side of the connection. The workaround is to simply ignore this exception. This error does not happen with any of the other event loops (asyncio's proactor, selector, nor with uvloop).
You can reproduce the problem running the simplest demo for the MPyC package. The following code is from the latest version MPyC v0.9.7 on GitHub, see mpyc/asyncoro.py. This is inside the connection_lost(exc) method:
          if 'winloop' in str(self.runtime._loop):
              # Workaround to suppress seemingly spurious UV_EOF (4095) exception from winloop.
              # For example, "python helloworld.py -M2 --output-file -E1"
              # creates a file "party2_1.log" with the error present.
              # Does not happen over SSL, which makes sense as for SSL
              # self.transport.can_write_eof() == False.
              if exc.errno == 4095:  # NB: exc is an OSError in Winloop 0.1.0
                  print(f'suppressed UV_EOF error in connection_lost(): {type(exc)=} {exc=}')
              else:
                  raise exc

Using python helloworld.py -M2 --output-file -E1 in mpyc/demos runs the demo between two parties on localhost. Party 0 experiences no problems, but party 1 will get the 4095 error upon closing the TCP connection. The file party2_1.log created will show the error in its last line. (Note that party 1 used a server listening for incoming connections from party 0, so party 0 acts as client and party 1 as server.)
The problem does not happen when using SSL, which makes sense as an SSL transport has can_write_eof() == False.
Do you have any idea what causes this problem?
For the other problem I'll open a separate issue.

I do not understand what causes this problem however if I could find a clean way to debug this issue that would be very helpful I guess a deep dive into how each handle behaves would allow me to find a way to solve this issue. There should be a built-in way to debug these modules since they came from uvloop originally...

See the discussion for issue #13, for why the above workaround is no longer needed;)
You probably want to check the entire source code for similar cases. Maybe things like uv.ENOBUFS and uv.ECANCELED need to be handled similarly.


Missing helper text in filter by

When you choose filter by county name or county, it just comes up with a blank selector. It should have default text that says
"Select a County"
or
"Select a County Type"

ugh maybe not, I don't think it's available with dropdown menu


More than one file was found with OS independent path 'META-INF/common_release.kotlin_module'

com.sagar:dslpermission:2.0.0

packagingOptions {
        exclude 'META-INF/common_release.kotlin_module'
    }

I hope delete this code.


Add support for Zefania XML Bible Markup Language

Lots of bibles can be found here: https://sourceforge.net/projects/zefania-sharp/files/Bibles/

Better late than never :grimacing:


# Clone the repo not working

$ git clone git@github.com:jlengstorf/learn-rollup.git
will yield
Cloning into 'learn-rollup'...
[...]
Permission denied (publickey).
fatal: Could not read from remote repository.

$ git clone https://github.com/jlengstorf/learn-rollup
works just fine

That's weird. I've seen this in the past as well, but it seems to be almost arbitrary. I haven't dug into it, though. Does this happen with all repos that you don't own? Or just this one?
If it's all repos, maybe try the GitHub troubleshooting steps. Maybe your SSH key isn't being passed along?
I'm going to close this since it's more of a GitHub issue than an issue with this tutorial/codebase, but if you end up testing this out and figure anything out, I'd love to hear what you tried and what did/didn't work.


ARTEMIS-1945 InVMNodeManager shared state should be volatile

State access should be atomic to be visibile between
different threads.

Reproducing it is dependent by how the JIT will choose to optimize the code, that's why there isn't any tests on it. I can try to build one, but probably it will take seme time (to be run)


content: update job title to reflect recent promotion

Manual verification via the deploy preview link looks great.


Updated README.md

fixed issue #3

fixed issue #3
Can you change the description? It doesn't actually fix it. Adding warning about not using npm, yarn or bun in CONTRIBUTING.md is still remaining.

@NotSugat I'd appreciate it if you add the warning of not using other package managers other than pnpm in CONTRIBUTING.md in your next PR.


vienna rss link is dead

Hey,
Going through the list I found the link to vienna rss -- www.vienna-rss.org -- is dead.
I'd love to make a PR to fix this, but I'm unsure of you steps to create the README.md files. Happy to edit that and PR if that's cool :)

The README.md is a text file that is processed using a markdown parser.
Here is a Github guide on Markdown, https://guides.github.com/features/mastering-markdown/.
To edit it, you can use any text editor. Another option, after forking, you should have an option to edit the file on your browser


Spam filters on browse pages

Each time I open browse page I find tons of spam. The spam filters, moderation or user's votes for spam would be great.

The browse page is privatish as its not linked to anymore which is why the spam is still there.


Enable setting bind_address in chrony.

thanks for the pull request @qrpike, but i'd like to get a better understanding around the why here. can you share the intent around why, in your environment, you'd like to change the chronyd bind address inside this (single process) container?
also, can you confirm if this is a duplicate of PR #44 ?

@cturra This is useful when you only want to expose chronyd through a especific interface.
For example, mine is only accesible via localhost which gets requests through a socat tunnel.


#1741 add get active sheet name function

PR Details

Description
add GetActiveSheetName function to easily get active sheet name.

Related Issue
#1741

Motivation and Context

How Has This Been Tested
Unit test.

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

ok~


Fixed URL for DWARF website

dwarfstd.org is not working with https protocol (Site not found)

Docs Build status updates of commit ad9a729:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/whats-new/2019/12/devtools.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off and merge.


Packaging binaries efficiently

Hi. Gordon looks great.
Sorry if this is covered somewhere else.
I'm particularly interested in approaches like those taken to run sci-kit learn on lamda or with or larger packages with sci-kit like serapis.
Will the following commands for zipping up a virtual environment be sufficient for gordon to include these packages in the deploy?
$ find "$VIRTUAL_ENV/lib64/python2.7/site-packages/" -name "*.so" | xargs strip
$ pushd "$VIRTUAL_ENV/lib64/python2.7/site-packages/"
$ zip -r -9 -q ~/venv.zip *
$ popd

Will zip -9 be used to ensure proper size?
Thank you!

Hello @Hendler ! I'll try to answer your question and a few more issues you might find while trying to do something like this.
The original question, was if gordon will zip your lambda's code as much as possible. The short answer is no, we don't do that at the moment but we should be doing it. The default compression of ZipFile is  ZIP_STORED which means no compression but we could set it to ZIP_DEFLATED which will compress them using zlib.
So, with a one line fix, gordon would do the -9 for you.
About packing resources into lambdas: Based on the runtime of your lambda gordon picks one "default" build method which is fine for 95% of the situations (This is the default build process for a python lambda)... but you can completely override it using the build setting in your lambdas. The only requirement for gordon is that you leave in the { target } directory what you want to zip.
One example of build would be the Golang example. Golang is not a supported runtime in AWS, so the trick to make it work is to zip both the binary version of your Go program (already compiled) and a small javascript loader which invokes it. In order to do copile the Go code, we need to override the build step:
lambdas:
  helloworld:
    description: Simple Lambda written in go
    code: hellogo
    handler: code.handler
    runtime: nodejs4.3
    build:
        - cp -Rf * {target}
        - GOOS={go_target_os} GOARCH={go_target_arch} go build -o {target}/code_go_compiled code.go
        - chmod +x {target}/code_go_compiled

So, answering your question, yes it should be possible (I would love to know if you manage to make it work, because this would be an great example).
About compiling python packages in the correct architecture (In the article you linked the suggestion was to run the compile process in an EC2 instance)... Well this is tricky and will require some setup from you. There are few options:

Go crazy and do that as part of the build process (Might work but it is going to be nasty)
Do it once,  leave those dependencies in your project, and pack your lambdas with them (This is a "fine" solution).
Use Docker to compile your lambdas. This requires a bit of knowledge about docker (which I don't have at the moment). There is a "working" example for javascript  which uses lambci/docker-lambda base images. I think it should be possible with a bit of engineering to make it work, and this will have all the advantages of the EC2 approach without it's overhead.

Thanks so much for covering this. If I do work on this, I'll pass along the sci-kit example.


bug: Rarity Colors of Inventory

I'm really enjoying the Tidy Sheets module update, and I thank you for maintaining it. After the recent update, I noticed the Rarity Colors module integration that changes item colors in the inventory isn't working as it used to. Could you please take a look? Thank you so much once again.
https://github.com/p4535992/foundryvtt-rarity-colors

I think that is the old tidy sheet can you post the modules versions  both tidu and rarirty colors?

Yeah, I can do that. I'm not sure what version it stopped working for me as well.
Tidysheet - 2.5.3
Rarity Colors - 0.3.14

Sorry for the wait. I've submitted a pull request to Rarity Colors with the compatibility fix: https://github.com/p4535992/foundryvtt-rarity-colors/pull/15

Thank you very much, I used your version and it works great. Thank you again for the work you've done maintaining Tidy Sheets. The sheets feel better than ever!


need specialization for average() method

need specialisation to int for T vec::average() const
to solve the downcast problem or the different bit registration between float and int
std::cout << vec3<int> (2,1,3).average() << std::endl; // return bad result > 10924
std::cout << vec3<float> (2,1,3).average() << std::endl; // return the good result > 2

solve it.


VideoPlayer playback rate error after page changed and remaing time display error

:tada: This PR is included in version 1.0.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Forbidden Lands v1.3 update

fix: incorrect translation keys for Animal Handling and Sleight of Hand caused "false" or "fault" to be displayed as the roll preset.
fix: Spell rank selector of 4 given the value of "3".
fix: Sleight of Hand Attribute dice were stuck at "0".
added column header label of "Don" to the Armor/Helmet section to help indicate what the equip checkbox is to be used for.
added a "Dice Only" tab which might be useful for GM's.
fix: clear unnecessary dice in pool when using Reputation and Armor roll presets.
fix: clear Gear dice when using Skill preset
added dotted borders around selected roll buttons and # of dice selected in pool to help indicate what is actually selected for colorblind users.
other small cosmetic adjustments

Any chance to get these last few commits included? ;-)  I was trying to beat you to it...

Greetings @vince-roll20
I'll add them in. Though for future it has to be done by Monday morning. :)
Thanks,
Cassie

Roger that.  Thanks Cassie


Riscv gcc refuses to evaluate for riscv64-embedded

When I try to evaluate pkgs.pkgsCross.riscv64-embedded.gcc, I get the following error:
error: Package ‘gcc-debug-wrapper-10.2.0’ in /nix/store/dq8r0icaprzfb9b1afpggliaa9h8ivsl-source/pkgs/build-support/cc-wrapper/default.nix:506 is not supported on ‘riscv64-none’, refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.

How hard would it be to add in riscv support for gcc? Could someone direct me towards a starting point to do this?

Relatedly, riscv-pk seems to be broken. I can't build it, because it's not cross compiling to a riscv64 target.

pkgsCross.riscv64-embedded.stdenv.cc works for me, what's the difference to  pkgsCross.riscv64-embedded.gcc? (Sorry if it's a noob question)

This can probably be closed. I've since resolved my issues (not to mention an entire release has happened. Pretty sure that package is building now.

This appears to still be an issue: https://hydra.nixos.org/job/nixpkgs/binutils-2.36/spike.x86_64-linux#tabs-status
configure is able to pick up on the fact that getprogname is unsupported, but somehow this is not reflected at compile time when using gnulib. An easy, if unsatisfying, workaround is:
spike.overrideAttrs (oldAttrs: rec {
        doInstallCheck = false;
        installCheckPhase = "";
})

This will remove the dependency on the offending hello package but doesn't bring us closer to root-causing the issue.


refactor: migrate to Material Design 3

This ticket is present as a reminder to ensure the migration to Material Design 3.

Is your feature request related to a problem? Please describe.

Support last material version

Describe the solution you'd like

Migrating from M2 to M3 (MDC 1.4.0 to MDC 1.5.0)

Additional context

Documentation for migrating to Material Design 3 : https://material.io/blog/migrating-material-3

Thanks @WestFR for your issue!
At short term, we don't plan to support Material 3 because Vitamin shouldn't be specific to a platform (today, we have 3 implementation of the Design System with Web, iOS and Android). But we need to think how to map the semantic properties of Vitamin with semantic properties of Material You.
That was trivial with Material 2 but we need more reflexion about Material You support. We'll think about it in Q1 2022. Thanks for your issue, I keep it in our bugtracker. :)

Thanks @GerardPaligot for you comment!
I'm totally agree with you (the semantic properties between MD2 and MD3 are some differents) on some components. So it's very trivial and tricky.

Hi everyone,
Thanks again for this proposition. Following our important note, we will not be able to do this in this implementation but we will think about this for our next version (inner sourced for the moment).
Thanks for your understanding and your proposition @WestFR.


Handle empty SDP Addr TODO

It'd be nice to determine the best way to handle the case where sdp.Addr is empty string. To the best of my knowledge, that shouldn't happen during parsing, and is most likely indicative of an the calling function failing to supply the value. See also: https://github.com/jart/gosip/blob/521911370bb19ef391344d124494996cc3f92136/sdp/sdp.go#L302

https://tools.ietf.org/html/rfc4566#section-5.7

A session description MUST contain either at least one "c=" field in
each media description or a single "c=" field at the session level.

So it's possible that we don't have a "c=" line in the upper SDP part but something like this:
v=0
o=-<PHONE_NUMBER><PHONE_NUMBER> IN IP4 <IP_ADDRESS>
s=-
t=0 0
m=audio 9 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 110 112 113 126
c=IN IP4 <IP_ADDRESS>
m=video 9 UDP/TLS/RTP/SAVPF 96 97 98 99 100 101 102 123 127 122 125 107 108 109 124
c=IN IP4 <IP_ADDRESS>
Nevertheless, as you said a empty "c" line addr shouldn't happen and at least in the WebRTC space I think most ppl would just set it to IP6 :: (former it was IP4 <IP_ADDRESS>)
https://tools.ietf.org/html/draft-ietf-mmusic-trickle-ice-02#section-5.1

It is worth noting that the use of IP6 :: has been selected over IP4
<IP_ADDRESS>, even though [RFC3264] already gives the latter semantics
appropriate for such use.  The reason for this choice is the historic
use of <IP_ADDRESS> as a means of putting a stream on hold [RFC2543] and
the ambiguity that this may cause with legacy libraries and
applications.


Does create/update extension need superuser creds

A user reported below warning log
promscale[56356]: level=warn ts=2021-07-28T17:18:11.671Z caller=extension.go:155 msg="Unable to install/update the Promscale extension; failed to acquire the lock. Ensure there are no other connectors running and try again."

Also, mentioned that the warning disappeared when the user configured superuser creds to Promscale.

A simple answer to this quersion: yes, the promscale extension requires superuser credentials.
One reason is that we attach support functions to some promscale functions, which requires superuser. From the postgres docs:
SUPPORT support_function
    The name (optionally schema-qualified) of a planner support function to use for this function. See Section 38.11 for details. You must be superuser to use this option.

There is a way around this using pgextwlist https://github.com/timescale/promscale/blob/master/docs/sql_permissions.md#using-a-non-superuser-owner-with-pgextwlist


Bump nvd3 charts for tooltip fix (#7994)

CATEGORY
Choose one

[x] Bug Fix
[ ] Enhancement (new features, refinement)
[ ] Refactor
[ ] Add tests
[ ] Build / Development Environment
[ ] Documentation

SUMMARY

see https://github.com/apache/incubator-superset/pull/7994
TEST PLAN

CI
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

REVIEWERS
@john-bodley @michellethomas @graceguo-supercat

i'm just going to ship this in 34, merge conflicts are too hard


excerpt_separator  is rendered as text

When I specify a dedicated excerpt_separator such as  in my _config.yml file, then the following happens:

In my front-page index.html file, the excerpts are correctly cut off immediately at .
In the blog post itself,  does actually appear as textual content in the middle of the text, although it should actually be hidden since it is a html comment. For any reason, Redcarpet escapes the greater than < and less than > characters, thus rendering HTML comments unusable in markdown.

I do not want to use something like newlines \n\n as an excerpt_separator, because I want to be able to cut off an excerpt in the middle of a paragraph.
I am referring to the current Redcarpet version available at GitHub's Jekyll.

Alright, I switched to using the excerpt separator  in combination with the CSS rule .more { display: none; }. Not my top favorite solution but it works smoothly.

I had exactly the same issue and worked around it by changing the page and post layout to embed
{{ content | replace: '', '' }}
This cuts out the excerpt separator from the page and everything works as expected.

I cant get the {{ content | replace: '', '' }} trick to work, if I use another excerpt marker like end_exc it works. using a html comment feels better though. Ill keep looking.

Found a better solution: {{ content | remove_first: '', '' }}
Now you can use  as a global excerpt_separator in config.
You can use http://www.freeformatter.com/html-escape.html#ad-output to escape any word you want.

Where exactly are you putting
{{ content | remove_first: '', '' }}

is it supposed to replace {{ content}} like so?

    {{ content | remove_first: '', '' }}

This is still not working for me.  I guess I am putting the filter in the wrong place?

Here is where i put it: (post.html)
https://github.com/stylekit/stylekit.github.io/search?utf8=✓&q=remove_first
Here is my entire jekyll setup: https://github.com/stylekit/stylekit.github.io
Here is some context about this jekyll setup:
http://stylekit.org/blog/2016/01/06/The-Jekyll-Setup/
Good luck and cross your toes!

Thank!


Julia error during LRE

see https://github.com/isi-usc-edu/qb-gsee-benchmark/blob/main/scripts/testing_LRE/LRE_julia_error_nohup_log.txt

I am thinking that this error may be related to the recent release of OpenSpecFun v0.5.5+1:

The first stacktrace in the logs involves OpenSpecFun_jll.
v0.5.5+1 was released the day before you encountered the error.
The logs have an error message related to RISC-V and v0.5.5 seems to include a change related to RISC-V: https://github.com/JuliaPackaging/Yggdrasil/pull/10112.

Apparently a new version of OpenSpecFun_jll, v0.5.6+0, was just released today. @jp7745 I'd suggest just trying to re-run the script to see if this new release has resolved the issue. If you still see similar errors after re-running, we could post an issue on JuliaPackaging/Yggdrasil.

Ok.  Restarting the LRE script this evening and I'll check back tomorrow. Thanks for tracking that down @max-radin .

script is chugging along for close to 24 hours now.  no errors yet.


Civil3d 2021 connector needs support for the unit "USSurveyFeet"

While building the Civil3d 2021 connector from source, it fails to send items if the units for the file are "USSurveyFeet" while it does fine with other units.
To reproduce the error, change the Insertion Scale Drawing Units for the file to US Survey Feet and try to send an alignment from Civil 2021 to the server.
The problem seems to stem from Unit.cs in speckle-sharp/Core/Core/Kits

Thanks for reporting this! Should be a quick fix, will try to squeeze it in for our next release coming up soon 👍

Thank you so much! Looking forward to it.


allow failure option

I have a command that I know it fails on a specific operating system, but I want to run it as a reminder to fix the issue. However, I don't want the step to fail the whole job. Is there a way to do that using retry?

@nick-invision Can we add the example to the documentation? This is a very useful feature!

I think there's a valid case now to support this in action. With the rollout of improved composite actions: https://github.blog/changelog/2021-08-25-github-actions-reduce-duplication-with-action-composition/ , there is no way to specify continue-on-error. Furthermore, composite actions don't support if: failure(), so it is not possible to have failure tracks in composite actions.


ARM on Linux and Docker is GA for 23.1.16

ARM on Linux and Docker is GA for 23.1.16
Relates to https://github.com/cockroachdb/ed-tools/pull/54 which updates the release-note script defaults
Previews
https://deploy-preview-18330--cockroachdb-docs.netlify.app/docs/releases/#v23-1
https://deploy-preview-18330--cockroachdb-docs.netlify.app/docs/releases/v23.1#v23-1-16

@mdlinville is there a Jira we can point to as proof that these are GA for v23.1.16?  for future reference?

I'd really like to have a link to a Jira or something that can be the reference for "ARM is GA for version XX.YY"
otherwise LGTM

We discussed offline, but ARM was GA in 23.1.14: https://github.com/cockroachdb/docs/pull/18196 This is just a papercut due to a tooling miss on my part.

@mdlinville followed up with me via another channel and we have this info in Jira, this PR is fixing a paper cut in our infra - thanks Matt!


be able to update config without running all the CI/CD

right now we have to run the build to update the config. we should find a way to have a more dynamic system where it would not be needed to run the full test of suites to update a config parameter.
if we have to run all the tests to update a parameter, it makes the point of having a config file less relevant.

how often does the cron runs? this would be an option indeed.
another option would be to run a manual job on circleci to do a redeployment without having to run all the tests beforehand.
maybe this second option would be easiest to implements. we would just need to separate the build/test with the deployment, so that the latter can be run independently.

how often does the cron runs? this would be an option indeed.

It's once every minute afaik (which is too aggressive for our use case here, but we can adjust it of course)

another option would be to run a manual job on circleci to do a redeployment without having to run all the tests beforehand.
maybe this second option would be easiest to implements. we would just need to separate the build/test with the deployment, so that the latter can be run independently.

Yep, I agree.