draft of big auth simplification for discussion

This PR is just for discussion on how the auth system could be simpler based on the #260 discussion.
The code is still incomplete, breaking some specs and in need of a cleanup.
Having said that what was done here:

Removed code related to special authentication endpoints
Removed http authentication (I know that the idea is to keep it, but this can be added back quite easily)
Removed all code to execute SET statements form Auth module.

What was added:

A mechanism that can decode an arbitrary JWT token and SET every key and val as a PostgreSQL env var in the form: postgrest.key = val

Possible next steps based on our discussion:

Add header to encode arbitrary RPC responses in JWT format.
Add back HTTP basic authentication.
Add code to bootstrap postgrest native authentication system.
get role from database in app to use in filterTableAcl (I believe it makes the code simpler and more consistent as we use a single source for the role info)
redesign some specs and make everything green again

I like the postgresql.key thing, it could be used when creating policies for row level security but it is a "hack".
For example i want to set a policy for projects based on company_id column, so postgresql.company_id comes in handy.
You could argue that if you know the role, you can find out the company_id but that is not the case each time. A user can be a employee for multiple companies or a client for some so only the authentication system know where the user logged in (to which company in which capacity) so it needs to pass that info somehow to postgresql because there is no way to determine that at runtime based on the role

Maybe the variable name being postgrest.claims.key would be better so we don't shoot ourselves in the foot over name spacing.

@calebmer good call, I like the postgrest.claims.key idea.

It does seem flexible to set the postgrest.claims sql var based on the request token claims. I worry that it sets up some weird coupling between the JWT and the API though. If you're dealing with company table information you should probably filter the endpoint with old fashioned query params (the available filter params would be documented by the OPTIONS verb on the endpoint). Save JWT for one focused task of setting the db role. Do you agree about the weird undocumented nature of passing query values through JWT?

The coupling of jwt can be reduced by having th claims be a subkey of the jwt like {role:john,claims:{a:b}}

The coupling is a good point, as my primary concern for using this claims is performance I'm going to devise a benchmark based on @ruslantalpa's data model to check what gain we would have here.

I'm still working on it, but you might find it useful: https://github.com/diogob/postgrest-benchmark
Besides, I'd love some feedback to help model this database.

I've added back the current dbrole selecting it from the database.
I believe that it's good to make the app type simpler while we keep a single source of truth to pick the current user. Perfomance implications also seem negligible since this operation should not be heavily used.

If you guys think we could merge this PR removing the JWT extra claims and keeping the http basic authentication let me know and I'll work to make this mergeable.

Why remove the extra claims? For now I'm still against one-role-per-user idea so I would need the extra claims for any auth system I build.

@calebmer I'm siding with you on this one. During the benchmarks I've been doing I came across some points about this:

Creating 1 role per user is only useful if you are using the PostgreSQL native authentication system. Because the privileges are going to be managed on group roles anyway, and if we always use the same session user and SET role, we can do the same thing with a user var.
The user vars have one big upside, they do not polute the global namespace and are easier to handle, for we do not need to mess around with CREATE/DROP statements.
With 10K roles the PostgREST tests became unbearably slow. I'm going to dig deeper and try to optimize this, but the user vars avoid the system catalog bloat from the get go.
Even PostgreSQL allows delegation of authentication for external systems, as PG's native auth can't handle a lot of use cases (hence the GSSAPI, LDAP, RADIUS, etc). So using the database native mechanism only for authorization seems to be the way to go.

I'm still working on the benchmarks and will publish some results until the end of the week, but for now I'd suggest to keep the extra claims and make our sample auth system using custom vars instead of the one role per user.
Even thought the extra claims can lead to abuse and coupling problems, they seem less arbitrary than hardcoding user_id and role.
Besides I believe that properly namespacing then as suggested by @calebmer and @ruslantalpa helps developers to build code that is able to auto discover any extra claims in use mitigating coupling problems.

Because @begriffs asked I'll reiterate some of my concerns with a one-db-role-per-user style. For the original full conversation and some of @ireverent's great replies scroll down a bit in #260.
My largest concerns are:

Database roles are a global construct in Postgres. This can get really sketchy in a production environment for people running multiple databases on one Postgres server. However, this method is also scary for development environments. Most developers run all their databases on one local Postgres server. If they needed multiple instances of environments with one DB role per user things could turn into a hot mess.
I highly doubt the Postgres role system was designed to support a huge amount of roles. Maybe performance-wise it would be okay (as @ireverent rebutted) however there are likely many details which become problems at scale that Postgres developers didn't even think.
Users can execute arbitrary SQL with their role (this is an education fix, NOLOGIN v LOGIN)
One role per user seems very hard to do batch operations on. Partially because it is a global construct. I'm thinking database dumps, truncates, or once simple database migrations.

Some highlights of @ireverent's and others replies contained (point out if you think I'm missing important stuff!):

This is an isolation problem not unique to roles and can be solved by Docker and/or other tools
Performance should be ok because of table like mechanics
Education issue at worst
(I just thought of this so I've seen no rebuttal)

From @begriffs:

I think using db roles for this stuff is unusual but sometimes unusual things are just what is needed.

And I couldn't agree more, I just don't want to be the one who crashes and burns in production because this has never been tried before 😊

So, though oracle it is not Postgres, Oracle best practices for application and DB security involve application users and database user being 1:1. Here is the document for reference. https://docs.oracle.com/cd/B14117_01/network.101/b10773/apdvntro.htm
ireverent 22:10

I'm closing this one and reopening against v3


Added korean translation

Got some code for us? Awesome 🎊!
Please include a description of your change & check your PR against this list, thanks!

[x] There's a clear use-case for this code change, explained below
[x] Commit message has a short title & references relevant issues
[ ] The build will pass (run yarn test:all and yarn lint)

We appreciate your contribution!

I'm using Ghost to the fullest with self-hosting.
The multilingual feature is very welcome and I would like to pass on the lack of Korean additions.
Thank you as always.

🤖 Generated by Copilot at af249f9
This pull request adds support for the Korean language to the Ghost platform. It includes the ko locale code and the corresponding translation files for the core and portal features.

@jshsakura Thanks for the PR! This doesn't seem to be a full set of translations. Would you be able to rebase on main and ensure your changes contain all the keys as the other files?

I will ask for a PR by checking if it is missing while working.


Unknown Hint Identifier for Image MIME Types

On iOS 10 (building with Xcode 10.2), calling the parseAsImage(scale:) method to process HTTP requests for remote images causes the following error message to be logged to the console:
extractOptions:147: *** unknown hint identifier 'kCGImageSourceTypeIdentifierHint:image/jpeg' -- ignoring...

I can confirm that a similar error message occurs when attempting to load PNG images as well.
Looking at the implementation of this method, I traced the issue to the following line in the private UIImage initializer called from that method:
options = [kCGImageSourceTypeIdentifierHint: mimeType as CFString]

According to Apple's documentation, CGImageSourceCreateWithData expects kCGImageSourceTypeIdentifierHint to be a UTI, rather than a MIME type. For example, according to Apple's Image I/O Programming Guide, the correct UTI for a JPEG image would be public.jpeg.
One potential fix would be to use UTTypeCreatePreferredIdentifierForTag to get the UTI corresponding to the MIME type like so:
import CoreServices

let mimeType = "image/jpeg"
let uti = UTTypeCreatePreferredIdentifierForTag(kUTTagClassMIMEType, mimeType as! CFString, kUTTypeImage)

uti?.takeRetainedValue() // public.jpeg

My one concern with this approach is that I'm unfamiliar with the performance characteristics of UTTypeCreatePreferredIdentifierForTag, and don't know if calling this method incurs a static initialization cost to build up the list of supported UTIs (and if so, how often). It'd be unfortunate if the computation to generate the type hint took longer than it would otherwise.
If you also share this concern, an alternative approach would be to hardcode the lookup for only the supported MIME types from a list derived from either this table in the docs or by calling CGImageSourceCopyTypeIdentifiers(_:). The downside to this approach is that it is liable to become stale over time, and at the time of writing, the list is actually quite large (primarily because of disparate RAW camera image types):
["public.jpeg", "public.png", "com.compuserve.gif", "com.canon.tif-raw-image", "com.adobe.raw-image", "com.dxo.raw-image", "com.canon.cr2-raw-image", "com.canon.cr3-raw-image", "com.leafamerica.raw-image", "com.hasselblad.fff-raw-image", "com.hasselblad.3fr-raw-image", "com.nikon.raw-image", "com.nikon.nrw-raw-image", "com.pentax.raw-image", "com.samsung.raw-image", "com.sony.raw-image", "com.sony.sr2-raw-image", "com.sony.arw-raw-image", "com.epson.raw-image", "com.kodak.raw-image", "public.tiff", "public.jpeg-2000", "com.apple.atx", "org.khronos.astc", "org.khronos.ktx", "public.avci", "public.heic", "public.heif", "com.canon.crw-raw-image", "com.fuji.raw-image", "com.panasonic.raw-image", "com.panasonic.rw2-raw-image", "com.leica.raw-image", "com.leica.rwl-raw-image", "com.konicaminolta.raw-image", "com.olympus.sr-raw-image", "com.olympus.or-raw-image", "com.olympus.raw-image", "com.phaseone.raw-image", "com.microsoft.ico", "com.microsoft.bmp", "com.apple.icns", "com.adobe.photoshop-image", "com.microsoft.cur", "com.truevision.tga-image", "com.ilm.openexr-image", "com.sgi.sgi-image", "public.radiance", "public.pbm", "public.mpo-image", "public.pvr", "com.microsoft.dds"]

Finally, the null solution would be to simply remove the type hint altogether.

Thanks for the detailed issue! I'm surprised I didn't notice before that this is supposed to be a UTI.
I know that the initial set of UTIs are loaded from a bundle on disk somewhere, though LaunchServices also maintains a dynamic registry of UTIs from apps on the system. I'm not sure if creating a UTI from a MIME type does any XPC past the initial load to access that dynamic registry, though if it does, hopefully it would cache the results for a given MIME type. I'll do a bit of performance testing right now and see what it actually costs to look up UTIs.

In quick testing on macOS, first time calling UTTypeCreatePreferredIdentifierForTag costs about 2.5ms. Calling it repeatedly with the same input drops down to about 20µs instead. Switching to a different MIME type has a 60–90µs cost before dropping back down to 20µs.
If anything, iOS can be presumed to be faster, due to the lack of a central UTI registry beyond the built-in types.
This seems fast enough that it's worth keeping. I'll push out a fix for this today. Thanks again!

This is now published as v4.4.0.

In quick testing on macOS, first time calling UTTypeCreatePreferredIdentifierForTag costs about 2.5ms. Calling it repeatedly with the same input drops down to about 20µs instead. Switching to a different MIME type has a 60–90µs cost before dropping back down to 20µs.

That's exactly the kind of behavior I was hoping for.
Thanks so much for taking a look and for the quick turnaround on the fix!


Install broken on netgate sg-1100 with pfSense 2.4.4-p2

I tried to run the install script on my netgate sg-1100 that is running pfsense 2.4.4-RELEASE-p2 (arm64).  I had a lot of certificate errors, and it was not able to locate Java.  The installation seemed to be so broken that I don't really know where to start to resolve them.  Is this meant to work on that platform?

I attempted to install.  No luck.  Just as stated above.  Certificate verification failed

Sg-100 with 2.4.5 broken too
https://pastebin.com/qF18177U
Simon

Thank you. It's a different architecture. We'd need to make changes for it to pull ARM dependencies. Not sure what that would entail at this point, since we're having to pull together dependencies piecemeal as it is. Happy to look at PRs though!

no more updates, closing


There is a problem with the rendering result from version 1.40.4 to 1.40.5

from version 1.40.4 to 140.5, when i run sample, the rendered result is incorrect.

Desktop (please complete the following information):

OS: ubuntu
GPU: [e.g. NVIDIA GTX 1080]
Backend: OpenGL

1.41.0 no problem


PASCAL VOC 2007 Dataset

I've been trying to get this implementation online, but am running into a roadblock with the PASCAL 2007 dataset.  It appears as though pascallin.ecs.soton.ac.uk is down and unreachable.
Does anybody have a working mirror or willing to host a copy of the data:

http://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2007/VOCtrainval_06-Nov-2007.tar
http://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2007/VOCtest_06-Nov-2007.tar
http://pascallin.ecs.soton.ac.uk/challenges/VOC/voc2007/VOCdevkit_08-Jun-2007.tar

Edit: If I can get a copy of the data, I will add it to the academictorrents.com tracker so this doesn't happen again.
Edit 2: I'm still trying to track them all down, but I've added some of the missing VOC dataset files to academictorrents.com: http://academictorrents.com/browse.php?search=voc

Confirmed. I'm having the same issue.

Why I cannot download from the academic torrents.com ?

@zuacubd I just checked the torrents and, while a little slow, they are all working.  I did notice that the magnet took a really long time to resolve from academictorrents.com, but I just opted to use the actual torrent files themselves.

There's also this link from university of Texas. One can use wget to download the dataset.
http://vision.cs.utexas.edu/voc/

There is also a mirror of the entire VOC2007 website: http://host.robots.ox.ac.uk/pascal/VOC/voc2007.  It is hosted by the Robotics Research Group at the University of Oxford.

@xksteven  how can i download?

@blackCmd
Just use
wget -r --no-parent --reject "index.html*" http://vision.cs.utexas.edu/voc/
I believe that website only has the 2007 dataset though. Let me know of you need finding the 2012 one.
Also there is the fast-rcnn available in case you weren't aware.

@xksteven  oh, Thank you : )
i have another question.
Does The resource in http://vision.cs.utexas.edu/voc/ include VOCtrainval_06-Nov-2007.tar, VOCtest_06-Nov-2007.tar and VOCdevkit_08-Jun-2007.tar ?

@JoeHowse , thank you
this worked for me
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtest_06-Nov-2007.tar
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCdevkit_08-Jun-2007.tar

tar xvf VOCtrainval_06-Nov-2007.tar
tar xvf VOCtest_06-Nov-2007.tar
tar xvf VOCdevkit_08-Jun-2007.tar

@blackCmd To answer your question they do have all of them but I would go with CyrusChiu response.  Those are the official ones anyways.  Sometimes the website goes down because the competition is over so the people who maintain the website might not notice and need a heads up.
This issue should be closed though at this point.

If anyone hits this issue and needs another mirror, I mirror the dataset on my website: http://pjreddie.com/projects/pascal-voc-dataset-mirror/

You can find these datasets on Academic Torrents:
http://academictorrents.com/browse.php?search=voc

Just change them to:
wget http://pjreddie.com/media/files/VOCtrainval_06-Nov-2007.tar
wget http://pjreddie.com/media/files/VOCtest_06-Nov-2007.tar
wget http://pjreddie.com/media/files/VOCdevkit_08-Jun-2007.tar


Endpoint switching

Hi!
We are working on a scenario where we have two endpoints exposing the same data, endpoint A and endpoint B.
Endpoint A is a graphql endpoint and endpoint B is a standard REST endpoint. We'd prefer to direct traffic against endpoint A, but should endpoint A be down for some reason, we'd want to direct traffic to endpoint B instead (but only in case of endpoint A being down).
Is there a good way to go about this? I've looked at the circuit breaker, but that's not really what we need.
As this is more of a "best practices / whats possible" kind of question, I'll leave out the krakend.json config, but please let me know if it helps having a look at it anyway.

Hi,
Found this: https://www.krakend.io/docs/endpoints/common-expression-language-cel/
Setting up the sequential steps is more or less what we need. However, the call pipe breaks if we run into a something like a "TCP connection refused", which could very well be the case if the service is completely down. Is there a way to handle something like this in CEL? It seems to me that krakend just immediately terminates upon seeing this.

From this thread, I can understand that this is not something that Krakend wants to support?
https://github.com/devopsfaith/krakend-ce/issues/61

Hi @peturssonstefan-ikea ,
I am glad to see IKEA is looking into this :)
We think that the good way of doing this is outside KrakenD (e.g: service discovery, service splitter, etc.) and this is why this described behavior is not present in any near plans.
CEL and sequential proxy can do a lot of magic together, but they assume your backends are working.


Push commit to npm

Pull request merged but not published to npm

you can upgrade to v0.5.0 now, the release has been published both on npm and Github releases


What about git resets - do they allow me to "throw away" commits?

I think the answer is ultimately no if a remote repo is involved. Once you've "gone back in time" you're adding a "go back in time" event to your git timeline and not erasing the past per se.
That said I think I answered this question badly and so it'd be a good idea to provide a more accurate representation of what's happening as reset does essentially move HEAD back to an older commit.
The difference comes in when you merge any changes - as you end up with a merge commit and a series of those will be different even if you reset.

So I think the answer here is - if you're pushing often then git's history on your remote repo will reflect the fact you reset locally if you did so after pushing changes later on from the commit you reset back to.
Locally you can remove all kinds of things and nobody will ever know - there might be a way to do this with GitHub but I've not seen it and I suspect that's deliberate.


Update docu after migration to go-gatekeeper #5

Title

Summary

Type
[] Bug fix
[] Feature request
[] Enhancement
[] Docs
Why?

Requirements

How to try it?

Documentation

Additional Information

Checklist:

[ ] My change requires a change to the documentation or CHANGELOG.
[ ] I have updated the documentation/CHANGELOG accordingly.

related to #5


Expectation of N7 in equation (1)

Dear AMDIM authors,
Greetings!
When I am working with the code base, it seems that we take log-sum-exp of all negative samples and positive samples here:
https://github.com/Philip-Bachman/amdim-public/blob/master/costs.py#L92
This, according to my understanding, refers to

Then the following line, we calculate the mean of the score matrices
https://github.com/Philip-Bachman/amdim-public/blob/master/costs.py#L103
This I believe refers to

My question is, where was the E_{N7}

of the objective

implemented in the code?
Thank you so much!
Sincerely,
Martin

The expectation is approximated via the minibatch sampling. I.e., other images in the batch are IID wrt the current image and the union of their features (which we sum over as you mentioend) are IIDish samples from the space of possible negative samples. I say "IIDish" because we get "clumps" of correlated mid-level features from each other image, which is still formally correct but reduces the effective sample size a bit.

Thank you very much! It is truly appreciated!


[Feature Request]: Add LeetCode Question %06

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
You are given an integer array score of size n, where score[i] is the score of the ith athlete in a competition. All the scores are guaranteed to be unique.
The athletes are placed based on their scores, where the 1st place athlete has the highest score, the 2nd place athlete has the 2nd highest score, and so on. The placement of each athlete determines their rank:
The 1st place athlete's rank is "Gold Medal".
The 2nd place athlete's rank is "Silver Medal".
The 3rd place athlete's rank is "Bronze Medal".
For the 4th place to the nth place athlete, their rank is their placement number (i.e., the xth place athlete's rank is "x").
Return an array answer of size n where answer[i] is the rank of the ith athlete.
Use Case
Input: score = [5,4,3,2,1]
Output: ["Gold Medal","Silver Medal","Bronze Medal","4","5"]
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@Ajay-Dhangar Please assign me the issue


static/js: Node coverage of files.

This PR currently adds 100% node test coverage for settings_muting.js. Later I plan to add coverage for some more files whenever I am less busy with college stuff. So, please don't close this PR. :)
Updates:
I've also added node-coverage for compose_pm_pill.js.

@lonerz thanks for the review, I've updated the PR, you may check!

LGTM.  @lonerz Can you give final signoff?  I'm fine with the function typeof checks.

@showell @Kumar-Tarun LGTM, ready for merge.

Merged, thanks @Kumar-Tarun!


Log transaction to terminal

Fixes # PROTO-1426
Motivation
For block, we already log to terminal and file.
For transactions, we only log to file. We want to log to terminal as well.
Solution
The fix is similar to what we have done in logging blocks.
Test result:
Enable the following in config:
"log_blocks": true,
"log_transactions": true,

The terminal outputs then include the following:
Add Block 1216:00000000371d089aa929c618718f0844d34ba6771af480f0a30848e16b38d10a with Parent Block 1215:000000001991524d2eb48172d0aa8022609a17386c290a9a5c7b7e49462d68bb
Transaction 322bf78b2854a6c9ec32d1cda044c1e5214b291d8f6b8a153a7142ae29529b67 at Block 1216:00000000371d089aa929c618718f0844d34ba6771af480f0a30848e16b38d10a
Add Block 1217:00000000f75c09f6ae1e6e7842ebc693aef87c92cb922435a1f2a1a1b9b527de with Parent Block 1216:00000000371d089aa929c618718f0844d34ba6771af480f0a30848e16b38d10a
Transaction 6b0e6ca0c2c8f4a6abf924913ab70bc655bde08053fe6e5626bde2b4b87e5587 at Block 1217:00000000f75c09f6ae1e6e7842ebc693aef87c92cb922435a1f2a1a1b9b527de
Add Block 1218:000000008bfc8c25cb7c129c5fc433cdb572f74fda9379a2bda2c465562429c3 with Parent Block 1217:00000000f75c09f6ae1e6e7842ebc693aef87c92cb922435a1f2a1a1b9b527de
Transaction 8b541519dcdfe9aa73efcb242c0bd73c8219e47af1a132c160fddc1e3ee1b676 at Block 1218:000000008bfc8c25cb7c129c5fc433cdb572f74fda9379a2bda2c465562429c3

left a nit - otherwise LGTM!

Thanks, updated with rename variable.


Login ignoring password

Em, it's me again. The game version is 1.20.4, and the mod version is 3.0.22-SNAPSHOT. After entering the server and logging in with the correct password, you can exit the game. The next time you enter, there is a high probability that you can directly enter without a password. Not only legitimate accounts, but offline accounts can also do this. Even if you change a computer to a different IP, you can do it. I want to know why this is, as it puts the account of server players in danger

I have found the relevant settings in the configuration file. Sorry to bother you


bpf: Tests for session affinity and bpf-lb-sock-hostns-only

Has tests for (https://github.com/cilium/cilium/issues/20160):

Tests NodePort with sessionAffinity
Checks connectivity when skipping socket lb in pod ns

Adopted from #20423

bpf: Add BPF unit test for bpf-lb-sock-hostns-only
Tests that the socket lb is skipped if ENABLE_SOCKET_LB_HOST_ONLY
is set and the packet is not from host namespace.

/test

Both the k8s-1.16-kernel-4.9 (test-1.16-4.9) and Cilium L4LB XDP (ci-l4lb) appear to be flakes since these same tests are failing on other branches as well, the rest of the tests are all green.


Add a SendResponse trait and restructure the router system

The idea was born after I got a request for a good way to use try!. My first thought was to find a way to make a handler return some kind of Result, which would be tricky and probably require specialization for it to be ergonomic. After letting it rest for a few days I realized that I could still get quite close by making the Response take Results and other types, and let those types set headers and response status. That's the idea behind this SendResponse trait.
To make some of this possible, the whole handler/router system was turned inside-out, resulting in the removal of Find and introduction of HandleRequest. An upside is that handler composition is more powerful, while a downside is that the compiler can't always infer the router type. The extra explicitness should hopefully not be too bad, though.
A bonus effect is that the returned error from Response::send can be customized, making Response::send_file obsolete.
Closes #109, closes #98 (HandleRequest can do that now).
This is a breaking change, since the input parameters and return values of send and try_send are changed, send_file is removed, and the difference between handlers and routers is more or less gone.

I'm considering replacing send_file_with_mime, as well, but I haven't decided how.

While most of my time and energy has been spent on work and making my new place look like a real home, I have kept working on this whenever the necessary planets have aligned. I gave it a more serious go yesterday and did finally manage to turn the router system inside-out to make it easier to have more customized handlers. There are still a bunch of things to fix before pushing, and I'm having a bit of trouble with type inference, but it's taking shape. It's at least not abandoned. It never was!

I'm considering this "done" even if there is room for general improvements. The next step is to see if I can make the router building situation better.
Let's see if this still works...
@homu r+

:pushpin: Commit cc01342 has been approved by Ogeon

:zap: Test exempted - status


Add a more sign(pic)

You can add a more sign under the activity list in the main page of sugarizer . to explore more activities but now three dots jpg file is not looking more interactive
you can add other pics in that so that people can go and check it out the other activities as well , not o ly the main page activities

Not sure to understand which picture your talking about.
Activities displayed in the main page are activities marked as favorite.
If there is enough room in the window, activities are displayed in a spiral:

If the window is too small, activities are displayed in a circle and three dots are displayed to scroll:

In the List View (click on four horizontal lines icon) you could see all activities and choose which activities are favorites and which are not.

Close due to lack of response.
Feel free to reopen it if need.


feat: bytes to fields and back

Adds functionality to convert byte array to field array in Noir and back.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#8590  👈
#8538
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @benesjan and the rest of your teammates on  Graphite

Merge activity

Oct 24, 10:07 AM EDT: A user started a stack merge that includes this pull request via Graphite.


GHSL-2022-033_GHSL-2022-034: Remote Code Execution Vulnerability via SpEL Injection in Nepxion/Discovery - CVE-2022-23463, CVE-2022-23464

Friendly heads up if you haven't seen this:
https://securitylab.github.com/advisories/GHSL-2022-033_GHSL-2022-034_Discovery/

If StandardEvaluationContext changes with SimpleEvaluationContext , the function will not work as expected


Add preprocessing passes

oops have to remove the spurious changes in the submodule that was unintentional

Closed as those passes shouldn't be required.


website: How to install XPack

I noticed that https://xpack-dev-tools.github.io/docs/getting-started/ talks about xPack and what it does and how to install packages with it, but not how to install xPack itself.
I did find https://xpack.github.io/install/ though.
Should these two not be "merged" in a sense so that the more modern Docosaurus-based site contains the installation instructions of xPack itself?

Yes, you are right, the top xpack-dev-tools site does not link to that page, I'll fix it.
I'm currently migrating all web sites to Docusaurus, and hopefully these issues will be resolved.
I'll let you know when ready, perhaps you can provide some further feedback.


AWS Instance Scheduler not working in local mode

Hi,
I am trying to execute the instance scheduler locally by python run_scheduler_local.py Test-Instance-Scheduler.
It executes for a bit but it gives a error after a couple of seconds.
Error: ModuleNotFoundError: No module named 'instance_states'
But as I can see module is available in the code.
Any suggestion for remediation of error and how to run it locally?

Hi,
Hope I can help you with this checklist
-Make sure to run the code from the directory where the run_scheduler_local.py is located. If you run from an environment like PyCharm make sure the folder named "code" as "Sources root", and set the Current working directory to the directory that contains the "run_scheduler_local.py" file
-Make sure you have the boto3 library installed in the python environment you are using
-The code is build and will only work with Python 2.7
Hope this helps

Hi,
I already have boto3 library installed. Also I am running the file from the directory where the run_scheduler_local.py is located. I think issue might be the python version. I have python 3.6 installed on my machine.
Is there any way to run it on latest version of python or do I have to downgrade the python to python 2.7?

Hi,
You can run python2 and 3 side by side on your system and use an alias for python that points to the default version, or explicitly use python2 when running the python script.Make sure to have the libraries you need installed for you Python version as both version have their own library directories.
For python development I strongly recommend to create a virtual environment (
https://virtualenv.pypa.io/en/stable) for your project in which you install all the required libraries.
If you wan to work on a specific project activate the environment you created for it or configure it in the IDE you're working is e.g. PyCharm (
https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.htm)
l

Closing due to time elapsed since last correspondence. Please re-open this if you are still having an issue.


Fixed unexpected behavior from function empty()

I'm used your package with longman/telegram-bot. In this library all object fields (Message.text, Message.caption, etc.) called through Message.__call.
And I don'n know why, but php function empty($message->text) return true.
I've fixed this problem in my PR.

I cannot merge this PL because it brakes the behavior with classic objects. The class you're using should implement __isset overloading.
https://www.php.net/manual/en/language.oop5.overloading.php#object.isset


Configure Oracle Client. Provide More Details

It would be helpful to provide more details on the configuration of Oracle client. Many customers are experiencing issues at the time of configuring the client, especially to enable all drivers required to have the direct query working properly.

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

ID: 382f269e-2072-ec03-7c88-335cbd5df919
Version Independent ID: 46a896f9-4707-adc3-72cd-5444a5d0f802
Content: Connect to an Oracle database - Power BI
Content Source: powerbi-docs/desktop-connect-oracle-database.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @frvigano . This issue has been assigned to the doc author for review.

Getting an errror as well with the ODAC version mentioned in the document indicating it is an old version.

Thank you for your feedback. We've put this doc request into our queue, and will review it with other documentation requests.


feat(getTagContentType): add prefix and hasParent parameters

Context: https://github.com/ikatyang/angular-html-parser/issues/11#issuecomment-620560801
This PR adds two parameters for getTagContentType so that Vue SFC could be correctly parsed:

prefix: the namespace
hasParent: determine if it's a root element

The implementation for hasParent is a bit hacky, it

initializes a stack to record tag names,
push the tag name to the stack once it meets a root open tag or a open tag with the same tag name as the root tag,
pop the tag name once it meets the corresponding close tag, and
hasParent is considered true if the stack is empty at the moment.

The reason why I implemented it this way is that I don't want to duplicate the entire parsing process in the lexer, though there are some drawbacks for the current implementation:

void tags won't work if they are root elements
tags with special rules won't work if they are root elements, for example:

<li> could be closed by a sibling <li> but it won't work if it's a root element
<tr> could be closed by a parent </tbody> but it won't work if it's a root element

htm closing tags (<//>) won't work if they are root elements or their names are the same as the root element

But I think it should be fine for the Vue SFC parsing since no one would encounter these edge cases in real life IMO.
This PR also contains a test case for Vue SFC parsing.
cc @fisker @thorn0 @sosukesuzuki

Seems there is no attribute info, so will this work?
<template lang="pug">
  #container
    some-component(tag='<some-tag>')
</template>

I've checked vuejs/vue-next:

https://github.com/ikatyang/angular-html-parser/issues/11#issuecomment-621613078
And also I've checked that <template lang="something-else"> is parsed just like normal <template>s, which means we don't need additional information (e.g., attributes) to distinguish them.

Okay, good know, thanks.

👉 https://github.com/ikatyang/angular-html-parser/releases/tag/v1.6.0


Fix incorrect return values in server-side-rendering.mdx

Description
This PR fixes the incorrect return values of endpoint-related snippets in server-side-rendering.mdx.
Related issues & labels

Closes #5467
Suggested label: code snippet update

@dreyfus92 Got it! Thanks for the explanation. Changes have been applied to the en version only (using git rebase)


Fix role syntax for newer ansible versions

Using success filter has been deprecated in favor of using the test.
Also updated meta to pass linters tests.

Thanks!


ImageWriterTest : Update to give better information on failing format writes

I've updated ImageWriterTest to, if a format write fails due to the ImageDiffOp, keep trying with up to incremental maxError values, 0.1 per increment until it passes (or continues to fail). This will at least give us an indication of the level at which a test has failed.
I've also lowered the maxError on various formats as it appears that they never needed to be as high as they were.

Thanks. I'm re-running the build on my own Travis instance, as I can't retry ones on the IE one. I'm going to keep re-running it until that DPX test fails again...
You can find the test here:
https://travis-ci.org/HughMacdonald/gaffer/jobs/86237380


Not realtime validation with child components

Versions:

VueJs: 2.5.16
Vee-Validate: 2.0.9

Description:
The parent component has a big object, that will be populated with a form. Some inputs are modulated at child components (they are reused many times, like "Address"). When I update an Input that puts another input validation as "required:true", the error keeps apearing, but the field has already a value.

You should provide a demo to demonstrate the issue you could use jsfiddle
or codesandbox.
On Thu, 21 Jun 2018, 22:40 somosarado<EMAIL_ADDRESS>wrote:

Versions:

VueJs: 2.5.16
Vee-Validate: 2.0.9

Description:
The parent component has a big object, that will be populated with a form.
Some inputs are modulated at child components (they are reused many times,
like "Address"). When I update an Input that puts another input validation
as "required:true", the error keeps apearing, but the field has already a
value.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/baianat/vee-validate/issues/1421, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-KSuZoPdNHVaxHRz4V_TD_6AATA11Aks5t_ATLgaJpZM4Uyu5z
.

demo:
https://jsfiddle.net/dxak0Luz/7/
steps:
1- delete postal code
2- click outside (it will erase both inputs, and validation required will appear, its ok)
3- insert postal code (4 digits)
4 -click outside (it will fill state automatically, but validation required keeps being showed)
Regards,

You are using an old version, works fine on 2.1.0-beta.2
https://jsfiddle.net/dxak0Luz/11/


Use native Promise

Brief description of the changes
Convert all uses of qq.Promise or other promises to require native Promise instead.
What browsers and operating systems have you tested these changes on?
Firefox 59
Have you written unit tests? If not, explain why.
I've migrated existing tests to be async friendly.
I'm going to build off this branch for my product https://dovetailapp.com and give it some production testing. I'll be using the S3 chunked uploader.

Wow. I haven’t reviewed any of this yet, but it looks like you put a LOT of work into these changes...
If you’re willing, I’d like to chat more at your convenience.

Sure sounds good, what’s the best way to contact you?

let's connect on twitter

There are, arguably, too many changes to really review here. But tests are passing, and skimming though I didn't see anything that looked obviously wrong. So, maybe the best course if just to do some more manual testing, and if all looks good after a bit, merge it into the 6.0 branch. I'll probably pull this down myself and test it out when i get a chance.


Automatically detect system theme

The app's default theme is currently Dark, but it could be the system's theme instead (just like the system's language is detected on the Auto setting).

Fixed by #17


instanceof bug with condition

TypeScript Version:  2.6.1
Code

interface Foo {
    bar: Bar;
}
interface Bar {
    baz: number;
}

function abc(foo: Foo) {
    if (foo.bar instanceof Array) {
        abc(foo.bar[0]); // no error
    }   else {
       abc(foo.bar); // no error
    }

}

Can you explain why you think this is a bug?  I can see why you might be surprised that the narrowing of foo.bar to any[] causes the any element type to devour the whole expression, but that's how any works.   Do you want the type guard for instanceof Array to narrow to an array of a top type like Array<{}> instead of to any[]?  If so, maybe this is a duplicate of #12085 or some related issue?
In any case you can work around this yourself:
function abc(foo: Foo) {
  // Arr is a specifically constructor for Array<{}>
  const Arr: { new(): Array<{}> } = Array;
  // foo.bar[0] is now typed as {}, and the expected error appears
  abc(foo.bar instanceof Arr ? foo.bar[0] : foo.bar);  // {} isn't assignable to Foo
}

I don't follow you, instanceof Array don't narrow any any[]
const a:number[] = [];
if (a instanceof Array) {
    a[0].foo = 1; // error foo doent exists on number
}

Not if it already knows that it's possibly narrowing an array, I guess.  Someone more familiar with the control flow analysis will have to say how that works... maybe #9999 is related?
But in your case, foo.bar is definitely narrowed from Bar to Bar & any[] in the "then" clause of the ternary conditional:

Are you suggesting that this is a bug?  If so, what do you want it to do instead?

Here's the behavior I'm seeing:
function abc(foo: Foo) {
  if (foo.bar instanceof Array) {
    abc(foo.bar[0]);  // Ok, type of foo.bar narrowed to Bar & any[]
  }
  else {
    abc(foo.bar);  // Error, foo.bar is of type Bar
  }
}

In the if branch the type of foo.bar is narrowed to Bar & any[] which, when indexed, produces an any. In the else branch the type of foo.bar is unchanged and an error occurs.
Best I can tell this all is working as intended.

@ahejlsberg, Sorry, it is incorrect example
Originally it was this example
function abc(foo: Foo) {
    abc(foo.bar instanceof Array ? foo.bar[0] : foo.bar); // no error
}

So, I think instanceof guard is very bad decision, it doesn't work as expected. So I really need to rewrite all my code to use my custom guard function to do that. Also it concerns to new Array(5) producing any[], it is very annoying implicit behavior


Failed to create account

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

Failed to create account in sign up page
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Ok fix it


explore VS Code addon instead of configurator

See:

https://github.com/hassio-addons/addon-vscode
https://marketplace.visualstudio.com/items?itemName=keesschollaart.vscode-home-assistant

Implementing via charts PR 13538

This is implemented now!


Only environment variables

Is there a way to have a variable that is only set through an environment variable?
Thanks!

Greg

Hi @devnut,
Unfortunately, not currently as the flags need to have a name to in order to fetch their value. I'd be open to a PR to support this behavior, but I expect it to be a little non-trivial given this and the fact that the help output would need to be reworked.

Given that this is from last year, I think I'm comfortable closing it 🙂 feel free to re-open / open a new issue / comment in support if there's still interest here!

Is there any plan? this is really useful

Why even define it as a flag then ?


chore: Fix infinite live reloading of the docs

Previously, the docs would reload infinitely because there was a hook that automatically generated markdown files out of Jupyter notebooks.
The problem was that the generated markdown files were stored directly in the docs folder, which triggered mkdocs to rebuild again.
This PR changes the target directory of the generated files and adds a new mkdocs hook (on_files) that adds all the files during the build process. This way the autogenerated files are not triggering the reload.
Waiting for #39

Codecov Report

Merging #36 (e7fbd43) into master (b7e9d27) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #36   +/-   ##
=======================================
  Coverage   52.19%   52.19%
=======================================
  Files          43       43
  Lines        6240     6240
=======================================
  Hits         3257     3257
  Misses       2983     2983

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

This is ready for merging, but it needs to be merged after #39


Refactor: Re enable and fix Ruff's ICN001 Check

What type of PR is this? (check all applicable)

[X] 💾 Refactor
[ ] ✨ Feature
[ ] 🐛 Bug Fix
[ ] 🔧 Optimization
[ ] 📝 Documentation
[ ] ✅ Test
[ ] 🐳 Other

Checklist

[X] Code follows style guide (ruff)
[ ] Tests added
[ ] Documented the changes

thanks @ELC


Assessing datatransparency and availability from different studies included in a meta-study at once

I would love the ODB to be able to have a look at different studies included in a meta study. How many studies that were included made data available?

Issue moved to OAButton/backend #174 via ZenHub


Update minimal.js

for https://github.com/thomasdondorf/puppeteer-cluster/issues/52
This fixes the problem but might not be the intended behavior.

Pull Request Test Coverage Report for Build 140

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 92.605%

Files with Coverage Reduction
New Missed Lines
%

src/Cluster.ts
1
94.64%

Totals

Change from base Build 123:
-0.3%

Covered Lines:
460

Relevant Lines:
489

💛  - Coveralls

Discussion about the problem is in #52. Closing as this does not solve the problem.


Message box text cut off by 1 pixel/artifact at bottom

Details
The text box has some artifacts near the bottom, and text is cut off by 1 pixel.

That looks very familiar. When playing Elona+ I changed the fontSize and msgLine options in config.txt. Distortions like what you have above occurred if i set things too high. Did you happen to tinker with those things?

I hadn't yet, but I think it's an issue that could be fixed. I wasn't aware that it still happened in Elona+, from what I remember.

This issue is since vanilla, and no variants except oor solve it as far as I know.
I also think it is a bug to resolve, not by design.


Update iot-hub-devguide-sdks.md

Corrected link to github repo for .NET SDK

Hi @rjmiller, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Randy Miller). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

duplicated in PR#292


After using toolbar, report errors introduced by moment in rc-picker

moment.js:1 Uncaught (in promise) SyntaxError: Cannot use import statement outside a module
at Object../node_modules/rc-picker/es/generate/moment.js (16.75776.chunk.js:29898)
at webpack_require (index.3e3b07a5.js:854)
at fn (index.3e3b07a5.js:151)
at eval (index.js?2413:1)
at Module../node_modules/antd/es/calendar/index.js (16.75776.chunk.js:23058)
at webpack_require (index.3e3b07a5.js:854)
at fn (index.3e3b07a5.js:151)
at eval (index.js?81d7:1)
at Module../node_modules/antd/es/index.js (16.75776.chunk.js:23766)
at webpack_require (index.3e3b07a5.js:854)
![image](https://user-images.githubusercontent.com/24917797/104301869-19243c00-5503-11eb-89e1-d427c4217d67.png)

Can you provide the code of how you use the Toolbar？

Can you provide the code of how you use the Toolbar？

I can't repeat your question locally, can you give a more concise description or demo？

I can't repeat your question locally, can you give a more concise description or demo？


Expose emitFiles

Fixes #2217

What's the purpose of this?  Why not just have people make a program instance and call .emit on that?

There is no way to just emit a file that has been created outside a program. e.g. multiple files combined into one for instance.

Why are you emitting a file created outside of a program?  If you want to do that, just make a program containing that single file and call .emit on it.
In order to emit properly, we need to have the checker results (so we can do things like emit enum references properly).  The entity that encapsulates all of this proper management of information and emitting is the Program itself.


add google analytics

closes #40

Give link to dashboard and add to Readme.

This is the link to dashboard.

Which email ID has been used to create this?

ARK's email ID<EMAIL_ADDRESS>

Add link to Readme.

Done.


[Feature] Foreground command line arguments missing

It would be awesome if you could add a foreground argument to fiche so that you can run it under docker environment.  Without this, you can't keep the daemon alive.
Thanks in advance.

Sorry, was a bug in my launch script, the daemon does foreground by default.
Apologies for opening this.


[BUG]No session found to decrypt message for group message

when starting send 1st msg group, always get below No session found to decrypt message, later sending ok. but if idle some times or restart server, below error come again
messages.upsert
{
"messages": [
{
"key": {
"remoteJid"<EMAIL_ADDRESS>"fromMe": false,
"id": "BAE5B6F4586C01D2",
"participant"<EMAIL_ADDRESS>},
"messageTimestamp":<PHONE_NUMBER>,
"pushName": "Sun",
"broadcast": false,
"messageStubType": 2,
"messageStubParameters": [
"No session found to decrypt message"
]
}
],
"type": "notify"
}

It happens with me too but in a first normal message to a contact. I'm not use groups.

same here

is there any fix? am still facing the same issue

i have the same problem. my bot frequently displays logs with message "No session found to decrypt message".
but i have no problem with my bot.
I wonder if this is a serious problem? because my bot is still running, it just often displays a log with this message

still same issue :(

still same issue

same issue here, happens when I receive group message

working on this


⚠ ClamAV has degraded performance

In 55fd916, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 440 ms

Resolved: ClamAV performance has improved in 6e9daba.


Updates the readme to show correct package imports

Noticed that the readme still imports wrong NPM packages in the code examples. This pull request fixes that.

Thanks for the Update!


Add rest_s function

Simple enough to write when needed, but I thought it should be in nom to go with the rest of the _s functions.

Coverage increased (+3.05%) to 84.283% when pulling f6cf25d5ad911d011eab055302f9973681671ff0 on pwoolcoc:add-rest_s-fn into ec2c5fe5f400810133d352ec7bbeddb8ce1aca87 on Geal:master.

@Geal fixed

Coverage decreased (-0.3%) to 80.803% when pulling f05b0f9c5e5d322ab92a3eb9f5a8cbd799e43e39 on pwoolcoc:add-rest_s-fn into 6f8f3b1c50dc6db1d553d6cf0f84731e3f6f5df5 on Geal:master.

Thanks!


feat!: add support for image-spec v1.1.0-rc3

BREAKING CHANGE: v1.1.0-rc3 drops support for "artifact manifest" media-type.
This PR adds support for image-spec v1.1.0-rc3 which has reverted/dropped support for the artifact manifest media-type and just overloads the existing image manifest to support artifact use cases.
Fixes issue #1406

What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This should be closed in favor of https://github.com/project-zot/zot/pull/1359.

Will continue the work in https://github.com/project-zot/zot/pull/1468


Color modify in tailwindcss.config.js not applied

Hi!
I would like to report a bug. I followed instruction and setup success plugin to vue-cli v4. Everything seem working perfect with default, but when i try to modify color pallette site not apply new color, but from Windi css: analysis command (windicss vscode extension) i saw color reported as changed.
Look like vscode's extension compile correct, but vue-cli plugin compile not correct.
This is my tailwind.config.js:
const colors = require('windicss/colors');

module.exports = {
  important: true,
  darkMode: 'class', // or 'media' or 'class'
  theme: {
    extend: {
      container: {
        center: true,
        padding: '1.5rem',
      },
      screens: {
        // add media print screen
        print: { raw: 'print' },
      },
      colors: {
        cyan: colors.cyan,
        primary: colors.emerald,
        green: colors.emerald,
        gray: colors.blueGray,
      },
    },
  },
  variants: {
    extend: {
      display: ['group-hover'],
      visibility: ['group-hover'],
      borderWidth: ['first', 'last'],
      borderRadius: ['first', 'last'],
    },
  },
};

Colors:  primary show purple, not emerald. grayshow default, not cool gray etc.

Update: After spend a hour testing and play with config. i found we have some issue:

In README i saw we have meantion:
If you have a tailwind.config.js, please rename it to windi.config.js or windi.config.ts.. This message is important, but stay in small position and hard to catch by eyes.
Although had meantion about "must use filename windi.config.{js|ts} but actually i still can leave filename tailwind.config.{js|ts} and add one more property config: "..." in vue.config.js like this:

pluginOptions: {
    windicss: {
      // see https://github.com/windicss/vite-plugin-windicss/blob/main/packages/plugin-utils/src/options.ts
      scan: {
        dirs: ['./src'],
        exclude: [
          'node_modules',
          '.git',
          'public/**/*',
          '*.template.html',
          'index.html',
          'dist',
        ],
        include: [],
      },
      transformCSS: 'pre',
      compile: false,
      config: 'tailwind.config.js' // <- here , copy from config of other windicss plugin
    },
  },

Plugin will working normally, no throwing any warning and error, but look like content not be read and lead to issue i reported above (about color not applied).

If i leave property config: "..." in vue.config.js and change filename tailwind.config.* to windi.config.* when running vue-cli i will get mesasge not found config file.
if i remove config: "..." and change filename to windi.config.* then everything work perfect. Config file applied.

So... I think i found workaround, but it still be a bug. Hope my explains help plugin can be fixed.
Thank you!!

Hey @TrungRueta
Thanks for the detailed issue and sorry you had issues.
I'm glad you found an issue, when I have some times I'll see when changes I can make so other developers don't run into this.


error in visualizing the workflow

Hi we tried to visualize the workflow in the repository
https://git.astron.nl/eosc/prefactor3-cwl/prefactor_calibrator.cwl
with this permalink:
https://w3id.org/cwl/view/git/c2a0646544695a8ba53ffb33375115bbf802b2dd/prefactor_calibrator.cwl
It seems to generate part of the figure until it finishes displaying nothing.

I wonder if this  is related to id field https://git.astron.nl/eosc/prefactor3-cwl/blob/master/prefactor_calibrator.cwl#L3

Looks like this was fixed


Suggestion: Add CI to automate heavy PR load

This would ideally combine awesome-lint with a linter for the pull requests themselves and the main awesome readme.
Related to #1363 and the goal of maintaining Sindre's sanity 💯
Here's my proposed game plan:

create a linter based off of awesome-lint that lints this repo's readme.md to verify formatting and extract all the sub-lists
this linter validates every awesome list linked to via awesome-lint
maintainers will only consider PRs once they pass this CI step

There will be some existing awesome lists that don't pass awesome-lint, so we could whitelist these for now and incrementally fix them until the whitelist can be removed.
This would also put more onus on the awesome-lint project which appears to have been inactive for some time.
Possible future extensions:

Include awesome-lint in the default awesome list template such that it would be enforced via CI for sub-awesome lists going forwards.

@sindresorhus I'd be happy to spearhead this, since I really believe these lists help countless developers out there every day, and the current gameplan of manual reviewing (even with the help of fellow list-makers) seems sub-optimal.

How about a complementary approach: encourage the automated generation of awesome lists.
To generate an awesome list that conforms to the requirements not much are needed:

A table with the list entries that could have the following format:

Category
Name
Link
Description

Platforms
Node.js
https://github.com/sindresorhus/awesome-nodejs#readme
JavaScript runtime built on Chrome's V8 JavaScript engine.

A string with the title of the list

A header in markdown format

A footer in markdown format

An enum for license choice

A free text for code of conduct or other necessary files

A short script in ones favorite language could do the trick.

@sellisd Awesome lists should be hand-made.
We already link to a generator to make it easier to get started: https://github.com/dar5hak/generator-awesome-list

@transitive-bullshit Good to hear. Let's make this happen then :)

@sindresorhus @transitive-bullshit Added a PR ( #1675 ) for linting awesome itself with awesome-lint as a GitHub Action which should shine more light early in the PR review process on linting success check.
Do share your thoughts.

Sounds good.


(FACT-1384) Fix failure to return external fact path when admin

The previous commits for FACT-1384 failed to return the path resolved for
external facts when running with elevated privileges on Windows. Return
the value to fix resolving external facts. This was caught by acceptance
tests on Windows.

👍

CLA signed by all contributors.


Example Of jPCA On Synthetic Data

A 3D helical curve plus 3 dimensions of white noise form a 6D dataset on which the jPCA is ran.
This is in order to give an example of how the algorithm works when you know the kind of data it starts with and what kind of results to expect.
Note the time scale is exactly the same as "times" in the exampleData.mat file, otherwise weird things happen.
.gitignore now ignores .mat files so it's possible to work with them in the project's directory without committing them to source.

see Issue #4

@bantin have you given up on this project?


Modify facility api endpoints to return excludable data in the response header

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context for the specific functionality being developed (design, business rules, etc.)
[x] Does this have a dev link been provided in the design?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a Custom data download user I want the facility api endpoint to to return a list of excludable data in the response header So that I receive the list to enable removing/ adding data elements from the cdd data table
Acceptance Criteria
Given that a user has made a GET request to a facility/ unit attributes api endpoint
When the response header is displayed
Then the system displays a list of fields that can be excluded  (see: custom data download key column  )
Development Notes

the scope of this ticket does not include the streaming endpoints

Does this Story require 508 Testing?

[ ] Implementing a new authoring tool that will produce code / content for the application
[ ] Implementing a 3rd party widget that will be part of the application
[ ] Adding new / updating custom functionality
[ ] Adding new / updating a page template
[ ] Adding new / replacing existing functionality (unless the replacement has already passed 508 testing)
[ ] Full Site Review prior to a scheduled EPA 508 review
[ ] Planning a video that will appear on the application
[ ] Producing a video that will appear on the application
[ ] Producing Training materials
[ ] Producing documents

Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
(see: custom data download key column  )
Testing
Test Case: TC670
Tester: @JanellC
Definition of Done

[ ] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[ ] Has the code been unit tested and peer reviewed?
[ ] Have the functional tests been executed?
[ ] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Is the user story ready to be deployed to the test/staging environments?


Horses buck off riders

Horses in raids will buck off their riders at the start of the waves
To fix this, they need to spawn tamed

Fixed in 1.19.2 unsure if I'll backport it


BPN-3748 Update Quickstart section in API docs

Update Quickstart section as required in BPN-3748

It looks like this PR should not have been raised against the main slatedocs repo, but against your fork.


Perform operations with the fields

How could an update be made of a field, whose new value is the current one + 1?
In a normal sentence it would be like this, but I don't know how to apply it to your library:
UPDATE table SET views = views + 1 WHERE id = ?

$db->increment(
'users',
[ 'balance' => 25 ],
[ 'username' => 'Adam' ]
);
I found it. Sorry

No, good question, you were right, and that Database#increment method has not actually been implemented yet.
However, the thread where you probably found that method has the alternative solution as well: https://github.com/delight-im/PHP-DB/pull/13 That basic Database#exec solution works already today, and is exactly what you originally wanted, i.e. using your suggested first SQL statement with this library.


I cant change the spawn rate of veins

I've tried to mess with Kubejs but I dont know anything about coding, I was wanting to up the spawn rate on ancient debris veins because I've spent 3 hours straight flying in the nether trying to find it, and I havent been able to, and it doesnt seem like the configs will allow me to change it?

you can used the locate command

Hmm, "Ore Vein Finder Block" could be created in which "Command" enters and searches for the nearby Ore (and you don't have to have enabled Commands)

you can use the locate command

Cheating, plus for whatever reason from what I remembered during that time, it wouldn't work for me (Yes I tested it in a separate creative world and the locate command didn't work)

tested /coe locate {ore you want to find}
and works

Bit late now but I commented a fix on #98, to re-add veins there is documentation on the README

Bit late now but I commented a fix on #98, to re-add veins there is documentation on the README

But when re-adding the veins is not working correctly, for example I remove raw_redstone and try to make it on more time, and it is just putting a drilling recipe but no vein


Enable Spellcheck isn't enabling spellcheck in Electron

Simply setting the spellcheck prop doesn't have any influence on the behavior of the editor component in the DOM. However, I was able to enable spellchecking by manually editing the DOM node in the developer console like so:

I have been digging through the docs and the js files looking for where this div is defined and given it's props, but can't find it. Is there a way to tie the spellcheck prop for the div to some application toggle, for example maybe I could tie it to a redux store prop. Or, even just set it to true by default if I could find the place to update the code? My assumption is that the spellcheck prop is looking for something in a browser that may not include chromium/electron's native spellcheck utility (included as of electron 8).

If anyone happens across this, I 'fixed' it by setting the public-DraftEditor-content spellcheck attribute to 'true' on componentDidMount. Sort of a dirty hack but it works in most places so far.

If anyone happens across this, I 'fixed' it by setting the public-DraftEditor-content spellcheck attribute to 'true' on componentDidMount. Sort of a dirty hack but it works in most places so far.


Preload Indicator stays at top of page

The preload bar stays at the top of the page even when scrolling down.

Good call


Fix TOC generation

I think the other pages of the docs (apart from the Behaviour intro) could also have TOCs added?

https://specs.amwa.tv/is-05/ has TOC only on "Overview" page, although https://specs.amwa.tv/is-08/ has it on every page with more than one section. @peterbrightwell, are there any rules about this?


Add log level OFF

What does this PR do?

This PR adds a new log level OFF to be configured via elastic.apm.log_level to silence the apm agent logging.
Checklist

[x] My code follows the style guidelines of this project
[x] I have rebased my changes on top of the latest master branch

[x] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

[x] I have updated CHANGELOG.asciidoc
[ ] I have updated supported-technologies.asciidoc
[ ] Added an API method or config option? Document in which version this will be introduced
[ ] Added an instrumentation plugin? How did you make sure that old, non-supported versions are not instrumented by accident?

Author's Checklist

Related issues

https://github.com/elastic/apm-agent-java/pull/1154#issuecomment-620035271

Use cases

There are companies that have very strict requirements regarding application logs/log formats which may prevent the usage of Elastic APM agent, because there is currently no way, to configure/alter the log format, for example to output JSON.
As a workaround, it should be possible to silence the APM agent logging.
Screenshots
<!-- _(Optional)_
Add here screenshots about how the project will be changed after the PR is applied. They could be related to web pages, terminal, etc, or any other image you consider important to be shared with the team.

This PR replaces my former attempt to silence to apm agent logging by making it possible to specify /dev/null as the log file (see https://github.com/elastic/apm-agent-java/pull/1154) which would interfere with upcoming changes regarding log file rotation.

Codecov Report

Merging #1160 into master will increase coverage by 0.03%.
The diff coverage is 84.61%.

@@             Coverage Diff              @@
##             master    #1160      +/-   ##
============================================
+ Coverage     59.39%   59.42%   +0.03%
  Complexity       85       85
============================================
  Files           330      331       +1
  Lines         15010    15017       +7
  Branches       2086     2087       +1
============================================
+ Hits           8915     8924       +9
+ Misses         5487     5482       -5
- Partials        608      611       +3

Impacted Files
Coverage Δ
Complexity Δ

...lastic/apm/agent/logging/LoggingConfiguration.java
90.76% <66.66%> (-1.54%)
0.00 <0.00> (ø)

...in/java/co/elastic/apm/agent/logging/LogLevel.java
100.00% <100.00%> (ø)
0.00 <0.00> (?)

...o/elastic/apm/agent/profiler/SamplingProfiler.java
77.93% <0.00%> (+0.27%)
0.00% <0.00%> (ø%)

...pm/agent/profiler/asyncprofiler/AsyncProfiler.java
65.11% <0.00%> (+4.65%)
0.00% <0.00%> (ø%)

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 86b7d18...9015b2b. Read the comment docs.

:green_heart: Build Succeeded

Expand to view the summary

Build stats

Build Cause: [Branch indexing]

Start Time: 2020-04-28T21:52:09.997+0000

Duration: 42 min 27 sec (2547086)

Commit: 9015b2bf10335614250e5a062bdfb56691386939

Test stats :test_tube:

Test
Results

Failed
0

Passed
1232

Skipped
12

Total
1244

Thanks @msievers !!
Just running the CI tests to see that it passes properly before merging


TEP-0121: Modify metrics recorder for TaskRun Retries

Changes
There's a DATA RACE error when we read and unset StartTime for a new retry attempt while metrics recorder reads the startTime within the same reconcile loop. See PR https://github.com/tektoncd/pipeline/pull/5844. And error msg
Openning this PR as a prefix.

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[ ] Has Docs included if any changes are user facing
[ ] Has Tests included if any functionality added or changed
[ ] Follows the commit message standard
[ ] Meets the Tekton contributor standards (including
functionality, content, code)
[ ] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[ ] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[ ] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/test all

/assign @jerop
cc @khrm
cc @tektoncd/core-collaborators

After digging into it, there's one more concern:
durationAndCountMetrics() in reconcile() only counts the taskrun numbers
where the taskrun has no preparation error / not cancelled right after
scheduled / not timed out before calling reconcile() (for example,
be pending for a long time.).

Wondering if adding the status check in DurationAndCount will help only counts the taskRuns that are not failed from https://github.com/tektoncd/pipeline/blob/main/pkg/reconciler/taskrun/taskrun.go#L110-L180?

Thanks @JeromeJu  for taking time to looking into the issue and commenting on the issue :)
If I'm not mistaken, are you suggesting that we should not count those failed taskruns for metrics? If so, why would we want to do that?

If this route is valid, shall we also change the similar logics for reconciler/pipelinerun.go

That's true, I do think we also need to change the logic for reconciler/pipelinerun.go

If I'm not mistaken, are you suggesting that we should not count those failed taskruns for metrics? If so, why would we want to do that?

That was referring to the previous logics of putting durationAndCountMetrics() in reconcile function. But I totally agree that we should have it at ReconcileKind level which we can keep count of failed taskRuns(taking the current route).

We need to check whether count in this logical route is correct or not. I will check why this is so.

@khrm  I believe this commit https://github.com/tektoncd/pipeline/commit/137521906ce3e1df9440a3248f932ddb5a653e35  is addressing the recount issue by comparing beforeCondition and afterCondition, only record when the two conditions are different).
The recording metrics logic was originally in the ReconcileKind() function, but the commit https://github.com/tektoncd/pipeline/commit/137521906ce3e1df9440a3248f932ddb5a653e35 addressing the recount issue moves that logic to reconcile() [1] (probably for better code style? 🤔).
cc @afrittoli @jerop @dibyom
[1] https://github.com/tektoncd/pipeline/commit/137521906ce3e1df9440a3248f932ddb5a653e35#diff-6e67e9c647bbe2a08807ff5ccbdd7dc9036df373e56b9774d3996f92ab7ceabaL138-L145

Makes sense, thanks for digging in @XinruZhang
/approve

We need to check whether the count in this logical route is correct or not. I will check why this is so. We want to avoid recount issues.

@khrm - Agreed as well. Will the current set of tests count this?

/test check-pr-has-kind-label

NIT Submitter checklist is not filled in


Should getQuery() return a clone?

I was storing/manipulating the return value of getQuery() from the Navigation mixin to generate pagination links. I had some weird behavior with other components using getQuery() and it took me awhile to realize I was manipulating the routers canonical query params.
What are use cases where you need the router's actual query object and not just the values?

:+1: I'd support a clone, or Object.freeze on the results of both getQuery() and getParams() - it's unfortunately pretty easy to accidentally modify them in-place.

+1 on this, it's already caused me to have one bug, since it was unexpected

+1

getQuery is removed from the State mixin in the 1.0 API. Instead, your route components (previously called "handlers") receive a location prop with a query property. It should be a little more obvious that this object does not change, since it's on a Location instance instead of returned from a mixin method.
Try npm install<EMAIL_ADDRESS>to try it out.


Added Javadoc to some methods

I hope this is fine for you. If not, please contact me  I will do my best to help you

What does this error mean?

Travis (CI) Java support hasn't been updated in a while, so the build is failing there

Is it my fault? Can I do something for fixing it?

Not your fault :)
I'm not sure if it is fixable, it broke  a while ago, and I hacked around it a bit and got it working again but then it stopped working again.
I'll create a ticket to look into again at some point.
Going to merge your PR in - thanks!


Support Distribution-valued observations?

What would it take to support Distribution-valued observations in pyro.sample() statements? The idea is to Rao-Blackwellize by interpreting observe statements with distribution-valued observations
pyro.sample("x", Normal(loc,scale), obs=Normal(0,1))

as inducing a log_prob term equal to -KL(obs, dist)
site["log_prob"] = -kl_divergence(Normal(0, 1), Normal(loc, scale))

This should be equivalent to but lower-variance than the current stochastic version
pyro.sample("y", Normal(0, 1))
pyro.sample("x", Normal(loc, scale), obs=y)

In this interpretation, we can view our usual tensor-valued observations as observations from Delta distributions:
pyro.sample("x", Normal(loc, scale), obs=Delta(y))
assert -kl_divergence(Delta(y), Normal(loc, scale)) == Normal(loc, scale).log_prob(y)

In case the distribution pair is missing from the analytic kl_divergence() table, we can always revert to a single Monte-Carlo sample as in the current implementation.
Note that ideas like this have been discussed before in the context of KL divergence #91 #688 ; this issue aims to support a limited form of kl_divergence() by extending the pyro.sample() primitive.

hmm, this is interesting... though seems a bit strange/unidiomatic to me?
how does this interact with trace/replay?
in any case, one still has the fundamental issue that the existence of a particular analytic kl isn't a sufficient condition to integrate out a given random variable. of course one could decide that that issue is of lesser importance

This is a little strange to me, especially outside the context of SVI, although that doesn't mean there's not a sound probabilistic interpretation - I guess it's like saying inference is computing a conditional expectation with respect to those random variables, rather than just a posterior distribution?

analytic KLs in SVI

Isn't the simplest/most obvious SVI use case (analytic KL between prior and guide) easier to expose by just allowing users to mark sites for analytic KLs in site["infer"], like we do for enumeration?

I'll leave this issue open for a week in case @karalets wants to comment, and then close it.

I think the use case you proposed is different and interesting enough that we can keep it open for more discussion.  We can create a different issue for the simpler use case if you want.

Yeah I like this issue actually.
Generally, this is a different way of looking at loss functions.
For observations X and latents Z, currently SVI minimizes KL(q(z|x)||p(z|x)).
However, with distribution valued observations one can do the following:
minimize KL(q(x,z)||p(x,z)) , which is an alternative to traditional Elbo with many cute properties that I used for some GAN stuff once upon a time but is also useful apart from any GAN stuff.
The math works out as follows:
In model, we do not observe X but just sample it.
In guide, we do not just condition on X but actually sample from it using an empirical distribution.
In model then, the samples X's from guide will be scored as if they were latent.
This is quite a principled and easy way to implement what Fritz seems be interested in with the current machinery.
No analytic KL's needed, actually.


Copy task: Motion UI and What Input

Hi guys!
I have a question about the copy task in the gulpfile.js (v2.8.0).
In the file we have this:
// Copy task
gulp.task('copy', function() {

  // Motion UI
  var motionUi = gulp.src('assets/components/motion-ui/**/*.*')
    .pipe($.flatten())
    .pipe(gulp.dest('assets/javascript/vendor/motion-ui'));

  // What Input
  var whatInput = gulp.src('assets/components/what-input/**/*.*')
      .pipe($.flatten())
      .pipe(gulp.dest('assets/javascript/vendor/what-input'));

With this all the Motion UI and What Input files are placed in the javascript/vendor folder (including scss, css, md, json...) but the js files of both components are already included in javascript/foundation.js by Uglify task.
Is there any purpose for this in the copy job?
Thanks

I was wondering the same thing.
I second that. I think that task is unnecessary since the theme doesn't enqueue the script from assets/javascript/vendor. I searched the packaged file and couldn't fine any instances of assets/javascript/vendor used in the theme.

Technical debt. Thanks to @emaia for pointing it out. And thanks to @populationtwo for the pull request.


Aliza Bernstein-Update how-to-work-with-threat-intelligence-packages.md

Aliza Bernstein - Test assignment

@AlizaBBernstein
Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, someone can review your pull request.
Thanks!

Hi @AlizaBBernstein,
As discussed, this was for testing purposes, so I'm going to close this now.
Thanks!
#please-close


[GLib] Add support for IndexOptions

Describe the enhancement requested
Target option
IndexOptions
Proposed feature
Add support for IndexOptions.
Impact of this request
It will be used in index() which is an basic feature to get index from an Array.
Reference of this request
https://arrow.apache.org/docs/cpp/compute.html#aggregations
Component(s)
GLib, Ruby

Thanks!


Project System: CopyLocal should be a 3-state to better indicate what it does

From @davkean on March 23, 2016 0:2
On a reference, CopyLocal is a 3-state;' Use MSBuild default behavior, Don't copy local and Always Copy Local.
Copied from original issue: dotnet/roslyn#10000

This has lead to a bunch of confusion around this.

Closing - lower priority - currently it doesnt render the Private tag if Copy Local is not set. If Copy Local is set, it generates the value set to the private tag


Superfile doesn't render small text files

Describe the bug
The function isTextFile in src/internal/string_function.go returns false even if the file contains printable characters only.
To Reproduce
Steps to reproduce the behavior:

Create a file with the command echo "A" > /tmp/test
Use spf to open the /tmp directory and seek to the test file
The pane on the right will show the Unsupported formats error

Expected behavior
A normal rendering of the file contents
System information (please complete the following information):

OS: Ubuntu
Version 22.04
Superfile Version v1.1.3

Screenshots

Fixed the screenshot

I believe the reason for this behavior is that this line will iterate beyond the contents of the file and stop when it encounters the first NULL byte.
A simple fix could be something like the following:
    fileInfo, err := file.Stat()
    if err != nil {
	return false, err
    }

    bufferSize := min(fileInfo.Size(), 1024)

    reader := bufio.NewReader(file)
    buffer := make([]byte, bufferSize)


conflict Wrong content type for Windows for windows 8.1

I tried to generate a node-webkit application and got error 'conflict Wrong content type for Windows' running under Windows 8.1
Anyone know what's going on?
 _-----_
|   |
|--(o)--|   .--------------------------.
   `---------´  |Welcome to Yeoman,|
( _´U`_ )   |   ladies and gentlemen!  |
/___A___\   '__________________________'
 |  ~  |
   __'.___.'__
 ´   `  |° ´ Y `

? What do you want to call your app? Allowed characters ^[a-zA-Z0-9]+$ (undefine
? What do you want to call your app? Allowed characters ^[a-zA-Z0-9]+$ test
? A little description for your app? test
? Would you mind telling me your username on GitHub? someuser
? Do you want to install one of the node-webkit examples? No
   invoke   node-webkit:download
? Do you want to download node-webkit? Yes
? Please specify which version of node-webkit you want download: (v0.10.5)
 info Check if version "v0.10.5" is available for download.
? Please specify which version of node-webkit you want download: v0.10.5
? Which platform do you wanna support? Windows
 info Creating folder structure for node-webkit source.
√ Created: "resources/node-webkit"
√ Created: "resources/node-webkit/Windows"
√ Created: "tmp"
 info Downloading node-webkit for Windows
 conflict Wrong content type for Windows
Potentially unhandled rejection [3] Wrong content type for Windows (WARNING: non
-Error used)

It seems that this comes from a redirection we currently not following, but we have a fix for it in the current master. You could try this or wait hopefully only until tomorrow where we plan to release. See issue #61 for more details.


Right-click context menu works, but toolbar dropdown menu does not? (Firefox 64.0.1 (64-bit), Linux)

With the current version of the addon (7)
(and I also tried the older versions 5 and 6 from here: https://addons.mozilla.org/en-US/firefox/addon/resurrect-pages/versions/ )
The dropdown menu from the firefox toolbar seems really oddly glitchy:
clicking on one of the buttons causes the menu to "twitch", but otherwise does nothing,
and sometimes the buttons don't get drawn at all until you mouse over them,
and the text-descriptions for the radio-buttons don't get drawn until you click on them.
I'm not entirely sure when this started,
but I think I remember it working properly about a month or so ago?
(So firefox 63?)
I'm guessing some update firefox did to their menu API might've broken something...?

Confirmed only for the first time you click the a button in the popup.  Re open it and click again and it works.  (And I think it works every time, if the toolbar button is in the overflow menu...)

This problem is still there. Toolbar dropdown menu works pretty bad: the extension opens the page once up to 10 times!
I'm using it on Firefox 70 (64-bit), Windows 10


Add pkg and dmg support for Mac

Great job on this library. Appreciate it.
It would be great if there was a way to bundle the app in the form of a pkg or dmg and distribute it on MAC platforms.

You should be able to use appdmg to generate one in your building pipeline, currently I don't have the time to integrate it and PRs are appreciated.

@evshiron Occupied for a project for now. Will send a PR once I am free :)


Issue with k8s.io/docs/setup/production-environment/turnkey/tencent/

This is a Bug Report

Problem:The format of this article is wrong, but I don't know how to fix it.
Proposed Solution:Please give some suggestions or modify directly
Page to Update:https://kubernetes.io/docs/setup/production-environment/turnkey/tencent/
Can you pay attention to this issue? @tengqm

Think this is fixed now.
/close


Where can I find a good publish version with V4 support?

Hey,
I am looking for a publish jar of java-gitlab-api version with v4 support.
In the following link I found a version with v4 but it seems like its missing all the functions.
http://search.maven.org/#search|ga|1|a%3A"java-gitlab-api"
I cannot find functions like createUsers and createGroup.
Can someone point my in the right direction?

See https://github.com/timols/java-gitlab-api/issues/222

Are you saying that there is not a good version yet?

you can use jitpack
a stackoverflow answer https://stackoverflow.com/a/28483461/8362635
add in your pom.xml
...
	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

...
	<dependency>
	    <groupId>com.github.timols</groupId>
	    <artifactId>java-gitlab-api</artifactId>
	    <version>1.2.8</version>
	</dependency>
...

Thx @EmilienMottet this is exactly what I am looking for.

#222 is closed, should this be too?

Released v4.1.0 today


add License.md

Choose a License for this repository and add it to the repository.

Created an MIT license


Improve init command

I'm thinking now that we have a JSON config, we could have the init command ask the user and write the config that they want.
The flow I'm thinking:

Do you want to generate changelogs? If so, which changelog entry generator would you like to use?

No, I don't want changelogs
Yes, I want changelogs with GitHub info (depends on #159)
Yes, I want changelogs with only commits

Would you like Changesets to commit changesets and version/changelog updates for you?
Should packages be published publicly or privately?

This makes sense to me. I think #159 for common use-cases is probably higher priority though - wouldn't mind shipping some basic ones before making it obvious options

Yes, 100%. I'm probably going to do #159 and then this issue after.


(1.18.2) ticking block entity crash

Describe the Bug
I was not online for this, however a player on the server was building a steam engine and now the game crashes when trying to load those chunks
The server is also running a custom pack on curseforge named "Fabri-pack"
This below is a short snippet from the log
Time: 1/8/23, 2:38 AM
Description: Ticking block entity
java.lang.NullPointerException: Cannot invoke "java.util.function.Predicate.test(Object)" because "this.validator" is null
at io.github.fabricators_of_create.porting_lib.transfer.fluid.FluidTank.isFluidValid(FluidTank.java:39)
at io.github.fabricators_of_create.porting_lib.transfer.fluid.FluidTank.insert(FluidTank.java:44)
at com.simibubi.create.content.contraptions.fluids.OpenEndedPipe$OpenEndFluidHandler.extract(OpenEndedPipe.java:323)
at com.simibubi.create.content.contraptions.fluids.OpenEndedPipe$OpenEndFluidHandler.extract(OpenEndedPipe.java:249)
at com.simibubi.create.content.contraptions.fluids.FluidNetwork.tick(FluidNetwork.java:195)
at com.simibubi.create.content.contraptions.fluids.PipeConnection.manageFlows(PipeConnection.java:149)
at com.simibubi.create.content.contraptions.fluids.FluidTransportBehaviour.tick(FluidTransportBehaviour.java:131)
at java.base/java.util.HashMap$Values.forEach(HashMap.java:1067)
at com.simibubi.create.foundation.tileEntity.SmartTileEntity.forEachBehaviour(SmartTileEntity.java:171)
at com.simibubi.create.foundation.tileEntity.SmartTileEntity.tick(SmartTileEntity.java:76)
at com.simibubi.create.foundation.tileEntity.SmartTileEntityTicker.tick(SmartTileEntityTicker.java:15)
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:659)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:713)
at net.minecraft.class_1937.method_18471(class_1937.java:475)
at net.minecraft.class_3218.method_18765(class_3218.java:368)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:907)
at net.minecraft.class_3176.method_3813(class_3176.java:322)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:851)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:697)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:273)
at java.base/java.lang.Thread.run(Thread.java:831)
Reproduction Steps
It's really unknown to me, however the player built a steam engine and in the crash log it looks to be something about validation with fabricators
Expected Result
For the server to not crash when those chunks are loaded
Screenshots and Videos
No response
Crash Report or Log
https://pastebin.com/PtWXPK1j
Operating System
It's using pebblehost so I assume windows server edition
Mod Version
0.5.0g
Minecraft Version
1.18.2
Other Mods
The entire list is in this pack here https://www.curseforge.com/minecraft/modpacks/fabri-pack
Latest pack version
Additional Context
No response

duplicate of #696
fixed in dev
caused by TF loading an older version of Porting Lib. Either remove TF or manually install this version as a temporary fix.


Should this be deleted ???

https://github.com/fabric-testbed/fabrictestbed-extensions/blob/e3bba752980a7631ed4aae3455f17077de6fd5d5/fabrictestbed_extensions/fablib/node.py#L2188
Looking at logs, this command fails as the device name used is None. A similar command for ip_link_down does not use this. Just helps speed up the process and avoid an unnecessary execute

Thanks for looking into this, @hussamnasir!  Do you know when the device name happened to be None?
On a cursory reading, adding a couple of checks for None prior to calling execute() makes sense there, although it might be a band-aid solution.  I don't know if it should be deleted outright, or a None check should be added, or avoid the code path that calls ip_link_up() (if such a code path exists -- it probably doesn't) when we have an invalid interface or device name.
I guess @paul-ruth or @kthare10 originally wrote that code.   I only ran it through the code formatter, so it looks like I've made some actual changes there. :-)


(iPad) Removed website in bio still showing

Remove website from bio ->
Save update ->
Check profile ->
Website is still there.

Unless what is in there is now a default link for the attached blog? (in this case it’s the same as the URL I removed: https://micro.blog/til)
Either way I think once you leave that field blank there should be no link in the profile.

I’ve noticed that the URL now disappears. I think the profile looks fine with a blank line instead, in case you’re just experimenting with the change.
It looks like on the web the default URL stays after removing it. I assume it would also look fine as an empty space there.


Low FPS

I'm getting around 5 to 6 FPS. How to increase FPS.

I haven't spent any time optimizing the pipeline and there are some things that you can't to anything about so you need to change the networks or the approach. You can read my answer here to find a couple of approaches to make it faster: https://github.com/habrman/FaceRecognition/issues/6#issuecomment-392350371. If you only want to run it as fast as possible on all the frames in a video you could also run the frames in batches instead of one frame at a time.


Epic 2.11 Frontend for AI-Resistant Assignment Generator

Frontend Implementation: AI-Resistant Assignment Generator Tool

Overview
Upon completion of Issue #115 for developing the AI-Resistant Assignment Generator, the FE functionality can be implemented. This issue focuses on the frontend implementation to provide an intuitive interface for educators to create assignments that are resistant to AI-based solutions, ensuring meaningful student engagement.
Details from Backend Issue (#115):
The AI-Resistant Assignment Generator tool generates innovative assignment ideas designed to challenge students and reduce their reliance on AI tools. The backend supports inputs such as grade level, uploaded assignments, and educational objectives, generating multiple assignment ideas with explanations for their AI-resistant modifications.

Scope of Work

Tool Description
The AI-Resistant Assignment Generator tool will enable users to input assignment details and view AI-resistant ideas in an interactive, user-friendly format. Users will also be able to review and export generated assignment ideas.

Design Implementation
The frontend should follow the provided design mockups for a consistent and seamless user experience.
Design Mockup

API Integration

Use the backend API to fetch AI-resistant assignment ideas and explanations.
Ensure smooth interaction between the frontend and backend for data input and output.

Features to Implement

Input Form: Build a form where users can specify grade level, upload existing assignments, and provide additional criteria or objectives.
Assignment Ideas Display: Present generated ideas in a clear and visually structured format, including detailed explanations for AI-resistant features.
Export Functionality: Allow users to export generated assignment ideas as text or PDF documents.
Validation: Implement input validation to ensure data is provided in the correct formats and meets the tool's requirements.

Acceptance Criteria

[ ] The frontend matches the design mockup and delivers a user-friendly experience.
[ ] The input form correctly captures user data and sends it to the backend API.
[ ] Generated assignment ideas and their explanations are displayed in a structured and readable format.
[ ] Export functionality (text and PDF formats) works as expected.
[ ] The tool is responsive and functional across devices and browsers.

Resources

Design Mockup
Backend API Documentation
Backend Issue (#115)

Notes
This issue depends on the backend implementation. Frontend developers should refer to the API documentation to test the integration and ensure the generated assignment ideas meet the intended goals of AI resistance.

Hi @Ahmedr275, Can I work on this issue? Should I do the onboard meeting, So I can work on this issue? Maybe I will start implementing UI first in one PR, then functionality in other PR.

Hey @Ananta98 , yes you can start working on this issue. When creating separate PRs, please do mention exactly what is covered in the PR pertaining to the Criteria defined within the issue. Thank you!


Switch ", to ," in the creating-a-team.md page

Why:
Closes: #33937.

What's being changed (if available, include any code snippets, screenshots, or gifs):
Switching instances of ", to ," to conform to most versions of English in the creating-a-team.md file.

Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

I have no idea why the Azure check is failing, and no idea how to fix it. Can someone help with that?

@TheGiraffe3 Thanks so much for opening a PR with this fix! I'll update the branch and get this merged once tests are passing 🍏


Location Reverting

Location Reverting Between San Francisco and selected location...
https://github.com/jjewuz/JustWeather/assets/110628930/6b3e1e15-6e0e-438d-95d4-c05350e28819

Same here. It switches back to San Francisco on and on.

Need more time to check issue. Will try to fix it in nex updates!


change dockerfile to do a full build from git

I could not find a full docker build file for libreboard,
some may find this useful
You would first run mongodb on the host, then build and run this docker image for libreboard code,
this would allow the data to persist reboots and make it easy to try new libreboard code bases or update to latest

The current DockerFile works for me, I'm not sure how the change you propose improve things?

The current docker file works, but it just pulls from an image you built
previously,
It's not clear how you built the image or what version/branch/tag it is
built from.
On Tuesday, 16 June 2015, Maxime Quandalle<EMAIL_ADDRESS>wrote:

The current DockerFile works for me, I'm not sure how the change you
propose improve things?
—
Reply to this email directly or view it on GitHub
https://github.com/libreboard/libreboard/pull/198#issuecomment-112576854
.

I'm rejecting this PR because I believe the meteord base image is perfectly adapted to this application. If you want to see how the image was built you can read the corresponding dockerfiles. This image also gets update with the correct versions of some of our dependencies (eg, in Wekan v0.9 we need nodejs v0.10.40, and meteord provide this exact version).
Also about your particular Dockerfile, we probably don't want to chip the meteor utility in production images (this is only the build tool), and we don't want to run the server with meteor because it is intended for development, not production (for instance the files doesn't get gzipped, no forever or equivalent to restart the process in case it dies).


Mouse cursor jumps to end of line in chrome on Graph Page

When deleting characters:

Waiting on fix from https://github.com/mgcrea/angular-strap/issues/1837