Add the EcsFargate sink and Unit reference class

Description
This is a neat little library, and I'd like to use it with ECS Fargate! Unfortunately for Fargate you can't just emit the EMF format into your logs. You have to pipe them over the network to a CloudWatch Log Agent.
This is the TCP implementation to do just that. I haven't yet tested this in my environment, but the messages look like they should work.
Given it's a bit of a "beefy" change, I wanted to get this PR out sooner than later.
Changes
I've created a sink for ECS Fargate that immediately ingests all EMF requests and puts them into a queue. Queue is thread-safe by default in Ruby.
The sink starts a separate thread which reads from the queue and shovels messages over the wire. This way your main logic/program is never sitting around and blocking when e.g. a TCP connection goes down, the agent blocks, etc.
Updated Dependencies

I added the tcp-client gem, v0.11.2. I originally wrote my own client, but later thought better of that.
Concurrent-ruby automatically upgraded itself from 1.1.7 to 1.1.10.

Ticket

(Sorry, I can't add tickets to your Jira!)
XX-1234
Notes
Recommended reading: Code Review guide

Optional Tasks

I still need to update the readme! 🤦

[ ] Include 🎩 Instructions
[ ] Update the readme (README.md)
[ ] Update the API or architecture docs (e.g. docs/api.md)

Library-Specific

[x] Increment the changelog (CHANGELOG.md)
[x] Increment the version number (lib/version.rb)
[ ] Release & Tag the version above in Github

Performance

Are there any new queries in your change set that might require new indexes?
Do any new queries require time-boxing to avoid table-scans when the data grows?

What GIF Best Describes This Pull Request?

I'm doing a lot of refactoring since now I'm testing this out. Going to close this PR for now and come back once it's well-tested.


Exception is thrown with 4XX and 5XX responses

Q
A

Bug?
yes

New Feature?
no

Version
v1.1.1

Actual Behavior
Documentation says:

By default clients will always return a PSR-7 response instead of throwing a HttpException. Write your application to check the response status or use the Error Plugin to make sure the HttpException is thrown.

However both sendRequest() and sendAsyncRequest() throw an HttpException instead of returning the response. See example script below for comparing behaviour of different clients and 404response.
https://gist.github.com/tuupola/527823d9a37848a6b35621204ec7b121
Expected Behavior
Call to sendRequest() should return response object with 404 status.  Promise from sendAsyncRequest() call should resolve to fulfilled promise and receive response object with 404 status.
Steps to Reproduce
use Http\Adapter\Guzzle6\Client as Guzzle;
use GuzzleHttp\Client as GuzzleClient;
use Http\Message\MessageFactory\DiactorosMessageFactory;
use Http\Message\StreamFactory\DiactorosStreamFactory;
use Psr\Http\Message\ResponseInterface;

$nosuch = (new DiactorosMessageFactory)->createRequest("GET", "http://google.com/nosuch");
$guzzle = new Guzzle(new GuzzleClient);

$promise = $guzzle
    ->sendAsyncRequest($nosuch)
    ->then(function (ResponseInterface $response) {
        print "Guzzle async status: ". $response->getStatusCode() . "\n";
        return $response;
    });

try {
    $promise->wait();
    print "Guzzle promise state: " . $promise->getState() . "\n";
} catch (\Exception $exception) {
    print "Guzzle async exception: " . get_class($exception) . "\n";
}

try {
    $response = $guzzle->sendRequest($nosuch);
    print "Guzzle sync status: " . $response->getStatusCode() . "\n";
} catch (\Exception $exception) {
    print "Guzzle sync exception: " . get_class($exception) . "\n";
}

/*
$ php guzzle.php
Guzzle async exception: Http\Client\Exception\HttpException
Guzzle sync exception: Http\Client\Exception\HttpException
*/

Above code works as expected when  Guzzle exceptions are disabled by setting http_errors to false. I guess this should used as default.
$guzzle = Guzzle::createWithConfig(["http_errors" => false]);

When you providing the client yourself we assume you have configured it as you want.. That is why we do not modify the settings...
// Replace:
$guzzle = new Guzzle(new GuzzleClient);

// With:
$guzzle = new Guzzle();


Removed dependency on MIP4c2-SP11; Added OS Core Unit to assign IDs

Removed dependency on MIP4c2-SP11; Added Operational Support Core Unit to assign Core Units ID.
@LongForWisdom , @CPSTL , @Davidutro  , @blimpa Please review.

@juan-fintech make sure to update the forum thread versions of these!


Fixed location of settings file.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@ecc3910). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #29   +/-   ##
=======================================
  Coverage        ?   61.38%
=======================================
  Files           ?       55
  Lines           ?     3473
  Branches        ?        0
=======================================
  Hits            ?     2132
  Misses          ?     1341
  Partials        ?        0

Continue to review full report at Codecov.

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

:tada: This PR is included in version 3.0.1-beta.1 :tada:
The release is available on:

v3.0.1-beta.1
GitHub release

Your semantic-release bot :package::rocket:


[BUG] unable to drag to dismiss when not at top of scrollable list

Describe the bug
It appears that I cannot drag to dismiss the sheet while the contents are scrolled down. I can only drag to dismiss when I've scrolled to the top of the list. I've specified .pane, .backdrop, .draggable as dragBy targets, but this doesn't help.
To Reproduce
Steps to reproduce the behavior:

Go to this build and download the APK
Install it and click on "Init Pane" and scroll down the list. Then try to dismiss from the top of the pane where .draggable is, you will see that the pane cannot be pulled down until you've scrolled back to the top.

Expected behavior
I should be able to drag to dismiss the pane if I have scrolled down the list.
Screenshots
N/A
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Tecno Android phone and Samsung Galaxy Ultra Note 20
OS: Android 8.1 - Android 12
Browser: Chrome Webview
Version: 102

Additional context
N/A

Hello @CodeWithOz
It's been a while since I touch this issue, and seems that I just complete it and you must be able to move scrolled pane with draggable element.


Parallel tx submit

Task linked: CU-2je6b5u Node-To-Client requests caching

Task linked: CU-2jtvxwm Wrapper around network connection with async functionality


Importing Graphics Configuration Not Saving

I added some new accounts to the launcher and they all launch with maxed out graphics. I've attempted to change this by importing a graphics config to no avail. Every time I reboot the launcher it resets all settings to max.

i have a profile back in win 10, "Main High Profile" and "Main Low Profile". i use the low profile if i want to do the low graphic farming with afk like verdant brink. But today i just installed windows 11 and i no longer able to set per-profile base graphic configuration. are you also in windows 11?

im on windows 10, same issue

same issue. last version 2.4.2. Windows 10 of course


Could not load file or assembly 'System.IO.FileSystem, Version=<IP_ADDRESS>

Hey, just downloaded RoslynPad 12 and I got this, when tried to run script:
Could not load file or assembly 'System.IO.FileSystem, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Microsoft.CodeAnalysis.Scripting.dll wants to load older version of System.IO.FileSystem, even though
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="System.IO.FileSystem" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
    </assemblyBinding>

exists in RoslynPad.exe.config

Fixed it by copying RoslynPad.exe.config
And renaming it to RoslynPad.Host32.exe.config and RoslynPad.Host64.exe.config

Thanks for reporting this! I've updated the zip.


⚠ Fortnite has degraded performance

In c5b4c2f, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1757 ms

Resolved: Fortnite performance has improved in e11f666.


Fix 'initializer for conditional binding must have Optional type…' error

When building under the swift-5.8 development snapshot dated 2/9/2023, I get this error:
…/SourcePackages/checkouts/Kingfisher/Sources/SwiftUI/KFImageRenderer.swift:48:63: error: initializer for conditional binding must have Optional type, not 'AnyView'
                    if let placeholder = context.placeholder, let view = placeholder(binder.progress) {
                                                              ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This PR fixes that, seems to work for both Xcode 14.2 (5.7?) and Swift 5.8 toolchains. Should be applied to 7.6 branch as well as master.

LGTM! Not sure why I wrote this before.
Thank you for this!

Yeah, I don't know why the compiler even allows it!

Builds fine for me in Xcode 14.3b2 using the 7.6.2 version.

@cbunge3 Can you try to confirm that you are using the latest commit (sometimes maybe you need to reset the SPM cache or clean the derived folder, etc) and make sure to perform a clean before build.

X code Version 14.3 beta 3 (14E5215g)
Swift 5
Kingfisher 7.6.2
the issue was disappear after the app's build folder  in ~/Library/Developer/Xcode/DerivedData/  deleted

I have a same compiler error， Xcode version is 14.3  (14E222b)

I've a same error...  KFImageRenderer.swift:48:63 Initializer for conditional binding must have Optional type, not 'AnyView' after Xcode update to Version 14.3 (14E222b)

I have same error on the Xcode 14.3.

The related changes were already released as a part of 7.6.1. Any one encountering this please try to upgrade to the latest version.
(If you are using a package manager, make sure to either do a repo update or/and cache clearing to make sure to get the latest versions)

The related changes were already released as a part of 7.6.1. Any one encountering this please try to upgrade to the latest version.
(If you are using a package manager, make sure to either do a repo update or/and cache clearing to make sure to get the latest versions)

Thanks a lot. The 7.6.1 version solves my issue.

I'm experiencing this very same issue with the version 7.6.2 of Kingfisher after updating XCode to 14.3 stable.

 Was solved when Kingfisher was updated to 7.6.2 version.


Change relevant pet fields to getters

For pet type class methods that just return private values, replace the methods with getter methods so that the fields can be accessed on the pets without parentheses.
E.g. pet.name instead of pet.name()
This is a followup to https://github.com/tonybaloney/vscode-pets/pull/285

Codecov Report

Merging #286 (de82255) into master (a23e14e) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master    #286   +/-   ##
======================================
  Coverage    8.35%   8.35%
======================================
  Files           3       3
  Lines         634     634
  Branches       90      90
======================================
  Hits           53      53
  Misses        581     581

Impacted Files
Coverage Δ

src/panel/main.ts
3.27% <0.00%> (ø)

src/panel/pets.ts
7.17% <0.00%> (ø)

src/panel/states.ts
16.56% <0.00%> (ø)

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

Thanks!


I am trying to run differential-line algorithm but can't download this dependency

I tried running ./install but get this error :
error: can't combine user with prefix, exec_prefix/home, or install_(plat)base
What should I do?
Thank you for any help.

I've never seen that before. what python version are you on? mac? linux? can you please post all of the output, not just the single line?
There is only one actual line of important code in the script, you can try it directly:
python3 ./setup.py install --user


Infinite listview not listening to NeverScrollableScrollPhysics

This will not prevent the InfiniteListView from scrolling which is not the expected behaviour:
InfiniteListView.builder(physics: NeverScrollableScrollPhysics())

Yeah the problem lies in this part: final scrollPhysics = AlwaysScrollableScrollPhysics(parent: physics) which is within the infinite_listview.dart. This needs to be changed

Fixed as of v1.1.0


Loosing credentials when deploying model

Hi Tabular Editor
I have some issues when I de deploy my model. Whenever I do so using Tabular Editor, I am loosing my credentials.
My SQL Server is 2019  and the Compatability Level of analysis Services is 1500.
I read Issues 194. If the model is 1400 or lower that should happend. But is it still the case when my model is 1500?
https://github.com/TabularEditor/TabularEditor/issues/194
Maybe there is something I am missing when deploying?
That you for an awesome tool!
Kind Regards
Kristoffer Sisseck

Unfortunately, the issue remains with CL 1500 (and probably future CLs) as well. In fact, it doesn't have much to do with the CL, but rather it is how the AS engine treats the credentials on Structured Data Sources, when a deployment is made. If you are loading data from a relational data source such as a SQL Server, consider switching over to Provider (aka. Legacy) Data Sources, since these do not have this issue. If you're not able to switch to Provider data sources, you'll have to run a TMSL script to set the password after deployment (as described in #194), or alternatively, use a c# script inside Tabular Editor to set the password before deploing.

Hej Daniel,
Thank you for a quick respons. I now makes sense to me. I will look into the diffent solutions that you provided.
Kind Regards
Kristoffer


Add support for unicode modifiers IconData

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
I want to display emojis as icons using my custom emoji font. This way, I can benefit from tree shaking. When rendering an emoji in a text widget (e.g. Text("😂")), it doesn't tree shake all the unused emojis, and the font file is rather large.
To display emojis in an icon widget, I do something like this:
 static const IconData waiving_hand = IconData(
    0x0001f44b, //unicode entry point for waiving hand emoji (👋)
    fontFamily: _kFontFam,
    fontPackage: _kFontPkg,
  );

However, there's a problem:
Some emojis are rendered using Unicode modifiers (two characters in my case). For instance, to render a white-skinned waving hand, you need to first render 0x0001f44b (which represents the neutral hand) and then 0x1f3fb.
Proposal
Consider adding support for Unicode modifiers to the IconData class. This would allow rendering of more specialized emojis.

Flutter doctor output

[✓] Flutter (Channel stable, 3.10.6, on macOS 13.4 22F66 darwin-arm64, locale
    en-DE)
    • Flutter version 3.10.6 on channel stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f468f3366c (3 weeks ago), 2023-07-12 15:19:05 -0700
    • Engine revision cdbeda788a
    • Dart version 3.0.6
    • DevTools version 2.23.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Platform android-33, build-tools 31.0.0
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2022.2)
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.80.2)
    • Flutter extension version 3.70.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4 22F66 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 115.0.5790.114

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Thanks for the report @dxvid-pts
Have you already tried IconData's codepoint property https://api.flutter.dev/flutter/widgets/IconData/codePoint.html and see if it helps to achieve your case ?

 static const IconData waiving_hand = IconData(
    0x0001f44b, //unicode entry point for waiving hand emoji (👋)
    fontFamily: _kFontFam,
    fontPackage: _kFontPkg,
  );

I am using the codepoint property in this example (0x0001f44b). The problem is that a second codepoint is needed as there are two characters required to render some emojis.
Example:
https://emojipedia.org/waving-hand-light-skin-tone/

For this emoji 👋🏻 you need these two codepoints.

Thanks for the update.

@darshankawar I have the same problem, but using NerdFonts. Apparently, the icons in this font consist of modifiers, because otherwise there are to many of them. So I get two code units for the symbols, but I can only pass one code point to IconData. I want to use existing API, I don't want to use a Text, that's rather hacky.
I'm stuck and need to live with installing many font packages from many sources, which I absolutely want to avoid. Such a mess.


⚠ ClamAV has degraded performance

In 7185e86, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in 7ddd5f1.


Update styling

Went through with @csherron to update some of the basic component styling to get the padding and margins and type sizes right. No major changes here otherwise.

These variables should realllly be extracted.

Indeed, was just looking at that. Will do this now.


failed to get the same performance

Thank you for your great work.
I run the train and test scripts on the ms1m dataset these days,but I got poor performance.
Here are my result on ms1m part1_test:
Bcubed fscore:0.6264, parwise fscore 0.4994.
I wonder which step went wrong，could you share the training log?
When I run the train_GCN script ,the last loss is:
loss:1.9265 bclloss_pos:0.007  bclloss_neg:1.919

Don't Worry.
Can you tell me trainmre and  testmre result of adaptive filter after training?

trainkdiff 5.21 testkdiff 8.04
trainmre:0.11  testmre:0.32

After I change  the version of dgl ,the performance is normal.


Is there a way to generate token address with 'pump' at the end?

I was wondering if this is something that can be done with the create and buy method?
Many thanks.

Yes,
https://www.quicknode.com/guides/solana-development/getting-started/how-to-create-a-custom-vanity-wallet-address-using-solana-cli

I mined a vanity keypair ends with 'pump' and launched the token successfully, but the token cannot be viewed on pump.fun. Any idea?


Mkdir gfs

GetPathStatus call should go to GetBlobProperty for blob endpoint.

GetPathStatus call should go to GetBlobProperty for blob endpoint.

For the mkdir flow only here? @anmolanmol1234

GetPathStatus call should go to GetBlobProperty for blob endpoint.

For the mkdir flow only here? @anmolanmol1234

Have added it for mkdir and append in this PR. Sree is handling the same for read call. Any place that looks missed ?

GetPathStatus call should go to GetBlobProperty for blob endpoint.

For the mkdir flow only here? @anmolanmol1234

Have added it for mkdir and append in this PR. Sree is handling the same for read call. Any place that looks missed ?

You may kindly add in the PR description. From description I thought its for all :). Thanks.


Add Waii connector

Description
This PR adds Waii connector, which allows users to generate SQL queries, get an understanding of their databases, compare/describe queries, and get performance insights for the most expensive queries.
Type of Change
Please delete options that are not relevant.

[X] New Loader/Tool
[ ] Bug fix / Smaller change
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[X] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[] Added new unit/integration tests
[X] Added new notebook (that tests end-to-end)
[X] I stared at the code and made sure it makes sense

Suggested Checklist:

[X] I have added a library.json file if a new loader/tool was added
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] I ran make format; make lint to appease the lint gods

@jerryjliu , I just created a patch to use Waii as a tool from Llama. I think be able to ask questions about complex query generation, diff queries, describe dataset, do perf analysis, etc. Which I think it is pretty cool.
Here's notebook examples: https://github.com/wangdatan/llama-hub/blob/main/llama_hub/tools/notebooks/waii.ipynb
Looking forward to hear your feedback about it.
If you or anybody want to test this out yourself, I will be happy to share test account / API-key for you to do so.

@wangdatan can you fix the tests, please? need to be lazy imports to the tests pass

@EmanuelCampos , thank you for the review. I just updated lazy imports.

@wangdatan sorry for the delay on this, will review soon!

@jerryjliu thank you for reviewing.
Both are good suggestions.
For 1. I will update it so the user can see what happens behind-the-scene.
For 2. My intention was, that the Waii LlamaIndex tool is something users can use to finish most of their SQL tasks, no matter if it is query generation, query transcode, or performance analysis. But I think some of the use cases are somehow orthogonal to each other. Maybe we can split it into multiple tools (I'm open to your suggestions):
a. waii: handles:

Query generation
Get and summarize query run result
Describe dataset (Based on the user pattern we saw, users like to do dataset discovery / search together with query generation).
Users can also use diff queries and describe queries to get a better understanding of existing queries.

I think these use cases are relatively separate from each other. Do you think if LLM (I tried to use GPT-4 as agent, it seems handles these use cases pretty well).
b. waii-perf: handles performance analysis, it is commonly used, but user can load the tool separately.
But since waii-perf is just one single function call, I'm not sure if it is worthwhile to separate it out.

@wangdatan thanks for the detailed response. I think it's ok to keep as one tool spec - actually this may be one us to let users "pick" the functions they want to use with to_tool_list instead of automatically giving all tools to the agent

Let me know when it's ready for review and I can approve!

Thank you @jerryjliu . I think it is ready for review. Let me know if I missed anything since this is my first LlamaHub PR 😃

Thank you @jerryjliu . I think it is ready for review. Let me know if I missed anything since this is my first LlamaHub PR 😃

did you update with verbose=True?

Oops, I forgot, I will do it tonight

@jerryjliu I just added verbose=True to the notebook example.

Thank you for reviewing and merging it!


Update reqr.es links in example.

It looks like reqr.es has done away and the project is now hosted at reqres.in . I'm not sure what the api returned before - I'm assuming it is similar.

Nice catch, @jeffutter.  Thank you!


Change the title for the nominate page and main page

nominate is changed to "Nominate for the 'election name' - 'convention
name'"
the landing page is changed to "The 'convention name' Hugo Awards, by
NomNom"

(I kinda want to keep my thing's name there on that page :D)
Fixes #89

I'm sorry, I didn't mean to completely erase your software name! We can put it back in the tab too, if you'd like. Change to landing page approved.


Small improvements for two-keyword modifiers in VB

Adds Private Protected and Protected Friend to index page and TOC.
Adds link to the Protected Friend article to Access Levels.
Improves wording in Access Levels. "Keyword combination" is the term used by the linked articles.

Warnings are not related to this PR. So merging this now.


Refine configuration language.

This refines a lot of content and updates configuration references. I also refined a lot of the guides to make them more consistent in using fully working configurations if referencing config/canopy.json.
Example
In the Enable the Map Component  on the map guide, I show the full config and highlight the line for "enabled": true,.
{
  "collection": "https://digital.lib.utk.edu/assemble/collection/gsmrc/wcc",
  "featured": ["  https://digital.lib.utk.edu/assemble/manifest/wcc/269"],
  "metadata": ["Place", "Date", "Subject"],
  "map": {
    "enabled": true,
    "defaultBounds": [[51.505, -0.09]],
    "icon": {
      "iconUrl": "images/marker-icon.png",
      "iconSize": [24, 36],
      "iconAnchor": [12, 36]
    },
    "tileLayers": [
      {
        "name": "OpenStreetMap",
        "url": "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
        "attribution": "© OpenStreetMap contributors"
      }
    ]
  }
}

👍 Thanks for the review @markpbaggett -- I committed your suggestions.


[TEST] Automate manual test cases in robot

What's the test to develop? Please describe
This ticket lists the manual test cases we've usually run during release testing.
When adding new test cases in robot, consider the following test cases first, so we can save our time from time consuming manual testing when doing release. cc @longhorn/qa @innobead
Describe the tasks for the test

[ ] Normal Manual Test cases

Replica Rebuilding
Node drain and deletion test
Single replica node down
Test Longhorn components recovery
Test backup listing S3/NFS
test backup functionality on google cloud and other s3 interop providers
pull backup created by another Longhorn system
The node the DR volume attached to is rebooted
Checksum enabled large volume with multiple rebuilding
HA Volume Migration
Test kubelet restart on a node of the cluster
Node disconnection test
The node the restore volume attached to is down
Physical node down
Physical node reboot

[ ] Uninstallation

Uninstallation Checks

[ ] Upgrade

Kubernetes upgrade test
Longhorn Upgrade test
Test System Upgrade with New Instance Manager
Test system upgrade with a new storage class being default
Upgrade Conflict Handling test
Test Engine Crash During Live Upgrade
DR volume live upgrade and rebuild
Test Backing Image during Longhorn upgrade

[ ] CIS harden

Longhorn in an hardened cluster
Test Longhorn deployment on RKE2 v1.24- with CIS-1.6 profile
Test Longhorn deployment on RKE2 v1.25+ with CIS-1.23 profile

[ ] Rancher related

Drain using Rancher UI
Upgrade Kubernetes using Rancher UI

[ ] Volume Encryption

https://github.com/longhorn/longhorn/issues/7097

Additional context

@roger-ryao will drive this with @chriscchien . @yangchiu will continue focusing on negative testing instead.


Xnero: Watch nationwideunitedautotransport.com

Xnero requests the watch of the watch_keyword nationwideunitedautotransport\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

nationwideunitedautotransport\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

From unreported spam, according to https://chat.stackexchange.com/transcript/message/57082724#57082724


Moving test images to their own folder

Moving test images on the base folder to their own, test_images.

Auto-merging.

Now I realized; when I write auto-merging, it should be self-merging! :slightly_smiling_face:


Rails 3.2.1: superclass mismatch for class Mysql2Adapter

Seems still to be a problem. Here's the stack trace:
gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:23:in <module:ConnectionAdapters>': superclass mismatch for class Mysql2Adapter (TypeError)   from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:22:in module:ActiveRecord'
from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/mysql2_adapter.rb:6:in <top (required)>'   from gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in require'
from gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in block in require'   from gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in load_dependency'
from gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in require'   from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:48:in resolve_hash_connection'
from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:39:in resolve_string_connection'   from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:23:in spec'
from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/connection_adapters/abstract/connection_specification.rb:127:in establish_connection'   from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/railtie.rb:76:in block (2 levels) in class:Railtie'
from gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:36:in instance_eval'   from gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:36:in execute_hook'
from gems/ruby-1.9.3-p0@rem2/gems/activesupport-3.2.1/lib/active_support/lazy_load_hooks.rb:26:in on_load'   from gems/ruby-1.9.3-p0@rem2/gems/activerecord-3.2.1/lib/active_record/railtie.rb:74:in block in class:Railtie'
from gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:30:in instance_exec'   from gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:30:in run'
from gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:55:in block in run_initializers'   from gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:54:in each'
from gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/initializable.rb:54:in run_initializers'   from gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/application.rb:136:in initialize!'
from gems/ruby-1.9.3-p0@rem2/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in method_missing'   from /Users/gernot/entwicklung/rem2/config/environment.rb:5:in <top (required)>'
from /Users/gernot/entwicklung/rem2/spec/spec_helper.rb:41:in require'   from /Users/gernot/entwicklung/rem2/spec/spec_helper.rb:41:in block in <top (required)>'
from gems/ruby-1.9.3-p0@rem2/gems/spork-0.9.0/lib/spork.rb:24:in prefork'   from /Users/gernot/entwicklung/rem2/spec/spec_helper.rb:5:in <top (required)>'
from /Users/gernot/entwicklung/rem2/spec/builders/buchhaltung_builder_spec.rb:2:in require'   from /Users/gernot/entwicklung/rem2/spec/builders/buchhaltung_builder_spec.rb:2:in <top (required)>'
from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in load'   from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in block in load_spec_files'
from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in map'   from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/configuration.rb:698:in load_spec_files'
from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/command_line.rb:22:in run'   from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:80:in run_in_process'
from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:66:in rescue in run'   from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:62:in run'
from gems/ruby-1.9.3-p0@rem2/gems/rspec-core-2.8.0/lib/rspec/core/runner.rb:10:in `block in autorun'

Are you using spork?

Yes, I do. But the error occurs when I do 'bundle exec spec spec' as well
Am 03.02.2012 um 18:43 schrieb Rick Martinez:

Are you using spork?

Reply to this email directly or view it on GitHub:
https://github.com/bmabey/database_cleaner/issues/98#issuecomment-3800870

This seems to be a problem when using Spork.
When ActiveRecord tries to establish the connection so DatabaseCleaner can do its stuff, it requires the database adapter you're using. If ActiveRecord does this twice, it ends up requiring the AbstractMysqlAdapter twice. The AbstractMysqlAdapter class gets redeclared and ruby complains because Mysql2Adapter is already inheriting from the old AbstractMysqlAdapter.
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/connection_specification.rb#L53
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb#L1

Can you post your spec_helper.rb?

Here it is:
encoding: utf-8
require 'spork'
Spork.prefork do
Loading more in this block will cause your tests to run faster. However,
if you change any configuration or code from libraries loaded here, you'll
need to restart spork for it take effect.
require 'simplecov'
require "pry"
SimpleCov.start do
add_filter '/test/'
add_filter '/config/'
add_filter '/spec/'
add_filter '/vendor/'
add_filter '/lib/forgery/'
add_filter '/app/cells/'
add_filter '/app/controllers/'
add_filter '/app/helpers/'
add_filter '/app/views/'
add_filter '/lib/rem1_migration/'
add_group "Builders", "app/builders"
add_group "Business", "app/business"
add_group "Commands", "app/commands"
add_group "Extensions", "lib/ext"
add_group "Utilities", "lib/util"
add_group "Helpers", "app/helpers"
add_group "Models", "app/models"
add_group "Viewmodels", "app/viewmodels"
add_group "Cells", "app/cells"
add_group "Modules", "app/modules"
add_group "Imports", "lib/rem1_migration"

SimpleCov.coverage_dir 'coverage/rspec'

end
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", FILE)
require 'rspec/rails'
require 'declarative_authorization/maintenance'
include Authorization::TestHelper
require 'fakefs/spec_helpers' # Helpers um File-System faken zu können (testen read/write von Files)
RSpec.configure do |config|
Rails.logger.level = 4
# == Mock Framework
#
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
#
# config.mock_with :mocha
# config.mock_with :flexmock
config.mock_with :rspec
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, comment the following line or assign false
# instead of true.
config.use_transactional_fixtures = true
config.debug = false
config.include Devise::TestHelpers, :type => :controller

# include the fakefs helpers to automatically activate and deactivate fakefs
# whenever a test is tagged with fakefs: true
# Doku auf http://defunkt.io/fakefs
#
# To activate in Rspec, use it as follow:
#
# describe ClassName, fakefs: true do
#   enter File-Tests here
# end
config.include FakeFS::SpecHelpers, fakefs: true

config.before :all do
  MwstSatz.create :mwst_cd => KEINE_MWST_CODE, :gueltig_ab => Date.new(1995, 1, 1), :prozent => 0
  CodetabellenHelper.setup_test_data
end

config.after :all do
  DatabaseCleaner.clean
end

end
end
Spork.each_run do
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
end

Try adding these lines right after ENV["RAILS_ENV"] ||= 'test':
require 'active_record'
require 'active_record/connection_adapters/abstract_adapter'
require 'active_record/connection_adapters/abstract_mysql_adapter'

I found where the issue lies and I'll probably submit a pull request with a permanent fix soon. The problem is AbstractMysqlAdapter not being defined when this line is executed.

Thank you, that solved the problem.

thanks digx fixed a problem I was having in a test-case with multiple AR connections.


UAX29URLEmailTokenizerImpl.jflex matches emails with commas and invalid periods in the local part

Description
The UAX29URLEmailTokenizerImpl.jflex code matches commas as part of email local part, as well as invalid leading, trailing, or consecutive periods. Examples of bad matches<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>https://github.com/apache/lucene/blame/main/lucene/analysis/common/src/java/org/apache/lucene/analysis/email/UAX29URLEmailTokenizerImpl.jflex#L188
Relevant code:
EMAILatomText = [A-Za-z0-9!#$%&'*+-/=?\^_`{|}~]
EMAILlabel = {EMAILatomText}+ | {EMAILquotedString}
EMAILlocalPart = {EMAILlabel} ("." {EMAILlabel})*

The problem is EMAILatomText matches periods and commas, and it was not meant to. Commas are invalid in the local part unless it's quoted (EMAILquotedString supports that). Periods are supposed to only be valid as EMAILlocalPart allows, but with the bug, the ("." {EMAILlabel})* part never matches as periods are matched in EMAILlabel.
As for why it matches commas and periods?
See the ASCII table:

And look for a hidden range that matches these 5 characters. It's the +-/ above. Clearly copy-pasted from someplace like this:

The dash is a range here, and coincidentally is the middle character in this range as well! (perhaps mitigating discovering this bug)
The solution is as simple as this escaping the dash:
EMAILatomText = [A-Za-z0-9!#$%&'*+\-/=?\^_`{|}~]

You can of course also just move it to the end or the beginning of the character class where it is taken literally, but seems a bit more fragile, and escaping keeps the "minus" after the "plus" as in the original order this was copied from.
Version and environment details
Current and all older versions I believe.

awesome find, wow, embedded sneaky range in the grammar :)
Locally I modified the grammar per your suggestion and ran gradle regenerate, tests seemed happy. i want to add a simple test for one of your example such as<EMAIL_ADDRESS>But given how difficult this bug is to chase down, maybe you want to do the honors and make a PR? Otherwise I'm happy to fix it.

awesome find, wow, embedded sneaky range in the grammar :)
Locally I modified the grammar per your suggestion and ran gradle regenerate, tests seemed happy. i want to add a simple test for one of your example such as<EMAIL_ADDRESS>But given how difficult this bug is to chase down, maybe you want to do the honors and make a PR? Otherwise I'm happy to fix it.

Thanks so much for looking into it, and the PR offering! But I'm definitely fine with you fixing it, and glad I was able to help. It was pretty hilarious how long we (my colleague and I) looked at the relevant rules, running tests to see if other unexpected characters match, etc, until it suddenly clicked (was even more hilarious when it did click)

@eraneverlaw sorry for the delay again, see PR. I added a simple test but there was already funkiness shown in existing tests and a TODO to figure out the comma. There are more TODOs there as well still but this is a great find. Such a cool bug.


reduce manual effort for assembling global changelog

https://deis.com/docs/workflow/roadmap/releases/#step-6-assemble-master-changelog still requires manually copy/paste of non-component repo changelogs (workflow, workflow-cli, workflow-e2e).  It would be preferable if the existing deisrel global changelog could just do it all...

Closed via https://github.com/deis/deisrel/pull/157


PP options

Refactor: make DistillerOptions a map from a enum Key to boolean
Fix #120: implement :print-options command in the obvious way
Fix #39: load default pp config from the repl's config

bors d=imkiva

And I don't understand why it's necessary to refactor the options with enums and make DistillerOptions mutable.

Basically you need to change them, so mutable
Enum means you can have code completion in the REPL for free (no effort) thanks to @imkiva's completion framework

is this cast necessary? (similar cases below and in CoreDistiller)

Thanks for pointing this out! Fixed in new commit.


Running shellHooks that hit external resources

At CircuitHub, we use a single mono repo and have a shell.nix in it which contains, amongst other things:
      shellHook =
          ''
          export                                                                   \
            PGDATABASE=$( vault read -field=database secret/dev/staging-database ) \
            PGHOST=$( vault read -field=host secret/dev/staging-database )         \
            PGPASS=$( vault read -field=password secret/dev/staging-database )     \
            PGUSER=$( vault read -field=user secret/dev/staging-database )

So by entering a nix-shell, our developers are also in an environment that can talk to a shared staging database. lorri now supports shellHook, but it does this in a jail that can't use vault as that requires HTTP requests.

We cannot run shellHooks outside of a nix build environment, because of the effects described in https://github.com/target/lorri/issues/7#issuecomment-480298131.
What we could do though is introduce a special field, e.g. lorriHook, with a different semantics and environment than shellHook, where setup code like the above could be run in the direnv setup phase.

I'd be fine with that

As a workaround, @hanstolpo pointed out to me that you can just whack
eval "$shellHook"

at the end of .envrc for now to work around this.

btw, lorriHook field with eval "$lorriHook" in .envrc works too!

@ocharles Your solution did not work for me (details at #444) since lorri build seems to panic out beforehand.


cant find -ltensorflow_framework

Hello, your article is wonderful. But when I'm running
sh compile_op.sh
The following error occurs：
/usr/bin/ld: cant find -ltensorflow_framework
collect2: error: ld returned 1 exit status
I didn't change anything. Could you give me some Suggestions？

I had a similar problem which was compounded by having no su access.  I got around your problem by (I am not saying it is the best solution):

locating the missing file using:

find / -name "libtensorflow_framework.so" 2> /dev/null
Mine found a so.2 file

Create a soft link in the tf_custom_ops folder which points to the file in question:

ln -s /mnt/storage/software/languages/anaconda/Anaconda3-2019.10-tflow-2.1.0/lib/python3.7/site-packages/tensorflow_core/libtensorflow_framework.so.2 libtensorflow_framework.so

Change the compile_op.sh to add the tf_custom_ops folder as a library source.
i) Added TF_LIB2='/path to/KPConv/tf_custom_ops' near the top of the script
AND
ii) changed -L$TF_LIB to -L$TF_LIB -L$TF_LIB2 for each of the four compilation instructions.

Hello @j2oj2o
Your answer solved my difficulty. However, I have encountered the following errors：
`... ...
Dataset Preparation

Preparing ply files
Done in 0.1s
Loading training points
397.4 MB loaded in 0.5s
Loading test points
82.0 MB loaded in 0.1s
Initiating input pipelines
WARNING: Logging before flag parsing goes to stderr.
W0531 13:23:31.021588<PHONE_NUMBER>22016 deprecation.py:323] From /home/dell/wag-gpu/lib/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py:494:py_func (from tensorflow.python.ops.script_ops) is deprecated and will be removed in a future version.
Instructions for updating:
tf.py_func is deprecated in TF V2. Instead, there are two
options available in V2.
- tf.py_function takes a python function which manipulates tf eager
tensors instead of numpy arrays. It's easy to convert a tf eager tensor to
an ndarray (just call tensor.numpy()) but having access to eager tensors
means tf.py_functions can use accelerators such as GPUs as well as
being differentiable using a gradient tape.
- tf.numpy_function maintains the semantics of the deprecated tf.py_func
(it is not differentiable, and manipulates numpy arrays). It drops the
stateful argument making all functions stateful.
2020-05-31 13:23:31.084677: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcuda.so.1
2020-05-31 13:23:31.105487: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: Quadro P4000 major: 6 minor: 1 memoryClockRate(GHz): 1.48
pciBusID: 0000:b3:00.0
2020-05-31 13:23:31.105753: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudart.so.10.0
2020-05-31 13:23:31.107385: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcublas.so.10.0
2020-05-31 13:23:31.108510: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcufft.so.10.0
2020-05-31 13:23:31.108834: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcurand.so.10.0
2020-05-31 13:23:31.110571: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusolver.so.10.0
2020-05-31 13:23:31.111638: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcusparse.so.10.0
2020-05-31 13:23:31.115243: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library libcudnn.so.7
2020-05-31 13:23:31.116396: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)`
Could you give me some advice again? Thank you very much.

Hi @zhouhao957
Unfortunately "Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)`" could mean a lot of things.
The most comprehensive way to determine the problem is to debug it.  See https://wiki.python.org/moin/DebuggingWithGdb
Personally, I would assume it is some kind of memory issue (even though the output did not show any OOM - out of memory errors).  In particular I have found increasing first_subsampling_dl will reduce the size of the subsequent ply files and also lowering the batch_num value will also reduce the memory footprint.  These are simple ways to test the water.
I would also consider changing from GPU to CPU by changing on_CPU = False to on_CPU = True in the trainer.py or tester.py file.  Other things to try are to ensure you are using the same Tensorflow and Python versions as the code was tested.
Admittedly, none of the above modifications are necessarily going to solve your problem but they may give you an idea of where to start looking.

Thanks @j2oj2o for your details answer.
In my case I sometimes had the cant find -ltensorflow_framework error when using docker or virtual environments. If you have tensorflow installed in a virtual env, you need to activate it when compiling the tf_ops.
Concerning the SIGSEGV error, the suggestions from @j2oj2o are all really smart to help debugging. I can also advice to go to reduce the number of input threads to 1 so that you can track the error more easily. Also you can comment the lines that fix the prefetch size. For example
https://github.com/HuguesTHOMAS/KPConv/blob/132fdc628fb4850548e931c8b02c6325e7cac85e/datasets/common.py#L582
This will cancel the input pipeline parallele queues
I also need to ask, what version of python/cuda/tensorflow you are using.

Thank you for your answer @HuguesTHOMAS @j2oj2o
1.
version:  python3.5.      cuda10.1.105   tendorflow1.14.0
Sorry, I know my version doesn't meet the requirements.
2.
Ask  again，
WARNING:` Logging before flag parsing goes to stderr.
W0531 13:23:31.021588<PHONE_NUMBER>22016 deprecation.py:323] From /home/dell/wag-gpu/lib/python3.5/site-packages/tensorflow/python/data/ops/dataset_ops.py:494:py_func (from tensorflow.python.ops.script_ops) is deprecated and will be removed in a future version.
Instructions for updating:
tf.py_func is deprecated in TF V2. Instead, there are two
options available in V2.
This warning has no effect, I don’t need to change it, right?
Thanks again

I never had this warning, but I assume that it has no effect indeed


Is it possible to somehow get geckolib on 1.18.2?

I am asking because I NEED mod on 1.18.2 (I am making addon to mod that is only 1.18.2)

Will v4.7.2 work? (I am still talking about 1.18 2)

It will work on the Mcreator version it was made for.


Error on first start - password authentication failed for user "meteor"

I am getting issues when I start up for the first time.  I think I installed everything right, and I can get into the postgres database using SQL Workbench.  Do I need to create a meteor user in the database?
Matts-MacBook-Pro:meteor-pg-leaderboard Matt$ meteor
[[[[[ ~/Documents/meteor-pg-leaderboard ]]]]]

=> Started proxy.
=> Meteor <IP_ADDRESS> is available. Update this project with 'meteor update'.
=> Started MongoDB.
[Postgres]  LOG:  database system was shut down at 2015-08-20 06:26:12 GMT

[Postgres]  LOG:  MultiXact member wraparound protections are now enabled

[Postgres]  LOG:  database system is ready to accept connections

=> Started PostgreSQL.
[Postgres]  LOG:  autovacuum launcher started/

W20150820-00:26:19.992(-6)? (STDERR)
W20150820-00:26:19.993(-6)? (STDERR) events.js:72
W20150820-00:26:19.994(-6)? (STDERR)         throw er; // Unhandled 'error' event
W20150820-00:26:19.994(-6)? (STDERR)               ^
W20150820-00:26:19.994(-6)? (STDERR) error: password authentication failed for user "meteor"
W20150820-00:26:19.994(-6)? (STDERR)     at [object Object].Connection.parseE (/Users/Matt/.meteor/packages/numtel_pg/.1.0.0.lrow5g++os+web.browser+web.cordova/npm/node_modules/pg/lib/connection.js:534:11)
W20150820-00:26:19.994(-6)? (STDERR)     at [object Object].Connection.parseMessage (/Users/Matt/.meteor/packages/numtel_pg/.1.0.0.lrow5g++os+web.browser+web.cordova/npm/node_modules/pg/lib/connection.js:361:17)

If you want to use a user called "meteor" then, yes you do need to create it.
The read me includes the connection string for the default user:
https://github.com/numtel/meteor-pg-server/blob/master/README.md#usage

Okay, that makes sense - I am working on the leaderboard example, and I updated the leaderboard.js to have that connection string.  It would be nice to have a github repo that is the leaderboard example that is all configured with pg-server.  Perhaps I will put that up there once I have it figured out.

Yeah I had thought about that. It was not going to be simple with the old version of this package though. I have just released version 1.0.0 which includes an `initialize


How do I use custom authorization?

In my traditional controller-based API project, I've created custom authorization filers and I used it like this:
[HttpPost]
[ApiExplorerSettings(IgnoreApi = true)]
[PermissionAuthorize(PermissionOperator.Or, Permissions.MakeCheckDecisions, Permissions.MakeACHDecisions)]
public async Task Test([FromBody] PaidCheck check)
{
...
}

"PermissionAuthorize" is a custom attribute where I look at the claims to find all the values from ClaimsType called "Permissions" and then make sure the values in that claims contains one of the required values listed in the attribute.
Is there any way I can use this authorization directly in fast endpoint? Right now, the only way I can think of is to create policies and use the RequireClaim() function.
How does your Permissions() method works? https://fast-endpoints.com/docs/security#permissions-method
I didn't find too much docs around this. What claim(s) does it look for?

Oh wow, really awesome, works like a charm 🥇
Thank you so much, such an awesome component 👍

yeah the name of the game is convenience and getting rid of boilerplate ;-)

@dj-nitehawk
Do you have any recommendation on what kind of framework/components to use to consume APIs? Right now, I am just directly using the httpclient.PostJsonAsync() but a few problems like error handling, API endpoints are hard-coded in the call and not ideal.
I wonder if there is any components, like fast endpoint, but on the consuming end that you would recommend? Thanks!

api client generation based on the swagger spec is my personal favorite.
https://fast-endpoints.com/docs/swagger-support#api-client-generation


[BUG] AWS rate limiting hit for importing large .env files

Describe the bug
When importing a larger .env file (>150 values) the AWS ssm rate limiting is hit.
To Reproduce
Import a .env file with > 150 values
Expected behavior
It should load all values from the .env file by managing the rate of requests.
Desktop (please complete the following information):

OS: Mac OS
Version: 13.5.2

CLI information

Version: griffin-cli/0.4.1 darwin-arm64 node-v18.18.2

Additional context
N/A

This should now be fixed in release v0.5.1.  I'm going to close the issue but feel free to reopen if the issue persists.


FEATURE REQ: Allow spaces inside the Tags?

Is this feature already here? (I couldn't find it)
If not, is it possible that this feature could be added? Are there any limitations that's preventing this feature from being implemented on Android or IOS?

This is a fully controlled component, so it's actually up to you to determine what is or isn't allowed in the tags. Whenever the input text changes, the onChangeText callback property will get called. It's up to you to mutate the value property (which contains the list of tags) based on the updated text, so you could simply choose not to add new entries to the value array when spaces are added.

can you give me example?


 腾讯云需要验证appID的有效性
是否需要 backport 到之前的 release 分支:

release/2.11

/area region

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@f28cecd). Click here to learn what that means.
The diff coverage is 33.33%.

@@           Coverage Diff            @@
##             master   #2165   +/-   ##
========================================
  Coverage          ?   7.08%
========================================
  Files             ?     451
  Lines             ?   70814
  Branches          ?       0
========================================
  Hits              ?    5018
  Misses            ?   65383
  Partials          ?     413

Flag
Coverage Δ

#aFlag
7.08% <33.33%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/purge.go
0% <0%> (ø)

pkg/compute/models/buckets.go
2.08% <0%> (ø)

pkg/util/httputils/httputils.go
47.45% <100%> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


--knv - resulting in truncation errors

. /home/itodoro/zopen/etc/zopen-config  --knv
sort: FSUM9705 file "[standard input]": line too long: limit 2048 -- truncated
Processing z/OS Open Tools configuration...DONE
sort: FSUM9705 file "[standard input]": line too long: limit 2048 -- truncated
diff: FSUM8822 file "/tmp/zopen-config-env-orig.33556661": line too long: limit 2048
diff: FSUM8822 file "/tmp/zopen-config-env-modded.33556661": line too long: limit 2048
=

This may be a limitation with /bin/sort and /bin/diff. I dont get it with coreutils and diffutils.

Moving from using sort in a pipeline to running it against the temporary file should resolve the issue...

A better approach would be to create the updated variable thus:
PATH=/oem/zopen/...:$PATH
That way you only need the new path and use the existing full path from the existing variable.


Hide packages published after date X so that older repos's can be built retroactively without unintentionally upgrading to a package that existed in the future

Is your feature request related to a problem? Please describe.
Many few-year-old repositories from GitHub fail to build because their package.json file does not specify exactly which version of a package should be used, and instead specifies one which is equal to or at least a certain version. For example, a project published in 2016 could specify "node version greater than or equal to 3.0.0", but if I try to build it now, it will happily get node 9, which will fail to build as the API has changed significantly.
This becomes more complicated when other packages versions' have changed, as it's a guessing game as to which version was working at the time. This assumes that the package-lock.json file and the node_modules folder have been erased.
Describe the solution you'd like
I propose that verdaccio could conditionally hide versions for packages which exceed a user-defined date. A user could run verdaccio with a date argument, and verdaccio would pretend that the latest versions of packages are ones which are before that date, and hide all others in search results and everywhere else. When running npm install on that older project, I would attach npm to verdaccio (not sure how that works) so that the correct packages are pulled in. When verdaccio downloads a package metadata json file from npm, it has the following section:
"time": {
    "modified": "2017-04-12T08:40:46.145Z",
    "created": "2017-03-25T21:14:54.849Z",
    "1.0.0": "2017-03-25T21:14:54.849Z",
    "1.1.0": "2017-03-25T21:47:12.257Z",
    "1.2.0": "2017-03-26T10:59:34.349Z",
    "1.3.0": "2017-03-26T11:03:57.205Z",
    "1.3.1": "2017-04-06T10:23:03.438Z",
    "1.3.2": "2017-04-12T08:34:11.750Z",
    "1.3.3": "2017-04-12T08:38:01.988Z",
    "1.3.4": "2017-04-12T08:40:46.145Z"
  },

Inside of verdaccio's code, it could be trivial to instead of getting Object.keys() for the versions of the packages, to instead get the time object's keys conditionally if the value column is before a certain date (e.g. 2017-04-06T10:23:03.438Z). Therefore, verdaccio would pretend that the latest version of the package was the one that satisfies those time constraints.
For example, say I know that a repository's last commit was on 2017-04-06T10:23:03.438Z and it build successfully. Therefore, all packages versions' published after 2017-04-06T10:23:03.438Z wouldn't have existed, and therefore the application could not have referenced them. When npm install or npm update is run using this constraint, it will pull the "latest" version as specified in it's package.json file from verdaccio, and resolve its dependencies as normal. Therefore, older projects can be built successfully as it would not introduce any new packages that have not existed before, and would support vague versioning as the "latest" version of the package on 2017-04-06 was Node 3.0.0 (not sure) or whatever.
Since npm's package state would be as if it were in 2017, then theoretically there shouldn't be any problems in terms of package's versions being too new.
Describe alternatives you've considered
I've considered downloading the entire NPM metadata repository (all one million packages) which would take up 11GB uncompressed. This is highly inefficient because they would constantly need to be updated, then to retroactively find out which package in the package.json file refers to which package would require going over 11GB of data then trying to do dependency resolution which is extremely complicated to do by myself.
Additional context
Add any other context or screenshots about the feature request here.

Hi @alexyorke,
thanks for creating the issue.
Generally this would impact many parts of Verdaccio and so far I see no good reasons for doing this as a registry should list all packages and their versions.
It is up to the maintainers to update their packages if they do not work on new NodeJS versions. Also generally this should be documented by the respective maintainers and using engines: node > x is discouraged.

verdaccio would pretend that the latest versions of packages are ones which are before that date

This might break semver, due it is not the registry what to decided what's the latest, rather the developer.

Therefore, older projects can be built successfully as it would not introduce any new packages that have not existed before, and would support vague versioning as the "latest" version of the package on 2017-04-06 was Node 3.0.0 (not sure) or whatever.

I understand the issue, old projects, no lock files, made with old Node.js versions which are almost impossible to fix ('ve been there). But I think a registry cannot deal with this, you will have a lot of unexpected results.
The latest tag is just that, a tag, default one, but any user might use beta or even worse *.  I think there are plenty of combinations that make this not the best approach to follow.
The unique solution I can offer is a middleware plugin (https://verdaccio.org/docs/en/dev-plugins#api-1) which might be interesting to do for a PoC if you want to prove your concept, but I think it is not only changing the time props, there are a lot of things hidden that interfere.

I will close this, please feel free to keep discussion if is need it.


request: CRUD channel commands

Is your feature request related to a problem? Please describe.
Currently it is not possible to create, read, update or delete a channel through Skyra commands. This is something that can be added.

Describe the solution you'd like
s!channel <create|read|update|delete>
Create takes args:

name (required)
type (required)
roles (rest, optional, if provided this becomes a private channel)

Read takes args:

channelName (required)

Update takes args:

channelName (required)
name (required)
type (required)
roles (rest, optional, if provided this becomes a private channel)

Delete takes args:

channelName (required)

Not sure if we want to handle permission overwrites here because that'll be a lot of maintenance work with all the features Discord is adding. Not to mention that it'll be hard to parse I think.

Describe alternatives you've considered
Creating through discord UI

Additional context
Requested by YashuGamer cg here: https://discord.com/channels/254360814063058944/382531782387695616/862678116148445205

Thanks favna


How To Intergrate My Coin?

Hi,
Just a quick question, my coin is already integrated with BISQ. How do I integrated with BarterDEX?
Thanks!

Hi. If it is a erc20-token i need the contract address, if it is a coin, please tell me the link to the wallet source code. The name and ticker symbol would also be a useful information.

@cipig here it is:
Name: Tamadcoin
Symbol: TMC
Wallet: https://github.com/jared201/tamadcoin

Sorry, but BarterDEX does not support CryptoNote based coins. Maybe in a future version.


Warn when no completions were found

fixes #471

it would be nice to display some progress spinner too, but this should be enough for now.
cc @andypetrella

:+1:


Adds auth description to common bindings document

Adds a note about authorization to the common bindings document.
Closes #203

Same goes for the catalog https binding @jimmarino sry, I thought this was already changed. Also sec 1.3.

Same goes for the catalog https binding @jimmarino sry, I thought this was already changed. Also sec 1.3.

@juliapampus done


Fix/qr typos

Summary
A couple of typos in the QR descriptions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.689%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2587

Relevant Lines:
3559

💛  - Coveralls

@kt474 It seems that the deployment had errors. I don't see the message changed on production, so I guess we have to publish it again?


Would you please update the README.md

Just recovered from a problem caused by babel-eslint not being compatible with eslint similar to this one https://github.com/babel/babel-eslint/issues/275 and my little suggestion is maybe your Supported ESLint versions table in README.md can be updated since ESLint already released ^V4.

Yes, would you mind doing a PR for that?

@xtuc I'd love to and I encountered the decorators masked as unused issue and undefined static class property issue on ESLint 4.x/babel-eslint 7.x and everything worked well after I upgraded babel-eslint to 8.x. Will it seem not so strict if I update the Supported ESLint versions table and declare that ESLint 4.x should be compatible with babel-eslint >= 8.x?

Thank you for the issue. Now that @babel/eslint-parser has been released, we are making this repository read-only. If this is a change you would still like to advocate for, please reopen this in the babel/babel monorepo.


listing subscribers to an event

Is it possible to list subscribers to an event? How?

I also would like to know how to do this please?

Is this possible? I am also interested in this

:+1:

:+1:

I have never coded in coffeescript so this is not a proper solution but you can easily list subscribers and not the useless(?) number by simply editing the file event.coffee and...
comment out (#) /delete line:
.zcard("#{@key}:subs")
write:
.zrange("#{@key}:subs", 0, -1)
3 lines below, if you want, change the string total to subs (or anything to your liking):
info = {subs: results[1]}
Then, the JSON will look like this:
{
  "subs": [
    "RL5WSw8TQ60",
    "cF21MSCNxzM",
    "dExwz1sanV8"
  ],
  "created":<PHONE_NUMBER>
}


[EPIC] Billing Automation - Automation and data collection

This needs to be refined.

[ ]  Partially automate our manual invoicing process. This is still performed and validated by a human, but without any 'copy paste numbers from here to there' steps.

[ ] Automate accurately determining the cloud costs for a community.

For communities with dedicated clusters
For communities on our shared clusters

[ ] Work with CS&S to understand how we can automate the sending of invoices. This is currently very unclear. This may involve the Xero API, but may involve something else too. Discovery is needed.

[ ] Understand community needs for explaining cloud costs.

[ ] Work with a few pilot communities to understand what they would need in terms of understanding their cloud costs. This is currently underspecified and unclear.

[ ] One possible need is for fully itemized cloud cost invoices, which can be integrated into our automatic system as needed if communities want that.

I've downscoped this much more into https://github.com/2i2c-org/infrastructure/issues/3958

Closing based on https://github.com/2i2c-org/meta/issues/1028#issuecomment-2087793473 and https://github.com/2i2c-org/meta/issues/1028#issuecomment-2089063971


Add properties parameter to all command-buffer commands (update)

This is an update to #2050, with updates from the main branch.

Merging as discussed in the September 3rd teleconference + email.


Added try catch for better error reporting

If there's some error in the pages, this was failing badly, with no way to figure out the offending page.
"@rocketseat/gatsby-theme-docs-core" threw an error while running the createPages lifecycle:
Cannot read properties of null (reading 'fields')

Changes proposed

Additional context

typo will create new PR


feat(#108): support custom register provider

close #108

I'll do an in-depth review later.

@Leibnizhu let me know if you need a new release for this feature.


Add random.set_random_state

Resolves #387.
Implements a feature requested.

Thank you reviewing. Fixed accordingly.

LGTM!

Can I backport this? I want to use it in my test code. https://github.com/chainer/chainer/pull/3949/files#diff-d79652fbe7366154c45cdabbd5d1febaR14


Usage of pkg_resources library is deprecated

From warning:
../../../../../usr/lib/python3.12/site-packages/bkr/client/__init__.py:17
  /usr/lib/python3.12/site-packages/bkr/client/__init__.py:17: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

See https://setuptools.pypa.io/en/latest/pkg_resources.html

This issue is related to the beaker-client dependency, not mrack itself


[SPARK-41473][CONNECT][PYTHON] Implement format_number function

What changes were proposed in this pull request?
Implement format_number function
Why are the changes needed?
for API coverage
Does this PR introduce any user-facing change?
yes
How was this patch tested?
added UT

cc @HyukjinKwon

merged into master


How to use RoadArchitect in game mode?

Hi,
I am wondering is it possible to use RoadArchitect in the game mode? Thanks!

It is not possible currently to create or modify roads through the GUI
during game mode.
@gsdnano could tell you if the road API works in game mode, though.
On Jul 18, 2017 23:17, "Doraemon"<EMAIL_ADDRESS>wrote:

Hi,
I am wondering is it possible to use RoadArchitect in the game mode?
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MicroGSD/RoadArchitect/issues/30, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQsPZ16Gq8FvMoVVFgH8IMkMwMKNvpdwks5sPXVagaJpZM4OcLd_
.

Hi,
I think I did not describe the questions clearly. In fact, I mean is it possible to create road using RoadAchitect in the built game from Unity?
For example, we build a web game from unity and we could still use RoadAchitect in the game to create road and bridges in some way? Thanks!

you prob could but you'd have to look into the script that the GUI calls and use that, it shouldn't be too hard.
you should start off by going into the road script
ok here's what I found quickly:
if you don't know already you can click on gray boxes in vs and it will "reveal" the code
this is all under #region "Road Construction"
ln 135 if(!Application.isEditor){ return; }
if you quote this out it opens the possiblility for what you want.
ok in 10 minuets i came up with this
`using UnityEngine;
public class testForGSD : MonoBehaviour {
public GSDRoad roadScript;
private GSDSplineN node0 = new GSDSplineN();
private GSDSplineN node1 = new GSDSplineN();
private GSDSplineN node2 = new GSDSplineN();

// Use this for initialization
void Start () {
    node0.pos.x = 10f;
    node0.pos.z = 10f;
    node1.pos.x = 15f;
    node1.pos.z = 20f;
    node2.pos.x = 30f;
    node2.pos.y = 10f;
    node2.pos.z = 40f;
}

// Update is called once per frame
void Update () {
    roadScript.bUpdateSpline = true;
    roadScript.GSDSpline.ActivateEndNodeConnection(node0, node1);
    roadScript.GSDSpline.ActivateEndNodeConnection(node1, node2);

}

}
`
literally just do roadScript and then a . and just look around!!!!
hope this helped

Hi,
I make a new script by following your guide. But it is not allowed to drag the GSDRoad script to the public GSDRoad roadScript area. How to fix this? Thank you !!

@TomOR1 patching an API into the code is very bad practice, and is best left off the official issue tracker.

@djohns451 I admit it was a bit hacky but should work
@a244096658 Ill have a look at it in a minute (more like tomorrow) but my main framework of 400000 files is being re-imported so it will take a while
@a244096658 @djohns451 sorry for the delayed response!!

@a244096658 I apologize for not doing QA!! 😢

@a244096658 Sorry I've not checked out this issue yet but I've been very busy lately, I probably won't be able to sort it out very soon. I suggest that in the meantime you play around with it until it works!!
Good luck, Tom

@TomOR1 removing safeguards from the code is very bad practice, and is best left off the official issue tracker.
@a244096658 I suggest you look at the official API, and see if you can reuse some of the GUI code as an interface for it.

Hi, could you please tell me where I can find the official API?


Reference ncdata in docs.

This is just an attempt to augment the existing links to Iris and usage, to include reference to ncdata.
I could add more coverage of the why and how, but I don't think it is really wanted in xarray docs, so a link should be enough.

Note : you might argue that ncdata should allow to retire DataArray.to_iris / from_iris, but I really don't think the world is ready for that !
There are arguments on both sides:

I feel like 'to_iris' and 'from_iris' are embedding iris concepts within xarray, which doesn't seem like a great idea.
they don't handle all aspects  of CF translation :  so, a significant part of the motivation for ncdata was to enable "correct" translation via iris loading code for CF Conventions management, since to_iris can obviously only handle some parts of that.

..but..

to_iris and from_iris are obviously useful legacy, and easy to use
for simple cases, they avoid ncdata as an additional code dependency (though they do need Iris itself)

Nice! Is this the preferred way to convert between Iris & Xarray now? If so, we'd be happy to delete the existing methods, I am not sure anyone uses them anyway.

Oh my additional remarks crossed with your!
The answer very much depends on what you think.
Practically, right now, I think ncdata can handle "almost" anything, but it is not yet supporting 'string' type variables which has suddenly emerged as a bit of a problem.  I should be looking into that shortly.

I am not sure anyone uses them anyway.

I'd really need to defer to your understanding of that.
In Iris, we always find those questions really hard! (but we probably have a much more conservative user base)


No such configuration property: "client.software.name"

Description
For some reason I get configuration errors.
System.InvalidOperationException: No such configuration property: "client.software.name"
   at Confluent.Kafka.Impl.SafeConfigHandle.Set(String name, String value)
   at Confluent.Kafka.Producer`2.<>c__DisplayClass51_0.<.ctor>b__5(KeyValuePair`2 kvp)
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at Confluent.Kafka.Producer`2..ctor(ProducerBuilder`2 builder)
   at Confluent.Kafka.ProducerBuilder`2.Build()

How to reproduce
I created the simplest application:
class Program
    {
        static void Main(string[] args)
        {
            var clientConfig = new ClientConfig(new Dictionary<string, string>()
            {
                {"bootstrap.servers", "<IP_ADDRESS>:9092"}

            });
            var producer = new ProducerBuilder<string, string>(clientConfig).Build();
        }
    }

It gives the above error.

Confluent.Kafka nuget version 1.4.3
Kafka broker version 2.5.0
Critical issue: can not create a producer
arch linux x64

The code, stops working in version 1.4.0

I fixed it for now, by git cloning this repo, and returning an empty list in Library.NameAndVersionConfig I have the latest non-preview nuget packages ...

the error would be because Confluent.Kafka is loading a librdkafka version < 1.4.0. You can verify this using Library.VersionString. Do you have librdkafka installed on your system? It would be interesting to know more details when you work them out - where is the .so being loaded from? I'm not 100% sure if any of the bundled librdkafka builds in librdkafka.redist (a dependency of Confluent.Kafka) work on arch linux. I think so, but it would be also good to know that it does work without installing librdkafka on your system separately.
your fix is dangerous because Confluent.Kafka assumes 1.4.x. For example, none of the transaction features will work.

That's strange. I am using redist 1.4.2 of librdkafka, but Library.Versionstring gives me 1.3.0-10

just installed latest GIT version in my shared libraries folder. Thanks for the pointer.

Even better, I removed the globally installed librdkafka, and it works with the nuget redist package. I guess a conflict inloading the correct library ...


Low power mode status update soon after an action is initiated.

Follow on from https://github.com/house-of-abbey/GarminHomeAssistant/issues/103

I've tried this option for around two weeks now and yes, this looks great!
My only feedback is to maybe still poll HA for updates when an action is executed on the watch? Like when a script or toggle is executing, then update entities. It would look more snappy, and you would know the user is currently using the app, and it's not on "idle".

Suggestion: After an action, wait a much shorter period and then update before reverting to low power mode.

I've not done as requested, and solved a different problem instead. Reopening the issue.


Parser is not working anymore

Related to: https://github.com/babel/babel-eslint/issues/312
Since<EMAIL_ADDRESS>my linting here started failing. With 2.10.1, simply running eslint src/index.js stopped giving me an error, but running it with gulp-eslint kept failing.
Edit: additional related issues: https://github.com/eslint/eslint/issues/6158 https://github.com/eslint/eslint/pull/6160

This seems to be the fix: https://github.com/eslint/eslint/pull/6183

Eslint by itself works fine linting the code with this command $ eslint --ext .jsx src/js/**/*.jsx.
But executing the same test using gulp-eslint always throws  error  Parsing error: Unexpected token = .
The thing is that gulp-eslint is not taken the parser in .eslintrc {"parser": "babel-eslint"}.
I always get the error with the class properties (es7).
class LoginForm extends Component {
  static defaultProps = {
   	....
  }
  handleOnClick = (e) => {
   	....
  }
}

The latest version correctly choose a custom parser specified in a config file.
$ ls -1a
.eslintrc.js
fixture.js
gulpfile.js
node_modules/
package.json

fixture.js:
module.exports = {
  parser: 'babel-eslint'
};

fixture.js:
class Foo {
  bar = 1;
}

gulpfile.js:
'use strict';
const gulp = require('gulp');
const eslint = require('gulp-eslint');

gulp.task('default', () => {
  return gulp.src('./fixture.js')
  .pipe(eslint())
  .pipe(eslint.format());
});

package.json:
{
  "name": "test",
  "private": true,
  "devDependencies": {
    "babel-eslint": "^6.1.2",
    "gulp": "gulpjs/gulp#d8f5c90a0622d19ef1943a2a3d02dc50e3c853e7",
    "gulp-eslint": "^3.0.1"
  }
}

$ node --version
v6.3.0

$ npm --version
3.10.5

$ node node_modules/gulp/bin/gulp.js
[03:47:28] Using gulpfile ~/test/project/gulpfile.js
[03:47:28] Starting 'default'...
[03:47:28] Finished 'default' after 181 ms


No useful error message when pre-processor fails

I tried dead-code-detection on a large project. After a while, it fails with
dead-code-detection: dead-code-detection: phase `C pre-processor' failed (exitcode = 1)

How can I get a mroe useful error message here?

Thanks for the report.
I don't know of an easy way to obtain better error messages currently. :(
This is probably an error message that gets passed through from ghc. But of course it would be better if dead-code-detection could do a better job. Probably just a source location would help a lot. Not sure how hard that'd be. (This should definitely be fixed, not sure I'll get to it soon.)
My guess is that the issue is caused by some include files missing. dead-code-detection uses ghc directly and doesn't allow ghc to include the cabal_macros.h file, for example. Unfortunately it also doesn't allow to pass in flags to ghc to manually work around that. But that's a topic for another issue...

@skogsbaer: If it's publicly available, could you point to the bigger project that you tried this on? That would help debug the issue.

Working on this here: https://github.com/soenkehahn/dead-code-detection/tree/preprocessor-errors

Uploaded to hackage as 0.8.1.


Can we add user name to cookie like token, and add it in request header for each request?

Can we add user name to cookie like token, and add it in request header for each request?
Does any one else have ideas?
Originally posted by @KomachiSion in https://github.com/alibaba/nacos/issues/3548#issuecomment-670417482

Can we add user name to cookie like token, and add it in request header for each request?
Does any one else have ideas?
Originally posted by @KomachiSion in alibaba/nacos#3548 (comment)


cacheable bit should always be set in CSW

Debugging with an MCU Link and an STM32H7 target, probe-rs yields frustratingly nearly-correct data.  For example, in Hubris, TICKS is expected to increment 1000 times per second:
$ humility readvar TICKS
humility: attached via CMSIS-DAP
TICKS (0x24001308) = [
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x4b1c7b
        }
    },
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x0
        }
    }
]
$ humility readvar TICKS
humility: attached via CMSIS-DAP
TICKS (0x24001308) = [
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x4b1c7b
        }
    },
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x0
        }
    }
]

These values should not be the same on an otherwise functioning system!  If we use our OpenOCD target instead, we see the values increment as we expect:
$ humility readvar TICKS
humility: attached via OpenOCD
TICKS (0x24001308) = [
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x4d5cb0
        }
    },
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x0
        }
    }
]
$ humility readvar TICKS
humility: attached via OpenOCD
TICKS (0x24001308) = [
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x4d6026
        }
    },
    AtomicU32 {
        v: UnsafeCell<u32> {
            value: 0x0
        }
    }
]

Moreover this works as expected on an STLink.  The problem -- as @cbiffle observed -- is that we have hit the probe-rs manifestation of https://github.com/oxidecomputer/hubris/issues/1099:  probe-rs is not setting the (arguably misnamed) "cacheable" bit in the CSW, meaning that any memory that is dirty in the L1 will in fact be read incorrectly (the H7 has a writeback L1).
Fixing this is straightforward, and seems safe on all targets (this is against the Oxide probe-rs branch but should apply relatively cleanly to main):
diff --git a/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs b/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs
index b6c3a217..4170aa39 100644
--- a/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs
+++ b/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs
@@ -293,13 +293,13 @@ impl CSW {
         // The CACHE bits are set for the following AHB access:
         //   HPROT[0] == 1   - data           access
         //   HPROT[1] == 1   - privileged     access
-        //   HPROT[2] == 0   - non-cacheable  access
-        //   HPROT[3] == 0   - non-bufferable access
+        //   HPROT[2] == 0   - non-bufferable access
+        //   HPROT[3] == 1   - cacheable      access
         CSW {
             DbgSwEnable: 0b1,
             HNONSEC: 0b1,
             PROT: 0b110,
-            CACHE: 0b11,
+            CACHE: 0b1011,
             AddrInc: AddressIncrement::Single,
             SIZE: data_size,
             ..Default::default()
diff --git a/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs b/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs
index 66021d6f..286f7138 100644
--- a/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs
+++ b/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs
@@ -99,13 +99,13 @@ where
         // The CACHE bits are set for the following AHB access:
         //   HPROT[0] == 1   - data           access
         //   HPROT[1] == 1   - privileged     access
-        //   HPROT[2] == 0   - non-cacheable  access
-        //   HPROT[3] == 0   - non-bufferable access
+        //   HPROT[2] == 0   - non-bufferable access
+        //   HPROT[3] == 1   - cacheable      access

         CSW {
             HNONSEC: if self.supports_hnonsec { 0 } else { 1 },
             PROT: 0b10,
-            CACHE: 0b11,
+            CACHE: 0b1011,
             AddrInc: AddressIncrement::Single,
             SIZE: data_size,
             ..Default::default()

Running with this fix, we see correct results when using probe-rs on an MCU Link probe (and an LPC-Link 2) against an H7 target.

FWIW, I don't think the bit is misnamed -- it corresponds to the equivalent
mpu attribute, where non-cacheable means bypass cache and cacheable means
don't. You want to hit the cache if you want to see what the processor sees.
Ideally this setting would only be set on cores with cache and compatible
AHB/AXI APs but I don't think that information is currently available, and
I don't see a way to provide it as a user through all the abstraction. So
setting it all the time is probably harmless? Testing on v8-M+TZ and v6-M
would provide more evidence.
On Thu, Feb 16, 2023, 20:58 Bryan Cantrill @.***> wrote:

Debugging with an MCU Link and an STM32H7 target, probe-rs yields
frustratingly nearly-correct data. For example, in Hubris, TICKS is
expected to increment 1000 times per second:
$ humility readvar TICKShumility: attached via CMSIS-DAPTICKS (0x24001308) = [    AtomicU32 {        v: UnsafeCell {            value: 0x4b1c7b        }    },    AtomicU32 {        v: UnsafeCell {            value: 0x0        }    }]
$ humility readvar TICKShumility: attached via CMSIS-DAPTICKS (0x24001308) = [    AtomicU32 {        v: UnsafeCell {            value: 0x4b1c7b        }    },    AtomicU32 {        v: UnsafeCell {            value: 0x0        }    }]
These values should not be the same on an otherwise functioning system! If
we use our OpenOCD target instead, we see the values increment as we expect:
$ humility readvar TICKS
humility: attached via OpenOCD
TICKS (0x24001308) = [
AtomicU32 {
v: UnsafeCell {
value: 0x4d5cb0
}
},
AtomicU32 {
v: UnsafeCell {
value: 0x0
}
}
]
$ humility readvar TICKS
humility: attached via OpenOCD
TICKS (0x24001308) = [
AtomicU32 {
v: UnsafeCell {
value: 0x4d6026
}
},
AtomicU32 {
v: UnsafeCell {
value: 0x0
}
}
]
Moreover this works as expected on an STLink. The problem -- as @cbiffle
https://github.com/cbiffle observed -- is that we have hit the probe-rs
manifestation of oxidecomputer/hubris#1099
https://github.com/oxidecomputer/hubris/issues/1099: probe-rs is not
setting the (arguably misnamed) "cacheable" bit in the CSW, meaning that
any memory that is dirty in the L1 will in fact be read incorrectly (the H7
has a writeback L1).
Fixing this is straightforward, and seems safe on all targets (this is
against the Oxide probe-rs branch
https://github.com/oxidecomputer/probe-rs/tree/oxide-v0.12.0 but should
apply relatively cleanly to main):
diff --git a/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs b/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs
index b6c3a217..4170aa39 100644--- a/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs+++ b/probe-rs/src/architecture/arm/ap/memory_ap/mod.rs@@ -293,13 +293,13 @@ impl CSW {
// The CACHE bits are set for the following AHB access:
//   HPROT[0] == 1   - data           access
//   HPROT[1] == 1   - privileged     access-        //   HPROT[2] == 0   - non-cacheable  access-        //   HPROT[3] == 0   - non-bufferable access+        //   HPROT[2] == 0   - non-bufferable access+        //   HPROT[3] == 1   - cacheable      access
CSW {
DbgSwEnable: 0b1,
HNONSEC: 0b1,
PROT: 0b110,-            CACHE: 0b11,+            CACHE: 0b1011,
AddrInc: AddressIncrement::Single,
SIZE: data_size,
..Default::default()diff --git a/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs b/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs
index 66021d6f..286f7138 100644--- a/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs+++ b/probe-rs/src/architecture/arm/memory/adi_v5_memory_interface.rs@@ -99,13 +99,13 @@ where
// The CACHE bits are set for the following AHB access:
//   HPROT[0] == 1   - data           access
//   HPROT[1] == 1   - privileged     access-        //   HPROT[2] == 0   - non-cacheable  access-        //   HPROT[3] == 0   - non-bufferable access+        //   HPROT[2] == 0   - non-bufferable access+        //   HPROT[3] == 1   - cacheable      access
     CSW {
         HNONSEC: if self.supports_hnonsec { 0 } else { 1 },
         PROT: 0b10,-            CACHE: 0b11,+            CACHE: 0b1011,
         AddrInc: AddressIncrement::Single,
         SIZE: data_size,
         ..Default::default()

Running with this fix, we see correct results when using probe-rs on an
MCU Link probe (and an LPC-Link 2) against an H7 target.
—
Reply to this email directly, view it on GitHub
https://github.com/probe-rs/probe-rs/issues/1517, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALBP6GSRP2XR3K6WKKKTTWX4AOBANCNFSM6AAAAAAU67YVXU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thanks a lot for the digging, the fix and the writeup!
I am okay fixing it like that, but I still wonder if I am missing an edge case where you'd not want to read from the cache. But I think for our usecases it is always favorable to do it? (Except if you wanna debug caching issues maybe? :P).

Thanks a lot for the digging, the fix and the writeup!
I am okay fixing it like that, but I still wonder if I am missing an edge case where you'd not want to read from the cache. But I think for our usecases it is always favorable to do it? (Except if you wanna debug caching issues maybe? :P).

Well, if you are connected via an STLink, the STLink itself sets this bit -- presumably because ST realized that they had broken every debugger out there.  So on ST parts, this fix is only serving to make CMSIS-DAP probes (and other non-STLink probes) behave as the STLink does.  (It's not clear to what degree non-ST parts even use this bit.)  Finally, it seems really, really unlikely that any read wishes to explicitly disregard the contents of the cache:  it is asking for a non-coherent read that is not architecturally visible.  This is really only useful for determining cache occupancy -- and even then, only by comparing the result of having this bit set versus not set.

For what it's worth, I'm pretty confident that bit is treated as RAZ/WI on Cortex-M3, and presumably M0 and M4 too, so should be harmless to set on those architectures. So yea, I don't see any harm in always setting it.


Update goharbor/registry-photon Docker tag to v2.8.2

This PR contains the following updates:

Package
Update
Change

goharbor/registry-photon
minor
v2.6.1 -> v2.8.2

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (v2.8.2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


[Discussion] Slider component interface

derived from #41
This issue is to discuss [Slider] interface(like props) or others what [Slider] should have.
Components
Slider

Prop
Type
Default
Purpose
Required

defaultValue
number
-
default value
X

maxValue
number
-
maximum value
X

minValue
number
-
minimum value
X

step
number
-
distance between two marks
X

onChange
(value: number) => void
-
change event handler
X

Rail

Prop
Type
Default
Purpose
Required

Sample prop
Sample type
Sample default
Sample purpose

Track

Prop
Type
Default
Purpose
Required

Sample prop
Sample  type
Sample default
Sample purpose

Thumb

Prop
Type
Default
Purpose
Required

Sample prop
Sample type
Sample default
Sample purpose

Label

Prop
Type
Default
Purpose
Required

Sample prop
Sample type
Sample default
Sample purpose

Task status

Component
Implement
Test
Storybook
Component files

Slider
In progress
Take me!
Take me!
Done

Rail
In progress
Take me!
Take me!
Done

Track
In progress
Take me!
Take me!
In progress

Thumb
Take me!
Take me!
Take me!
Make me!

Label
Take me!
Take me!
Take me!
Make me!

If possible, I would like to participate in testing the components

If possible, I would like to participate in testing the components
@tony3918
Surprised by your enthusiasm!
You can take anything you want if the things are not in progress.
What component would you like to take? They are possible to work independently.

Thank you @Sandwichj
Since Slider, Rail, and Track components are currently in progress, I'll go for testing Rail and Track

@tony3918
Great!
How about taking [Track] tests first?
They are possible to be implemented separately, though some test may not be possible to code.
And it gives a chance that someone could take [Rail] tests during you implement [Track] tests.
We can improve code and design step by step. (Code can't be implemented perfectly at once in programming as you know.)
Small code and many PRs are better in open source and collaboration.

@Sandwichj Sounds perfect. Thanks for the guidance


docs: Update WindowsBuild.md

Update azure links
In WindwsBuild.md, the links to azure pages are broken. This patch fixes those links.

@swift-ci please smoke test and merge


Error During Compiling

Everytime i try to run my crystal project i get the following error
_main.o: In function `__crystal_main':
main_module:(.text+0x7b2): undefined reference to `SSL_library_init'
main_module:(.text+0x7b7): undefined reference to `SSL_load_error_strings'
main_module:(.text+0x7bc): undefined reference to `OPENSSL_add_all_algorithms_noconf'
main_module:(.text+0x7c1): undefined reference to `ERR_load_crypto_strings'
O-penS-S-L-5858S-S-L-5858C-ontext5858S-erver.o: In function     `*OpenSSL::SSL::Context::Server#initialize:Nil':
OpenSSL::SSL::Context::Server:(.text+0x6a): undefined reference to `SSLv23_method'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc -o "/home/marcel/.cache/crystal/crystal-run-    website.tmp" "${@}"
-rdynamic  -lz `command -v pkg-config > /dev/null && pkg-config --libs
 libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs
 libcrypto || printf %s '-lcrypto'` -lpcre -lm -lgc -lpthread /opt/crystal/src/ext/libcrystal.a
 -levent -lrt -ldl -L/usr/lib -L/usr/local/lib`

My distro is a debian based distro named Deepin
and my crystal version is Crystal 0.20.4 [d1f8c42] (2017-01-06)
all code of this project is viewable in my Repo that im using to sync with my desktop and laptop
Command used to run is crystal run src/website.cr
What could be the problem?
I tried reinstalling crystal and all the required Libaries

Looks like an old version of openssl. Could you find out what openssl version your distribution has?

@RX14 My version of openssl is OpenSSL 1.1.0b  26 Sep 2016
Wierd thing is earlier this week it was working

is it linking against the correct openssl libs I wonder?

What I could see it was but sadly the OS died about 3 weeks later

What I could see it was but sadly the OS died about 3 weeks later

I will check if I can get the laptop booted and will run some test

I got a similar problem in OSX
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc -o "/Users/michelperez/.cache/crystal/crystal-run-dbadminser.tmp" "${@}"  -rdynamic  -lz `command -v pkg-config > /dev/null && pkg-config --libs libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread /usr/local/Cellar/crystal-lang/0.20.5_2/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib`

you should have some kind of file like
lib/libssl.a
on your system, that's what provides SSL_library_init at least.  If you don't have that file then make sure you have openssl "dev" libraries installed...

That worked for me

https://mta.openssl.org/pipermail/openssl-dev/2016-February/005494.html
SSL_library_init was removed (in favor of OPENSSL_init_ssl).

I had the same error on require http/client, so I updated openssl and ensured the correct path had been linked like this
export PATH=/usr/local/bin:$PATH
brew link --force openssl

and it's worked!!!

Closing because too old and needs more info. Reopen if it's still a problem.


Bug 2000608: static pod startup monitor should log to a log file in addition to stderr

persist startup monitor's logs in /var/log/kube-apiserver/startup.log file
TODO: update mast-gather to get the new log file

/assign @sttts

/bugzilla refresh

/bugzilla refresh

/lgtm
/approve
/retest


Tag header width fix

Description
Quick fix for the tag headers
Test: https://tag-header-fix--business-website--adobe.hlx.page/blog/tags/the-latest
Before: https://main--business-website--adobe.hlx.page/blog/tags/the-latest

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

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

Super small fix that I'm shipping, opened PR for visibility.


CFGED Refactor

Looks like this was accidentally done in https://github.com/mahaloz/sailr-eval/commit/adfdfc78936faaff75aa97357fc8febd6d4b6568. To account for that, I've introduced this commit: https://github.com/mahaloz/sailr-eval/commit/8442959e99c9d386c2cdfaf11346bf0f56e959eb, which rolls back cfgutils to this PR: https://github.com/mahaloz/cfgutils/pull/6.
This, in effect, makes the commit I introduced remove all the CFGED reactors I introduced after the publication


feat(impl):[TRI-1570] filter our bpns

Filter our bpns with empy manufacturerName

Build is failing