Some errors are missing after type checking a file

Repro steps
I found this issue in the Paket solution and good example file to reproduce is Program.fs in Paket project. (The links point to particular commit I had checked out.)
In many cases type checking results don't return errors when I randomly change identifiers in the file and expect them to become unresolved. Also there's no "type cannot be inferred" errors for expressions with these identifiers later in the code.
For example change processCommand identifier somehow (in the Program.fs) in its let binding or in any of usages in the end of the file.
Expected behavior
Worked fine in 6.0.2 and 9.0.1, the expected errors were shown.
Actual behavior
No errors at all in some cases.

I also noticed that in FCS 10.0.1 some errors/warnings are not stable. Here is an extreme example:
#I @"some\missing\folder" // warning FS0211, missing
open System.Windows.Forms

let form = Form (Text = "Test Form") // warning FS0760 IDisposable
let button1 = Button (Text = "Test Button") // ditto

button1.Click.Add(fun args -> async1 label1 "bar bar bar") // error FS0039, not defined
button2.Click.Add(fun args -> async1 label1 "") // error FS0039, not defined

let x = Choice1Of2 42
match x with // warning FS0025 incomplete pattern
| Choice1Of2 x -> ()

let x = seq { // mark all to end but virtual space // error FS0789: invalid expression
    // mark first column
    // mark first column
    } // mark all from head

let test () =
if true // warning FS0058: incorrect indentation + error FS0589: incomplete conditional
    if true then // error FS0010: unexpected keyword
    let x = 42 // warning FS0058: incorrect indentation
    printfn "%s" x // warning FS0058: incorrect indentation

In 9.0.1 and before it should get 18 issues (some of them commented). In 10.0.1 sometimes it gets 11 issues, some issues in the middle are not reported. If I start to edit the file (just adding/removing empty lines) then sometimes it shows 18 expected issues, sometimes not.

With the above script I was able to reproduce the problem with Ionide-fsharp
2.23.0 which uses FCS 10.0.3. It was a bit tricky. I had to switch between
two opened scripts in order to see the problem. Namely, on opening 14 issues
are found (see the problem pane Ctrl+Shift+M). Then on switching between
scripts, at some point only 7 issues are found. The picture is similar to
what I see inn my scenario, some issues in the middle are missing.

@auduchinok @nightroman Can I confirm that this is when using an editing tools like Ionide?  Which is in turn using FsAutoComplete? And that the likely culprit is ParseAndCheckFileInProject?  Thanks

@dsyme I didn't use FsAutoComplete.
I made separate calls to ParseFileInProject and CheckFileInProject and worked with the results.
The project options were taken from ProjectCracker and I added some some missing references to assemblies there.

@dsyme In FSharpFar I do not use FsAutoComplete as such (to be precise, I borrowed some pieces for code completion, not checking). Yes, I use ParseAndCheckFileInProject.

@nightroman @auduchinok I know the cause of the bug - we need to integrate fixes - currently preparing that

This should be fixed in soon-to-be-release 11.0.1.  The build is on appveyor now, you can grab the nuget packages when you're done https://ci.appveyor.com/project/fsgit/fsharp-compiler-service/build/1228

11.0.1 pushed, will appear in the catalog soon.  Please help FsAutoComplete and Ionide upgrade to this too,  it's important

@dsyme Thank you. The problem seems to be fixed. Unfortunately, a new issue #706 was introduced and I cannot upgrade. The application uses the console UI (Far Manager, the orthodox console based file manager) and unwanted console output makes it unusable. I probably know some workarounds but I hope that Console.WriteLine in service.fs is just a mistake to be fixed soon.

Fixed in 11.0.2, now released


Error generation: add tests and fix Naive variant

This PR:

adds the facts from rustc's polonius_smoke_test: it's a dataset containing both positive and negative cases for polonius, making it easy to test error generation both in unit tests and manually.
adds missing invalidates inputs to the Naive variant, to successfully generate errors.

r? @nikomatsakis

Maybe I should have added the successful tests to the tests! list ?
(I hadn't done that in order to add assertions about the LocationInsensitive variant for those 2 tests, but maybe they're not that important — and if so, adding them using the macro instead would reduce code duplication)


IPP options with ‘-‘  in the name ignored, when passed to ipptransform

Calling ipptool -v -T 3 ipp://<IPPHost>:8000/ipp/print/<MyPrinter> -f <sample>.pdf ex-print-job.test
fails to propagate IPP options with ‘-‘  in the name to ipptransform.
For example ATTR enum print-quality 5 in ex-print-job.test will be passed to ipptransform as environment variable IPP_PRINT_QUALITY=high but the function get_option() in ipptransform does not find the option, because it  is looking first for a non existing command line option “print-quality” then for an environment variable “IPP_PRINT-QUALITY” and then for “IPP_PRINT-QUALITY_DEFAULT”.
The algorithm in get_option() to build the name of the environment variable must be the same, as in serverTransformJob().
At the moment the replacement of ‘-‘ to ‘_’ is missing in get_options()!
Without correction,  ipptransform will ignore  a lot of options set by environment variables, because the initialization in ippOptionsNew() / get_option() is looking for the wrong names.
i
Screenshots
If applicable, add screenshots to help explain your problem.
I used ippsample "v2023.03" for the tests.

[master e895c10] Fix handling of attributes with dashes in the name (Issue #282)


Custom shared responsibility scoped to serverless workflows

Describe the issue
The AWS shared resp model and the CPF model both are too wide to clearly explain to POs, SecOps and Developers the nuances around serverless that need to be considered and handled.
Which Sprint Goal is this issue related to?

Note: 'Milestone' is a ZenHub term that we use synonymously with 'Sprint'.

The 'Milestone' description (created in ZenHub) should clearly list Sprint Goals. This section should indicate which 'goal' this issue is related to.
Additional context

Warren provided this 3 diagram model: https://www.cloudhealthtech.com/blog/how-aws-shared-responsibility-model-works

Definition of done

Adding a new version customized to our setup that uses labels like "teams" instead of "customer" and any other changes Ryan wishes to do.
Review with Holly, PO, tech...

Booked meeting w/privacy on June 1 to review

Followed up with Privacy on June 3rd, no concerns or edits.

booked meeting with PO on 15th.

met and reviewed with PO on 15th.
Updated source documents (export png and .drawio file) to 'Diagrams, Technology, Training/Diagrams with Source Files' in shared folder.
No further changes needed, closed ticket as complete.


Fix Buffer Descriptions

One of the things that most confuses driver developers especially is the usage of the two buffers in METHOD_IN_DIRECT and METHOD_OUT_DIRECT.  A small modification to this page could help that immensely.  Consider the text of this page:
For these transfer types, IRPs supply a pointer to a buffer at Irp->AssociatedIrp.SystemBuffer. This represents the buffer that is specified in calls to DeviceIoControl and IoBuildDeviceIoControlRequest. The buffer size is specified by Parameters.DeviceIoControl.InputBufferLength in the driver's IO_STACK_LOCATION structure.

For these transfer types, IRPs also supply a pointer to an MDL at Irp->MdlAddress. This represents the buffer that is specified in calls to DeviceIoControl and IoBuildDeviceIoControlRequest. This buffer can be used as either an input buffer or an output buffer, as follows:

Notice that BOTH descriptions say "This represents the buffer that is specified in calls...".  That's not helpful  You can't have two pointers to "the buffer".  This would be MUCH clearer if the first one said "This represents the first buffer" and the second one said "This represents the second buffer".  With that, it's crystal clear how these two pointers map to the parameters to DeviceIoControl.

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

ID: 4b8bfd5a-3ee5-e6c3-c77a-e80a20368690
Version Independent ID: 1c7efd79-13fe-a5a1-49c9-30554d84d7ad
Content: Buffer Descriptions for I/O Control Codes - Windows drivers
Content Source: windows-driver-docs-pr/kernel/buffer-descriptions-for-i-o-control-codes.md
Product: windows-hardware
Technology: kernel
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Hi @timrprobocom, thanks so much for the suggestion. That's an elegant way to do it. I made the change, and added some level 2 headings for the different methods, to make it easier to scan.  Change should be on the live site within 5 min or so - let me know what you think!

Perfect!  This is one of the pages I come back to again and again, because after 30 years I still can't remember the IRP fields for the two buffers.


HandshakeCertificates.Builder.addInsecureHost()

This API continues the work started here:
https://github.com/square/okhttp/pull/5872

Nice simplification.


add an init.py file

We should gradually add support for scripting.

We should expose certain classes / structs here. For example, the log dataframe.


ChanUpgradeTimeout msg_server function

Description

this PR implements the msg_server function for ChanUpgradeTimeout
closes: #3749

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

LGTM! Just left a few suggestions, I think we should definitely fix the constructor function now that we allow a nil error receipt.

yes absolutely, i will open up another pr for this


ros_tutorials: 0.10.2-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros_tutorials to 0.10.2-1:

upstream repository: git@github.com:ros/ros_tutorials.git
release repository: https://github.com/ros-gbp/ros_tutorials-release.git
distro file: noetic/distribution.yaml
bloom version: 0.9.7
previous version for package: 0.10.1-1

ros_tutorials

No changes

roscpp_tutorials

No changes

rospy_tutorials

No changes

turtlesim
* add holonomic motion for turtlesim (#94 <https://github.com/ros/ros_tutorials/issues/94>)

holding for the upcoming Noetic sync


TWEAK: Update dev and test envs for bitcoind 0.16.

Coverage remained the same at 26.513% when pulling ebf009d08d8ed567690d4c285d2d4a3d6ebc938b on TS_bitcoind_0.16 into 83381b0beecb030381a60f2f841142bf1cc09102 on master.


Add support for Docker daemon "-g" start up option to point to LVM-direct mount

Currently, docker-storage-setup assumes that the default location of the "root" filesystem for Docker images/containers to be at "/var/lib/docker". What if I want it to be at another place via "-g" option of Docker daemon to point to say, "/mnt/something" or "/var/something"?

docker-storage-setup is the one which is setting up the storage for docker. So it should be the one communicating location of images/containers to docker and not vice-a-versa.
So while we do hardcode the location, what's the use case for changing it. I am aware of "-g" option of docker, but who uses it and why and in what context.

@rhvgoyal :  some folks mounted alots of host volumes to container, esp legacy softwares. So usually they want to specify the "-g" option  for 1 logical volume(non-thin) and then another volume(thin) dedicated to it.

Sorry I don't understand. Can you explain it in little bit more detail.

Assume that I have 3 devices : "/dev/sda", "/dev/sdb","/dev/sdc"

The primary OS  is located on "/dev/sda" , maybe 8GB, say.

I want Docker's "/var/lib/docker" to be on "/dev/sdb" which has say, 100GB
So i mount "/dev/sdb" to say, "/mnt/docker" and set docker daemon to  start up with "-g /mnt/docker" option. I do that because "/dev/sdb" do not have much diskspace(8GB) to mount a host-to-container volume: "docker run -v "/somedir":"/my_dir" nginx" where "/somedir" is located on "/dev/sda"
So I used "-g" option to set the Docker root dir to "/dev/sdb" which has 100GB and leave "/dev/sda" alone for the OS.

I configured "/dev/sdc" as  DeviceMapper storage driver's "thin pool" location to store container and images.

So you are taking care of creating a filesystem on /dev/sdb and mounting it on /mnt/docker? An easy workaround is to mount /dev/sdb at /var/lib/docker/ instead? How about that?
container-storage-setup does not know what's the root location docker wants to use. May be we can introduce an option say DOCKER_ROOT_DIR which will have /var/lib/docker as default but if  user has provided a separate path, use that instead.
I did not feel strongly introducing that option as it is little corner case and it is easily fixable by mounting disk on /var/lib/docker instead.

I may not want to mount at "/var/lib/docker" for some reasons.

you may be pushing the tooling too far.  Most people will be satisfied with mounting on /var/lib/docker trying to figure out just adds a ton of complexity for an incredibly small subset of the users, who most like could figure out how to configure the system themselves.

How about using new options which allow setting up rootfs for container run time.
Add your disk /dev/vdb and /dev/vdc to a single volume say docker-vg. And specify following.
DEVS=docker-vg
CONTAINER_ROOT_LV_MOUNT_PATH="/mnt/docker"
CONTAINER_ROOT_LV_NAME="docker-root-lv"
CONTAINER_ROOT_LV_SIZE="20G"
I think this will do what you are looking for. Create a separate volume for docker rootfs and mount it at the path you are looking for.

@rhvgoyal :  So CONTAINER_ROOT_LV_NAME="docker-root-lv" will  used to carve out a LV from the docker_vg  for  the container rootfs besides the 2 DM "thin " LVs pool data and metadata??.
Pls clarify. thx.

@bklau, yes. container-root-lv will be carved out and mounted at /mnt/container. And then code will go on to setup another logical volume (thin pool).
IOW, container-storage-setup has been enhanced to handle this use case where a user does not want docker's metadata storage from root file system but from a separate disk.

@rhvgoyal Thanks. Then that will work!  :)

@rhvgoyal : How can i install this newer package?.
The old one be installed via:
"sudo yum install -y docker-storage-setup.noarch"

Package name now is container-storage-setup. what distribution and repository you are using? On fedora 25, I imagine this might be available.

@rhvgoyal : I'm using AWS Linux AMI.

@bklau I think you will have to talk to amazon for packaging new container-storage-setup in image for that. I can't do anything about that.

@bklau i've packed and hosted both rpm and deb formats for this service at https://packagecloud.io/LongLiveCHIEF/container-storage-setup. There are several different methods of installation, but the easiest (for RedHat family OS,s), is to run:
curl -s https://packagecloud.io/install/repositories/LongLiveCHIEF/container-storage-setup/script.rpm.sh | sudo bash

For future visitors who like me are wondering what that -g option (or its --graph long form cousin) does; apparently, it is the former nomer for what is now --data-root;


Set maxBuilds and maxDays in Artifactory

resolves: https://github.com/adoptium/aqa-tests/issues/3621
Signed-off-by: lanxia<EMAIL_ADDRESS>

Grinder/24479
00:03:08.303  Deploying build info...
00:03:08.576  Build-info successfully deployed. Browse it in Artifactory under https://na.artifactory.swg-devops.com/artifactory/webapp/builds/Grinder/24479
00:03:08.576  Sending request for build retention, deleting build artifacts, max number of builds to store: 200, min build date: Sun Apr 03 16:02:30 EDT 2022.


Optionally include file extension in completions

Fixes #19.

@nkt? I almost exclusively use extensions out of preference, but many companies actually require this as well for their own code.

Thanks


Attach user identity to router request logs

Description
This PR attaches user identity to the query request logs on the router. Having the user identity present in the router request logs is useful when druid security is enabled only on the routers.
Sample query request logs on the router would now look like this:
{"query/time":94,"success":false,"identity":"a2l007"}	{"query":"select * from \"testdata\"","context":{"sqlQueryId":"sqlQuerytest1","sqlOuterLimit":1001,"queryId":"sqlQuerytest1"}}

Key changed/added classes in this PR

AsyncQueryForwardingServlet

This PR has:

[x] been self-reviewed.
[x] been tested in a test Druid cluster.

Thanks for the review @abhishekagarwal87


add "letter-spacing"

add "letter-spacing"

This issue was imported from Google Moderator
Moderator votes: +7
Issue added by Vince2010091 on 2012-10-11
To vote this issue up or down, simply include +1 or -1 in your comment.

Duplicate of #1002, transferring half the votes there.


[jvm-package] refactor evaluation of xgboost4j-spark

I refactor the eval method in XGBoostModel. There are some redundant code of two approaches, I use match pattern to do the same thing in less code.

Current coverage is 33.89% (diff: 100%)

Merging #1852 into master will not change coverage

@@             master      #1852   diff @@
==========================================
  Files            68         68
  Lines          5281       5281
  Methods         827        827
  Messages          0          0
  Branches        526        526
==========================================
  Hits           1790       1790
  Misses         3415       3415
  Partials         76         76

Powered by Codecov. Last update e7fbc85...a141782

LGTM, will merge after travis done


Fix Datafactory Type Issue

Contributing to the Azure SDK
This PR is for fixing Issue3219

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.DataFactory

DataFactory does not GA, therefore we just change it and we do not need to resolve its breaking change using EBNever and Obsolete

fixed

Please update the changelog for this bugfix.

fixed


Cannot save system settings if jira webhook secret is disabled

When this is the case, you cannot save the form.

Hmmm thought I tested that, will check/fix

I haven't paid attention to which commit I was on, maybe something you fixed afterwards I didn't catch?

It's security through obscurity 😜

It's because the field is mandatory but empty. The django javascript tries to focus the field and display the error. Not sure how to fix it. Workaround is to put some value in there.

make it non-mandatory and catch the fact is empty more downstream maybe?

can't override django form validation easily on the client. this is what happens when you try to make the form look nice instead of the old school django form look ;-)


Add "allow tap through" option

Proposal to add "allow tap through" option in step.
On my project, I need to show user the new feature, we add, and for UX its bad to force user to make one more tap to close tutorial first, and only then make second tap on button to try the feature itself. With this option taps on highlighted focus node will be deferred to child below that overlay' hole.
Disadvantage of this approach, is that we can't track if user tap on this hole, to finish step automatically, and have to manage this by ourself. For this reason I add OnboardingController (it also may be used to show and hide onboarding itself, instead of calling Onboarding.of(context) or using GlobalKey) this approach used in Flutter's ListView controller.

Now, Deferring taps to the child is implemented in the pre release. Please check it out.

Thats cool, I will checkout it now! It's sounds better than managing steps manual.

but you're not even trying to use the existing api.

What API are you talking about? showWithSteps doesn't help me with problem I have, and if you talk about prerelease branch - I didn't know about it, nowhere is written about it.

I don't see a reason for adding a controller to call nextStep from outside

I add controller in this PR only because of deferring taps feature, so user can call next step from outside, because we allowed him to tap through overlay. If your solution in prerelease manage this automatically its 100% better, this is only proposal, not final solution.


Master merge

Merging master into stg73 to pull in some bug fixes and resolve conflicts.

Is it somehow possible to extract just diff for sdk/storage ?

/azp run java - storage -ci


reorder package.json scripts alphabetically

Duplicate of #431

@filipesilva. Nothing important actually.
When there are a number of scripts, sorting in any order or following something pattern will have an effect on user's accessibility.
In my case,
I usually have a lot of scripts. I felt having scripts sorted, eases the pain while reading and finding them.
With the initial 6 scripts. It looks great. But In my case, I reorder every time.
Sorting Alphabetically is just a proposal.
Patterns are good when things get complex

Heya @Sibiraj-S, we've been talking a bit about this over the last few days to try and figure out if it would be a good change.
I had a few people saying they prefer it as is, and some saying that they prefer alphabetical like your proposed change. I think at the end of the day is a matter of style.
Across the CLI/DevKit repos we group by functionality, and we've had the package.json of the starter projects grouped this way as well for a while. so I think there isn't a real benefit to changing it at the moment.
I'm sorry that we're not merging your change but I think it was worth bringing it up because otherwise it wouldn't have been discussed at all. Thank you.

Thanks @filipesilva and all for the time. 😄


--edition argument in install-mongodb

I was prompted by an error message to install the community_ssl version, but when I try that, I get the following error about the argument being unrecognized:
% mongoctl install-mongodb --edition community_ssl 3.0.5
unrecognized arguments: --edition 3.0.5

I am running mongoctl 0.9.0.
Any ideas?

Hi,
i just tried your same command and it worked for me. Are you sure you are using mongoctl 0.9.0?
try running
mongoctl --version

If mongoctl version is 0.9.0 then it could be that one of its dependencies, can you try re-installing mongoctl with pip --force-reinstall?
Cheers!
-abdul


Fix issue with indentation and import at-rule and maps

Fixes an issue with the indentation rule where an at-rule (@import) wasn't correctly being exited from and thus threw all maps directly below it off.
Actually fixes an issue where at rules that didn't contain blocks were incorrectly identified and caused issues with anything following them.
fixes #779
fixes #783
<DCO 1.1 Signed-off-by: Dan Purdy<EMAIL_ADDRESS>

Coverage increased (+0.003%) to 97.376% when pulling d04c1e1bafb6b0cbc6d9b30153761c8bd0fc8117 on DanPurdy:feature/fix-indentation-imports into ddae35100754746e5101187aa6e206e1632173e9 on sasstools:develop.

Coverage increased (+0.003%) to 97.376% when pulling d04c1e1bafb6b0cbc6d9b30153761c8bd0fc8117 on DanPurdy:feature/fix-indentation-imports into ddae35100754746e5101187aa6e206e1632173e9 on sasstools:develop.

Coverage remained the same at 97.275% when pulling c32d9b79ad6fb72ac1e7e4b18d1da5b275cb6b9e on DanPurdy:feature/fix-indentation-imports into d439a88d3b3e3c729b0238cbb94c4fb83042940a on sasstools:develop.

Coverage remained the same at 97.275% when pulling 056fec82170f5f3b64a746871ad56f62cb2ee4bd on DanPurdy:feature/fix-indentation-imports into d439a88d3b3e3c729b0238cbb94c4fb83042940a on sasstools:develop.


Don't show entered tags in typeahead when allowDuplicates is false

This is an enhancement request. When I use tagsinput with allowDuplicates: false, typeahead shows  all tags values which are contained in data source. But in most cases it's not necessary to show the tags, which already were entered in the tagsinput control. It would be better if tagsinput filters out these values and does not show them at all, because user can not add them anyway.

There's some investigation to be done here. I'm not sure whether or not this is possible... think about a scenario where the typeahead source returns hundreds of items. Not a big datasource by any means but having to match entered tags with that source and remove them... not sure if that's the only / best way of handling this scenario.
I'll leave the issue open for now and see if it gains any traction.


Fix tiflash crash in ThreadedWorker

What problem does this PR solve?
Issue Number: close #7860
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/check-issue-triage-complete

/run-all-tests

/run-integration-test


Simplify workflow file for 3.11 Python

It's a bit nicer to look at, and selects session directly without using env. Also this will work for any future python versions.
Similar changes were made across different repositories.

Actually, it seems this is failing:

@dtrifiro, fixed thanks. Looks like I copied include twice. 😄

Note that CI failures are unrelated. Working on it.

Merging this, as the test failures are unrelated, and the workflow is identical.


set right not null flag when newing extra PK

What problem does this PR solve?
fix https://github.com/pingcap/tics/issues/1509, where the extra PK 's not null flag is not right set.
What is changed and how it works?
set the not null flag for extran PK
Check List
Tests

Unit test
https://github.com/pingcap/tidb/pull/23237

Side effects

Possible performance regression
Increased code complexity
Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch

/lgtm

/merge

@fzhedu Shall we cherry-pick it to release-5.0?


Allow duplicate rescanning

Setting for timeout between duplicates (e.g. 5 seconds)

Fixed with de7b9e33b9429e5b9b2e8fa0632f1209552f6d19.


Error using shortcuts -> Panel Creations

As seen above when I try to add another panel, Hyper throws that exception.
Shortcut used:
CTRL + SHIFT + D ( or E);
And yes, even without the shortcut this exception still happens.
EDIT:
More detail about the error:

It was due to hyperpower. It has been fixed there


Physics timestep issues

I need to do some more research into the issue of timesteps and Box2D, because the player moves and falls very quickly and boxes are very bugger.

Moved to MantisBT - http://games.imposinghosting.com/tracker/login_page.php


Clarify permissions of who has access to sync a fork.

NOTE This issue is reserved for our MLH fellowship program.
What article on docs.github.com is affected?
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork
What part(s) of the article would you like to see updated?
We received the following feedback on this guide. When I double-checked the workflow, the dropdown appears as-per the procedural. However, it seems this only appears if you have at least write permissions to a fork.

No clear direction on where the fetch upstream button is..

It seems you need to update the instructions on this page to reflect the current site. This is not the only page I've noticed it on, but this one was particularly out of step, notably with the 'fetch upstream' instructions (web UI, step 2). I used the CLI which worked fine.

We should add an additional note or sentence to explain the expectation of who can see this. Something like "You can only sync a fork if you have write permissions"
Additional information
No response

Hey @timeyoutakeit I'll get this resolved.


MySQL database access denied

After having no success with postgres I now tried mysql, but despite MYSQL_USER and PASSWORD being the same as the DB values for koel in docker-compose.mysql.yml, koel is unable to access the mysql database in the container:
SQLSTATE[HY000] [1045] Access denied for user<EMAIL_ADDRESS>(using password: YES)

I have recreated the containers multiple times, and have no idea how to debug this...

Solved, I did not recreate the containers fully as their volumes were kept...
https://stackoverflow.com/a/59839180/6723250

Hi @xeruf glad you found out the solution, thanks for posting it back here :)
Indeed volumes will keep the database configuration including users and passwords.


Trying to delete an image from a listing deletes wrong one

Video: http://screencast.com/t/wDaItYawnB
I had two images and when trying to delete the second one it deleted the first. I tried many times with different images and different numbers of images, and about 95% of the time it deletes the wrong one.

This has been fixed.


Prediction values heat map

Finish the heat map (bar).

The heat map should be a fixed size with a border.
Put a black line at the transcription start site.
Do not add overlapping ranges. Just use whatever is biggest.
Larger upstream/downstream ranges values will result in scaling and combining of data.
Prediction values will go from white(0.0) -> red(1.0)
The heat map should not wrap down to the next line.
When the heapmap is clicked show a popup/tooltip with more data.

Fixed by #7 will open new issue for further changes.


how to build carla 0.8.4 as server?

after going thru the tutorial and building carla 0.8.4 from source, the simulator launches in unreal editor and when I click play, it is a game for me to control a vehicle, I am not able to connect my python client to the simulator. How to build from source as a server by default?

Just run the command:
make package

Just run the command:
make package

sorry this doesnt run

somebody help..

Ok I managed to find the solution myself,
https://carla.readthedocs.io/en/stable/faq/
Can I run the server from within Unreal Editor?
Yes, you can connect the Python client to a server running within Unreal Editor as if it was the standalone server. Go to "Unreal/CarlaUE4/Config/CarlaSettings.ini" (this file should have been created by the Setup.sh) and enable networking. If for whatever reason you don't have this file, just create it and add the following wzxhzdk:0 Now when you hit Play the editor will hang until a client connects.


KeyPressed() function

Describe your problem here.
So I'm trying to make a function for when a key is pressed it will trigger a function but it doesnt wanna cooperate.
The thing is theres no error. The game just closes.
local letters = {}
for i = 32, 256 do
	letters[i] = utf8.char(i)
end
letters[257] = "!"
letters[258] = "?"

function keyPressed(key)
	debugPrint(key)
end

function onUpdate(elapsed)
	for i = 1, #letters do
		local v = letters[i]
		if getPropertyFromClass("flixel.FlxG", "keys.justPressed."..v) then
			keyPressed(v)
		end
	end
end

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
Nothing changed. On 0.6.0 by the way.

NEVRMIND I GOT IT :D
local ALPHABET= "abcdefghijklmnopqrstuvwxyz"

function keyPressed(key)
	debugPrint(key)
end

function onUpdate()
	for i = 0, string.len(ALPHABET) do
			local key = string.upper(string.sub(ALPHABET, i, i))
			if keyboardJustPressed(key) and key ~= "" and key ~= nil then
				keyPressed(key)
			end
	end
end


[Bug]: vLLM 0.4.2 8xH100 init failed

Your current environment
environment:
vllm 0.4.2
python3.10
cuda11.8
cpu: 52
mem: 375Gi
model:
llama3-70B
🐛 Describe the bug
description:
vLLM engine init failed, when use 8xH100,  tensor_parallel_size=8
Worker exit type: SYSTEM_ERROR Worker exit detail: Worker unexpectedly exits with a connection error code 2. End of file. There are some potential root causes. (1) The process is killed by SIGKILL by OOM killer due to high memory usage. (2) ray stop --force is called. (3) The worker is crashed unexpectedly due to SIGSEGV or other unexpected errors.
log:
024-06-24 02:48:44,378 INFO MainProcess logger.py:58 darwin logger initialized
Starting Python Closure container
2024-06-24 02:48:44,438 INFO MainProcess python_closure_container.py:77 load mms model from: /mms/download/models, mms_info: llm-demo-project:llama-3-70B-Instruct:1
2024-06-24 02:48:44,438 INFO MainProcess python_closure_container.py:91 darwin entrypoint not found in MMS path /mms/download/models
2024-06-24 02:48:44,438 INFO MainProcess python_closure_container.py:97 load model from /model
2024-06-24 02:48:44,438 INFO MainProcess python_closure_container.py:17 load serialized func from /model/func.pkl
/opt/conda/lib/python3.10/site-packages/transformers/utils/hub.py:124: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers. Use HF_HOME instead.
warnings.warn(
2024-06-24 02:48:45,687 DEBUG MainProcess _api.py:254 Attempting to acquire lock<PHONE_NUMBER>56848 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/node_ip_address.json.lock
2024-06-24 02:48:45,687 DEBUG MainProcess _api.py:257 Lock<PHONE_NUMBER>56848 acquired on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/node_ip_address.json.lock
2024-06-24 02:48:45,687 DEBUG MainProcess _api.py:286 Attempting to release lock<PHONE_NUMBER>56848 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/node_ip_address.json.lock
2024-06-24 02:48:45,687 DEBUG MainProcess _api.py:289 Lock<PHONE_NUMBER>56848 released on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/node_ip_address.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:254 Attempting to acquire lock<PHONE_NUMBER>56896 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:257 Lock<PHONE_NUMBER>56896 acquired on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:286 Attempting to release lock<PHONE_NUMBER>56896 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:289 Lock<PHONE_NUMBER>56896 released on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:254 Attempting to acquire lock<PHONE_NUMBER>49504 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:257 Lock<PHONE_NUMBER>49504 acquired on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:286 Attempting to release lock<PHONE_NUMBER>49504 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:289 Lock<PHONE_NUMBER>49504 released on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:254 Attempting to acquire lock<PHONE_NUMBER>50080 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:257 Lock<PHONE_NUMBER>50080 acquired on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:286 Attempting to release lock<PHONE_NUMBER>50080 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:289 Lock<PHONE_NUMBER>50080 released on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:254 Attempting to acquire lock<PHONE_NUMBER>52048 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:257 Lock<PHONE_NUMBER>52048 acquired on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:286 Attempting to release lock<PHONE_NUMBER>52048 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:289 Lock<PHONE_NUMBER>52048 released on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,688 DEBUG MainProcess _api.py:254 Attempting to acquire lock<PHONE_NUMBER>52912 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,689 DEBUG MainProcess _api.py:257 Lock<PHONE_NUMBER>52912 acquired on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,689 DEBUG MainProcess _api.py:286 Attempting to release lock<PHONE_NUMBER>52912 on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:45,689 DEBUG MainProcess _api.py:289 Lock<PHONE_NUMBER>52912 released on /tmp/ray/session_2024-06-24_02-48-45_687047_49975/ports_by_node.json.lock
2024-06-24 02:48:47,351	WARNING services.py:2009 -- WARNING: The object store is using /tmp instead of /dev/shm because /dev/shm has only<PHONE_NUMBER> bytes available. This will harm performance! You may be able to free up space by deleting files in /dev/shm. If you are inside a Docker container, you can increase /dev/shm size by passing '--shm-size=10.24gb' to 'docker run' (or add it to the run_options list in a Ray cluster config). Make sure to set this to more than 30% of available RAM.
2024-06-24 02:48:47,493	INFO worker.py:1749 -- Started a local Ray instance.
INFO 06-24 02:48:48 llm_engine.py:100] Initializing an LLM engine (v0.4.2) with config: model='/mms/download/models', speculative_config=None, tokenizer='/mms/download/models', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=False, dtype=torch.bfloat16, max_seq_len=8192, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=8, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), seed=0, served_model_name=/mms/download/models)
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
(pid=53316) /opt/conda/lib/python3.10/site-packages/transformers/utils/hub.py:124: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers. Use HF_HOME instead.
(pid=53316)   warnings.warn(
(pid=53827) /opt/conda/lib/python3.10/site-packages/transformers/utils/hub.py:124: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers. Use HF_HOME instead. [repeated 4x across cluster] (Ray deduplicates logs by default. Set RAY_DEDUP_LOGS=0 to disable log deduplication, or see https://docs.ray.io/en/master/ray-observability/user-guides/configure-logging.html#log-deduplication for more options.)
(pid=53827)   warnings.warn( [repeated 4x across cluster]
(raylet) A worker died or was killed while executing a task by an unexpected system error. To troubleshoot the problem, check the logs for the dead worker. RayTask ID: ffffffffffffffff8e00e96dff7db9bcf575d3b201000000 Worker ID: a3def51d719ae881346f4f13a1fd1d82a0f2c59c0f173334047f9805 Node ID: 2b3b79e87ea6a056b18c58b0da3509637cb7472549014e2ad22fb63a Worker IP address: <IP_ADDRESS> Worker port: 36385 Worker PID: 54163 Worker exit type: SYSTEM_ERROR Worker exit detail: Worker unexpectedly exits with a connection error code 2. End of file. There are some potential root causes. (1) The process is killed by SIGKILL by OOM killer due to high memory usage. (2) ray stop --force is called. (3) The worker is crashed unexpectedly due to SIGSEGV or other unexpected errors.
Traceback (most recent call last):
File "/container/python_closure_container.py", line 156, in
py_model, model_path = unpickle_model(model_name, model_version)
File "/container/python_closure_container.py", line 71, in unpickle_model
model, model_file_path = unpickle_model_from_local(model_name, model_version, model_file_path)
File "/container/python_closure_container.py", line 109, in unpickle_model_from_local
model = get_verified_darwin_model(model_name, model_version, predict_model_loaded)
File "/container/python_closure_container.py", line 124, in get_verified_darwin_model
model = predict_model_loaded(model_name, model_version)
File "/container/predict.py", line 47, in init
logger.info('model initialized')
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 366, in from_engine_args
engine = cls(
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 324, in init
self.engine = self._init_engine(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/async_llm_engine.py", line 442, in _init_engine
return engine_class(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/vllm/engine/llm_engine.py", line 160, in init
self.model_executor = executor_class(
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/ray_gpu_executor.py", line 300, in init
super().init(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/executor_base.py", line 41, in init
self._init_executor()
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/ray_gpu_executor.py", line 43, in _init_executor
self._init_workers_ray(placement_group)
File "/opt/conda/lib/python3.10/site-packages/vllm/executor/ray_gpu_executor.py", line 104, in _init_workers_ray
worker_ip = ray.get(worker.get_node_ip.remote())
File "/opt/conda/lib/python3.10/site-packages/ray/_private/auto_init_hook.py", line 21, in auto_init_wrapper
return fn(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/ray/_private/client_mode_hook.py", line 103, in wrapper
return func(*args, **kwargs)
File "/opt/conda/lib/python3.10/site-packages/ray/_private/worker.py", line 2623, in get
values, debugger_breakpoint = worker.get_objects(object_refs, timeout=timeout)
File "/opt/conda/lib/python3.10/site-packages/ray/_private/worker.py", line 863, in get_objects
raise value
ray.exceptions.ActorDiedError: The actor died unexpectedly before finishing this task.
class_name: RayWorkerWrapper
actor_id: 8e00e96dff7db9bcf575d3b201000000
pid: 54163
namespace: 1cf18ed4-f200-47ab-bd68-b09a0115686d
ip: <IP_ADDRESS>
The actor is dead because its worker process has died. Worker exit type: SYSTEM_ERROR Worker exit detail: Worker unexpectedly exits with a connection error code 2. End of file. There are some potential root causes. (1) The process is killed by SIGKILL by OOM killer due to high memory usage. (2) ray stop --force is called. (3) The worker is crashed unexpectedly due to SIGSEGV or other unexpected errors.
The actor never ran - it was cancelled before it started running.
(RayWorkerWrapper pid=54163) [2024-06-24 02:49:00,245 E 54163 54163] logging.cc:101: Unhandled exception: N5boost10wrapexceptINS_6system12system_errorEEE. what(): thread: Resource temporarily unavailable [system:11]
(RayWorkerWrapper pid=54163) [2024-06-24 02:49:00,314 E 54163 54163] logging.cc:108: Stack trace:
(RayWorkerWrapper pid=54163)  /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x101a47a) [0x7fa623b3a47a] ray::operator<<()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x101cf38) [0x7fa623b3cf38] ray::TerminateHandler()
(RayWorkerWrapper pid=54163) /opt/conda/bin/../lib/libstdc++.so.6(+0xb135a) [0x7fa6229ab35a] __cxxabiv1::__terminate()
(RayWorkerWrapper pid=54163) /opt/conda/bin/../lib/libstdc++.so.6(+0xb13c5) [0x7fa6229ab3c5]
(RayWorkerWrapper pid=54163) /opt/conda/bin/../lib/libstdc++.so.6(+0xb1658) [0x7fa6229ab658]
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x567f58) [0x7fa623087f58] boost::throw_exception<>()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x1106b1b) [0x7fa623c26b1b] boost::asio::detail::do_throw_error()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x110753b) [0x7fa623c2753b] boost::asio::detail::posix_thread::start_thread()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x110799c) [0x7fa623c2799c] boost::asio::thread_pool::thread_pool()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0xa49444) [0x7fa623569444] ray::rpc::(anonymous namespace)::_GetServerCallExecutor()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(_ZN3ray3rpc21GetServerCallExecutorEv+0x9) [0x7fa6235694d9] ray::rpc::GetServerCallExecutor()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(ZNSt17_Function_handlerIFvN3ray6StatusESt8functionIFvvEES4_EZNS0_3rpc14ServerCallImplINS6_24CoreWorkerServiceHandlerENS6_15PushTaskRequestENS6_13PushTaskReplyELNS6_8AuthTypeE0EE17HandleRequestImplEbEUlS1_S4_S4_E0_E9_M_invokeERKSt9_Any_dataOS1_OS4_SJ+0xe2) [0x7fa623283d32] std::_Function_handler<>::_M_invoke()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x7dad3f) [0x7fa6232fad3f] ray::core::CoreWorkerDirectTaskReceiver::HandleTask()::{lambda()#1}::operator()()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x7dbe1a) [0x7fa6232fbe1a] std::_Function_handler<>::_M_invoke()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x7f2d1e) [0x7fa623312d1e] ray::core::InboundRequest::Accept()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x7c5150) [0x7fa6232e5150] ray::core::NormalSchedulingQueue::ScheduleRequests()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0xa5acee) [0x7fa62357acee] EventTracker::RecordExecution()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0xa540de) [0x7fa6235740de] std::_Function_handler<>::_M_invoke()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0xa54556) [0x7fa623574556] boost::asio::detail::completion_handler<>::do_complete()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x11041ab) [0x7fa623c241ab] boost::asio::detail::scheduler::do_run_one()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x1105b29) [0x7fa623c25b29] boost::asio::detail::scheduler::run()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x1106232) [0x7fa623c26232] boost::asio::io_context::run()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(_ZN3ray4core10CoreWorker20RunTaskExecutionLoopEv+0xcd) [0x7fa62329996d] ray::core::CoreWorker::RunTaskExecutionLoop()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(_ZN3ray4core21CoreWorkerProcessImpl26RunWorkerTaskExecutionLoopEv+0x8c) [0x7fa6232dec2c] ray::core::CoreWorkerProcessImpl::RunWorkerTaskExecutionLoop()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(_ZN3ray4core17CoreWorkerProcess20RunTaskExecutionLoopEv+0x1d) [0x7fa6232deddd] ray::core::CoreWorkerProcess::RunTaskExecutionLoop()
(RayWorkerWrapper pid=54163) /opt/conda/lib/python3.10/site-packages/ray/_raylet.so(+0x5c2a07) [0x7fa6230e2a07] __pyx_pw_3ray_7_raylet_10CoreWorker_7run_task_loop()
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper() [0x500884] method_vectorcall_NOARGS
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(_PyEval_EvalFrameDefault+0x731) [0x4ee5e1] _PyEval_EvalFrameDefault
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(_PyFunction_Vectorcall+0x6f) [0x4fdedf] _PyFunction_Vectorcall
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(_PyEval_EvalFrameDefault+0x731) [0x4ee5e1] _PyEval_EvalFrameDefault
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper() [0x5953f2] _PyEval_Vector
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(PyEval_EvalCode+0x87) [0x595337] PyEval_EvalCode
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper() [0x5c5f47] run_eval_code_obj
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper() [0x5c10b0] run_mod
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper() [0x45971a] pyrun_file.cold
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(_PyRun_SimpleFileObject+0x19f) [0x5bb63f] _PyRun_SimpleFileObject
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(_PyRun_AnyFileObject+0x43) [0x5bb3a3] _PyRun_AnyFileObject
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(Py_RunMain+0x38d) [0x5b815d] Py_RunMain
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper(Py_BytesMain+0x39) [0x588629] Py_BytesMain
(RayWorkerWrapper pid=54163) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fa624801083] __libc_start_main
(RayWorkerWrapper pid=54163) ray::RayWorkerWrapper() [0x5884de]
(RayWorkerWrapper pid=54163)
(RayWorkerWrapper pid=54163) *** SIGABRT received at time=1719222540 on cpu 223 ***
(RayWorkerWrapper pid=54163) PC: @     0x7fa62482000b  (unknown)  raise
(RayWorkerWrapper pid=54163)     @     0x7fa624b3d420  286446400  (unknown)
(RayWorkerWrapper pid=54163)     @     0x7fa6229ab35a  (unknown)  __cxxabiv1::__terminate()
(RayWorkerWrapper pid=54163)     @     0x7fa6229ab580  (unknown)  (unknown)
(RayWorkerWrapper pid=54163) [2024-06-24 02:49:00,315 E 54163 54163] logging.cc:365: *** SIGABRT received at time=1719222540 on cpu 223 ***
(RayWorkerWrapper pid=54163) [2024-06-24 02:49:00,315 E 54163 54163] logging.cc:365: PC: @     0x7fa62482000b  (unknown)  raise
(RayWorkerWrapper pid=54163) [2024-06-24 02:49:00,315 E 54163 54163] logging.cc:365:     @     0x7fa624b3d420  286446400  (unknown)
(RayWorkerWrapper pid=54163) [2024-06-24 02:49:00,315 E 54163 54163] logging.cc:365:     @     0x7fa6229ab35a  (unknown)  __cxxabiv1::__terminate()
(RayWorkerWrapper pid=54163) [2024-06-24 02:49:00,315 E 54163 54163] logging.cc:365:     @     0x7fa6229ab580  (unknown)  (unknown)
(RayWorkerWrapper pid=54163) Fatal Python error: Aborted
(RayWorkerWrapper pid=54163)
(RayWorkerWrapper pid=54163) Stack (most recent call first):
(RayWorkerWrapper pid=54163)   File "/opt/conda/lib/python3.10/site-packages/ray/_private/worker.py", line 876 in main_loop
(RayWorkerWrapper pid=54163)   File "/opt/conda/lib/python3.10/site-packages/ray/_private/workers/default_worker.py", line 289 in
(RayWorkerWrapper pid=54163)
(RayWorkerWrapper pid=54163) Extension modules: msgpack._cmsgpack, google._upb._message, psutil._psutil_linux, psutil._psutil_posix, setproctitle, yaml._yaml, _cffi_backend, uvloop.loop, ray._raylet, pvectorc, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, torch._C, torch._C._fft, torch._C._linalg, torch._C._nested, torch._C._nn, torch._C._sparse, torch._C._special, sentencepiece._sentencepiece (total: 31)
(pid=54163) /opt/conda/lib/python3.10/site-packages/transformers/utils/hub.py:124: FutureWarning: Using TRANSFORMERS_CACHE is deprecated and will be removed in v5 of Transformers.  I assume this is a ray setup problem. you can try to use the latest code, or the latest released version, and try the multiprocessing backend

it works now by using the vllm0.5.0.post1 and distributed_executor_backend: mp

Update:

can you try the latest main code? The error shows somewhere in broadcast_object_list, which https://github.com/vllm-project/vllm/pull/5399 should help alleviate this.

This should be resolved, lmk if not!


Experimental providers branch, to improve error handling and prepare moving providers out of codebase and onto NPM

DO NOT PULL YET
This branch includes the following changes:

Error handling on piped providers (see also https://github.com/SignalK/signalk-server-node/issues/30). Assuming the provider handles errors correctly (i.e. catches the error and emits an error event) the pipeline now catches the error, removes all listeners to all providers, NULLifies them, dereferences them in order to allow them to be GC'ed and restarts the pipeline.
Changes to configuration, related to next point
Prepared code to move all providers out of codebase and onto NPM

The first point requires thorough review and testing. The last two points are up for discussion. I'm of the opinion that providers should not live in our codebase but on NPM, making it easier for third parties to write providers (we do need to write some docs as to how to write a provider) and making this code more maintainable. Since I was working on that anyway, I cleaned up the config somewhat in a way that makes it a bit less verbose and nicer to look at (also in preparation for making the configuration user-editable using a UI).
Error handling on providers works assuming that all internal errors are caught and emitted as an error (either by calling done(err) in the _transform method or by calling this.emit('error', err)). Unhandeled errors in a provider causes an application crash. I'm looking for a solution, but so far haven't found one beyond writing proper providers.

@tkurki


Replace spurious tabs in menu with dashes (#81)

I searched for other leftover tabs with
$ git grep $'[^\t]\t'

and it seems like these were the last harmful ones.

Closes #81


GP Updates - July 2024

This update enhances the GP migrations by:

Migrating GP Kit Items as BC Assembly BOMs.
Prevent migration error when Customer/Vendor phone numbers contain alpha characters. The Customer/Vendors will be migrated, but the phone/fax numbers with alpha characters will be ignored and added to the Warning Log.
History Gen. Journal Line - View Distributions feature.
Updated labels in settings area to specify 'migration' instead of 'upgrade' to prevent customer confusion.

Fixes #26487
Fixes AB#543399

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 23032.


Internal review of 2FC code

Besides that minor nitpick, looks good to me!

Nobody is using it, and there have been a number of personal objections voiced to me to using 2FA in Url. Closing.


Can we make FLAnimatedImage optional?

For now, FLAnimatedImage is set as a dependency in podspec, is it possible to make it optional? Maybe make it a subspec?

I'd be happy to accept a pull request that made it optional!

@garrettmoon is this issue closable with pull request #65 merged?

Yes! I think so, thanks!


Color zilla chrome extension

Colorzilla chrome extension. With this extension, you can get color from any page.
https://chrome.google.com/webstore/detail/colorzilla/bhlhnicpbhignbdhedgjhgdocnmhomnp

Please split the resource into separate PRs. Thanks!


Adding one of the main challenges of EDAs

Before clicking the "Create pull request" button:
Enter a meaningful title. We suggest using the keywords "New" or "Update" indicating the nature of changes.
Summary, scope, and intent of this PR
One of the main challenges of using EDA, is their testability. Due to their complex nature, they tend to be hard to test. But this page hasn't shed light on this challenge. I've added it so readers are more informed.
Links to any related work item(s) or supporting detail

[DELETE-OR-REPLACE-THIS-TEXT]
[DELETE-OR-REPLACE-THIS-TEXT]

AFTER YOUR PR HAS BEEN CREATED, expand this section for tips and additional instructions.
These are common guidelines for contributions across the repos managed by the Azure patterns & practices (PnP) content team. Some repositories may have additional specific requirements that are not listed here.
Guidance for all contributors

Topic
Guidance

Draft PR
If your PR will be a work-in-progress for more than a day or two, select the Convert to draft link in the upper right of the page (under Reviewers) to change it to a draft. For future reference, you can also do this using the Create pull request button drop-down during PR creation.

ms.date metadata
Don't update an article's "ms.date" metadata property unless you've done a full freshness review of the content. A full freshness review includes changes required to correct or improve the full technical accuracy of the article.Don't update "ms.date" if you're doing targeted changes to improve non-technical aspects of the article, such as editorial quality, art improvements, article template alignment, etc.If you've changed any "ms.date" properties for work that wasn't part of full review for freshness, please reset them to their previous value.

Placement and linking
If you're creating a new article or articles, include updates to the related TOC.yml file to propose where the article(s) should be placed. Also consider other places within the document set where it would be beneficial to cross-reference and link to your new article(s).

PR build
After you open your PR, and for each successive commit that you push to your branch, the publishing platform will run validation on the files in your pull request. A summary of the build results for each file will be inserted inline into your pull request, which includes any build suggestions/warnings/errors. PRs cannot be merged until all build errors and most warnings are resolved.

Publishing
Following a successful merge, most repos publish to the live site about once per (business) day.

Additional resources
learn.microsoft.com contributor guide

Additional guidance for private repos and internal contributors

Topic
Guidance

PR size
If your PR is more than ~5 lines of changes, or you'd like for the changes to go through editorial or larger review, open a contribution request at https://aka.ms/contribution and include a link to the PR in response #8. Once it's processed, you'll be notified of the next steps.

PR title prefix
Select the Edit button to the right of the PR title if you need to revise it. The following prefixes are reserved for specific contribution types:[Quality Check] - maintenance work related to content quality (edit passes, art improvements, template alignment)[LinkFix] - recurring/adhoc PRs to correct link URLs[Pipeline] - new/updated contributor success pipeline content[WIP] - a work-in-progress draft requiring several days/weeks

PR preview
Following successful build of your PR, publishable files will also include Preview URL links to staged previews of your new/updated articles. Be sure to review these for verification of your intended contributions, or to send to other internal contributors for review.

PR sign-off (public repo)
If an article you own is updated in a public repo PR, you are responsible for sign-off. You will be automatically notified via email. The PR will not be merged until you've had a chance to review and sign-off.

PR sign-off (private repo)
After you've completed your proposed changes, addressed build warnings, and completed all review work, you can begin the sign-off process for review and merge:If your PR is in draft mode, remove "[WIP]" from the title and select Ready for review button at the bottom of the PR.Enter "#sign-off" in a new comment. This comment indicates that you're confident the work meets or exceeds Microsoft's standards for publication, and will trigger the review process.Your PR may be selected for initial review by the PnP content team. Following PnP review, you may receive questions or requests for additional changes. You should have initial feedback from PnP review within a few business days. If you have an urgent request or need to contact the team, please mention @MicrosoftDocs/patterns-and-practices-team-pr-reviewers in your PR and someone will get back to you. After the Azure patterns & practices content review is complete, a PnP #sign-off will be added.Final review/merge is done by the PR review team. The PR team may also respond with feedback, categorized as "Blocking" (requires action from you), or "Non-blocking" (to be addressed in a future PR).

Additional resources
learn.microsoft.com internal contributor guideAuthoring templates: architecture-center-pr, well-architected-prTo contact the Azure patterns & practices team use e-mail, or @mention our GitHub team in your PR comments using: @MicrosoftDocs/patterns-and-practices-team-pr-reviewers

@ckittel sometimes business necessitates having a synchronous transaction within EDA. I couldn't find high quality advice in top result of my Google. Given the reputability of Azure doc, I was thinking to briefly outline how to make synchronous transactions within EDA. So, interested readers can be informed of their options and research it further, if they fancy. I can do it in a separate PR but beforehand, I wanted to know what's your advice? Do you think such a content is relevant for this page?

@ckittel sometimes business necessitates having a synchronous transaction within EDA. I couldn't find high quality advice in top result of my Google. Given the reputability of Azure doc, I was thinking to briefly outline how to make synchronous transactions within EDA. So, interested readers can be informed of their options and research it further, if they fancy. I can do it in a separate PR but beforehand, I wanted to know what's your advice? Do you think such a content is relevant for this page?

@ckittel what's your advice on this type of content?

I can do it in a separate PR but beforehand, I wanted to know what's your advice? Do you think such a content is relevant for this page?

Sorry for not responding to that in the first place.  I'd be interested to see a spike of this in a new PR if you have time.  Maybe start with just something really basic and we can grow it from there.  We'll see how much scope needs to tweak once I see what you are considering here.

Ok. I will take into account your comment. We can close this for now.


Maybe.concat and Maybe.concatMap

Problem
Elm does not have a generic implementation of higher order collection functions like map, filter, flatten/concat, etc. While this is not a problem per se it is useful to have the individual APIs available in a consistent way. This way you can generalize the API in your head when using it.
While, e.g., List.concat and List.concatMap exists, there is no Maybe.concat and Maybe.concatMap available.
Solution
Implement Maybe.concat and Maybe.concatMap in order to have a consistent API of both functions between List and Maybe.
Note
I read that you are strict about extending the core API and new functions should be proposed to *-extra first. While this makes sense for contributions that introduce additional concepts, this contribution adds already existing functionality to a place where it is missing. I think that having a consistent collection API is a strong feature and useful to have in the core API.
Anyway, ❤  Elm.

Some quick thoughts I have:
concatMap and andThen are the same function, and concat can be derived from it as andThen identity. So the value here would be mostly in the names of the functions for consistency across List and Maybe rather than in previously unavailable functionality.
In any case, @FRosner, these kind of changes need to be brought up on the mailing list. Can you bring this up on elm-dev and get some feedback from other folks?

You are totally right @lukewestby ¬_¬
So I guess I'll have to bring this up to the mailing list in terms of the consistency discussions (flatMap being called concatMap in List and andThen in Maybe).
Thanks for the comment.

Emerson
As these methods do different things, rather than the same things on different objects, it is almost confusing that they have the same names.


Feature Request: RSS Feed

I'd love to be able to subscribe to the videos in my RSS reader, so I can keep up with the episodes.
I'm currently just watching the free videos if that makes a difference, and the pro tier does offer that.
Thanks a lot!

We've actually got an Atom feed! If you paste our homepage into Reeder or Feedbin it should find the meta tag, otherwise:
https://www.pointfree.co/feed/atom.xml
Right now it's just a blurb and link to the page. Is that what you mean?

That worked for me!
I didn't know Feedbin could do that, I spend most of my time trying all the combos of /rss, /index.rss, etc. Didn't think to try /feed/atom.xml, but that's not your problem. 🙂
Closing this out now that it's solved, thanks!


MatGridList wrong gutterSize handling

Bug, feature request, or proposal:
Bug
What is the expected behavior?
A coherent use of the property
What is the current behavior?
The component is not handling in a coherent way the gutterSize property.
Starting with a numeric positive value, it works.
Starting with 0 as a number, nothing is being rendered, while it is if the starting configuration is '0px'. Binding the value to a model, the behaviour is strange:

starting from 1 and going to 0, nothing happens.

Moving from 0 to -1, the gutter is removed.

Going back to 0 nothing changes

Going back to 1 the gutter is properly restored.

What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-gxfazr
What is the use-case or motivation for changing an existing behavior?
I'm building a nested grid, and I need to set the gutterSize to 0 in order to keep everything in the right place.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 6.1.10
Angular Material 6.4.7
OS: Windows 10
TypeScript: 2.9.2
Browser: Chrome
Is there anything else we should know?

Hello,
I updated my demo to the last version of the packages, but the problem is still there (and I have the same issue in my application): link


"Circular dependency between the following tasks" when running tasks in a module using KSP

🐛 Describe the bug
When running ktfmtCheck or ktfmtFormat in a module using KSP I get the following error
Circular dependency between the following tasks:
:classes
+--- :compileJava
|    \--- :compileKotlin
|         +--- :kspKotlin
|         |    +--- :ktfmtFormatGeneratedByKspKotlin
|         |    |    \--- :kspKotlin (*)
|         |    \--- :ktfmtFormatGeneratedByKspTestKotlin
|         |         \--- :kspTestKotlin
|         |              +--- :classes (*)
|         |              +--- :compileKotlin (*)
|         |              +--- :ktfmtFormatGeneratedByKspKotlin (*)
|         |              \--- :ktfmtFormatGeneratedByKspTestKotlin (*)
|         +--- :ktfmtFormatGeneratedByKspKotlin (*)
|         \--- :ktfmtFormatGeneratedByKspTestKotlin (*)
\--- :processResources
     \--- :kspKotlin (*)

⚠ Current behavior
Getting above mentioned error when trying to run ktfmtCheck or ktfmtFormat
✅ Expected behavior
Code should either be checked or formatted without circular dependency issues
💣 Steps to reproduce
Reproducer project here
Download the above repo and run either ktfmtCheck or ktfmtFormat

Oh that's interesting 🤔  I suppose that's caused by how KSP is registering source sets that get picked up by ktfmt-gradle. Not sure why this causes a circ. dep though.

This also happens to latest versions of the com.google.protobuf plugins, which registers the generated classes under the main sourceSet.
To work around this, you can use the following build.gradle snippet to break the dependencies:
tasks.withType(com.ncorti.ktfmt.gradle.tasks.KtfmtBaseTask).configureEach {
  def dirs = []
  def buildDirectoryPath = project.layout.buildDirectory.asFile.get().toPath()
  source
    .matching { exclude { it.file.toPath().startsWith(buildDirectoryPath) } }
    .visit { if (it.isDirectory()) dirs.add(it.file) }
  source = files(dirs)
}

Can we get a repro of some sort?

I linked to a reproducer in my initial post but here it is again.
I tried adjusting the suggested snippet to the Kotlin DSL (since that's what the reproducer project is using) but I'm still seeing the same error.
tasks.withType<com.ncorti.ktfmt.gradle.tasks.KtfmtBaseTask>().configureEach {
    val dirs = mutableListOf<File>()
    val buildDirectoryPath = project.layout.buildDirectory.asFile.get().toPath()
    source
        .matching { exclude { it.file.toPath().startsWith(buildDirectoryPath) } }
        .visit { if (this.isDirectory) dirs.add(this.file) }
    source = files(dirs).asFileTree
}

Maybe I messed up the Groovy to Kotlin translation? 🤷

I linked to a reproducer in my initial post but here it is again.

Thanks for sharing. I'm quite low on capacity at the moment so I won't be able to fix this till the end of the month. Any contribution is more than welcome 🙏

For anybody else stumbling upon this problem, the following snippet works for me:
project.tasks.withType<com.ncorti.ktfmt.gradle.tasks.KtfmtBaseTask>().configureEach {
    val buildDirectoryPath = project.layout.buildDirectory.asFile.get().toPath()
    exclude { it.file.toPath().startsWith(buildDirectoryPath) }
}

For some reason, the default exclude("build/") does not actually exclude the build directory, but I don't know Gradle's internals enough to understand why.

I tried to fix it, but I failed. I will describe where I got so far so the others do not have to follow my steps.
The obvious idea was to exclude some Source Sets from ktfmt as it does not make much sense to run ktfmt on generated code anyway.
I tried to add excludeSourceSets property to KtfmtExtension and skip task generation for those source sets. Unfortunatelly, it does not work as the extension values are evaluated after the plugin is applied.

Thanks for the reproducer @WhosNickDoglio
I've fixed this in https://github.com/cortinico/ktfmt-gradle/pull/167
@yzhaoa if you could provide a repro for protobuf I could look also into that one.


Fix a crash if the isPassedByReference want to check the parent of a …

…parent that does not exist. #1016
Type: bugfix
Issue: Resolves #1016
Breaking change: no
The getParent on AbstractASTNode can return a null, if that happens we get a crash because the null is passed forward while it isn't useful.

Did you find a particular code sample that we could use in unit test to reproduce the error?


Bump transaction validation interval in TestGetBlockTransactions

#1265  👈
feature/proof-of-stake

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

Join @lazynina and the rest of your teammates on  Graphite


proxy: remove otel subscriber

Problem
For now, we only use logs in proxy. No opentelemetry/distributed tracing. Our current use of spans is also not particularly great for opentelemetry as we hold spans open for a long time.
While we don't have a span sink configured, all spans accumulate in memory (they eventually get dropped, but it's not good for memory fragmentation)
Also fixes #3912
Summary of changes
Remove the otel setup. Can be reverted in the future if we decide to introduce otel.
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

For now, we only use logs in proxy. No opentelemetry/distributed tracing. Our current use of spans is also not particularly great for opentelemetry as we hold spans open for a long time.
While we don't have a span sink configured, all spans accumulate in memory (they eventually get dropped, but it's not good for memory fragmentation)

We do have tracing configured and working in staging.


records: fixed record access based on community visibility.

closes https://github.com/inveniosoftware/react-invenio-deposit/issues/549

Currently the community's visibility is not automatically tied to the record's access. This is particularlly troublesome when there is a change in the  draft's community.
Therefore, we decided that, for now, the best place to update the record access was in the deposit reducer after the event SET_COMMUNITY is dispatched.


Distance - Distance rate with 4 decimal values are not shown correctly in expense report

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.60
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/50783
Action Performed:

Go to https://staging.new.expensify.com/home
Go to workspace settings- more features
Enable distance rates
Add rate with 4 decimal values eg: 0.9876
Go to LHN
Open workspace chat
Submit a distance expense selecting 4 digit decimal value distance rate
8.Open the expense report and note the distance rate

Expected Result:
Distance rate with 4 decimal values must be shown correctly in expense report
Actual Result:
Distance rate with 4 decimal values are not shown correctly in expense report
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/fdc94d87-cd34-4a20-a2ec-7c5c3fef7692
View all open jobs on GitHub

Production:
https://github.com/user-attachments/assets/3135ca18-34ba-4bcc-8b3e-ab83c4434320

Left a comment https://github.com/Expensify/App/issues/52342. I think that PR might be the cause.

I can't reproduce the issue in staging 🤔

Just managed to reproduce with the exact amount from the video

Confirmed that reverting https://github.com/Expensify/App/pull/50783 fixes the issue

Looking into a fix

We're reverting the offending PR.

Confirmed this is fixed in staging. Closing.


Added read deadline during ping to handle paused servers

During this PR, https://github.com/itzg/docker-minecraft-server/pull/1059, a contributor and I discovered that when the Minecraft server process was paused, the timeout passed to the mc-pinger's context was not timing out the ping operation.
Looking with the debugger at that point I discovered it's because it is blocked within the readPacket call. Apparently when a process is paused, its bound TCP port remains connectable, but being paused the ping response packet is never going to happen.

Makes sense, thank you!

Made a release with the fix, v0.2.2.


Support the systemd option setting for 'Restart' and 'SuccessExitStatus

Bug Number - none
Root Cause
Support the systemd option setting for 'Restart' and 'SuccessExitStatus
Reason for Regression
N/A
Resolution
Support the systemd option setting for 'Restart' and 'SuccessExitStatus,
just add each as a new key-value item into the Config.Option, such as
"Restart=on-success"
"SuccessExitStatus=1 2 8 SIGKILL"
Note, such options will be directly appended into the [Unit] of
the generated service config file, will not check their correctness.
GUI Changes
No
Release Notes
No
Unit Tests
Tested by example/logging/GoServiceExampleLogging.service:
The new options are added into systemd config file as wanted, and service
works as expected with the new settings:
rozen@angband:\~/github/service/example/logging$ go build

rozen@angband:\~/github/service/example/logging$ sudo ./logging -service install
rozen@angband:\~/github/service/example/logging$ sudo ./logging -service start

rozen@angband:\~/github/service/example/logging$ systemctl status GoServiceExampleLogging
● GoServiceExampleLogging.service - This is an example Go service that outputs log messages.
   Loaded: loaded (/etc/systemd/system/GoServiceExampleLogging.service; enabled)
   Active: active (running) since Fri 2019-05-10 10:01:24 PDT; 14s ago
 Main PID: 2442 (logging)
   CGroup: /system.slice/GoServiceExampleLogging.service
           └─2442 /home/rozen/github/service/example/logging/logging

rozen@angband:\~/github/service/example/logging$ sudo cat /etc/systemd/system/GoServiceExampleLogging.service
[Unit]
Description=This is an example Go service that outputs log messages.
ConditionFileIsExecutable=/home/rozen/github/service/example/logging/logging
Requires=network.target
After=network-online.target syslog.target

[Service]
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/home/rozen/github/service/example/logging/logging

Restart=on-success
SuccessExitStatus=1 2 8 SIGKILL
RestartSec=120
EnvironmentFile=-/etc/sysconfig/GoServiceExampleLogging

[Install]
WantedBy=multi-user.target`

Reviewers
kardianos dev.
Files:
service.go #edit
ervice_systemd_linux.go #edit
example/logging/main.go #edit

Coverage decreased (-0.07%) to 12.81% when pulling aa6bd8063c3748c66d12c1473c92d5f95d3b593c on RozenLin:systemd/dep into 0e5bec1b9eec14f9070a6f49ad7e0242f1545d66 on kardianos:master.


Don't push to gateway proxies when services are not visible from them

Please provide a description of this PR:
Fixes #39110

/ok-to-test

@henrysecond1: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
0af625bc8e684b90639058f46131add025b75a9f
link
true
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@henrysecond1 could you add a release not to releasenotes/notes directory?  Steps here

@GregHanson Thank you for letting me know. I added it


Caching issues

Hi,
I am using expressjs in my nodejs application. We have internationalization(supporting multiple languages) in our application. For this internationalization to achieve i used i18next with mongodb backend. when ever i update translations i used to reload the translations. It is working fine in my local machine. But in Linux environment it is misbehaving. like first time page refresh it is giving me correct name,but from next refresh of same page onwards giving me old data. In browser console also updated data only printing. So i approached i18next team to look into it. After debugging, they told that it might be a some cache issue related to express js . So i am posting here my problem. Kindly suggest me. i have been stagnated by this issue since 10 days.
i am using expressjs 4.12.4 version.
Thanks in Advance.

Hm, that is definitely weird. Have you tried the most recent express version to verify it is not a bug that has been fixed? If so, is it possible you can provide some code that demonstrates the issue so we can work together to resolve?

I'm not sure what exactly is going on, but I don't see you using res.render anywhere, which is the only thing that involves any kind of cache in Express. Can you elaborate on what cache you're running into? Are those modules performing some kind of cache?

i am using i18next module to load translations from mongodb. whenever a change is happened for translations i need to update those translations into my application(say main web application) with out server restart. here what i am doing is i will update translations from one application(say internal web application). When that update happens i am triggering one post  request to reload those translations in my main application. Hope you understand what my requirement is. This requirement absolutely working fine in my windows local machine. but when i moved to linux, giving me problem. I printed those translations via console.log. it is printing updated data in both browser and node consoles. but when i refresh the browser url, still it is showing old translations. if I try to modify the same translation twice or trice then it is giving one time one translation and next time old translation. Like this it is happening.  Hope you understand what is my problem. And sorry for my bad english. Kindly suggest me on this

Hi @aniinprni I'm not sure I understand the issue, mainly because I'm not familiar with i18next module. Can you elaborate on what cache you're running into? Are those modules performing some kind of cache? The only caching in Express itself is really in res.render, but I don't see you having that anywhere in your code above.

Ok thank you dougwilson


Mod conflict KAX and FireSpitter.

About to remove:
Done!
About to install...

KerbalAircraftExpansion v2.5.1
KerbalConstructionTime 1.1.7

Downloading "https://kerbalstuff.com/mod/391/Kerbal Aircraft Expansion (KAX)/download/v2.5.1" (libcurl)
Downloading "https://kerbalstuff.com/mod/125/Kerbal Construction Time/download/1.1.7" (libcurl)
Oh no! We tried to overwrite a file owned by another mod!
Please try a ckan update and try again.
If this problem re-occurs, then it maybe a packaging bug.
Please report it at:
https://github.com/KSP-CKAN/CKAN-meta/issues/new
Please including the following information in your report:
File           : GameData/Firespitter/Resources/Firespitter.cfg
Installing Mod : KerbalAircraftExpansion v2.5.1
Owning Mod     : Firespitter
CKAN Version   : v1.6.16-0-g0000000 (beta)
Your GameData has been returned to its original state.
Error!

I see 2 ways to address this. Either change the depend of https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/KerbalAircraftExpansion.netkan to "Firespitter" and get the full install. Or change the install stanza of https://github.com/KSP-CKAN/NetKAN/blob/master/NetKAN/FirespitterCore.netkan to install "Firespitter/Resources/Firespitter.cfg".
In the case of the former, the netkan was changed specifically to not install full "Firespitter" see: e16d4507cf3875bf19a16e0d9aab1af6a8efe221 (hope that links the way I think it should).
I would think changing KAX' netkan (depends and install) would leave less room for possible future conflicts.

This also relates back to #472, letting better hands than mine deal with it.

With KSP-CKAN/NetKAN#1264 complete it would be nice to know if this issue persists.

Should be resolved, please re-open if that is not the case.


Cannot Query Mongoid/Mongo Hash via RailsAdmin

I currently have a model like the follow
class Object
  include Mongoid::Document
  include Mongoid::Attributes::Dynamic

  field :data, :type => Hash
end

I would really like the ability to query the data field but Hash doesn't seem to be supported by rails_admin. Is there any fix or plugin in the community to solve this problem? Please advise. Thank you.

I'm facing the same issue. Is there a way to solve it ?
Issue - Not able to update mongoid hash field in rails admin (1.1.1)
Please advise. Thank you


Anonymous Accounts and Public Room Access in the Frontend

In the frontend, check if we should create an anonymous account. If a user opens the app (via deep link or in the browser) and the URL contains a reportID (e.g., **/r/12345**), verify that there is no **authToken present.

If an **authToken exists, we do nothing and just let the app handle the public report as we do it today. If the room is not public (we don't load the report data into Onyx), we just show the existing NotFound page.
If no authToken is found, send a request to the API using the OpenReport command to determine if the room is public to create an anonymous account (this will be the first request made by the App).

Display the splash screen to block the UI (don’t show the sign-in page) while waiting for the server response.
If the app is offline, we show the sign-in page as we do today. The OpenReport request will be made when the app is online again automatically as happens today.

More details in the design doc.
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012a1316d5d77a5ca3
Upwork Job ID:<PHONE_NUMBER>468957184
Last Price Increase: 2023-05-02

Job added to Upwork: https://www.upwork.com/jobs/~012a1316d5d77a5ca3

Triggered auto assignment to @mallenexpensify (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero process steps for feature requests for more details.

Triggered auto assignment to Contributor Plus for review of internal employee PR - @parasharrajat (Internal)

Still on hold

Still on hold

On hold

Is this ready to be paid?!? I think so.  I had to create a new job for you @parasharrajat
https://www.upwork.com/jobs/~014b75e0605899f46c

Thanks @parasharrajat .  The PR hit production two weeks ago so I'm guessing this can be closed
https://github.com/Expensify/App/pull/18293#issuecomment-1570555960

Hi @mallenexpensify, this was a special issue where we implemented the anonymous users feature for a deadline. @allroundexperts helped me to implement the frontend details in record time and @mananjadhav helped me to review it too. Since more than one week has passed since the PR was deployed, can you handle the respective payments?

@mallenexpensify Can you please help with the payout for this one?
cc - @marcochavezf

Hired @allroundexperts and @mananjadhav , price is $1000, let me know if that's not correct. can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~014b75e0605899f46c

Accepted @mallenexpensify.

@mananjadhav and @allroundexperts paid $1k each, closing.


[stable/fluent-bit] No service created

Describe the bug
Error when installing fluent-bit chart which is looking for a service endpoint called "fluentd"
Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"15", GitVersion:"v1.15.0", GitCommit:"e8462b5b5dc2584fdcd18e6bcfe9f1e4d970a529", GitTreeState:"clean", BuildDate:"2019-06-20T04:49:16Z", GoVersion:"go1.12.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.8", GitCommit:"4e209c9383fa00631d124c8adcc011d617339b3c", GitTreeState:"clean", BuildDate:"2019-02-28T18:40:05Z", GoVersion:"go1.10.8", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/fluent-bit
What happened:
After deploying the chart, I noticed it was getting an error from the pods, looking for a service named "fluentd" which does not exist.
helm install --name fluentd-bit stable/fluent-bit --set=backend.es.host=elasticsearch-master --namespace logging

fluentd pod error logs :
[2019/07/04 01:13:18] [error] [out_fw] no upstream connections available
[2019/07/04 01:13:18] [ warn] net_tcp_fd_connect: getaddrinfo(host='fluentd'): Name or service not known
[2019/07/04 01:13:18] [error] [out_fw] no upstream connections available
[2019/07/04 01:13:19] [ warn] net_tcp_fd_connect: getaddrinfo(host='fluentd'): Name or service not known
[2019/07/04 01:13:19] [error] [out_fw] no upstream connections available

services in the logging namespace:
kubectl get svc --namespace logging
NAME                            TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)             AGE
elasticsearch-master            ClusterIP   <IP_ADDRESS>    <none>        9200/TCP,9300/TCP   19h
elasticsearch-master-headless   ClusterIP   None             <none>        9200/TCP,9300/TCP   19h
kibana

status of the fluentd-bit helm service:
helm status fluentd-bit
LAST DEPLOYED: Thu Jul  4 12:01:51 2019
NAMESPACE: logging
STATUS: DEPLOYED

RESOURCES:
==> v1/Pod(related)
NAME                          READY  STATUS   RESTARTS  AGE
fluentd-bit-fluent-bit-4hn7d  1/1    Running  0         81m
fluentd-bit-fluent-bit-cclgm  1/1    Running  0         81m
fluentd-bit-fluent-bit-pdwmm  1/1    Running  0         81m

==> v1/Secret
NAME                                  TYPE    DATA  AGE
fluentd-bit-fluent-bit-es-tls-secret  Opaque  1     81m

==> v1/ConfigMap
NAME                           DATA  AGE
fluentd-bit-fluent-bit-config  6     81m
fluentd-bit-fluent-bit-test    2     81m

==> v1/ServiceAccount
NAME                    SECRETS  AGE
fluentd-bit-fluent-bit  1        81m

==> v1/ClusterRole
NAME                    AGE
fluentd-bit-fluent-bit  81m

==> v1/ClusterRoleBinding
NAME                    AGE
fluentd-bit-fluent-bit  81m

==> v1beta1/DaemonSet
NAME                    DESIRED  CURRENT  READY  UP-TO-DATE  AVAILABLE  NODE SELECTOR  AGE
fluentd-bit-fluent-bit  3        3        3      3           3          <none>         81m

NOTES:
fluent-bit is now running.

It will forward all container logs to the svc named fluentd on port: 24284

What you expected to happen:
I would have expected the chart to create all components needed for it to run, including the service that its looking for?
How to reproduce it (as minimally and precisely as possible):
Not sure what else to say in here but, all i have done is the install and passed the elastic service name and namespace. But there is no service called fluentd created.
helm install --name fluentd-bit stable/fluent-bit --set=backend.es.host=elasticsearch-master --namespace logging

Anything else we need to know:

The default backend type is forward which tries to forward the messages to fluentd.
Just include --set backend.type=es and it should work


Remove do/end

Given that let _ = foo() in bar() is 100% identical to do foo(); bar(); end in compiled form, that section of the language is no longer necessary.

This should pretty much boil down to deleting transform/block.js, parser/block.js, and the references to those files.


gateway: Sync up the experimental conformance test

This is to fix the below issue, which was missed in the PR https://github.com/cilium/cilium/pull/31005.
     experimental_conformance_test.go:117: error creating experimental conformance test suite: no kind is registered for the type v1.CustomResourceDefinitionList in scheme "k8s.io/client-go/kubernetes/scheme/register.go:80"
--- FAIL: TestExperimentalConformance (0.00s)

Fixes: https://github.com/cilium/cilium/pull/31005
Signed-off-by: Tam Mach<EMAIL_ADDRESS>

/ci-gateway-api

/test


[Apple Notes]...

Extension
https://raycast.com/raycast/apple-notes
Raycast Version
1.82.5
macOS Version
Version 15.0 (24A335)
Description
Error:
Error: Command failed with exit code 1: osascript
51:122: execution error: Not authorised to send Apple events to Notes. (-1743)
    at uA (/Users/macas/.config/raycast/extensions/8c7187e0-f64c-4dba-ba77-b1cb543256d6/index.js:32:3080)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /Users/macas/.config/raycast/extensions/8c7187e0-f64c-4dba-ba77-b1cb543256d6/index.js:187:1422

Steps To Reproduce

Run the "Search Notes" function in Raycast.
Select "View Note" from the "Actions" menu.
No preview appears, and an error message is displayed.

Current Behaviour
No response
Expected Behaviour
No response

Could you check if Raycast has the automation permission enabled in System Settings > Privacy & Security > Automation?

@thomaslombart Thank you so much! I finally solved the problem!