RE: bad lib url in Live Demo

on this page:
https://github.com/agershun/alasql
Live Demo link http://jsfiddle.net/agershun/oxv4rzzc/
points to a demo with a bad src for alasql js lib -
http://alasql.org/console/alasql-worker.min.js
need to either fix the source  or change the lib url

Oh! thank you for taking the time to letting us know.
I cant find the link to http://jsfiddle.net/agershun/oxv4rzzc/ on https://github.com/agershun/alasql
Any chance you could pinpoint it more exactly?
Im going to swap it with this updated link: https://jsfiddle.net/3vnmu2fo/

on this page:
https://github.com/agershun/alasql
there are 4 links called "live demo"
number 3 and number 4 are broken
On Sat, Mar 30, 2019 at 2:11 AM Mathias Rangel Wulff <
<EMAIL_ADDRESS>wrote:

Oh! thank you for taking the time to letting us know.
I cant find the link to http://jsfiddle.net/agershun/oxv4rzzc/ on
https://github.com/agershun/alasql
Any chance you could pinpoint it more exactly?
Im going to swap it with this updated link: https://jsfiddle.net/3vnmu2fo/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/agershun/alasql/issues/1099#issuecomment-478176336,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAuvsBaXUFY8_kh3JZGTc3zVpeZYe2ndks5vbp21gaJpZM4cMFmx
.


iptable: Permission denied (you must be root)

Hi,
Build process return "iptable: Permission denied (you must be root)" so iptable isn't loaded in openvpn image
Some docs about error :

https://github.com/moby/moby/issues/18230
https://github.com/moby/moby/issues/4424

I will try to fix it soon

I don't get it. Why would you need to run iptables inside docker ?
The current install process doesn't depend on iptables.


Closes #83

I have made a simple food ordering website Landing Page, Foodie where you can order food items of your choice and also view different cusines form chinese to continental, north indian to south indian and  best selling items and also view various offers at the comfort of your home.

Great work! Just please pull the latest change then commit.


AR application code

Hi, thank you for your fantastic work!  Will you make your AR application code public? If so, when?

Hello, the AR demos were made by the collaborators of RayNeo. Currently, there is no plan to release the code. If it is released later, I will @ you.

Thanks.  Is the blanket in the AR demo modelled based on 3DGS? How did you do it? Took some pictures of a real blanket and then reconstructed it based on 3DGS?

This effect was achieved using blender app which is similar to the NeuralRecon demo. https://zju3dv.github.io/neuralrecon/

Thank you very much!


FirebaseError: Firebase Storage: No default bucket found. Did you set the 'storageBucket' property when initializing the app? (storage/no-default-bucket)

Description
Whenever you use firebase storage with next firebase auth and you import initAuth  and initialize it in _app.js, it always throws this error "FirebaseError: Firebase Storage: No default bucket found. Did you set the 'storageBucket' property when initializing the app? (storage/no-default-bucket)", but should ypu take the import & initialization away from the _app.js and import it in the individual pages, it works just fine.
Versions
next-firebase-auth version: "next-firebase-auth": "^0.13.2",
Firebase JS SDK: "firebase": "^8.6.8",
Next.js: 		"next": "11.0.0",
To Reproduce
Steps to reproduce the behavior:

Set up a simple project following the docs and import initAuth(); in _app.js
Set up firebase storage
Try uploading files to your Storage Bucket
You will encounter this error "FirebaseError: Firebase Storage: No default bucket found. Did you set the 'storageBucket' property when initializing the app? (storage/no-default-bucket)"

Expected behavior
You shouldn't see this error and you should be able to upload your file since your bucket is already setup, and it is evident here as it works fine when you take the initialization off _app.js and import them in their respective pages.

Here's an approach that worked for others.

Here's an approach that worked for others.

Didn't solve it for me. Hopefully,  I find a solution for it.

Closing until there's a reproduction that pinpoints a bug in this library.

any idea how to solve it with firebase v9 and next-firebase-auth@canary?

This is what worked for me
import * as firebase from "firebase/app";
import "firebase/storage";

export const FIREBASE_CLIENT = firebase.default;

if (FIREBASE_CLIENT.apps.length === 0) {
  FIREBASE_CLIENT.initializeApp(FIREBASE_CONFIG);
}
export const STORAGE_CLIENT = FIREBASE_CLIENT.app().storage(
  process.env.NODE_ENV === "production"
    ? "gs://prodURL.appspot.com"
    : "gs://devURL.appspot.com"
);

This is the most important line
export const STORAGE_CLIENT = FIREBASE_CLIENT.app().storage("gs://storageUrl.appspot.com");

This was my solution which worked like a charm for me
Step 1: Add your storage bucket string in the firebaseClientInitConfig property in the initAuth.js (your storage bucket string can be found in your firebase console in the storage tab)
firebaseClientInitConfig: {
  apiKey: process.env.NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY, // required
  authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
  databaseURL: process.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL,
  projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
  storageBucket: 'gs://xxxxxxx.appspot.com'
},

Step 2: Make sure to have the right imports
import firebase from 'firebase/app'
import 'firebase/firestore'

Step 3: Create the storage ref and use it
// Create a root reference
var storageRef = firebase.storage().ref()

// Create an image reference
var profilePictureRef = storageRef.child(`/users/profilePictures/${user.uid}`)

await profilePictureRef.putString(file.thumbUrl, 'data_url')

That's it!
Note that the above solution works for firebase 8, using the following doc as reference: https://firebase.google.com/docs/storage/web/upload-files#web-version-8
If you are using firebase 9, simply modify step 9 and follow the instructions here: https://firebase.google.com/docs/storage/web/upload-files#web-version-9

This was my solution which worked like a charm for me
Step 1: Add your storage bucket string in the firebaseClientInitConfig property in the initAuth.js (your storage bucket string can be found in your firebase console in the storage tab)
firebaseClientInitConfig: {
  apiKey: process.env.NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY, // required
  authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
  databaseURL: process.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL,
  projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
  storageBucket: 'gs://xxxxxxx.appspot.com'
},

Step 2: Make sure to have the right imports
import firebase from 'firebase/app'
import 'firebase/firestore'

Step 3: Create the storage ref and use it
// Create a root reference
var storageRef = firebase.storage().ref()

// Create an image reference
var profilePictureRef = storageRef.child(`/users/profilePictures/${user.uid}`)

await profilePictureRef.putString(file.thumbUrl, 'data_url')

That's it! Note that the above solution works for firebase 8, using the following doc as reference: https://firebase.google.com/docs/storage/web/upload-files#web-version-8
If you are using firebase 9, simply modify step 3 and follow the instructions here: https://firebase.google.com/docs/storage/web/upload-files#web-version-9

this work forme, thanks

This was my solution which worked like a charm for me
Step 1: Add your storage bucket string in the firebaseClientInitConfig property in the initAuth.js (your storage bucket string can be found in your firebase console in the storage tab)
firebaseClientInitConfig: {
  apiKey: process.env.NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY, // required
  authDomain: process.env.NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN,
  databaseURL: process.env.NEXT_PUBLIC_FIREBASE_DATABASE_URL,
  projectId: process.env.NEXT_PUBLIC_FIREBASE_PROJECT_ID,
  storageBucket: 'gs://xxxxxxx.appspot.com'
},

Step 2: Make sure to have the right imports
import firebase from 'firebase/app'
import 'firebase/firestore'

Step 3: Create the storage ref and use it
// Create a root reference
var storageRef = firebase.storage().ref()

// Create an image reference
var profilePictureRef = storageRef.child(`/users/profilePictures/${user.uid}`)

await profilePictureRef.putString(file.thumbUrl, 'data_url')

That's it! Note that the above solution works for firebase 8, using the following doc as reference: https://firebase.google.com/docs/storage/web/upload-files#web-version-8
If you are using firebase 9, simply modify step 3 and follow the instructions here: https://firebase.google.com/docs/storage/web/upload-files#web-version-9

It worked for me like a charm, same issue happened with databaseUrl. Thanks 😄 !


it cann't recongnize many simple words, like "father", "implement", "application", etc

you see, it seems has a low accuracy, :sob:
i can not believe it cann't recongnize those simple words, like "father", "implement", "application"

Hello,
thanks for the report.
It doesn't attempt to identify all misspelled words, only those that are commonly misspelled that have one likely correct spelling.   But is a what is common?   Hard to say.  I looked at a few existing lists, and scanned a few billion reddit messages and took the most common.  And then I focus on one mostly found in software related fields.  I've also found native English writers make completely different errors than non-native ones.
Anyhow again thanks the report:
fathor -- is it father or father?  I don't know.  Not sure how common this misspelling is.
inplement ,applicatoin -- happy to add these.
than again if you want, true spell-checking, check out aspell but prepare to be even more disappointed :-(
thanks again!
n


win,pipe: restoring fallback handling for blocking pipes

In #4470, I accidentally copied the bug from unix, where calling uv_stream_set_blocking can cause the whole process to hang on a read. However, unlike unix, where libuv attempts to set the O_NONBLOCK flag in uv_pipe_open (as long as the handle never gets passed to uv_spawn), the NT kernel is not capable of enabling OVERLAPPED operation later (but fortunately, it also cannot disable it later too).
This implementation might be good to copy to unix (using FIONREAD) to address the same bug that happens there if the user has called uv_spawn or uv_stream_set_non_blocking on this handle in the past.

(Unfortunately, it looks like the Neovim tests still hang with this fix, albeit in a different place.... https://github.com/neovim/neovim/actions/runs/10512280463/job/29126681847?pr=29915)

Thanks. Looks like I missed an assignment to r. I hope https://github.com/libuv/libuv/pull/4515 should fix it


Update stable version in repo from 2.2.3 to 2.3.0

Think about update stable version to 2.3.0
Version: stable=2.2.3 (100 days old) => latest=2.3.0 (15 days old)
Installs: stable=2585 (60.79%), latest=394 (9.27%), total=4252
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 2.3.0 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 2.3.0 but the current stable version is already 2.3.0.
So this issue should be closed.
@mcm1957 for evidence


Fix CTE subqueries not finding parent bindings (#3619)

This is a work in progress since there are still changes to be made in ecto_sql because If you run the query (I provided a repo for testing here) with this PR, you'll get an error coming from ecto_sql caused by the binding source not being found.
I'll also ping @v0idpwn here because maybe he can shred some light on this since he provided the PR that closed the issue (#3624), although CTEs still remain a problem. Thank you!

Hey, @joaopaulobdac, I'd be happy to help with that.  I'll try to reproduce the issue with the repo you provided.

Hey, @joaopaulobdac, sorry for taking so long.
While debugging this issue, I found a bug in my PR too. While it generates a valid query, it may have incorrect bindings  (hopefully not a big deal as it wasn't working before anyways, so there are no repos affected).
I think the way bindings are being managed now is not really consistent (#3627 related) and maybe it would be good to rethink it a bit. I'll try to fix the issue introduced in #3624, and maybe after doing that I can find some insight that helps in here. Other than that I don't have much to offer atm.

@v0idpwn don't worry, you don't owe anything :pray:. I don't know if the issue you found is the same as the one I'm having here, that is, while in ecto we can already recursively get the binding from a parent above 1 level, in ecto_sql we still only get it using a index from the direct parent of the query, which can generate incorrect bindings.

Closing in favor of PR.

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Allow readrepair to ignore object size and sibling limits

Added a new readrepair element to the putargs record which will be set to true IIF an incoming put has the rr property in the put Options proplist. The rr option is only added in riak_kv_vnode:readrepair which is only called by the riak_kv_get_fsm if readrepair is in the list of final actions for the FSM.
Additionally, a new function actual_put/7 was added to allow for setting the MaxCheckFlag(no_max_check|do_max_check) based on elements from the putargs record. Handoff currently uses the MaxCheckFlag to bypass object limits but this could be refactored to be a bit more friendly such as just having a boolean MaxCheckFlag instead of the max_check atoms.

https://github.com/basho/riak_test/pull/1007

See associated test at basho/riak_test#1009

:+1: cdc9983

Since @mrallen1 +1'd and the build error is now fixed, I'm assuming it's fine if I go ahead and merge this.

@borshop merge


Calendar view does not show days off in Edge, FireFox shows it.

Calendar is not showing days off on the calendar view when using Edge.  It is showing up when viewed with FireFox.
We are using Azure DevOps server 2022.0.1 on prem.

Hi, Thanks for reporting.

See something similar in Edge with ADS2020 and ADS2022 .
User's icons take very long to load in the Days off overview at right side, often don't show up in calendar.
Clicking Today, start showing the icons in calendar.


Beast HTTP client with SSL example fails with "asio.ssl error"

Version of Beast
Beast version 181
Boost 1.68
Steps necessary to reproduce the problem
I want to start integrating beast in our project, I thought a good starting point would be to copy paste the example from your repo and continue from there. I am not using the last boost version, so I took this example from boost 1.68: https://raw.githubusercontent.com/boostorg/beast/1da229a27c6f0539d422bcedbcf47cfe2517164a/example/http/client/async-ssl/http_client_async_ssl.cpp
I compiled and ran it, and got this error:
handshake: asio.ssl error

Resolution
I first learned that you need to add ::SSL_load_error_strings() at the beginning of your program to get (a bit more) meaningful errors. This gives us the following error:
handshake: sslv3 alert handshake failure
Which didn't help at all. I didn't manage to get any better error message. In the end, I tried adding ::SSL_library_init() before creating the ssl context without any conviction and the issue was indeed solved!
I didn't try to compile the example from the boost worktree so I don't know if there are any library or compiler flag that take care of this initialization there, but I think this line should appear in the example as this is an error that is very difficult to track. Maybe the ::SSL_load_error_strings() call should be there too.

Now this is very interesting! But unfortunately, it is strictly a Boost.Asio issue, since Asio provides the SSL wrapper implementation. Perhaps @chriskohlhoff can look into it? I suggest you open the issue there: https://github.com/boostorg/asio

https://wiki.openssl.org/index.php/Library_Initialization
If you are using OpenSSL 1.0.2 or below, then you would use SSL_library_init. If you are using OpenSSL 1.1.0 or above, then the library will initialize itself automatically.

Note: anything below 1.0.2 is considered insecure at this point.

Thanks for the hint! Actually we don't use OpenSSL but LIbreSSL. I think the issue comes from there. If this is not a supported case by beast or asio, I guess we can just close this issue.


[Market Page] - Market sells show incorrect amount order details

Summary
Use average price with default slippage to calculate order details and also order input for a market order.
Actual Behaviour
Lowest bid in the orderbook that will be filled by a market order is being used as the worst price and using it as the "worst price" for the calculations but that's not what will actually happen on-chain.

Expected Behaviour
Use average price to calculate the total cost of the market order (order amount * average price + fee).

Looks like here we're taking the lowest bid in the book (that will be filled by my market order) and using it as the "worst price" for the calculations but that's not what will actually happen on-chain.
I think we should use the average price instead since my market order will fill those resting orders at their specified price.

For instance, here we use the bid at 0.015 for the calculations instead of 1.490 (average price) and this implies that the market order will be filled for my total amount at 0.015.
Could you share your thoughts as well? @bangjelkoski

looks good ✅


[Feature] Delete (Bot response) Via Reaction

This features makes the bot react to all commands (except help) with (currently) the FlippityFlappingFuck emoji. If the user who issued the command, or a user with the manage messages permissions (and as such, the capability to delete messages) also reacts with the same emoji, it will delete the response message.
The user has 2 minutes (give or take some latency) to react to the response before the bot assumes that the response is to stay. At that point it will remove the reaction it added.
If the user does react within 2 minutes, the message will simply be deleted.
This is handled by the ReactionCollector of discord.js. One (minor?) side effect is that I don't try to stop the collector, so in the event that the message is deleted almost immediately, there may be up to a 2 minute period where the ReactionCollector watches and attempts to filter any reactions.
Depending on how the ReactionCollector handles it, the reaction filter funcmay need to be adjusted to ensure that the reaction is on the command message. This shouldn't be an issue though.

Looks great, thanks :)
Will try get this testing and live within the next day or two.


upgrade to node 12 in production

:clipboard: Description
We're currently on 10, but should now be no reason we can't adopt 12 soon.

12 makes sense to me.
Looks like we're testing on Node 8 and node@latest currently, so probably we should update that to @12 and @latest.

Should we consider running on all LTS versions to cover the self-hosting cases, or should we just update the docs accordingly?

We probably should, but there's also a tradeoff of build minutes/number of simultaneous builds, which is why I went with 10 and 12 in https://github.com/badges/shields/pull/4992 .
We could do the nvm dance in more places..

I think our call in #3404 for self-hosting is that we'll support current plus possibly whatever has been current in the past three months. (Right now I think that would be 12 + 14.)

For self-hosting it would be great if we could support only the "current" version. Or maybe – to give self-hosting users time to upgrade – any version that has been "current" within the last three months. Or maybe – to reduce the frequency of those upgrades – the latest even-numbered version.

Lets get our own house in shape first then track that schedule moving forwards :)

Does this mean we can use static fields in the service classes?! 🤯

oh yeah - there are probably some things like static/private class properties that are now unlocked


showDialog with barrierDismissible: false not being honored

Steps to Reproduce

Create an application which shows dialog using showDialog() of material/dialog.dart of source code and send barrierDismissible as false.
On Android 12, onBackPress by a user closes the dialog, on older versions of Android, the behavior is as expected (doesn't close dialog).
I am using Flutter version: Channel stable, 2.10.4 and android compile and target sdk version 31

Hello @kssujithcj. Please upgrade to the latest stable version of Flutter (3.3.2) and confirm if this issue still exists.

On Flutter 3.0.0 also it is the same behavior. Sorry for the confusion. I think I wasn't using the bool properly.
Barrier dismissible will only block dialog closing, on taping outside of the dialog. But it is never intended to block onBackpress()
Solution is to use WillPopScope as mentioned here.
Sorry again and Thank you for your time.

No issues @kssujithcj. Please don't be discouraged from raising issues in the future if you feel there is a bug. Thanks anyways :)


🐛 Only propagate the deletionTimestamp to a location if there is a syncer finalizer for it.

Summary
The deletionTimestamp propagation should only happen if there is a syncer finalizer holding that location.
This PR fixes a situation where the syncer and the resource controller will enter a reconciliation storm, due to the resource controller propagating the deletion timestamp of a resource, and the syncer removing its location deletionTimestamp as it has been removed from the downstream cluster.
Related issue(s)
Fixes https://github.com/kcp-dev/kcp/issues/1891

/assign @davidfestal

Isn't there a risk that by fixing the problem this way on the resource controller side, we may loose the "intent to remove from a location" information ?
The fact that no syncer finalizer exist for a given SynTarget only means that the corresponding Syncer still didn't take ownership of the resource at this time, but it might be that the Syncer is previsl in the process of adding this finalizer.
I'm wondering whether the fix should rather be done on the Syncer side, to change how we react to the presence of the deletion annotation.

After discussing about it, it seems that a more proper fix in the resource controller would be, at least as a first step, to avoid scheduling a KCP resource at all (== setting the RequestState label) if it has a deletion timestamp.

Closed in favor of https://github.com/kcp-dev/kcp/pull/1953 as not propagating the deletionTimestamp can have some unintended consequences.


Feature/typings update

Summary:
Adding some options that were missing in the typings. And fixing a few that said they were required, but not in the docs.
PR #629 - Does have most of my changes plus some other renaming/reording. This also has the addition to streamOptions. I can rebase off of that or whatever is desired.
Is this ready to be merged into Dynamoose? (select 1):

[x] Yes
[ ] No

Other:

[~] I have searched through the GitHub pull requests to ensure this PR has not already been submitted
[ ] I have updated the Dynamoose documentation (if required) given the changes I made
[ ] I have added/updated the Dynamoose test cases (if required) given the changes I made
[x] I agree that all changes made in this pull request may be distributed and are made available in accordance with the Dynamoose license
[x] All of my commits and commit messages are detailed, explain what changes were made, and are easy to follow and understand
[x] I have filled out all fields above

@C45tr0 Please checkout #638, I think we might wanna remove that from your PR since it was already added. cc/ @dolsem

Pull Request Test Coverage Report for Build 1062

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.1%) to 85.406%

Files with Coverage Reduction
New Missed Lines
%

lib/Model.js
1
83.1%

lib/Table.js
1
79.74%

Totals

Change from base Build 1060:
-0.1%

Covered Lines:
2068

Relevant Lines:
2359

💛  - Coveralls


regexp: MatchString run time could be independent of the string length

What version of Go are you using (go version)?

$ go version
go version go1.14.4 linux/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/xxx/.cache/go-build"
GOENV="/home/xxx/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/xxx/gocode"
GOPRIVATE=""
GOPROXY="direct"
GOROOT="/home/xxx/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/home/xxx/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/xxx/gocode/src/gitlab.com/opennota/tl/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build900652540=/tmp/go-build -gno-record-gcc-switches"

What did you do?
go test -bench=.
https://play.golang.org/p/VD6DFGlxha-
What did you expect to see?
Both benchmarks show about the same ns/op.
What did you see instead?
BenchmarkLength1-4      13320451                89.7 ns/op
BenchmarkLength1M-4      8138482               143 ns/op

The difference seems to be constant, but it's a bit surprising.

Run the CPU profiler and see where the extra time is going.

It looks like RE2 uses backtracking for strings which are short enough, and does not for longer ones. So this difference in speed is probably expected.


Fix #6

Checks if trials exist in the first and last block, if not throws NoSuchTrialException with appropriate message.
Passes all tests in Unity 2017.4

I have made another pull request (with relevant commit only) from a different branch to keep things clean. Please ignore this PR.


Installation from Chocolatey fails to run some tasks under Powershell Core

When running the psake command, as installed by Chocolately (choco install psake), from a Powershell Core session, generally things work fine.
However some things occassionally do not, and as far as I can tell, it is those times when a module or piece of functionality is loaded from a compiled .dll file, rather than from .ps1/.psm1 source files.
It is only when installed from Chocolately that this is an issue. Invoke-Psake works fine.

I believe the issue stems from this file (which Chocolately installs on the path). It always calls powershell (the .NET Framework version), never pwsh (the .NET Core version).
Expected Behavior
Unsure exactly what the expected behaviour should be, but perhaps it should be that psake.bat should use the same version of Powershell that it is being called from (via Get-Host perhaps) - assuming it is invoked from Powershell. Though, I could see that could cause things that were working for some people, to suddenly not work.
Current Behaviour / Steps to Reproduce
psakefile.ps1:
Task default -Depends Repro

Task Repro {
    Write-Host (Get-Host | Select-Object Version)
    Get-PSRepository
}

Commands to run:
pwsh
choco install psake
psake

Output:
@{Version=5.1.18362.752}

The 'Get-PSRepository' command was found in the module 'PowerShellGet', but the module could not be loaded. For more information, run 'Import-Module PowerShellGet'.

The specified module 'C:\program files\powershell\7\Modules\PackageManagement\fullclr\Microsoft.PackageManagement.dll' was not loaded because no valid module file was found in any module directory

The clue here is it is looking in a fullclr folder, but actually all that exists in that location is coreclr.
Your Environment

Module version used: 4.9.0
Operating System and PowerShell version:

pwsh 7.0.2
Windows 10 version 1909

That's a good question @wwestrop. How do you think this behavior should work?
To my mind, it should be:

If called from pwsh, run psake in pwsh
If called from powershell, run psake in powershell
If called from cmd.exe and pwsh is installed, run in pwsh
If called form cmd.exe and pwsh is NOT installed, run in powershell

The code for that is below. My batch skills are rusty but I believe this is correct. Open to feedback if there is a better/simpler way!
psake.cmd
@echo off
REM Helper script for those who want to run psake from cmd.exe
REM Example run from cmd.exe:
REM psake "psakefile.ps1" "BuildHelloWord" "4.0"
REM If called from Powershell, run psake in same PowerShell version in which this is called
REM If called from cmd.exe, run in PowerShell Core if available and Windows PowerShell if not
REM Based on https://stackoverflow.com/a/53464542/6862010

IF '%1'=='/?' GOTO :HELP
IF '%1'=='-help' GOTO :HELP
IF '%1'=='-h' GOTO :HELP

REM If already running in PowerShell, run psake using the same PowerShell version
IF /I "%PARENT%" == "powershell" GOTO :RUNINPOWERSHELL
IF /I "%PARENT%" == "pwsh" GOTO :RUNINPWSH

REM If running from cmd.exe, but PowerShell Core is installed, call psake
REM in that version. Run in Windows PowerShell if PowerShell Core is not installed
for /f "tokens=* delims=" %%A in ('pwsh -noprofile -version') do @set "pwshversion=%%A"
echo %pwshversion% | findstr /IRC:"PowerShell.*" > nul && (
    GOTO :RUNINPWSH
) || (
    GOTO :RUNINPOWERSHELL
)

REM Get the process name we're being called from
REM Used to determine if called from PowerShell (core/desktop) or cmd.exe
:GETPARENT
set "PSCMD=$ppid=$pid;while($i++ -lt 3 -and ($ppid=(Get-CimInstance Win32_Process -Filter ('ProcessID='+$ppid)).ParentProcessId)) {}; (Get-Process -ID $ppid -EA Ignore).Name"
for /f "tokens=*" %%i in ('powershell -noprofile -command "%PSCMD%"') do SET %1=%%i
GOTO :EOF

:RUNINPWSH
pwsh -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0\psake.ps1' %*"
exit /B %errorlevel%
GOTO :END

:RUNINPOWERSHELL
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0\psake.ps1' %*"
exit /B %errorlevel%
GOTO :END

:HELP
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0\psake.ps1' -help"
GOTO :END

:END

That sounds reasonable to me, though I'm aware it could cause some things to stop working for some people (perhaps it's not too many though, as it's a bit of an edge case, and depends how many install from Chocolatey vs other methods)
I also haven't touched a batch file in ages I'm afraid, so I can't be much use there. Happy to test, though I forget what my original issue was and how we worked around it


Collecting architecture ideas

general

strong separation of concerns
standardised interfaces

RDF / import export

rely on RDF libraries

Object Semantic Mapping (OSM)

improved class mapping (improved shortcomings of owlready2)
better error messages
more convenient handling of iterators

Triple Store Interfaces

no own triple store, but interface to standard stores or relational databases

Another related project for inspiration may be https://github.com/Harold-Solbrig/funowl


Speculative: Collect minutes of the Design Review Committee

The Design Review Committee meets once a month to discuss certain proposals. Can we get meaningful stuff from the documents they publish?
Example

Since this is marked speculative im poking around outside the cornerwise platform itself just to poke at the docs.
If it helps anyone I have downloaded the minutes for the past year (searching between july 28 2016 and july 28th 2015 for "Design Review Committee")
https://www.dropbox.com/sh/0zn1kfzw58zl8bo/AADqsA2e8HV2jZBw0s26M3Gga?dl=0
Im gonna poke at these and see what I learn dumping what I figure out into this directory.
(

Just updated by adding extracted versions of the pdf (script I used also in that dir)

So looking at the text it seems super doable to extract the address and the description of what happened. Im experienced with python and a lot of the tech you use in the project. But I am fairly ignorant to local government and the overall design of the project.
So I guess my questions are:
Is address and the description in these docs valuable to the project?
Can you give me a high level idea of your thoughts how this would fit in?

Thanks for looking into that, @Bachmann1234 !
I asked Dan Bartman (city planner) what the relationship between DRC topics and planning/zoning ones are. Essentially, most DRC items start off as planning/zoning requests and then go on to the DRC, but sometimes they start in the DRC. Either way, I think the info could be valuable to list out with others plans & docs. In cases where these topics start with the DRC, and hence have no existing entries on Cornerwise, maybe we could display the docs still and indicate that there hasn't been a permit request, but that it's something being considered at that location?

Here is a script I wrote to try and address info and the output after running on extracted pdfs from the past year?
https://gist.github.com/Bachmann1234/3731ab2d7af6994833225687e0205059
Is this something that could be valuable? My only concern is that parsing of the PDF will be fragile. I tried not to get too specific in my parsing.
Obviously before attempting a PR I would add some tests and perhaps make a api of some kind to attempt to validate the address.
Thoughts?

Just a heads up, things are coming up and I am gonna have to put this down for a while. So if someone else wants to grab it from here go ahead. If things calm down and no one jumped in ill take another look.


CSS3 Multiple column layout: Updated browser support

Based on http://backflip.jsbin.com/xobohiy I came to the conclusion that current Chrome, Safari and Opera versions seem support before-*.
Screenshots from BrowserStack:

Chrome 49, not yet supported: https://www.dropbox.com/s/xv2sipfl1ywdnlj/Chrome 49.png?dl=0
Chrome 50, supported: https://www.dropbox.com/s/mco7ding3h6c0e7/Chrome 50.png?dl=0
Safari 9, not yet supported: https://www.dropbox.com/s/lt5q9ika50f2t05/Safari 9.png?dl=0
Safari 10, supported: https://www.dropbox.com/s/zrloxt2ooyjbg93/Safari 10.png?dl=0
Opera 36, not yet supported: https://www.dropbox.com/s/94uve35k0m80866/Opera 36.png?dl=0
Opera 37, supported: https://www.dropbox.com/s/bfykb05ovy0nq0a/Opera 37.png?dl=0
iOS 9, not yet supported: https://www.dropbox.com/s/dq7gz1jcvqafqyl/iOS 9.png?dl=0
iOS 10, supported: https://www.dropbox.com/s/ca7058v1opd6ee0/iOS 10.png?dl=0
Samsung 5, supported: https://www.dropbox.com/s/v1yc8yqjakxcc3a/Samsung 5.png?dl=0

MDN web docs seem to be outdated, too: https://developer.mozilla.org/en-US/docs/Web/CSS/break-before
I'll submit an update there as well as soon as this was merged.

Confirmed, thanks! Appreciate the thorough research. 👍

You're very welcome, thanks for this amazing resource!


Inquiring about Vector DB implementation

Hi, thanks for the code.
I want to understand why any vector database is not implemented for storing the embeddings for fast retrieval as we do in conventional RAG.
I read in the paper that 'yes' the collapsed tree approach calculates the cosine similarity against all nodes, better approach is to use some fast k-nearest neighbor libraries such as FAISS. So my question is:
1- What were the considerations behind not integrating a vector database? Was there any benefit?
2- When recommending the adoption of k-nearest neighbor libraries, is the intention solely to substitute the existing cosine similarity search methodology? So that you don't need to run the search over all the nodes?
3- And how can I integrate this recommended library for retrieval with my answer_question method?
Your insights on these matters would be greatly appreciated.
Thanks!

Hi there! In our experiment, we didn't find vector search to be a bottleneck, so we didn't feel the need to integrate a vector database to speed up retrieval. However, we did implement support for using Faiss. You can find the code we wrote for the Faiss integration at https://github.com/parthsarthi03/raptor/blob/master/raptor/FaissRetriever.py. To use it, you can create a tree normally using the RA.add_documents() method, and then pass RA.tree.leaf_nodes to FaissRetreiver.build_from_leaf_nodes(). This will build a Faiss index from the leaf nodes of the tree, allowing for fast vector similarity search.

Thanks for the response, got it.


ModelDepth attribute breaks when ModelDepth is defined as expression in maxwell2d

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
The attribute m2d.model_depth does not return the actual depth of the model when the model depth is an expression
Steps To Reproduce
1/ open any maxwell 2d transient design
2/ in Maxwell2d > Model > Set ModelDepth, enter 5*slice_depth with slice_depth set as local design variable (=13mm for instance)
3/ open project with pyaedt and enter print(m2d.model_depth):
project_path="F:\scratch"
project_name="ipm_1.aedt"
design_name="design"
version="2024.1"
m2d = Maxwell2d(
projectname=os.path.join(project_path,project_name),
designname=design_name,
specified_version=version,
non_graphical=True,
close_on_exit=True,
)
print("design_info")
print(m2d.model_depth)
we get:
PyAEDT ERROR:   File "C:\Users\vdelafos\AppData\Local\Programs\Python\Python38\lib\site-packages\pyaedt\generic\DataHandlers.py", line 570, in float_units, VALUE ERROR
PyAEDT ERROR: Method arguments:
PyAEDT ERROR:     val_str = 5*slice_depth
PyAEDT ERROR: Check Online documentation on: https://aedt.docs.pyansys.com/version/stable/search.html?q=float_units+val_str+units
False
Which Operating System are you using?
Windows
Which Python version are you using?
3.10
Installed packages
appdirs==1.4.4
biopython==1.79
cffi==1.15.1
clr-loader==0.2.5
convert==0.1.2
gtfparse==2.0.1
lxml==4.9.3
numpy==1.24.3
packaging==23.1
pandas==2.0.1
plumbum==1.8.2
polars==0.16.18
psutil==5.9.5
pyaedt==0.6.80
pyarrow==12.0.0
pycparser==2.21
pyfaidx==<IP_ADDRESS>
python-dateutil==2.8.2
pythonnet==3.0.1
pytz==2023.3
pyvariant==2.0.0
pywin32==306
rpyc==5.3.1
scipy==1.10.1
six==1.16.0
toml==0.10.2
typing-extensions==4.6.0
tzdata==2023.3

Hi @ansvdelafos,
Please try to assign the model depth in the following way:
from pyaedt import Maxwell2d

m2d = Maxwell2d(solution_type="Transient")
m2d["model_depth"] = "10mm"
m2d.model_depth = "2*model_depth"

m2d.release_desktop(False, False)

Hope this helps,
Thanks,
Giulia

Hi Giulia
The issue is not about setting the model depth for a new project you create; the issue is about reading the model depth from an existing project. We are dealing with projects that use expression to define the model depth. It works perfectly in Maxwell to have expression for that.
In that case m2d.model_depth does not return the value, it gives an error
The issue is still there

Hi @ansvdelafos ,
I've just open a PR to improve getter and setter of model_depth: #3771.
If you want to test it before we close it please do let me know if it works as expected.
But I'll suggest you to get the latest version of pyaedt since I see you are still using 0.6.80.
Hope this helps,
Giulia

@ansvdelafos #3771 has been closed and enhancement will be available in the next release.
Thanks,
Giulia


Vagrant up fails

I'm completely new to this so I tried my best to follow the manual, re-read it, look for errors, but I couldn't find my issue.
I'm running Windows 10 Pro 64-bit, with VirtualBox 5.0.24 freshly installed (after 5.1 caused problems), and with Vagrant 1.8.4 and DrupalVM 3.1.4.

C:\DrupalVM>vagrant up
Bringing machine 'drupalvm' up with 'virtualbox' provider...
==> drupalvm: Box 'geerlingguy/ubuntu1604' could not be found. Attempting to find and install...
drupalvm: Box Provider: virtualbox
drupalvm: Box Version: >= 0
The box 'geerlingguy/ubuntu1604' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Atlas, please verify you're logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:
URL: ["https://atlas.hashicorp.com/geerlingguy/ubuntu1604"]
Error:
C:\DrupalVM>

This is a command prompt running as Administrator.
I tried switching to ubuntu1404, but that gave me the same error.

What's the output from this?
vagrant box add geerlingguy/ubuntu1604 https://atlas.hashicorp.com/geerlingguy/boxes/ubuntu1604/versions/1.0.4/providers/virtualbox.box

C:\HashiCorp\Vagrant>vagrant box add geerlingguy/ubuntu1604 https://atlas.hashicorp.com/geerlingguy/boxes/ubuntu1604/versions/1.0.4/providers/virtualbox.box
==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'geerlingguy/ubuntu1604' (v0) for provider:
box: Downloading: https://atlas.hashicorp.com/geerlingguy/boxes/ubuntu1604/versions/1.0.4/providers/virtualbox.box
box:
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
C:\HashiCorp\Vagrant>

I'm afraid I can't help much more, but it definitely seems like a windows-based problem - and I've never used vagrant via windows.
You can read more, and some potential solutions here:
http://stackoverflow.com/questions/34463828/vagrant-cant-download-box
I understand others here might be able to help, but I have tried :)
Feel free to chip in people!

@codeyy take a look at -- http://docs.drupalvm.com/en/latest/other/windows/#command-line-environment

@thom8 that page gives away a lot of tips and tricks, thanks.
I downloaded cmder, since it has built-in GIT and SSH support it was a no brainer. It seems to me that cygwin has more possibilities, but for my needs cmder is the best fit solution.
That resulted in an error that was displayed beautiful in red, but the same error...
The "Synced Folders" issues talked about all seem unrelated.
So I'm afraid nothing of that worked...
@fubarhouse I started following your tips and tricks after that.
From the stackoverflow page I tried a few things :

I installed "Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)", same error...
I downloaded the latest version of curl.exe and put it in \Vagrant\embedded\bin, and that did the trick!

Vagrant is doing it's thing now... fingers crossed


zopflipng remains hidden in the src directory

While make copies zopfli into the project root, zopflipng remains hidden in the src directory, which caused the Debian package maintainers (and possibly others) to overlook it.
Alternatively, you might want to consider to just implement an installtarget in the Makefile, so that package maintainers (and everybody else) can just use make install.

Sorry, I was wrong. The problem rather is that the default Makefile target only builds zopfli and that you have to specifically run make zopflipng in order to build zopflipng. But still, any reason to not just build, both, with the default target, and adding an install target as well. That way package maintainers will not overlook anything as they just did, and it probably will be less  confusing for everybody.


[BUG] SV5 version of tracking snippet no longer collects user_Id

Description/Screenshot
I was using a pre-sv3 version of the tracking snippet and it automatically populated the user_Id field for me, but since updating to use sv5 I am now getting auto-generated values for user_Id
Steps to Reproduce

OS/Browser: MacOS 10.15.7, Chrome Version 86.0.4240.183 (Official Build) (x86_64)
SDK Version [e.g. 22]: Latest
How you initialized the SDK:

SV5 snippet with following config:
cfg: {
    instrumentationKey: "...",
    disableFetchTracking: false,
    enableAutoRouteTracking: true,
  }

Expected behavior
user_Id to be populated automatically

Nevermind, I was setting the value on the old object rather than the updated one. Opened this a second too soon, my bad.


Is it usable with LXC?

Did anybody use this with lxc and can share some thoughts about it ?

Hi @sokoow, since there's not been a response on here I'm going to close this issue. It's probably worth asking on the coreos-users mailing list or the #coreos IRC channel on freenode.org
(See https://github.com/coreos/flannel/blob/master/CONTRIBUTING.md#email-and-chat)


Lambda default warning

Type of PR

[ ] BUG
[ ] FEAT
[X] MAINT
[ ] DOC

Is your Pull Request linked to an existing Issue or Pull Request?

Closes #1069
Give a brief description for the solution you have provided

PR Checklist

[ ] Added documentation for changes
[ ] Added feature to example notebooks or tutorial (if appropriate)
[ ] Added tests (if appropriate)
[ ] Made changes based off the latest version of Splink
[ ] Run the linter

Thanks for your comments both!
Have changed and requested review


0.7.7 release

Hi there,
I saw that there's a new release tag (0.7.7) but that's not available for pip install yet. Are there any plans of making that available?
Thanks

It was uploaded on 2/29:
https://pypi.python.org/pypi/marathon/0.7.7

:+1:


Release to AWS Glue Studio Marketplace

Situation
AWS Glue Studio users can choose many connectors from AWS Marketplace. The Exasol connector should also be available in the marketplace.
Acceptance Criteria

Released to Glue Studio Marketplace

References

https://github.com/aws-samples/aws-glue-samples/blob/master/GlueCustomConnectors/marketplace/publishGuide.pdf

Released to the AWS marketplace and Glue Studio marketplace: Exasol Connector for AWS Glue


Add wholeMonths interval to weeksOfMonthByDay

As an addition to the closed issue #10, the wholeMonths interval adds
the ability to choose every nth months to the weeksOfMonthByDay
interval.

Looks great.  Please do a bit of reorganization.

This works well for weeksOfMonthByDay. Is there any way to get wholeMonths to work with daysOfMonth, as well? For example to choose the 5th and 10th days of every other month.

Yes wholeMonths can work with daysOfMonth.  The Validate rule for
wholeMonths will have to be removed or altered to also check for
daysOfMonth.  An example is:  moment(startDate).recur().every([5,
10]).daysOfMonth().every(2).wholeMonths().
On Fri, Mar 16, 2018 at 11:06 AM Alex Bross<EMAIL_ADDRESS>wrote:

This works well for weeksOfMonthByDay. Is there any way to get wholeMonths
to work with daysOfMonth, as well? For example to choose the 5th and 10th
days of every other month.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/c-trimm/moment-recur/pull/46#issuecomment-373762055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC1ZvoCdKc02bOCn7JE3fhORzalaO_tMks5te-MegaJpZM4HAxMG
.


Batch webhooks

The handler should be just a collector of requests to be sent and another process should keep watching the messages to be sent and batch them.
I was thinking on something like a simple ets table. This would even make it easier to deal with the delay for some events (https://github.com/edgurgel/poxa/issues/67)

Closed by #72


RTCConnection.onopen fires wrong

Hey @muaz-khan,
since the last update, RTCConnection.onopen doesn't work correctly. We have a video chat application where the user get's notified if he gets a call. He can accept or decline the call. Since the new update, the RTCConnection.onopen is fired directly after creating a call on the caller side. Normally the function is called, when the receiver accepts the call. Everything has worked fine before the last update. The problem is that the caller now sees the video view instead the "Waiting for answer..." view.

onopen seems working fine in this demo:

https://rtcmulticonnection.herokuapp.com/demos/Audio+Video+TextChat+FileSharing.html

RTCPeerConnection.js is NOT updated since July 21:

https://github.com/muaz-khan/RTCMultiConnection/blob/master/dev/RTCPeerConnection.js

Hey, I'm using the latest RTCMultiConnection.js (dist/RTCMultiConnection.js). After replacing the files, the behavior of onopen changes. Normally this is the way:

Caller calls receiver
Caller sees a waiting screen
Receiver sees a "New call" screen
Receiver accepts call, both users see the video screen.

Behavior after updating:

Caller calls receiver
Caller sees immediately the black video screen, instead the "New call" screen.
Receiver sees a "New call" screen
Receiver accepts call, both users see the video screen.

The only part in the code where we handle the video view is this one:
RTCConnection.onopen = function (e) {
        ViewModel.findOne("video").showVideoView(true);
};

RTCConnection is a RTCMultiConnection object.
After reverting the file, everything works fine again.

Seems a bug somewhere in this function:

https://github.com/muaz-khan/RTCMultiConnection/blob/master/dev/RTCMultiConnection.js#L391

Previously we were capturing stream here. Now using beforeJoin method instead.
BTW, hope you updated Signaling-Server.js as well?

Yep, the signaling server is up-to-date.

This is btw the code how we handle incoming call requests:
RTCConnection.onNewParticipant = function (participantId, userPreferences) {

    // if OfferToReceiveAudio/OfferToReceiveVideo should be enabled for specific users
    userPreferences.localPeerSdpConstraints.OfferToReceiveAudio = true;
    userPreferences.localPeerSdpConstraints.OfferToReceiveVideo = true;

    userPreferences.dontAttachStream = false; // according to situation
    userPreferences.dontGetRemoteStream = false;  // according to situation

    //Only 1 connection peer user
    if (RTCConnection.getAllParticipants().length >= 1) return null;

    console.log("New call");

    //Accepting now in video_call
    newCallCB(participantId,userPreferences);

};

Is there any workaround to make it work with the current RTCMulti version?

Please check this demo:

https://github.com/muaz-khan/RTCMultiConnection/blob/master/demos/One-to-One.html

@muaz-khan This demo doesn't show any "Accept / Reject" dialogue. It only limits the connections to 1 call, but in our application we are showing a dialogue to the receiver while the creator sees a "Waiting for answer" dialogue.

Closed, we had the function within onstream event and now checking for remote streams and ignoring all local data, so we get the functionality back.

You can use this alternative method as well:

https://github.com/muaz-khan/RTCMultiConnection/blob/master/docs/api.md#setcustomsocketevent

connection.connectSocket(function() {
    connection.instantChatId = connection.sessionid + '-chat';
    connection.setCustomSocketEvent(connection.instantChatId);
    connection.socket.on(connection.instantChatId, function(message) {
        if (message.join === true) {
            if (window.confirm(message.extra.fullName + ' wanna join your room. Do you accept?')) {
                connection.socket.emit(connection.instantChatId, {
                    accepted: true,
                    roomid: connection.sessionid
                });
            } else {
                connection.socket.emit(connection.instantChatId, {
                    rejected: true,
                    roomid: connection.sessionid
                });
            }
        }

        if (message.accepted === true) {
            connection.join(message.roomid);
        }

        if (message.rejected === true) {
            alert('You can NOT join this room: ' + message.roomid);
        }
    });
});

btnJoinRoom.onclick = function() {
    connection.socket.emit(connection.instantChatId, {
        join: true,
        userid: connection.userid,
        extra: connection.extra
    });
};


New interface language: brazilian portuguese

How do I translate? What programs to use? I would like to translate it into Brazilian Portuguese.
Thank you.

Hi,
First of all, thank you for your interest in the project!
You can download the base translation file here. You simply need to open it and replace all the text between value tags (<value>...</value>) by the appropriate phrase in Brazilian Portuguese.
Programs you could use:

Microsoft Visual Studio 2019 (Community Edition)

It's a big download just for editing a translation file, but it has the better looking editor.

Notepad++

It can open XML files without problems, and supports the structure very well
If you only plan on translating, I would suggest this one

Hello
Thank you for giving the file for translation. I translated using the program "AutoResxTranslator.v2.1". But I would like to ask you, if possible to make the file "Resources.resx" available in Spanish as well; because it would be easier for me to revise and correct the translation. I opened the file "TQVaultAE.Presentation.resources.dll" in Spanish to facilitate the corrections of the translation but there it complicated kkkk. I repeat, with "Resources.resx" in Spanish it would make it easier.
Another question is: How to replace the "TQVaultAE" files for testing the translation. Or should I just translate "Resources.resx" and modify it on the download page "https://github.com/EtienneLamoureux/TQVaultAE/blob/master/src/TQVaultAE.Presentation/Resources.resx" so that you can include it in the next update.
Thank you

Fantastic!
It would be hard to test the file without building the solution on your local computer. I can bundle it in the next release and if you notice any mistakes, we can always patch later. You can give it to me by zipping it (in a .zip file) and drag-drop it in here.
Finally, here is the Spanish translation file (there might be some missing strings towards the end).

Bonjour EtienneLamoureux
J'ai terminé la correction et j'envoie le fichier avec un bref résumé. J'attends avec impatience votre approbation et mise à jour de TQVaulAE. Je vous remercie.
Resources and readme.zip
Hello EtienneLamoureux
I finished the correction and am sending the file with a short summary. I look forward to your approval and update of TQVaulAE. Thank you

THANK YOU THANK YOU

Hello
I would like to know if you have already updated Resources.resx, in PT, BR so that I can make improvements in the translation. Now that I already have TQVaultAE 3.7.1 in PT, BR and I know where the texts fit, I intend to modify them so that they have a better fit and visualization.
Another thing is that the program is not linking to the original translation of the game and the items and appear in English. I send a capture photo in the zip file.
TAVaultAE_3.7.1 - Screenshot.zip

The current translation file is here: https://github.com/EtienneLamoureux/TQVaultAE/blob/master/src/TQVaultAE.Presentation/Resources.pt.resx
For the items' text: that one is on me, I'll fix it.

@Klauhs Release 3.7.2 has the fix for the item names/stats. The bug was due to the game using the non-standard br code for brazilian portuguese (instead of the ISO pt-BR code).
I created https://github.com/EtienneLamoureux/TQVaultAE/issues/350 for the "Level" issue.

Hello
I finished the 2nd correction and I am sending the file with short summaries and a problem. Thank you
Resource + Feedback.zip

Hello again
Please use this latest version of "Resources.pt .resx". The latter, at least for Atlantis, I hope.
Resources.pt .resx (Latest Version).zip


SpinnerView Calling AdvanceAnimation in Constructor

Discussed in https://github.com/gui-cs/Terminal.Gui/discussions/3731

Originally posted by dasien September  5, 2024
Hello,
As part of my migration from v1 -> v2, i replaced my custom 'spinner' control with a SpinnerView.  My implementation is as follows
   private readonly string[] _spinFrames = [
            "01100010", "01101001", "01110100", "01110111", "01100001", "01110010", "01100100", "01100101",
            "01101110"
        ];
            _spnAnimation = new SpinnerView()
            {
                X = 3, Y = 2, Width = 10, Height = 1, CanFocus = false, Visible = true,
                AutoSpin = true, SpinDelay = 80, Sequence = _spinFrames, Data = "spnAnimation"
            };

What i have noticed is that the first animation frame that appears is the default SpinnerStyle for the control, which is SpinnerStyle.Line.  After that first frame, i see my sequence of characters.   When i looked at the constructor for the SpinnerView i see that it is calling AdvanceAnimation() and that is setting an index of 1, which is getting the "\" character from the SpinnerStyle (the 2nd element in the list).  I have two questions.

Can we remove the call to AdvanceAnimation() from the constructor? (I am happy to do it)  I don't see the purpose for doing it there, but i could be missing something.

It seems like this code, given the default values for _bounceReverse and SpinReverse, will start with the [1] element in the array, skipping the [0] element the first time through.

 var d = 1;

                if ((_bounceReverse && !SpinReverse) || (!_bounceReverse && SpinReverse))
                {
                    d = -1;
                }

                _currentIdx += d;

Can we remove the call to AdvanceAnimation() from the constructor? (I am happy to do it)  I don't see the purpose for doing it there, but i could be missing something.

Yes.

It seems like this code, given the default values for _bounceReverse and SpinReverse, will start with the [1] element in the array, skipping the [0] element the first time through.

Frankly, I don't think this view has been used "in anger" all that much. Thus we are more than happy to have someone like you dive in, figure out how to make it right/better and submit a PR.
Thanks!


Yarn 2 PNP incompatibility

Requests

https://serverless-stack.slack.com/archives/C01HQQVC8TH/p1628446417091800?thread_ts=1628323153.068600&cid=C01HQQVC8TH

Did some initial research.  Supporting this alongside our existing scripts to handle typescript will likely create something that's hard to manage / buggy.  We should figure out extensibility first and then build this feature on top of it

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Expose runtime docs on the released docs

The DRuntime docs have been exposed for quite a while after https://github.com/dlang/dlang.org/pull/2084.
However, as there has been almost no activity in improving them, I think the only way to move forward is to expose them on the main pages too.
At the moment, rt is only visible on the -prerelease menu.
Example: https://dlang.org/phobos-prerelease/rt_config.html
We did the same with the DMD docs as they also received no attention while they were only available in the -prerelease for a year.

It would be nice if the package could somehow have a description, or we could somehow visually separate public and internal APIs...

It would be nice if the package could somehow have a description

We could add a package.d to druntime/src/rt?
(though I think currently the navigation doesn't support package.d files in the first-level, only second and lower levels)

or we could somehow visually separate public and internal APIs...

Maybe a simple  before  would do?
A bit fancier (and more work) would be to

to use different folders for the DMD and runtime documentation (it never really made sense to put it under /phobos)
have toggle buttons instead of "Library Reference" e.g. "Library" and "Internal". With internal being gray/hidden by default, but with its state saved in HTML5 WebStorage...

Maybe a simple <hr> before <dmd> would do?

Can we do that easily? Because if we can, then we can also add "Internal API:" below it, which would be perfect.

to use different folders for the DMD and runtime documentation (it never really made sense to put it under /phobos)

That would work.

have toggle buttons instead of "Library Reference" e.g. "Library" and "Internal". With internal being gray/hidden by default, but with its state saved in HTML5 WebStorage...

I don't like this. If we want to pull in JS, it's better to just separate the two categories visually. There's certainly enough space in the sidebar there.

Can we do that easily? Because if we can, then we can also add "Internal API:" below it, which would be perfect.

Yeah, it would as easy as patching modlist.d:
diff --git a/tools/modlist.d b/tools/modlist.d
index 033d6601..0feda7c0 100644
--- a/tools/modlist.d
+++ b/tools/modlist.d
@@ -138,6 +138,9 @@ int main(string[] args)
     writeln("MODULE_MENU=");
     foreach (part; packages)
     {
+        if (part == "dmd")
+            writeln("$(HR) Internal API: $(BR)$(BR)");
+
         // check whether it's a package or file
         auto subTree = tree[part];
         if (subTree.leaves.length)

Though we should probably not go with this quick & dirty solution as modlist.d is used by a few other projects, e.g. mir
Hence I added dedicated CSS classes (not too much more work and a lot cleaner).
Preview:


Use Regexp#match? on Ruby 2.4+

https://blog.cognitohq.com/new-features-in-ruby-2-4/
cheers @backus :)


crc32 seems to be different than what fift generates

I have ...
run()

async function run() {
  // Create some cells
  const c2 = new TonWeb.boc.Cell();
  c2.bits.writeUint(42, 7);

  const c3 = new TonWeb.boc.Cell();
  c3.bits.writeUint(73, 255);

  const c1 = new TonWeb.boc.Cell();
  c1.bits.writeUint8(0);
  c1.refs.push(c2);
  c1.refs.push(c3);

  const boc = toHex(await c1.toBoc())
  console.log({boc})
}

function toHex (buffer) {
  return Array
      .from (new Uint8Array (buffer))
      .map (b => b.toString (16).padStart (2, "0"))
      .join ("")
}

producing {boc: "b5ee9c72c1010301002a000005080202000102000155003f00…00000000000000000000000000000000000000093f985b405"}
and
<b 0 8 u, <b 42 7 u, b> ref, <b 73 255 u, b> ref, b>
2 boc+>B Bx.

producing B5EE9C7241010301002A000202000102000155003F0000000000000000000000000000000000000000000000000000000000000093355B1411

I think there are different crc32 algos, and if I recall correctly, ton uses crc32c.  Perhaps this could account for the different results.

Yes, TON uses crc32c algorithm so as this library. Differences in example above origin from different serialization flags:
by default toBoc uses following:
has_idx = true, hash_crc32 = true, has_cache_bits = false, flags = 0
https://github.com/toncenter/tonweb/blob/master/src/boc/Cell.js#L196-197
At the same time fift command 2 boc+>B Bx. means that you require serialization only with crc32c hash sum, without index.
If you want to get serialization using TonWeb which coincide with your fift result, change
const boc = toHex(await c1.toBoc())
to
const boc = toHex(await c1.toBoc(false, true, false, 0))

Awesome, thanks!


message delay

Now I have a problem, I am creating a client using 'client = tdl.createClient(publicValue)' by 'var all_message = await client. invoke(
{
_: 'getChatHistory',
chat_id: itemQun.chat_id,
from_message_id: itemQun.from_message_id,
offset: -99, limit: 99
limit: 99
}
)' to get telegram messages (my program must use getChatHistory to get messages, because I am using vpn to access the extranet, and I want to realize that when the VPN is interrupted, and it returns to normal, I can continue to get the data according to the previous ids), in the initial stage of login, there is no delay in getting the messages, but when the After 3-4 days of running the program, some of the groups started to have delayed messages, so I decided to restart the project using node, and for about 1-2 two days these same groups had the same delay, so I deleted the login information and re-logged in, and persisted for 3-4 days, and then started to have the delayed messages again (it's always been a fixed number of groups). So what is the cause of this please?
It is important to note that there are many groups under the current account and the volume of group messages is also high.
Techniques: node; prebuilt-tdlib:“^0.1008034.0”; tdl:“^8.0.1”
Looking forward to your reply, thanks!

It is important to note that there are many groups under the current account and the volume of group messages is also high

getChatHistory is not supposed to be used to fetch new messages.
Also, messages in supergroups and channels aren't supposed to be received immediately. They can be received by different users with different delay.

I understand what you mean, but I have to use 'getChatHistory' again. So now I have a question. When I start a program, there is no delay at the beginning, but the delay of certain specific groups can reach 1 hour or even longer after 3-4 days. When I pause the program and restart, the delay disappears. What is the reason? @levlam

It can be anything and it is most likely to be intended. New messages are supposed to be received only through updateNewMessage and getChatHistory can't affect receiving of new messages.

OK, I understand, thanks

它可以是任何东西，而且很可能是有意为之。新消息只能通过它接收updateNewMessage，getChatHistory不能影响新消息的接收。


SugarVerbose: Print more verbose testcase reports for all o…

…utcome
Signed-off-by: Andras Mitzki<EMAIL_ADDRESS>I have found that pytest-sugar can display each failed testcases which is a useful feature.
For me it would be even better if it could display it for each pytest outcomes.
The original idea came from the error outcomes which can happen in setup or teardown phases also and I would like to know when it happened.
Maybe the option name (--sugar-verbose) is not the best, it is fine to change it.
Update:
The functionality from using "--sugar-verbose" arg has been changed to use "native" pytest arg: "-ra"
Example to run this feature use the following execution:
$ python3 -m pytest -ra t.py

Before
Results (0.05s):
       5 passed
       3 failed
         - t.py:4 test_B
         - t.py:7 test_C
         - t.py:10 test_D
       1 error

After
Results (0.05s):
       5 passed
         - t.py:1 test_A (call)
         - t.py:18 test_E (call)
         - t.py:23 test_F[3+5-8] (call)
         - t.py:23 test_F[2+4-6] (call)
         - t.py:23 test_F[6*9-42] (call)
       3 failed
         - t.py:4 test_B (call)
         - t.py:7 test_C (call)
         - t.py:10 test_D (call)
       1 error
         - t.py:18 test_E (teardown)

Just a quick idea: maybe this should be based on / coupled with pytest's -r option (reportopts), i.e. -ra would enable it here then also.

Codecov Report

Merging #175 into master will decrease coverage by 3.47%.
The diff coverage is 52.94%.

@@            Coverage Diff             @@
##           master     #175      +/-   ##
==========================================
- Coverage   85.32%   81.85%   -3.48%
==========================================
  Files           2        2
  Lines         477      496      +19
  Branches       84       92       +8
==========================================
- Hits          407      406       -1
- Misses         44       57      +13
- Partials       26       33       +7

Impacted Files
Coverage Δ

pytest_sugar.py
76.32% <52.94%> (-4.56%)
:arrow_down:

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 a210316...aaedbe3. Read the comment docs.

Thanks @blueyed I will check it.

I have checked it and found some issues.
1, It did not display where the testcase error occurred: in setup or in teardown
2, There is a very different output when pytest-sugar is installed or not (for the same testcase)
Report output when pytest-sugar is not installed:
$ python3 -m pytest -rA t.py
platform linux -- Python 3.6.7, pytest-4.5.0, py-1.6.0, pluggy-0.11.0
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/micek/na_akkor_ujra/backup/playground/python/play_with_pytest/.hypothesis/examples')
rootdir: /home/micek/na_akkor_ujra/backup/playground/python/play_with_pytest
plugins: xdist-1.28.0, repeat-0.8.0, icdiff-0.2, forked-1.0.2, hypothesis-4.23.4
collected 8 items
...
============================================================ short test summary info =============================================================
ERROR t.py::test_E - AssertionError: assert 'aaa' == 'bbb'
FAILED t.py::test_B - AssertionError: assert equals failed
FAILED t.py::test_C - Exception: ('spam', 'eggs')
FAILED t.py::test_D - ZeroDivisionError: division by zero
PASSED t.py::test_A
PASSED t.py::test_E
PASSED t.py::test_F[3+5-8]
PASSED t.py::test_F[2+4-6]
PASSED t.py::test_F[6*9-42]

Report output when pytest-sugar is installed:
$ python3 -m pytest -rA t.py
Test session starts (platform: linux, Python 3.6.7, pytest 4.5.0, pytest-sugar 0.9.2)
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/home/micek/na_akkor_ujra/backup/playground/python/play_with_pytest/.hypothesis/examples')
rootdir: /home/micek/na_akkor_ujra/backup/playground/python/play_with_pytest
plugins: xdist-1.28.0, sugar-0.9.2, repeat-0.8.0, icdiff-0.2, forked-1.0.2, hypothesis-4.23.4
collecting ...
...
============================================================ short test summary info =============================================================
FAILED t.py::test_B - AssertionError: assert equals failed
FAILED t.py::test_C - Exception: ('spam', 'eggs')
FAILED t.py::test_D - ZeroDivisionError: division by zero
FAILED t.py::test_E - AssertionError: assert 'aaa' == 'bbb'
PASSED t.py::test_A
PASSED t.py::test_A
PASSED t.py::test_A
PASSED t.py::test_B
PASSED t.py::test_B
PASSED t.py::test_C
PASSED t.py::test_C
PASSED t.py::test_D
PASSED t.py::test_D
PASSED t.py::test_E
PASSED t.py::test_E
PASSED t.py::test_F[3+5-8]
PASSED t.py::test_F[3+5-8]
PASSED t.py::test_F[3+5-8]
PASSED t.py::test_F[2+4-6]
PASSED t.py::test_F[2+4-6]
PASSED t.py::test_F[2+4-6]
PASSED t.py::test_F[6*9-42]
PASSED t.py::test_F[6*9-42]
PASSED t.py::test_F[6*9-42]

Results (0.05s):
       5 passed
       3 failed
         - t.py:4 test_B
         - t.py:7 test_C
         - t.py:10 test_D
       1 error

my example test file
def test_A():
    assert "aa" == "aa"

def test_B():
    assert "aa" == "bb"

def test_C():
    raise Exception('spam', 'eggs')

def test_D():
    a = 7
    b = 0
    a/b

def stop():
    assert "aaa" == "bbb"

def test_E(request):
    request.addfinalizer(stop)

import pytest

@pytest.mark.parametrize("test_input,expected", [("3+5", 8), ("2+4", 6), ("6*9", 42)])
def test_F(test_input, expected):
    assert True

I can understand why there are so many testcases in the report, it counts: call, setup and teardown for each testcase. But there is outcome change from: ERROR t.py::test_E - AssertionError: assert 'aaa' == 'bbb' to FAILED t.py::test_E - AssertionError: assert 'aaa' == 'bbb' which is more problematic as I think.

Oh I understand you, maybe we did not need this new option: "--sugar-verbose", just enable this feature when -ra is defined in arguments. I will think about this.

@blueyed Thanks for the note, I have removed the option and the feature be enabled with native "-ra" arg

Correct me if I am wrong, without fixing CI failures my PR can not be merged. As I saw there are already some PR(s) to fix those issues. My question is: how can I help to move forward my PR.
Can I do some reviewing or testing (which PR(s) would fix CI issues?)?

@mitzkia we have to wait for @frozenball here I assume.

Ok, thank you for the answer.

Actually I can merge things here, and CI should be fixed after merging https://github.com/Frozenball/pytest-sugar/pull/156 (which was approved / got no more feedback).
In general I am not using pytest-sugar myself by default.. (so do not expect too much help / reviewing from me here)

... so apparently https://github.com/Frozenball/pytest-sugar/pull/156 was stalled for too long, and CI is still broken with it now: https://github.com/Frozenball/pytest-sugar/pull/156
Do you feel like fixing it?  (from a quick look it appears there is an issue with xdist, and some other dep compatibility at least)
From my point of view we would not really have to support pytest30 for example (if that's an issue), but it would be great to get feedback / opinion from @Frozenball as the owner here.

Thanks for your answer. I would say lets wait for a while @Frozenball's answer. Soon I will check the broken CI and #156

I am trying to fix it quickly in https://github.com/Frozenball/pytest-sugar/pull/177 already.

Merged https://github.com/Frozenball/pytest-sugar/pull/177, so you are able to rebase your PR(s) at least for now.

Thanks :) , I will do it

Thanks again, I will fix the CI error.

Hey 👋
Thank you for your PR! I am going through the old PRs in this repository and closing them since a long time has passed since the opening and they may not be that relevant anymore. If you still wish to continue with this pull request, let me know and we can re-open it.
Teemu


Update statuses for entity health

Update the docs for Status. I spoke with @line47 and there is an underlying pattern we refer to as Status which is independent of Cloud Foundry application state. This pattern should be documented to be more generalized and then we can apply them to other contexts, like application health or activity logs.

Thanks for this @adborden, This is great!


Thousands of Data Points

I have a data set consisting of 2,000-3,300 plots on the x axis, is there a way to make these more visible? I can't see any of my lines. The only problem is the y plots are only between 0-15

Sorry, but it's not designed for handling thousands of data points, maybe later

I suggest normalising your data between 0-15

I would guess that you can decrease the data to display chart.
It works fine in my case, look at the example:
let dataSource:[Double] = []

func getShortedLineChartData(width: Int) -> [Double] {
    var rowData:[Double] = dataSource // your full data source
    while rowData.count > width {
        rowData = rowData.enumerated().compactMap { index, element in index % 3 == 2 ? nil : element }
    }
    return rowData
}


Improve ockam identity show with --output json and --full flag

Current behavior
ockam identity show --output json --full currently does not output JSON that has keys and values, it is just a array of numbers.

Desired behavior
It should output JSON data that is useful for scripting or CI/CD environments. Please take a look at the output of ockam identity show --full --encoding plain to see what useful information should be emitted.
Please take a look at this file to make changes.

We love helping new contributors! ❤
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.

Hi, I think I can take on this one.

@kriogenia That's awesome, this is all yours. Please let us know if you have any questions as you explore. You can also ask questions on the contributors discord https://discord.gg/RAbjRr3kds
Also, please associate your PR and issue using this technique: https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue


Train MNIST based Linear model on CPU

Summary
To have a proper e2e demo with model training on an MLIR-based compiler, we need to confirm that the model architecture is suitable to be trained on the CPU first.
Details
By the time of writing this issue, the linear model that is looked over for MNIST training looks like follows:
class MNISTLinear(nn.Module):
    def __init__(self, input_size=784, output_size=10, hidden_size=256):
        super(MNISTLinear, self).__init__()
        self.l1 = nn.Linear(input_size, hidden_size)
        self.relu = nn.ReLU()
        self.l2 = nn.Linear(hidden_size, output_size)

    def forward(self, x):
        x = self.l1(x)
        x = self.relu(x)
        x = self.l2(x)

        return nn.functional.softmax(x)

Besides, the used loss is MSE, while the optimization algorithm is SGD.
From the initial preview, this model might miss a few more layers to be able to successfully train, but that shouldn't introduce the need for any new op types. It'll be good to get accuracy with at least a 50% success rate.
Bonus points (not a requirement!)
Train model on PyBuda/BBE stack 🪙 🪙 🪙
Passing criteria

The initial (or modified) architecture of the model is trained with a 50% passing score
If the model is modified, and new ops are introduced, followup issues for op support are required (both fwd and bwd). The same applies to loss and/or optimizer components.

I implemented training in PyTorch; this architecture seems to be good enough, I'm getting 95+% validation accuracy.
One detail - we should use cross-entropy instead of MSE, since this is a classification task.
I'll push it once I double-check everything.

Apart from this being important from the model architecture standpoint, it is good to have a fully trained model so we can load it into MLIR inference.


Build php-agend for php 7.2.7

I use the version 0f pinpoint-c-agent is v0.1.1rc1, the version of php is 7.2.7. when I execute the step 2 of 'Build php-agent' in README.md, it is 'Run cd pinpoint_php && ./Build.sh && sudo make install' . the error happened, help please:
/usr/local/boost.1.63//include/boost/system/error_code.hpp: At global scope:
/usr/local/boost.1.63//include/boost/system/error_code.hpp:221:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunused-variable]
static const error_category &  posix_category = generic_category();
^
/usr/local/boost.1.63//include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-variable]
static const error_category &  errno_ecat     = generic_category();
^
/usr/local/boost.1.63//include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-variable]
static const error_category &  native_ecat    = system_category();

@shiyapeng
I recommend you use the v0.2.0 (had removed boost dependency)

@shiyapeng
I recommend you use the v0.2.0 (had removed boost dependency)

the v0.2.0 don't support php 5.6。 There are project of php5.6 and project of php7.2  at the same time in my Centos system，  so I use the v0.1.1rc1。

One agent to one project !
https://github.com/naver/pinpoint-c-agent/issues/94
v0.2.x could support one to many in future !

One agent to one project !
#94
v0.2.x could support one to many in future !

yes，so I install and setup two pinpoint agent in mysql Centos system , one for php5.6, one for php7.2 ,the php5.6 agent is running ,but the php7.2 agent build error.


My dogecoin is moved out on 25th Jan.

I had my dogecoins in dogechain wallet since 2018.
2 days back all my dogecoins are removed from my wallet.
When I check the transaction details, it's mentioned as " appeared in block".
It also shows link for raw transactions.
I do not understand any of this. Can someone help me to know what has happened?
Is there any way to get back my dogecoins.
Is there any customer support number for dogechain.info site?
Please help.

This is not a support forum for dogechain.info., sorry. Make sure to use secure passwords and ideally 2FA if you're dealing with cryptocurrencies.

This is not a support forum for dogechain.info., sorry. Make sure to use secure passwords and ideally 2FA if you're dealing with cryptocurrencies.


Output and Search Results panels aren't the same height when opened

Godot version
3.3.2.stable.official
System information
Windows 10
Issue description
The Output panel

and the Search Results panel

aren't the same height when opened because of their text areas' height

and their labels' height

This likely happens with other panels too!
Steps to reproduce
In the Editor, open the Output panel, make sure it is at its default/minimum size, and then open the Search Results panel.
Minimal reproduction project
No response

Note that the Output panel has been rewritten in the master branch, which means this issue is likely most apparant in 3.x. Nonetheless, the extraneous space below Find: should be removed in master too.


of QLIBS_USE_STD_MATH

Works well. However in qffmath.h there is for selection of standard math:
#ifdef QLIBS_USE_STD_MATH
/*! @cond  */
#include <math.h.h>   // this one <---- math.h ?
BTW, Where is this selection made, we could not find?
BR, Tuomo and Anna

thanks @tuomo16
yes is a typo, fixed!
just invoke the qfiscgen command again, he will bring the updated source files


pinctrl: esp32c6: Fix for input/output enable flags

Fix missing input/output enable flags on pinctrl macro, which wouldn't allow for driver to see and apply flags configuration made in the device tree.

Pinging @tbursztyka. Can you please help review. Today is the last day to merge this for the 4.0 release.


Adding some more details IST network selection

I am not sure if this is the right place to provide these types of details, but I want to make sure to include some details about how we expect operators to deploy the tile into an "isolated" network.

Thanks, @ryanmoran !


Error handling

Would it be possible to add error handling example in https://trillium.rs/ ?
Doc are great by the way for a new project.

Doc are great by the way for a new project.
Thanks!

The absence of error handling is not entirely a mistake, but I should address it directly in the documentation. Currently, the error handling story is the least-developed aspect of Trillium, but we are limited by what the language can express at the moment. In the future, we'll be able to have a ErrorHandler::new(async move |conn: &Conn| → Result<(), MyResult> { Ok(()) }) that impl's Handler, but until the language develops that capability, it's a matter of picking the least-bad workaround.
There are two macros available to make this easier: trillium::conn_try! and trillium::conn_unwrap!, but I expect there'll be further improvements.
Regardless of how it turns out, error handling is going to end up looking very different from tide. In particular, I think there's a distinction between "returning a non-200 response" and a rust Err, and that the code to translate between them should live entirely in the application. I think most applications will want to have a single thiserror-style enum Error that also implements Handler.

I was actually looking into some sort of error handling sort of middleware (handler) that auto converts errors to json/html bad requests or 500 or thiserror to some json represntation.
trillium_smol::run(
    Router::new()
        .get("/users", {conn-> Err('blah') ))
        .get("/posts", posts_api),
    ErrorHandler::new(async move |conn: &Conn| -> {
        conn.with_status(500).with_body(json!(conn.err()))
    });
);

Yeah, that's not possible yet in async rust

I'm going to convert this to a discussion because I believe this will be a long-running topic of discussion, but will re-create an issue to represent the short term need for better documentation


Added my version of the name program.

I created a version of the name program to be graded.

Good


Register

@JuliaRegistrator register

Error while trying to register: Error in (Julia)Project.toml: Package 'Turing2MonteCarloMeasurements' with UUID: d5f69e58-3735-4fb1-9f31-04d391be4687 not found in registry or stdlib


Event Keypress Enter

Hi Mervick,
before that I use this source code:
$('.message-input').on('keypress', function(e) {
if (e.which == 13){//something}
}

Now. I using emojionearea for Input. I want to use send message with Enter keyboard
$(".message-input").emojioneArea({
				inline: true,
				events: {
					keypress: function (editor, event) {
						console.log(editor);
						console.log(event);
						console.log('event:keypress');
					}
				}
			});

Please please

This is a known bug,
try to use keyup instead
ref https://github.com/mervick/emojionearea/issues/30


[Table of Contents]: add mutation observer

Changes:

add a mutation observer that checks if new headings were added or removed and updates the headings list if yes
add the original heading node to the list of returned items so people have more control over how headings are displayed in the ToC
update returns of builder function to match current structure
update types

Addresses the following issues:

Closes #476
Closes #450

thanks so much for this!


Write MAGIC-only subarray

This addresses points 1 and 2 of #191.

@jsitarek can you have a quick look to this? I think this is what you wanted i.e.:

as default, both MAGIC and LST are written in the subarray. LST=LST-1 only, since this script is for real data only so having more LSTs does not make sense (yet?).
I added another option to write in the subarray only the MAGIC telescopes if the pipeline is used for MAGIC only analysis


Cannot find package 'astro-dynamic-import:internal' imported in ......

After building my application im reciving this error Cannot find package 'astro-dynamic-import:internal imported from .....
Works in dev mode
Looks like vite is just ignoring the plugin

First time I'm seeing this. Could you share a small project created using https://astro.new/ that shows the error?

Closing this as I can't investigate without a reproduction of the error.

I'm also getting this error after building and I start the dev server, this error occurs. I will try to reproduce it.

I believe it's something in vite when optimizing dependencies in dev mode
try this
export default defineConfig({   integrations: [dynamicImport()],   vite: {     optimizeDeps: {       exclude: ['astro-dynamic-import:internal'],     },   }, });


Added explicit-keyword to constructors having 1 argument.

The patch looks fine - but what problem are you trying to fix (or error you want to avoid) with the change?

This patch fixes a couple of Cppcheck warnings.

I don't think this causes trouble; will accept and give it some "bake time". Not sure it solves a problem, but cppcheck has been useful thus far.


can't fetch data on the server, only on client side

Environment

Operating System: Linux
Node Version:     v16.13.0
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      ssr, telemetry, loading, app, vue, plugins, modules, tailwindcss, vite, render, runtimeConfig
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://github.com/sebalaini/laravel_docker-compose
Describe the bug
I'm upgrading a pubblic GitHub repo (I use that base on a private one, I'm using this one to help me with the project migration) with Nuxt 3 but I'm having some issues fetching data on reload.
I have a reverse proxy to redirect to the correct docker image.
I'm using this code on the page:
<script setup>
const runtimeConfig = useRuntimeConfig()
const { data: app, pending, error, refresh } = await useAsyncData(() => $fetch(`${runtimeConfig.public.BASE_API_BROWSER_URL}/message`))

the same goes if I use ...await useFetch... instead of the useAsyncData
Very simple but it seems to work only when I made some changes in the code and then see the page loaded with HMR, if I refresh the page I get the following error.
Error: request to http://localhost/api/message failed, reason: connect ECONNREFUSED <IP_ADDRESS>:80 ()

that URL is perfectly working, if I copy and paste it I get the correct response, also as I said above, it does work if I made a change a change in the code and save the file, with HMR is working fine, it just doesn't work when I refresh the page.
I found out that I could do this
if (process.client && error.value) {
  await refresh()
}

but that still doesn't answer why on refresh that doesn't work but with HMR yes.
I want to be able to fetch data on the server like the old  async asyncData
Additional context
No response
Logs
No response

#15657


[torchlib] Implement diagonal and diag

https://github.com/pytorch/pytorch/blob/69bf0241b1eefa1a833b7c351dc3651a714766b9/torch/onnx/symbolic_opset13.py#L742

https://github.com/onnx/onnx/issues/5142


feat: Add examples for email template profile

Description
Add examples for communication/email-template. I copied them from the tests. My only concern is with the long HTML and text examples. Should we do this or make them short one-liners?
Motivation and Context

Trying to add examples for all profiles.
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:

[x] I have read the CONTRIBUTING document.
[x] I haven't repeated the code. (DRY)
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@smizell Please don't merge it yet, I'll push a fix to the front end first. I'll ping you here

@smizell Please don't merge it yet, I'll push a fix to the front end first. I'll ping you here

I pushed the fix to production, this can be merged when it's ready.


wandb v0.17.4

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Information about this PR:
1. Update wandb version
Update wandb version from 0.16.6 to 0.17.4.
2. Update source URL
Wandb no longer distributes the source from PyPI. Therefore, change the URL from PyPI to GitHub.
3. Add build requirements
Add following packages for building wandb:

hatchling
typing_extensions
go
gcc

4. Add test requirements
Add following package for testing wandb:

platformdirs

I've discovered that I used the wrong directive in the requirements. I am currently working on fixing it.

Move gcc and go from requirements-host to requirements-build, and replace gcc with {{ compiler('c') }}.

Thank you for this PR! We have been waiting for conda-forge to catch up with PyPI!

I am closing this PR to reopen it with new maintainers added as reviewers and to squash the messy commits.

New PR #108


Add forget password functinality to backend and frontend

i forgot my password sfter sign up there is no way to resolve this
i want to add a forgot password functionality to the login page with backend api and frontend  also
please assign this issue to me @Yashgabani845

@AyushSharma72 good issue start working on it


ISPN-1566 Remove duplicate async/singletonStore definitions

https://issues.jboss.org/browse/ISPN-1566
This fixes Jbc2InfinispanTransformerTest which has been failing since the original jira was implemented.
FAO: Mr Muir, related to your past changes, can you review this?

merged


Upgrade to 2.2.0 with helm upgrade

Seems the problem still exists #95
I'm trying to upgrade to 2.2.0 with command "helm upgrade"
and getting errors in container logs:
"Failed to list *v1alpha1.TLSStore: the server could not find the requested resource"
Does it mean 'helm upgrade' doesn't work correctly?

Hi @myco,
From which version are you trying to upgrade?
What is your helm version?

from version traefik-6.0.0   2.1.3
helm version v3.1.0

@myco after some investigation seems to be an issue for other users too https://github.com/helm/helm/issues/7735.
This is a decision from helm when they introduce CRDs with this PR https://github.com/helm/helm/pull/6243

CRDs are not upgraded during helm install or helm upgrade. There is no accepted practice for managing CRD upgrades (again, because they are a global resources, and an upgrade can break things in interesting ways), so we decided not to handle this case. It is up to the operator.

So you have to manage this CRDs manually during an upgrade.

So I am closing this issue because this is not something we can handle here.
Thanks


Provide consistent concept around partitioned topic and topic partition/internal topic

Search before asking

[X] I searched in the issues and found nothing similar.

(follow up of question raised from slack community and discussion with @lhotari)
Motivation
mailing-list(dev) : https://lists.apache.org/thread/36mmvbjbm4g0b8khwmom7pjv5hr6ytxg
Concepts should include whatever is commonly used. But currently, there is no good definition of what "partitioned topic" and "non-partitioned topic" mean and some places topic partition and internal topic interchangeably. And there are currently two locations where we can improve on
1# Topic Name API
Let’s take look at one of questions raised in slack community
TopicName topicName = TopicName.get("persistent://public/default/example-partition-0");
System.out.println(topicName.isPartitioned()); // true

String partitionedTopicName = topicName.getPartitionedTopicName();
TopicName.get(partitionedTopicName).isPartitioned()); // false, so it's a `PartitionedTopicName` but isn't partitioned, why? I can't understand.

Even though we know those who are used to Pulsar can distinguish the difference, not those without Pulsar concept. The term partition is somewhat overloaded with concepts.
Just to be clear,

"partitioned topic" is persistent://public/default/example and the
"topic partition" is persistent://public/default/example-partition-0

2# Documentation & Glossary
At terminology page of Pulsar-site says..

Partitioned Topic
A topic that is served by multiple brokers, which enables higher throughput.

…. which isn't consistent with the other parts of the docs and the explanations aren't sufficient. And the “other parts” refer to docs about "topics" and "partitioned topics"
Solution
1# Improve naming for TopicName API

Deprecate ToicName.isPartitioned() and add new

TopicName.isInternallyPartitioned() or
TopicName.hasInternalPartitions() or
TopicName.isPartitionedType()

Deprecate TopicName.getPartitionedTopicName()  and add new

TopicName.getBaseTopicNameOrSelf()

2# Improve JavaDoc of TopicName API
Before there was no JavaDoc, but we can add like....
/**
 * @return whether the topic with (completeTopicName) has internal partitions
 */
public boolean isPartitioned() {
    return partitionIndex != -1;
}

// Before
/**
 * For partitions in a topic, return the base partitioned topic name.
 * Eg:
 *  <example omitted>
 */

// After
/**
 * @return The base partitioned topic name if current topic is an internal partition,
 * otherwise {@link #completeTopicName} as is.
 *
 * Eg:
 *  <example omitted>
 */
public String getPartitionedTopicName() {
    if (isPartitioned()) {
        return completeTopicName.substring(0, completeTopicName.lastIndexOf("-partition-"));
    } else {
        return completeTopicName;
    }
}

3# Create a consistent glossary about concepts
Since descriptions in Pulsar-site terminology page seem to keep consistency with other parts of the site, turn it into Appendix and just link to wherever sufficient description exists
Alternatives
Case of only improving documentation
Will still keep create confusion
Anything else?
References

Motivation > 2# Documentation & Glossary

https://pulsar.apache.org/docs/3.0.x/concepts-messaging/#topics
https://pulsar.apache.org/docs/3.0.x/concepts-messaging/#partitioned-topics
https://pulsar.apache.org/docs/3.0.x/reference-terminology/

Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Thanks for putting this proposal together @JooHyukKim. I think it's better to first abandon the idea of modifying the method names and the API. It's better to first focus on improving the documentation of the concepts and have that available in docs on website and in javadocs.

I am not sure there was consensus, but for reference, here is a link to the mailing list discussion: https://lists.apache.org/thread/36mmvbjbm4g0b8khwmom7pjv5hr6ytxg

I added my view above @michaeljmarshall

I missed that reference, thanks for pointing that out @JooHyukKim!


Add Schema Viewer

A JSON Schema in its raw form is not easy to comprehend. We would like to add an interactive viewer that allows users to explore the data structure.
Potential implementation: https://github.com/atlassian-labs/json-schema-viewer

Another possibility: https://github.com/stoplightio/json-schema-viewer


fix(a11y): added missing alt-attributes

Images must have alternate text

Those attributes might get filled with some meaningful content

This will be merged with #44