Update appsettingsSQLite.json

Update ConnectionStrings in appsettings.json file to correspond to GetConnectionString() in the ConfigureServices method in the Startup.cs file.

@flaviomarcilio  I think you're right. @wadepickett  please verify as you made the same change in the RP version.

Thanks @flaviomarcilio!
@Rick, the connection string miss match was one of issues I corrected in the Razor Pages series.  It did originally have that same issue.  Good to check though, thanks.


How to upgrade to RC>2

Given:
import { bootstrap }    from '@angular/platform-browser-dynamic';
import {HTTP_PROVIDERS} from '@angular/http';
import {ROUTER_PROVIDERS} from '@angular/router-deprecated';
import {PlatformComponent} from './components/platform/platform.component';
import {AuthService} from './services/auth.service';
import {CookieService} from 'angular2-cookie/core';
import {IncrementIndexPipe} from './pipes/incrementIndex';
import {TruncatePipe} from './pipes/truncate';
import {HttpClient} from './services/http-client';
import { provide, PLATFORM_PIPES } from '@angular/core';

// import rxjs
import 'rxjs/add/observable/throw';
// Operators
import 'rxjs/add/operator/catch';
import 'rxjs/add/operator/debounceTime';
import 'rxjs/add/operator/distinctUntilChanged';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/switchMap';
import 'rxjs/add/operator/toPromise';
import 'rxjs/add/observable/of';
import 'rxjs/add/observable/from';

bootstrap(PlatformComponent,
    [HTTP_PROVIDERS, ROUTER_PROVIDERS, AuthService, CookieService, HttpClient,
        provide(PLATFORM_PIPES, {
            useValue: [
                IncrementIndexPipe,
                TruncatePipe
            ],
            multi: true
        })
    ]);

I'm now required by the upgrade to use "NgModule".
It's nice to see how it is built from scratch in the tutorials, but it is not immediately clear how to migrate existing code.

Did you check our migration guide?

I just now found: https://angular.io/docs/ts/latest/cookbook/rc4-to-rc5.html That's the one you mean?

Yes.

I just wanted to take this moment to complain. I'm having the deprecated router, so I will have to find out how to upgrade that and learn how to do routes. Cannot npm install the new modules because of angular2-in-memory-web-api unmet dependencies, and now need to learn about NgModule.
It really is a drag to keep up.


Add X509_self_signed(), splitting doc/man3/X509_sign.pod

This off-loads some topics that can be handled independently of PR #10587:

Move doc of X509{,_REQ,_CRL}_verify{,_ex}() from X509_sign.pod to new file X509_verify.pod
Add X509_self_signed(), extending and improving documentation and tests and using it in cmp_util.c

[x] documentation is added or updated
[x] tests are added or updated

It looks like that this PR won't be needed because the full PR #10587 will be approved soon...


Suggestion: Alternate Approach to CodingKeys Creation with Custom Mapping Support

This Pull Request introduces a new way for creating CodingKeys with the support for custom mapping of property names.
Key changes:

A new Swift Macro, @CodingKeysMacro<Type>, has been introduced to automate the creation of CodingKeys.
The Macro supports custom string mappings for properties which is achieved through an optional dictionary parameter.
The Macro is capable of handling both the default and custom scenarios, thus preserving the original behavior while providing enhanced functionality.

Custom Mapping
Using this library is super simple. Here's an example with custom mapping:

@CodingKeysMacro<Address>([
    \.buildingNumber: "building_num"
])
struct Address: Codable {
    var buildingNumber: String
    let city: String
    let cityPart: String
    let district: String
    let country: String
    let registryBuildingNumber: String?
    let street: String
    let zipCode: String
}

The example above will generate the following CodingKeys:

enum CodingKeys: String, CodingKey {
    case buildingNumber = "building_num"
    case city
    case cityPart
    case district
    case country
    case registryBuildingNumber
    case street
    case zipCode
}

Without mapping
Using this library is super simple. Here's an example with custom mapping:

@CodingKeysMacro<Address>()
struct Address: Codable {
    var buildingNumber: String
    let city: String
    let cityPart: String
    let district: String
    let country: String
    let registryBuildingNumber: String?
    let street: String
    let zipCode: String
}

The example above will generate the following CodingKeys:

enum CodingKeys: String, CodingKey {
    case buildingNumber
    case city
    case cityPart
    case district
    case country
    case registryBuildingNumber
    case street
    case zipCode
}

This is cool! Reminds me of one of my first open source projects https://github.com/krzysztofzablocki/PropertyMapper


Add Vouch as validator client option

Was just wondering if there are plans to add Vouch as validator client option. It's not as common for solo stakers but I think it's still interesting as an option if you run multiple beacon nodes.

Vouch behaves very very differently, so I've decided not to shoehorn it in here. vouchdirk-docker is the repo that handles Vouch. It configures for 2 Vouch and 3/5 Dirk and users can then deploy on five instances across five regions, back-ending to N CL:EL which can if desired be run with Eth Docker
For users that want a single signer, web3signer is a better choice IMO. The allure of Vouch is a) multi-client and b) threshold signing. It doesn't support keymanager
If Vero VC starts supporting keymanager, then that would be a good choice for multi-client with web3signer.

Makes sense, didn't know about https://github.com/CryptoManufaktur-io/vouchdirk-docker, but looks like a good solution.


Buffer/Memory containment issues.

Just finished building from git repo clone and getting a number of catastrophic failures all related to memory/buffer overflows or violations.
Running it on kubuntu 19.10.
I'm just starting to try and collect information to help troubleshoot it but I wanted to post a notice about it.

did you build 0.6 branch? or master?
in 0.6, some memory issues have been already fixed.

I used master. I'll go back and check.

Yes. I'd used master. (Also using snap of 0.5.4) Both suffer memory issues.
I just checked out 0.6 and tried to build but got some fatal errors.
Before I clutter the landscape, do you want logs or reports on this would you prefer time to finish addressing the known issues? (i.e. Me just wait.)

Sorry for too late reply... any data/hints from you are very appreciated, thank you in advance..

I'll feedback what I can.

May I suggest two things (I think.)

Suggest seeing if there's a way to flag each malloc call.
Here's what I saw in my trace:

writev(2, [{iov_base="malloc(): invalid size (unsorted"..., iov_len=33}, {iov_base="\n", iov_len=1}], 2malloc(): invalid size (unsorted)
) = 34
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ff1411aa000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
getpid()                                = 12152
gettid()                                = 12152
tgkill(12152, 12152, SIGABRT)           = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=12152, si_uid=10999} ---
+++ killed by SIGABRT (core dumped) +++

If there was a way to point out at what point the program is when this happens, it might make it easier to sort out.

Include a 'debug &&|| verbose' flag in the invocation.

If we can eliminate sections of operations, it might narrow it down.

Thank you for the feedback.
Did you built the app with OGDF support as well?
And what should one do in order to reproduce the crash? I.e. load some kind of graph etc.?

This specific instance was using the distributed snap.
I'm going to build the app from the master branch and from the 0.6 branch (flags to set for the builds more than welcome) to then see what I'll get.
One of the places that it craps itself constantly is when, if the gui comes up, if I roll over the second menu item, that crashes quickly.

I just built from the 0.6.x branch and ran it.
The gui comes up and when I try to open one of the examples I get:
./bin/qvgeapp
*** buffer overflow detected ***: ./bin/qvgeapp terminated
Aborted (core dumped)

I have a log of the build and crash if it helps.
I expect to try to look at the build log a little later and see if there's any warning signs that should have told me anything.

Hi,
are you expecting the same issues with the latest (0.5.5) version too?

I'l give it a try in a second.

hopefully fixed for 0.6

I know I didn't help enough. I've tried building it and each attempt fails with a buffer error.
Until I know better, I'm going to say that it's not entirely on "your" side of the equasion.
I hope to get some more time to work on soon.


Be more descriptive in assertThat(Throwable) by including the stacktrace

Summary
I was happy to find an assertThat specifically for Throwable, but it ignores the stacktrace contained within. It should describe the value using the stacktrace instead of simply .toString().
Example
    public static void main(String[] args) {
        Exception e;
        try {
            throw new RuntimeException();
        } catch (RuntimeException e2) {
            e = e2;
        }

        assertThat(e).isNull();
    }

Output:

Exception in thread "main" org.junit.ComparisonFailure: expected: but was:<java.lang.RuntimeException>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at Test.main(Test.java:35)

Workaround
To work around it I have to manually describe it using a custom utility (in this case I used Apache Commons Lang):
assertThat(e).as(ExceptionUtils.getStackTrace(e)).isNull();

Output:

Exception in thread "main" org.junit.ComparisonFailure: [Exception:
java.lang.RuntimeException
at Test.main(Test.java:30)
] expected: but was:<java.lang.RuntimeException>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at Test.main(Test.java:35)

That's a good idea, I think we should limit the stack trace to a few lines by default for readability but allow users to override that behavior, WDYT ?

Excellent!

I'll work on it ;-)

That's a good idea, I think we should limit the stack trace to a few lines by default for readability but allow users to override that behavior, WDYT ?

It seems like getting stack trace by default when we just execute assertThat(e).isNull();.
BUT how to allow users to override tthe behavior? I'd like to hear your advice ;-)

That's a good candidate to put in the org.assertj.core.configuration.Configuration

Option1:
Exception in thread "main" org.opentest4j.AssertionFailedError: [java.lang.RuntimeException
	at org.assertj.core.util.Throwables_Description_Test.main(Throwables_Description_Test.java:11)
]
Expecting:
 <java.lang.RuntimeException>
to be equal to:
 <null>
but was not.

Option2:
Expecting:
 [java.lang.RuntimeException
	at org.assertj.core.util.Throwables_Description_Test.main(Throwables_Description_Test.java:11)
 ]
to be equal to:
 <null>
but was not.

@bbottema @joel-costigliola
We consider two representation format for this case. which one is better?

I prefer Option 2 (without []), option 1 is a bit confusing as we display the exception first and then we repeat it with a short description, somehow one might think both are different.


Updated DatabaseFailedJobProvider

Updated DatabaseFailedJobProvider to return object(s) instead of arrays as defined by the FailedJobProviderInterface.
Fixes a bug that caused queue:retry to fail when using mongodb for failed jobs.
Resolves #1417 and #1373

@jenssegers why is this not being accepted?


[HUDI-7559] [1/n] Fix RecordLevelIndexSupport::filterQueryWithRecordKey

RecordLevelIndexSupport::filterQueryWithRecordKey() throws a NPE if the EqualTo query predicate is not of the form AttributeReference = Literal. This is because RecordLevelIndexSupport:::getAttributeLiteralTuple() returns null in such cases which is then derefercend unconditionally.
This bug was rendering the functional index to not be used even when the query predicate had spark functions on which functional index is built. Hence these column-stats based functional index was not pruning files.
This PR makes the following minor changes.

Move some methods in RecordLevelIndexSupport into an object to make it static (to aid in unit testing)
Fix filterQueryWithRecordKey() by checking for null return values from the call to getAttributeLiteralTuple
Add unit tests in TestRecordLevelIndexSupport.scala

Change Logs
This PR makes the following minor changes.

Move some methods in RecordLevelIndexSupport into an object to make it static (to aid in unit testing)
Fix filterQueryWithRecordKey() by checking for null return values from the call to getAttributeLiteralTuple
Add unit tests in TestRecordLevelIndexSupport.scala

Impact
Bug fix.
Risk level (write none, low medium or high below)
None
Documentation Update
None
Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

cc: @codope Please review. This is the first PR in a series of fixes required to prune files (and enable data skipping) using functional index based on column stats.


Reformat README json to use 2 space indents

Json in README code blocks is displayed in browser with 8-wide tabs which makes it hard to read.
This PR reformats them to use 2 space indents instead.

FYI, this seems to be the same issue as https://github.com/mholt/caddy-ratelimit/issues/1.

Many editors support editor config
.editorconfig file in the root might be picked up by the editor automatically:
[README.md]
indent_style = space
indent_size = 2

Tab width is a rendering preference. GitHub and other editors let you customize the width, and I'm not interested in changing to spaces because everyone has different opinions on this, but at least tabs let each user configure them.

It was not about the editor. It is about what you see when you open the repository web page page. First thing you see, pretty much.

If you've changed your tab width settings on GitHub to 2 and it's still rendering them as 8-wide, then that's probably a bug in GitHub...

Checked css, github does set tab-size css for code files but not for <pre> tag in rendered html from markdown.
Does the setting work for you there? I guess I can try to send bug report to github.

As I've said in the other thread https://github.com/mholt/caddy-ratelimit/issues/1#issuecomment-810534882, I use the https://github.com/sindresorhus/refined-github browser plugin which does fix this. But yeah, it would make sense to ask Github to fix this.


I can't use tokensOfOwner in my contract

Why can't i use tokensOfOwner in my contract?

You can reference it like this
    IERC721AQueryable token = IERC721AQueryable(address(this));
    uint256[] memory _tokensOfOwner = token.tokensOfOwner(_owner);

   // now you can use or return this array ===>   _tokensOfOwner

Thanks a lot but why i cant use it without interface? Because i can use _safeMint without an interface. Im a self-learner and im not native at English so i mostly learning with asking instead of reading docs.

Because its an external function vs a public or internal function

function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

Your already getting the tokens by owner using tokensOfOwner(_addr) ?? If they exist you have met the requirement for "... can claim"
also ownerOf is a public function so you dont need to add LKAJ.ownerOf(...) just ownerOf(...)

I deleted my post when i realised that and you instantly replied :D thanks anyway

Best practice is not to call tokensOfOwner on chain. It is very gas expensive.
This is why we made it external.
Call it off-chain, and pass back only the data you need into another function to verify it.


Support hint >= 0.5.0

This fixes mueval for newer version of hint that removed glasgowExtensions.
It should work as it did before and make it possible to put lambdabot back on stackage.
#14

ping

:+1:

I contacted Gwern via email and he said he passed the maintainer baton to @chrisdone. I've been unsuccessful so far to reach @chrisdone.

:fireworks:


Return a bad exit status if the command does not exist.

At this time a script has no idea if something failed if using octopress to do tasks because Octopress command does not return anything but 0 when a command does not exist.

Ah, yes. I need to fix this thanks for the report!


[zip] Handle symbolic links

With symlinks option it is now possible to create a zip file that stores symbolic links to the archive

Checklist

[x] I've run bundle exec rspec from the root directory to see all new and existing tests pass
[x] I've followed the fastlane code style and run bundle exec rubocop -a to ensure the code style is valid
[x] I've read the Contribution Guidelines
[x] I've updated the documentation if necessary.

Motivation and Context
Fastlane comes with a Zip action that enable users to zip files and folders. But it does not handle symbolic links as links, but instead it include all linked files. This is not wanted when the folder to zip already contains the linked files.
Description
I have improved the already existing Zip action to control whether symbloic links should be treated as symbolic links or not.
By default the behaviour of the action hasn't changed. By setting symlinks: true the user will get a zip file that can contain symbolic links.
I tested this on my build system by creating a copy of the zip action and included it in my repo. It works as expected :)

I signed it!

I signed it!

Why is this PR blocked? I need this functionality and the code work and will help others.

Where does it say it is blocked? Until now only nobody had the time to review, test and merge it.


Investigate making the number of threads in the Azure Functions Python Worker thread pool configurable

Currrently the Azure Functions Python Worker restricts the number of threads in the default thread pool to 1. We want to experiment with possibly offering a configurable values for the customer to change this to a higher value.
There is already a detailed discussion here: https://github.com/Azure/azure-functions-python-worker/issues/236 if it makes sense to allow multiple threads in the Python Worker thread pool.
This is the line of code which has to be changed.
https://github.com/Azure/azure-functions-python-worker/blob/6068092982479932f1d2d3c315ee6835cdeac8c1/azure/functions_worker/dispatcher.py#L56

Thanks for linking to the thread. This is the missing piece of information for me:
https://github.com/Azure/azure-functions-python-worker/issues/236#issuecomment-440433382
We already have a solution for I/O bound code with asyncio. If CPU-bound workloads can't be solved by threading, we probably don't need to investigate this too much. Increasing the worker process count is probably the best solution when running on multi-core compute and the overhead of extra processes is justified.

@anthonychu I am wondering if it still makes sense to investigate this for cases when the underlying api's do not implement async equivalents but there are I/O bound calls - if a single worker is running on multiple threads that might help ? I am assuming when we are asking customers to implement their own thread pool thats what we are hoping will help ?
Since the implementation looks to be pretty simple - we should be able to test this out fairly easily ? What do you think ?


change interceptors property/parameter from Iterable to List

Interceptors should have a guaranteed order, this was only partially fixed in #77 (see here. The remaining places should use lists, too.

Done.


Trition Issues in Running the Code Locally

Hey, thanks for sharing the code for the repository. I ran into the following issue while trying to run the code on a remote server:

Can you suggest a possible resolution for the issue?

Nvm, I found the specific kernel code is not meant to be run on a v100 GPU


build: use semantic release to control conditional deployment

Right now, the Travis file dictates that the deploy step will only be run for the main branch. However, the only command we run during the deploy step is to invoke semantic release. Semantic release also dictates that it will only run on certain branches, so it should be sufficient for controlling the conditional deployment.
We want to deploy on multiple branches in order to publish release candidates from our pre-release branch, so this commit enables Travis to run the deploy step on each branch and lets semantic release control which branches are actually deployed from.

:tada: This PR is included in version 0.0.2-rc.1 :tada:
The release is available on npm package (@v1-rc dist-tag)
Your semantic-release bot :package::rocket:


estimate gas limit again on a new block for confirm transaction view if a transaction fails to an out of gas issue

already done


allow extension config for workspace (specially when working in a monorepo)

when I open a monorepo in vscode which has everything in it (FE/BE/deployment scripts),
vscode scans the entire repo and start all extensions it think I'll need but in reality I'll only be working with a few handful.

so here it fired up
ts, yaml, k8s, helm, go, rust, python whereas in reality at one point of time I'm only working with one language or maybe 2, but do I need a python language server running all the time if I only have a simple script which is there to do something rarely maybe generate some random data. do I need ts, eslint, prettier if I'm only working on BE and someone else is writing frontend.
so if there is a config which I can maintain and quickly toggle from command panel
{
  // globally enabled in the workspace
  "extensions.enabled": ["trunk"],
  // opt in settings config which I can toggle from command panel
  "extensions.configMap": {
    "backend": {
      "extensions.enabled": ["gopls", "go"]
    },
    "cdk/tooling": {
      "extensions.enabled": ["terraform", "k8s", "python"]
    },
    "frontend": {
      "extensions.enabled": ["typescript", "eslint"]
    }
  }
}

related: https://github.com/microsoft/vscode/issues/15611
another issue with the solution in this issue is that workspace wise extensions config is stored in local storage cache which doesn't allow to sync it across workspace of version track it.

/duplicate
Please try out our new profiles feature - https://github.com/microsoft/vscode/issues/116740 which is in preview.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


feat: ✨ Add link to flagged object in admin

Co-authored-by: Abhyudai<EMAIL_ADDRESS>fixes #36

Thanks @TSolo315


Selectable link types to todoist tasks

Request from slack community:
i might suggest having web, app or both links as options. i prefer using only app links.

solved with #23


Pass testinfra_dir to testinfra

If molecule is configured with testinfra_dir in molecule.yml,
it does not use this directory when executing tests.  Updated
molecule to do so.

LGTM!


Script fails: returned non-zero exit status 1

Hey,
i get this error on post-consume (The *** are only for more privacy):
Command '['/usr/src/paperless/scripts/app/main.py', '140', '***_NTF_1.1.4.pdf', '/usr/src/paperless/media/documents/originals/***/***/***/***_Posteingang_03.pdf', '/usr/src/paperless/media/documents/thumbnails/0000140.webp', '/api/documents/140/download/', '/api/documents/140/thumb/', '***', 'Posteingang']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "/usr/local/lib/python3.12/site-packages/celery/app/trace.py", line 453, in trace_task

    R = retval = fun(*args, **kwargs)

                 ^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/celery/app/trace.py", line 736, in __protected_call__

    return self.run(*args, **kwargs)

           ^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/usr/local/lib/python3.12/site-packages/asgiref/sync.py", line 327, in main_wrap

    raise exc_info[1]

  File "/usr/src/paperless/src/documents/tasks.py", line 148, in consume_file

    msg = plugin.run()

          ^^^^^^^^^^^^

  File "/usr/src/paperless/src/documents/consumer.py", line 632, in run

    self.run_post_consume_script(document)

  File "/usr/src/paperless/src/documents/consumer.py", line 344, in run_post_consume_script

    self._fail(

  File "/usr/src/paperless/src/documents/consumer.py", line 151, in _fail

    raise ConsumerError(f"{self.filename}: {log_message or message}") from exception
    ```

    Any ideas what i am doing wrong here?

It seems like the post consume script errored out, although, the cause isn't evident from the log snippet you provided. Could you provide the full logs from that post consume task? I would expect the lines before the above traceback to be more useful. Feel free to redact anything you need.
Alternatively, you can also try running the below command that failed manually from inside the docker container.
/usr/src/paperless/scripts/app/main.py 140 ***_NTF_1.1.4.pdf /usr/src/paperless/media/documents/originals/***/***/***/***_Posteingang_03.pdf /usr/src/paperless/media/documents/thumbnails/0000140.webp /api/documents/140/download/ /api/documents/140/thumb/ *** Posteingang

I get this error:
11/05/2024 05:22:11 PM ERROR Missing DOCUMENT_ID

I think the call does not work with just putting the first argument as document id there:
main.py 180

main.py is expecting the document id as env:
if __name__ == '__main__':
    LOGLEVEL = os.environ.get('LOGLEVEL', 'INFO').upper()
    logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s',
                        datefmt='%m/%d/%Y %I:%M:%S %p',
                        level=LOGLEVEL)
    DRY_RUN = strtobool(os.getenv("DRY_RUN", "false"))
    if DRY_RUN:
        logging.info("DRY_RUN ENABLED")
    run_for_document(os.getenv("DOCUMENT_ID"))

@maxbec According to the paperless-ngx docs, the script is executed with these arguments as environment variables when the post-consume script runs.
If this worked after you exported the environment variable and executed it manually, I am curious what your initial failure was when paperless tried to execute it. It should not have been the same error as paperless would have executed the script with the correct environment variable set.
Are the failures with the script running in the post-consume context still occurring for you? If it is, you may be able to find the full traceback in the logs section.

I now have the problem that it cannot find openai...
[2024-11-05 19:46:10,286] [WARNING] [paperless.consumer]   File "/usr/src/paperless/scripts/app/main.py", line 9, in <module>
[2024-11-05 19:46:10,286] [WARNING] [paperless.consumer]     from openai import OpenAI
[2024-11-05 19:46:10,287] [WARNING] [paperless.consumer] ModuleNotFoundError: No module named 'openai'

I think there is a problem with my init file. But i dont know why. Here are the rights
-rwx------  1 root root  41 Aug 17 02:41 openai.sh

@maxbec Try changing the permissions for both openai.sh and the init directory that the file is in to 755. That should work regardless of what user is executing it. That is also the permissions on my installation.
If it works, let me know and I will add a note about it in the documentation in case others run into this.

You are the man. It worked! Thank you.


My server can't upload the plugin and I get an error..

Hello!
A few days ago I originally downloaded Block Particles, then removed it from my server.
I then redownloaded it and now it won't upload to the server and I get this error:
https://pastebin.com/tDeqRR3e
How can I fix this?

Use Java 8

I installed it and it's still not working.

What does the server console look like during startup?
If you have an existing blockparticles that didn't load, remove that folder.
Does the BlockParticles folder get created under the plugins/ folder after a server restart along with 2 yml files?
Please share the startup of the server so we can see what may be causing it.  Saying it isn't working isn't helpful actually - need to see the facts on what exactly isn't working. :-)

So, I started up the server and got the same error, But it's still showing that I have Java 7, While I just downloaded Java 8, enabled it and I checked, then restarted my PC. When I checked, it says the version is the current one out.
I have no idea why it's doing this. The error is here: https://pastebin.com/aZJTFgY2
I also apologize for this, I'm still new to the whole plugin system thing. :P
The Java verison right now I have is:
Java(TM) SE Runtime Environment (build 1.8.0_141-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.141-b15, mixed mode)

if you never uninstalled the old version and installed the new version it explains why the server still starts but is using it.
If after  you installed Java 8, you did not change the startup script or the environment settings to use the new Java version, that would also explain why Java 7 is still being called.

Problem fixed, Thank you! Java 8 was installed onto the server successfully.


Import fungal taxon constraints

Currently FAO has no TCs, coordinate with FAO to at least get a TC on the root class 'fungal structure' to Fungi

Since @mah does FAO now

I think this is done:
$ curl -L -s $OBO/go/imports/fao_import.owl | egrep -A1 -B5 'someValuesFrom.*NCBITaxon'

    <owl:Class rdf:about="http://purl.obolibrary.org/obo/FAO_0000001">
        <rdfs:subClassOf>
            <owl:Restriction>
                <owl:onProperty rdf:resource="http://purl.obolibrary.org/obo/RO_0002160"/>
                <owl:someValuesFrom rdf:resource="http://purl.obolibrary.org/obo/NCBITaxon_4751"/>
            </owl:Restriction>

Note that FAO only has the one TC, on root. But any time FAO adds more, we should automatically inherit it
@balhoff I think this can be closed?

Agree.


Winget does nothing on a clean Win11Pro install.

Brief description of your issue
running winget commands such as winget install firefox does nothing.   It shows a blue spinner for a moment and then exits to prompt.
Steps to reproduce
this occurred yesterday (Feb 2024). I have a new install of Win11 Pro, v23H2 os build 22631.3155. I did a fresh install using internet sources.
winget shows a v1.2.10691
winget source list shows:
Name    Argument
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://winget.azureedge.net/cache

The https://winget.azureedge.net/cache above seems to be the problem.  This appears to be a known issue.

Following some suggestions on solutions, this needs to be changed to https://cdn.winget.microsoft.com/cache.  trying to remove the bad source works, but running winget source add -n winget -a https://cdn.winget.microsoft.com/cache fails (no error, just no source added).
If I try to run winget install "App Installer" -s msstore --force it only finds "LG Monitor App Installer". The one I seem to want has id  Microsoft.AppInstaller but is not on msstore so can't install it.
There seems to be no obvious way for an end-user to upgrade winget.  It's not listed on the MsStore.

Workaround
It turns out the above mentioned "App Installer" is still on msstore.  I found a link to it (here https://apps.microsoft.com/detail/9NBLGGH4NNS1) . it's a hidden package so you have to have a link to find it. I used the ID of it found in the URL to install it, and now winget works and I can install stuff properly. Here's the command you can use to install it (the solution):
winget install -s msstore --id 9NBLGGH4NNS1
with that, I am able to use winget properly.
Expected behavior
Critical failures in winget:

winget should work from a clean install of windows. (it does not)
If it does not work, it should provide actionable information explaining to the end user what the problem is. (It does not)
When the problem is identified, You should be able to change the source to a valid one. (You can not)
When the problem is identified, you should be able to upgrade winget to a new version.  (You can not).

Actual behavior
running a command specifying source as msstore works.   but using winget sources does not, also not explicitly specifying source does not.   For example:  running a command such as  winget install firefox turns the prompt blue and nothing else (likely it crashes in the middle of animating a spinner).
Related issues (all closed without actually solving the issue)

https://github.com/microsoft/winget-cli/issues/1656
https://github.com/microsoft/winget-cli/issues/3832
https://github.com/microsoft/winget-cli/issues/3652
https://github.com/ChrisTitusTech/winutil/issues/1082

Environment
- Fresh install of Windows 11 Pro from direct msft internet sources (Feb 2024):  v`23H2` os build `22631.3155`
- winget showed `v1.2.10691`

@jasonswearingen - You will need to update your version of WinGet since the original CDN which was hardcoded into version 1.2 has been retired.

https://github.com/microsoft/winget-cli/issues/3652

Duplicate of #4018

@jasonswearingen - You will need to update your version of WinGet since the original CDN which was hardcoded into version 1.2 has been retired. You can download the latest version of WinGet from the GitHub releases page, or update AppInstaller through the Microsoft Store

Yes, I solved my issue (the workaround I mention in the issue).  However your suggestions are inadequate  for most people:

You can download the latest version of WinGet from the GitHub releases page

it's unrealistic for end-users to figure out this is required
There are many https://github.com/microsoft/winget-* repositories to pick from
if you mean https://github.com/microsoft/winget-cli/releases/tag/v1.6.3482 there is no clear instruction on how an end user would upgrade.

or update AppInstaller through the Microsoft Store
There is no such AppInstaller available on the Microsoft Store.   The package exists but it is hidden (not searchable).  Plus how would a user know to find this if they didn't already know?

My point is that this is terrible user experieince.  This issue was supposed to be fixed 6 months ago, but it's still occurring on fresh installs, and non-power users can not figure out solutions.

does not work
PS C:\Users> sudo winget source reset
如果指定了--force 选项，则将重置以下源：
名称    参数
-----------------------------------------------------
msstore https://storeedgefd.dsx.mp.microsoft.com/v9.0
winget  https://cdn.winget.microsoft.com/cache
PS C:\Users> sudo winget source reset --force
正在重置所有源...完成
PS C:\Users> sudo winget install -s msstore --id 9NBLGGH4NNS1
打开源时失败;如果问题仍然存在，请尝试"source reset"命令。
执行此命令时发生意外错误：
0x8a15005e : The server certificate did not match any of the expected values.
PS C:\Users>


Set console mode for windows

Windows terminal handling is different than darwin and linux.  It needs to have the terminal mode set to enable virtual terminal processing.  This allows colors and other things to work.
Signed-off-by: Brent Baude<EMAIL_ADDRESS>

fixed

LGTM

LGTM

/lgtm


Generated schematic created in unexpected directory

Preface
It seems that the behaviour described below only can be reproduced on Windows machines using cygwin.
MINGW seems to work fine.
I was able to reproduce that issue with 6.0.0-rc.1 and 6.0.0-rc.2 of the CLI.
Versions
Angular CLI: 6.0.0-rc.2
Node: 8.9.4
OS: win32 x64
Angular: 6.0.0-rc.3
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 6.0.0-rc.2
@angular-devkit/architect: 0.5.4
@angular-devkit/build-angular: 0.5.4
@angular-devkit/build-optimizer: 0.5.4
@angular-devkit/core: 0.5.4
@angular-devkit/schematics: 0.5.4
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.2.4
@schematics/angular: 0.5.4
@schematics/update: 0.5.4
typescript: 2.7.2
webpack: 4.5.0

Repro steps

ng new angularProject
ng m layout or ng generate module layout

Observed behavior
The schematic is placed in the root directory of the angular project.
Somehow the whole absolute path is recreated inside the project's folder.

The console output indicates that the schematic was created in the right directory.
@myMachine /c/workbench/projects/probs
± ng generate module layout
CREATE c/workbench/projects/probs/layout/layout.module.spec.ts (275 bytes)
CREATE c/workbench/projects/probs/layout/layout.module.ts (190 bytes)

Desired behavior
The schematic should be created inside src/app.

I had problems with Windows too. #10206 worked for me.

Hi @GregOnNet,
Because of the low frequency that this happens, I'm not blocking 6.0 final for this issue. I'm keeping it opened and we will fix it in the short future. Thanks!


Build your first Xamarin.Forms App

I have tried to use this article for 5 days. It does not work for me. Steps are missing. For instance, where is the  item that shows >Samsung SM-N95OU1 (Android 8.0 - API26) in a dropdown list

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

ID: b4445585-af8f-09d3-5d35-762c3aac187b
Version Independent ID: fa9263db-60d6-eb98-eb74-842351ba5387
Content: Build your first Xamarin.Forms app - Xamarin
Content Source: docs/get-started/first-app/index.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @conceptdev
Microsoft Alias: crdun

The article only discusses the Android emulator - if you see Samsung in your device list it's likely because you have an Android phone plugged into your computer.
The installing Xamarin and Android emulator setup documentation might be useful for you.

This is very helpful.
Thanks,
David Martin
From: Craig Dunn<EMAIL_ADDRESS>Sent: Wednesday, May 29, 2019 11:06 AM
To: MicrosoftDocs/xamarin-docs<EMAIL_ADDRESS>Cc: David Martin<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/xamarin-docs] Build your first Xamarin.Forms App (#1737)
The article only discusses the Android emulator - if you see Samsung in your device list it's likely because you have an Android phone plugged into your computer.
The installing Xamarin https://docs.microsoft.com/xamarin/get-started/installation/  and Android emulator setup https://docs.microsoft.com/xamarin/android/get-started/installation/android-emulator/  documentation might be useful for you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/xamarin-docs/issues/1737?email_source=notifications&email_token=ADIHADMXABQEJ4BXRQA76WDPX2SXFA5CNFSM4HQHGDB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWP2MLY#issuecomment-497002031 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADIHADJXZIASYVTQXWESXZTPX2SXFANCNFSM4HQHGDBQ .


Custom error messages sometimes wont appear and some fields will not get marshalled

been playing around with the library, and I have some bizarre errors I can't figure out. test code (echo handler):
func (ah *apiHandlers) CreateUser(logger zerolog.Logger, repos *repositories.Repos) echo.HandlerFunc {
	return func(c echo.Context) error {
		input := make(map[string]any)

		err := c.Bind(&input)
		if err != nil {
			logger.Error().Err(err).Msg("cuerpo de request invalido")
			return echo.NewHTTPError(http.StatusBadRequest, "cuerpo de request invalido")
		}
                // This always prints correctly, the issue is not echo
		logger.Debug().Any("input", input).Msg("Echo parsed input map")

		var output struct {
			Nombre   string `zog:"nombre"`
			Apellido string `zog:"apellido"`
			Email    string `zog:"email"`
			AluID    int    `zog:"alu_id"`
			Password string `zog:"password"`
		}

		schema := z.Struct(z.Schema{
			"nombre":   z.String().Required(z.Message("this doesn't display even if validation fails")),
			"apellido": z.String().Required(),
			"email":    z.String().Required(),
			"alu_id":   z.Int().Required(), // this field specifically, is always empty
			"password": z.String().Required(),
		})

		errMap := schema.Parse(input, &output)
		if errMap != nil {
			return c.JSON(http.StatusBadRequest, z.Errors.SanitizeMap(errMap))
		}

		return c.JSON(200, output)
	}
}

if a post request with the following data is sent, the client receives mostly correct data back with exception of AluID:
// Post request body
{
  "nombre": "Juan",
  "apellido": "Perez",
  "email"<EMAIL_ADDRESS>  "alu_id": 25,
  "password": "hunter1"
}

// Response
{
  "Nombre": "Juan",
  "Apellido": "Perez",
  "Email"<EMAIL_ADDRESS>  "AluID": 0,
  "Password": "hunter1"
}

the other issue is that when I try to change the err message with z.Message() for a .String().Required() validation, I will get the default message is required instead of my custom message:
"nombre":   z.String().Required(z.Message("this doesn't display even if validation fails")),

Response when given an empty string:
// Request body
{
  "nombre": "",
  "apellido": "Perez",
  "email"<EMAIL_ADDRESS>  "alu_id": 25,
  "password": "hunter1"
}

// Response
{
  "$first": [
    "is required"
  ],
  "nombre": [
    "is required"
  ]
}

i'm not sure if I made a mistake or if this is a library error

Hey!
Thanks for submitting the issue. Having had like 15 mins to look at these. These look like bugs on my end. I'll try to get them fixed today.

Up on further looking into it, The z.Message() is an issue. The AluId is actually you misunderstanding what the schema represents. However, Zog should probably panic in this case so I'll make a PR to make that panic.
Basically you are telling Zog to expect a struct field called Alu_id, what you want to do is either aluID or AluID in the schema. The zog tag is what handles the name in the json. Not sure if I am making sense?
The schema name should be the same (with optional lowercase first letter) as your struct field

I could probably write some better docs on the schema names though

Up on further looking into it, The z.Message() is an issue (already fixed, but haven't pushed the release yet). The AluId is actually you misunderstanding what the schema represents. However, Zog should probably panic in this case so I'll make a PR to make that panic.
Basically you are telling Zog to expect a struct field called Alu_id, what you want to do is either aluID or AluID in the schema. The zog tag is what handles the name in the json. Not sure if I am making sense?
The schema name should be the same (with optional lowercase first letter) as your struct field

I see, I tested and now it does work in my mind I had to name the schema fields the same as the json 😅
but it seems to only work with lowercase struct field names, I am not sure if that's a bug or another misunderstanding
// For this type
type User struct {
	Nombre   string   `json:"nombre" zog:"nombre"`
	Apellido string   `json:"apellido" zog:"apellido"`
	Email    string   `json:"email" zog:"email"`
	AluID    int      `json:"alu_id" zog:"alu_id"`
}

// this schema will return all empty fields in the response
		errMap := z.Struct(z.Schema{
			"Nombre":   z.String().Required(),
			"Apellido": z.String().Required(),
			"Email":    z.String().Required(),
			"AluID":    z.Int().Required(),
		}).Parse(input, &user)

// this schema works, returns back the same json as inputted.
		errMap := z.Struct(z.Schema{
			"nombre":   z.String().Required(),
			"apellido": z.String().Required(),
			"email":    z.String().Required(),
			"aluID":    z.Int().Required(),
		}).Parse(input, &user)

// uppercase schema fields (exact match to struct)
{
  "nombre": "",
  "apellido": "",
  "email": "",
  "alu_id": 0
}

// lowecase schema fields
{
  "nombre": "Juan",
  "apellido": "Perez",
  "email"<EMAIL_ADDRESS>  "alu_id": 25
}

Hey. Sorry I forgot to mention that uppercase first letter is actually something that I implemented for the next release. So its not yet in Zog. I'll do the release tonight and you can test it if you like but it is working correctly on my end.
On a completely unrelated topic. I want to create a package that will contain the error translations for spanish at some point. If you want to participate or share feedback that would be awesome

Hey. Sorry I forgot to mention that uppercase first letter is actually something that I implemented for the next release. So its not yet in Zog. I'll do the release tonight and you can test it if you like but it is working correctly on my end.
On a completely unrelated topic. I want to create a package that will contain the error translations for spanish at some point. If you want to participate or share feedback that would be awesome

actually a package like that would reduce a lot of boilerplate when returning errors, I like the idea a lot. I am willing to do some spellchecking and such if needed, I am not too familiar yet with the library to contribute to it (i've cloned it and was reading the code yesterday)
you could have a similar system to how sql drivers are registered, and in each schema there could be an option to pick a language. so for example if I register the package for english and spanish, I could just pull the language from the request context and pass this variable to the zog option, and it will automatically return the correct language. would make changing the error language really easy for the library consumer but it will put a burden on the library maintainer (having to maintain all of the language packages)
opening a proposal issue may be a good idea to keep track of this properly

I plan on supporting both English and Spanish (soy de españa) any other language will have to go in a separate repo unless someone agrees to maintain the translation.
I want to do skme internal  refactorings first but afterwards it should be very simple to implement. If you would be open to translating the errors map found in the config package that would be a great help

yeah I can do that for sure, i'll be keeping track of the repo.  I am latino myself, will be good to have two perspectives

Nice! I'll ping you on #26 when I am ready to go forward with this.
By the way, I have just merged v0.8 which has the fixes related to this issue so I am going to close this. Let me know if you find anything else. See PR #19 for changes. No breaking changes for this release


Update frozen_string_literal_comment.rb

frozen_string_literal: false is not ignored if EnforcedStyle: always_true

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages. # I think so? :p
[x] Commit message starts with [Fix #issue-number] (if the related issue exists). # No issue
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests. # N/A
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[x] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details. # N/A

Maybe instead of deleting that note you can update it to mention always_true?

@dvandersluis I considered it, but it seemed redundant to the examples which immediately followed.

Thanks!


Crawl bokeh monitor example

This is ready for review and testing.  @chrismattmann / @brittainhard, you might be interested.

Follow the discussion here: https://github.com/memex-explorer/nutch-python/blob/ahmadia/crawl_bokeh_monitor_example/examples/bokeh_crawl_monitor/README.md

Before merging, we need to fast-forward the master branch to pick up the updates on @chrismattmann's repo.

rebased.


Campaigns broken

Currently it is not possible to fetch a campaign via the proxy.
Proxy-Log:
Retrieving campaigns for <redacted>
Error retrieving campaigns
SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at /srv/campaign.js:32:27
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at /srv/campaign.js:32:27
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

causing Console log:
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'forEach')
[Detected 1 package: ddb-importer]
    at HTMLButtonElement.<anonymous> (Settings.js:373:1)

This can happen sometimes, and the campaign API is susceptible to being marked as a bot. In my proxy I just remove it from service and replace the node.
You can work around this manually by adding the campaign using the following:
game.settings.set("ddb-importer", "campaign-id", "ID_NUMBER_HERE");

You can get the ID from the campaign URL.

Thank you! Unfortunately this did not fix the issue, it seems like Homebrew Monsters are still pulled from my own Collection and not the Campaign Owners Collection (I could import some test monster i created in my own collection without issues).

It maybe that they might have to be in your collection to see them, rather than just in a campaign - do they show up for you in the DDB Encounter builder? (This is how the monsters are accessed)

They don't show up there, so this is not really an issue with the campaign setting but with the way DnD Beyond handles shared content. Thanks a lot for the support!


fix: sitemap alerting messages update

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Improve sitemap informative messages and have a  table format

:tada: This PR is included in version 1.8.20 :tada:
The release is available on:

v1.8.20
GitHub release

Your semantic-release bot :package::rocket:


super-productivity: Add version 6.1.2

Closes #5316

Cool, thanks

Can you stop spamming with irrelevant merge commits every 15 minutes??

I was just keeping my branch updated, you can turn notifications off if you want.
If you want any more changes say.
Regards

/verify

Hi,
There's a problem with the hash check:
Installing 'super-productivity' (6.3.1) [64bit]
superProductivity-Setup-6.3.1.exe (53.4 MB) [===============================================================================================================================] 100%
Checking hash of superProductivity-Setup-6.3.1.exe ... ERROR Hash check failed!
App:         extras/super-productivity
URL:         https://github.com/johannesjo/super-productivity/releases/download/v6.3.1/superProductivity-Setup-6.3.1.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    af4ff1d124d759220aadcce45452db475ead6ccb967c5f4b727ef516efff64b2ef22cc39ce679d566b013bfcb44739e61b0072005162c46c4bd91f145d40ebfd
Actual:      02ea79d6022eb1d1072ff647f33367ce87c425d065d9fe8654897a1d7bb92ae2560f3c2ca22de09c9df3fe5a144fe522b03ef23b7469fd3d95ebd49c4350459c

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=super-productivity%406.3.1%3a+hash+check+failed

Hi,
There's a problem with the hash check:
Installing 'super-productivity' (6.3.1) [64bit]
superProductivity-Setup-6.3.1.exe (53.4 MB) [===============================================================================================================================] 100%
Checking hash of superProductivity-Setup-6.3.1.exe ... ERROR Hash check failed!
App:         extras/super-productivity
URL:         https://github.com/johannesjo/super-productivity/releases/download/v6.3.1/superProductivity-Setup-6.3.1.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    af4ff1d124d759220aadcce45452db475ead6ccb967c5f4b727ef516efff64b2ef22cc39ce679d566b013bfcb44739e61b0072005162c46c4bd91f145d40ebfd
Actual:      02ea79d6022eb1d1072ff647f33367ce87c425d065d9fe8654897a1d7bb92ae2560f3c2ca22de09c9df3fe5a144fe522b03ef23b7469fd3d95ebd49c4350459c

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/lukesampson/scoop-extras/issues/new?title=super-productivity%406.3.1%3a+hash+check+failed


Make the process fail if the changelog file is not found

Hello @baronfel,
this is an issue created from our discussion on F# slack.
Currently, if the changelog file is not found there is no indication for the user. The dotnet pack command succeed as if nothing was wrong.
I personally think that if the changelog file is not found at the specified path, the process should fail because it is generating something from an invalid context.
For example, when we specify the PackageLicenseFile node in an fsproj the task is failing if the provided value is invalid or the file is missing/not found.

Thank you for the clear explanations.
Personally, I always preferred explicit behaviour from my code and so would prefer the second option.

I agree. A few other people have spoken up as well. We should remove the implicit mode and provide a helpful error if the user doesn't specify a ChanglogFile. That way there's no confusion about if something is happening or not.

Looking at the code it seems like there are already severals checks done for the file existence:
https://github.com/ionide/KeepAChangelog/blob/7ad0461e29bc3f22aafe971cdb11d61451198531/src/Ionide.KeepAChangelog.Tasks/buildMultiTargeting/Ionide.KeepAChangelog.Tasks.targets#L24-L28
https://github.com/ionide/KeepAChangelog/blob/7ad0461e29bc3f22aafe971cdb11d61451198531/src/Ionide.KeepAChangelog.Tasks/Library.fs#L49-L54
I guess they are currently only generating warnings and we should hard fail in these cases. What would be the correct way of failing?

In F#, we can probably throw an exception
In MSBuild ?

@tboby just added two msbuild warnings verifying that the changelog file is provided and exists.

So, now that it's no longer implicit, what behaviour do we want?
I suspect that the WarnOnNoChangelogFileExists (when the given file isn't found) should possibly be an error now.
Do we want the WarnOnNoChangelogFileSet to be an error as well, perhaps mentioning "Please set this property ... , or remove the Ionide.KeepAChangelog.Tasks package"?
Alternatively, do we want to add a property to supress the validation? Trying to think if it would be annoying if you Build.props this package and then your test project starts throwing errors.


update the golang unofficial SDK

update the golang unofficial SDK into the new maintained one because the current pocketBase SDK not maintained anymore

Will @r--w make you a maintainer? I see yours is a fork, that could become confusing to the community because there are no notes deprecating the original repo and pointing to yours.

Will @r--w make you a maintainer? I see yours is a fork, that could become confusing to the community because there are no notes deprecating the original repo and pointing to yours.

Hey, this is the maintained repo https://github.com/pluja/pocketbase that was blessed by me.


dropdown auto open inside modal

when i use dropdown in modal,the dropdown was auto open after the modal show.
I hope that the dropdown don't open when the modal show
here is the code
http://jsbin.com/dosiras/edit?html,output

Hi @jslixiaolin, the modal component has got the autofocus property set to true by default, here’s what it does:

When true, the first form input inside the modal will receive focus when shown. Set this to false to prevent this behavior.

$('.ui.modal')
  .modal({
    autofocus: false
  })
  .modal('show')

thank you for replay, i had fix it by following your addvise


Split RVD in twain

sure

The things that would break btw would be error messages that now include a different name


Use RL_QUADS/RL_TRIANGLES for single-pixel drawing

Addresses problem mentioned in https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263 (in short: when drawing pixels using DrawPixel/DrawPixelV in camera mode, upscaled pixel becomes a line instead of bigger pixel).

@hatkidchan Thank you very much for the review and the quick PR! :)


ElasticSearch 5.x Support.

Related issue: https://github.com/personium/personium-core/issues/254

Released v1_es5.6.14_1


Documentation for ignore_changes_global_secondary_index should warn that it will destroy the table

Is your request related to a problem? Please describe.
Documentation states that

Warning: autoscaling with global secondary indexes
When using an autoscaled provisioned table with GSIs you may find that applying TF changes whilst a GSI is scaled up will reset the capacity, there is an open issue for this on the AWS Provider. To get around this issue you can enable the ignore_changes_global_secondary_index setting however, using this setting means that any changes to GSIs will be ignored by Terraform and will hence have to be applied manually (or via some other automation).

However, it should maybe also warn you that trying to set this variable after the table is already created will cause the table to be recreated.
Describe the solution you'd like.
Mention this caveat and maybe offer a migration path in the documentation.
It seems that using terraform state mv "module.dynamodb.aws_dynamodb_table.autoscaled[0]" "module.dynamodb.aws_dynamodb_table.autoscaled_gsi_ignore[0]" before applying the change from ignore_changes_global_secondary_index = false -> true will preserve the table without recreating it.

I don't see the benefit if adding anything additional here. The API documentation is clear, the provider documentation is clear, and the Terraform plan/apply output is quite clear - am I missing anything?

Well, the documentation does feel it necessary to mention this:

Warning: enabling or disabling autoscaling can cause your table to be recreated
There are two separate Terraform resources used for the DynamoDB table: one is for when any autoscaling is enabled the other when disabled. If your table is already created and then you change the variable autoscaling_enabled then your table will be recreated by Terraform. In this case you will need to move the old aws_dynamodb_table resource that is being destroyed to the new resource that is being created. For example:
terraform state mv module.dynamodb_table.aws_dynamodb_table.this module.dynamodb_table.aws_dynamodb_table.autoscaled

So if the documentation warns about enabling or disabling autoscaling will cause your tables to be recreated, why the similar warning shouldn't be extended to the case where you use ignore_changes_global_secondary_index?
Then, the inputs section says just:

ignore_changes_global_secondary_index - Whether to ignore changes lifecycle to global secondary indices, useful for provisioned tables with scaling

Not even a mention that there's a bit more to this, unlike with autoscaling_enabled where it at least mentions to read a note:

autoscaling_enabled - Whether or not to enable autoscaling. See note in README about this setting

Just my two cents, but the only way for average person to know this will happen is to try it and then see terraform plan suggesting to delete your production table. Could use some warning at the documentation level.

Terraform, and modules like this, are just the implementation. Users need to know the services and their API behaviors regardless of the implementation. We're not going to duplicate the service and API docs here, we focus on documenting this specific implementation

I created a PR with my proposed changes for the documentation - https://github.com/terraform-aws-modules/terraform-aws-dynamodb-table/pull/83

This issue has been resolved in version 4.0.1 :tada:


Add support for .Net 4.5.

This PR adds support for .Net 4.5 to TensorFlowSharp.  Along the way I converted all of the build projects to the new, much more concise project format which also allows the projects to target multiple frameworks.  I also changed the main project to copy the native tensorflow binaries for the current platform to its output directory to make it easier to build and test and added some documentation about how to build and run the tests to the new file BUILD.md.
Unfortunately with these changes 6 of the csharp tests fail, but the same tests fail on all 3 platforms (.net 4.5, .net 4.6 and newer and netstandard 2.0), and I was unable to get all tests to pass before the changes, so I don't think there is a regression.

NOTE: This fixes issue #258.


Need to expose ClientDisconnectedToken on HttpContext

Spoke with @davidfowl and @GrabYourPitchforks today about the fact the we only have an indication of RequestAborted and cannot separate it from a disconnection from the client.
In system.web world client disconnection does not necessarily mean request should stop processing, where abort does mean that.
When are are done with this features requiring cancellation token in web scenarios can automatically pick up the right cancellation token based on their scenario (example formatters will cancel for both tokens, but user code can make an explicit choice)
CC @HaoK

In what scenarios would you want a request to keep processing after the client has already disconnected?

Apparently this was a common request in System.Web. Here is a scenario I can think of
The user uploaded an image/video to the server, the server (hmm unwittingly) is processing multiple resolution versions of the image in the request, and that might take some time. The client disconnects, but the image/video processing should still continue.

That scenario sounds like a long-running background task. It's not clear why you would hook that up to request events at all.

RequestAborted also now fires for client disconnects

@davidfowl What version of ASP.NET Core is that in?

It'll be in 2.0.0


Feature Request: Hot reload on any additional files updated.

I was playing with pocketbase, I like it. It's simple and useful. But I just got triggered. When *.pb.js files updated, it just send me a warning, "test.pb.js changed, please restart the app". Might be hot reload help us to speed up a little bit.

This message is only for Windows. On Linux and other platforms that supports execve the application should restart automatically on pb_hooks file change.
Suggestions for execve alternatives are welcomed but for now I'm not planning working on a workaround for Windows.

Yep, I'm just seeing what's going on behind the scenes. I'm just using WSL for now, but I might be able to help with this issue in the future.


Issue with custom dimensions with an event

I have an issue with the custom dimensions.
I well created 2 custom dimensions in the property level of my google analytics account.

See my code below.
// We initialize event tracker
var gaEvent = analytics.EventBuilder.builder()
          .category("TEST")
          .action("REDIRECTION")
          .dimension(1, "TEST")
          .dimension(2, "TEST")
          .label("ID")
          .value(1);
tracker.send(gaEvent); // Let's send the event! ;)

I can see all events on my Google Analytics dashboard, but nothing when I select a dimension. I have waited more than 48hours (as I have seen on few forums). I think that CPA doesn't handle custom dimensions... Or my code isn't correct.
I am looking forward to your reply, thank you for your help!

Oups, I didn't see.
You have already closed this issue: https://github.com/GoogleChrome/chrome-platform-analytics/issues/38
Thank you :) You can close this issue :)


Add a function to estimate (an upper-bound) to the memory needed for an Orca job (i.e. %maxcore)

This function is fit to our particular settings and will not be effective if those settings are changed.

Here are the plots that were used to determine the fits:


Usage in Typescript requires "dom" lib in tsconfig.json

@RomanGotsiy recently updated some dependencies resulting in Typescript projects using graphql-request having to add the dom lib to the tsconfig.json file.
We should somehow bake this into this library to facilitate usage with Typescript.
Any thoughts @RomanGotsiy?

I just ran into this myself with a PR that adds support for graphql-config to apollo-codegen.
I tried to look for proper isomorphic Fetch API type definitions, but couldn't find any. @types/isomorphic-fetch has been changed to also require the global fetch definitions from the dom lib, which is surprising to me and seems incorrect. If we want to fix this, I think we'll have to extract the Fetch API type definitions from lib.dom.d.ts and publish those as @types/isomorphic-fetch.

@martijnwalraven I like your suggestion for extracting the fetch definitions. Will you create a PR for the definitions? I'll make sure to update it here in graphql-request as soon as possible!


Add iphlpapi support

Issue: https://github.com/retep998/winapi-rs/issues/561
Files:

C Header
Rust
Review

shared/ifdef.h
shared/ifdef.rs
TODO

shared/ifmib.h
shared/ifmib.rs
TODO

shared/ipifcons.h
shared/ipifcons.rs
TODO

shared/ipmib.h
shared/ipmib.rs
TODO

shared/Iprtrmib.h
shared/iprtrmib.rs
TODO

shared/mprapidef.h
shared/mprapidef.rs
TODO

shared/nldef.h
shared/nldef.rs
TODO

shared/tcpestats.h
shared/tcpestats.rs
TODO

shared/tcpmib.h
shared/tcpmib.rs
TODO

shared/udpmib.h
shared/udpmib.rs
TODO

um/IPExport.h
um/ipexport.rs
TODO

um/IPTypes.h
um/iptypes.rs
TODO

um/iphlpapi.h
um/iphlpapi.rs
TODO

Stage:

[ ] Dependency Tree ( build.rs )
[ ] Header Translation
[ ] Code Style

@retep998 I know this PR have many code style problem, i hope we can put it in the final stage to solve it.

@brooss time_t is 64bit on x86.

Ok, possibly I'm wrong, but from my testing of GetAdapterAddresses() IP_ADAPTER_INFO.LeaseObtained and IP_ADAPTER_INFO.LeaseExpires are 32bit on x86 and 64bit on x86_64.

How exactly were you testing that? VC++ by default uses a 64bit time_t on 32bit. It is possible to get a 32-bit time_t by defining a certain macro, but that's a non-default configuration which I don't support. I don't know what MinGW does.

I'm testing from Rust. Call GetAdaptersInfo() with a zero sized buffer and:

GetAdaptersInfo fills in this variable with the required size, and returns an error code of ERROR_BUFFER_OVERFLOW.

let mut buflen: ULONG = unsafe{mem::zeroed()};
let _ = unsafe{GetAdaptersInfo(null_mut(), &mut buflen)};
buflen should then be a multiple of mem::sizeof::<IP_ADAPTER_INFO>().
I get multiples of 640bytes returned by GetAdaptersInfo on x86.
If time_t is 32bit then sizeof::<IP_ADAPTER_INFO>() is 640bytes and the Lease times look correct to me. If time_t is 64bit then the sizeof::<IP_ADAPTER_INFO>() is 8bytes too long, LeaseObtained has a nonsense time and LeaseExpires is zero.
Just checked on mingw32 and sizeof (IP_ADAPTER_INFO); also shows 640 bytes.
What does sizeof (IP_ADAPTER_INFO); give on vc++?

sizeof(IP_ADAPTER_INFO) in VC++ is 648, but GetAdaptersInfo specifies a value that is a multiple of 640 for me as well. If I call the function with a large enough buffer, then the Next field points to an address that is 640 bytes after the base address.
Also MSDN has this to say:

When using Visual Studio 2005 and later, the time_t datatype defaults to an 8-byte datatype, not the 4-byte datatype used for the LeaseObtained and LeaseExpires members on a 32-bit platform. To properly use the IP_ADAPTER_INFO structure on a 32-bit platform, define _USE_32BIT_TIME_T (use -D _USE_32BIT_TIME_T as an option, for example) when compiling the application to force the time_t datatype to a 4-byte datatype.

So while time_t itself should remain 64bit, IP_ADAPTER_INFO should probably use __time32_t.

So while time_t itself should remain 64bit, IP_ADAPTER_INFO should probably use __time32_t.

:+1:

@LuoZijun on current nightly I have next issue
$ cargo build
   Compiling winapi v0.3.4 (https://github.com/LuoZijun/winapi-rs?branch=iphlpapi#9dddf9d6)
error: no rules expected the token `Value`
  --> C:\Users\mzhukov\.cargo\git\checkouts\winapi-rs-3464f7d97049bddf\9dddf9d\src\shared\ifdef.rs:79:5
   |
79 |     Value: ULONG64,
   |     ^^^^^

error: no rules expected the token `ullAlign`
   --> C:\Users\mzhukov\.cargo\git\checkouts\winapi-rs-3464f7d97049bddf\9dddf9d\src\shared\iprtrmib.rs:152:5
    |
152 |     ullAlign: ULONGLONG,
    |     ^^^^^^^^

error: no rules expected the token `s`
  --> C:\Users\mzhukov\.cargo\git\checkouts\winapi-rs-3464f7d97049bddf\9dddf9d\src\shared\udpmib.rs:52:5
   |
52 |     s: c_int,
   |     ^

error: no rules expected the token `s`
   --> C:\Users\mzhukov\.cargo\git\checkouts\winapi-rs-3464f7d97049bddf\9dddf9d\src\shared\udpmib.rs:103:5
    |
103 |     s: c_int,
    |     ^

error: aborting due to 4 previous errors

error: Could not compile `winapi`.

@LuoZijun According to CONTRIBUTING.md

Macro invocations at the item level should use {}. Macro invocations at the expression level should use ().

Since BITFIELD! is invoked at the item level...

@retep998 Thank you, got it.

Hi! Is it going to be merged? Is any help needed?

There is still some work done that needs to be done with this PR before it can be merged, but it appears the original author of this PR has abandoned it, so anyone is free to resume work on this PR.

@retep998 I would like to take ownership of this, or at least, help complete this PR. That being said, I am very noob when it comes to FFI stuff. I'm working on gettting this completed in my local fork now, contuining where @LuoZijun left off. Trying to figure out the output of "cargo test" now.


General documentation

A branch for general documentation.
This PR is used to preview the docs before they are merged into master.

Codecov Report

Merging #110 (eb0ef7b) into master (25d0147) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #110   +/-   ##
=======================================
  Coverage   61.45%   61.45%
=======================================
  Files          30       30
  Lines        1930     1930
=======================================
  Hits         1186     1186
  Misses        744      744


Update github URL

The git form of the URL is not public-accessible

It is publicly accessible, but it's not anonymously accessible. Is that what you meant?


Register group owned modules

Hi
How to sign up /register a group module ?
Originally posted by @freddepettersson in https://github.com/tellurianinteractive/Tellurian.Trains.ModulesRegistryApp/discussions/88

Fixed in 1.2.4.


Overload error

Describe the bug
I'm getting this overload error in remark-img-to-jsx.ts
No overload matches this call.
  Overload 1 of 2, '(tree: Node<Data>, test: Test, visitor: BuildVisitor<Node<Data>, Test>, reverse?: boolean | null | undefined): void', gave the following error.
    Argument of type '(node: Parent) => node is Parent<Node<Data>, Data>' is not assignable to parameter of type 'Test'.
      Type '(node: Parent) => node is Parent<Node<Data>, Data>' is not assignable to type 'TestFunctionAnything'.
        Types of parameters 'node' and 'node' are incompatible.
          Property 'children' is missing in type 'Node<Data>' but required in type 'Parent<Node<Data>, Data>'.
  Overload 2 of 2, '(tree: Node<Data>, visitor: BuildVisitor<Node<Data>, string>, reverse?: boolean | null | undefined): void', gave the following error.
    Argument of type '(node: Parent) => node is Parent<Node<Data>, Data>' is not assignable to parameter of type 'BuildVisitor<Node<Data>, string>'.
      Types of parameters 'node' and 'node' are incompatible.
        Type 'Node<Data>' is not assignable to type 'Parent<Node<Data>, Data>'.

To Reproduce
Steps to reproduce the behavior:
When using npm run build, this error pops up. Using Next.js 13.4 if that makes a difference.
Expected behavior
This error should not occur, previously it was fine on Next.js 12.X, but after upgrading to Next.js 13.X, it's occuring.
Screenshots
If applicable, add screenshots to help explain your problem.
System Info (if dev / build issue):

OS: macOS 13.3.1
Node version: 18.12.1
Npm version: 9.6.7

Additional context
This is the code that's causing the error:
import { Parent, Node, Literal } from 'unist'
import sizeOf from 'image-size'
import fs from 'fs'
import { visit } from 'unist-util-visit'

type ImageNode = Parent & {
  url: string
  alt: string
  name: string
  attributes: (Literal & { name: string })[]
}

export default function remarkImgToJsx() {
  return (tree: Node) => {
    visit(
      tree,
      // only visit p tags that contain an img element
      (node: Parent): node is Parent =>
        node.type === 'paragraph' &&
        node.children.some((n) => n.type === 'image'),
      (node: Parent) => {
        const imageNode = node.children.find(
          (n) => n.type === 'image'
        ) as ImageNode

        // only local files
        if (fs.existsSync(`${process.cwd()}/public${imageNode.url}`)) {
          const dimensions = sizeOf(`${process.cwd()}/public${imageNode.url}`)

          // Convert original node to next/image
          ;(imageNode.type = 'mdxJsxFlowElement'),
            (imageNode.name = 'Image'),
            (imageNode.attributes = [
              { type: 'mdxJsxAttribute', name: 'alt', value: imageNode.alt },
              { type: 'mdxJsxAttribute', name: 'src', value: imageNode.url },
              {
                type: 'mdxJsxAttribute',
                name: 'width',
                value: dimensions.width,
              },
              {
                type: 'mdxJsxAttribute',
                name: 'height',
                value: dimensions.height,
              },
            ])

          // Change node type from p to div to avoid nesting error
          node.type = 'div'
          node.children = [imageNode]
        }
      }
    )
  }
}

Yes, that's some breaking changes with next 13. I decided to do a refactor and migrate to a new setup with contentlayer and app dir.


Remove test.artifactoryProject flag

[x] All tests passed. If this feature is not already covered by the tests, I added new tests.
[x] This pull request is on the dev branch.
[x] I used gofmt for formatting the code before submitting the pull request.

Remove test.artifactoryProject that was used by running the tests with a free-tier instance.
This flow is not used anymore since the test.artifactoryProject has a data transfer limit.

The project's tests required an admin access token. GitHub-Actions spins up an Artifactory instance and can't generate this kind of token from the API, so after all, we need project tests separation to work with the Ecosys server.


Could you add endpoint specification in settings?

Love your idea of this extension, could you add endpoint specification in settings?
So that I can change say the base url of OpenAI from https://api.openai.com/v1/chat/completions to something else.
Now I can change the extension file to achieve that, but if you can enable changing it in the configs, it would be even better.

Love your idea of this extension, could you add endpoint specification in settings?
So that I can change say the base url of OpenAI from https://api.openai.com/v1/chat/completions to something else.
Now I can change the extension file to achieve that, but if you can enable changing it in the configs, it would be even better.

Could you clarify which part of API you want to use other than chat completions? @masonfocus

Love your idea of this extension, could you add endpoint specification in settings?
So that I can change say the base url of OpenAI from https://api.openai.com/v1/chat/completions to something else.
Now I can change the extension file to achieve that, but if you can enable changing it in the configs, it would be even better.

Could you clarify which part of API you want to use other than chat completions? @masonfocus

I want to change the base part, for example, the perplexity api follows the openAI structure, if I can change the https://api.openai.com/v1/ part to https://api.perplexity.ai/, I can use the perplexity api.

https://github.com/galihlprakoso/logseq-plugin-assistseq-ai-assistant/pull/9
Please feel free to reopen the issue if it's doesn't work as expected! @masonfocus


Fixed local variable name typo

Same logical local variable was called in 2 different ways in the same function.

Thanks for the pull request!


Dashboard: Use a template from the explore templates view

Feature Description
Use a template from the explore templates view. This should launch a copy of the template as a DRAFT story inside the editor.

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Verified in QA PR#2222
Template launched in Editor -example:


Merge pull request #1 from yandex/master

Брат
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

New Feature
Bug Fix
Improvement
Performance Improvement
Backward Incompatible Change
Build/Testing/Packaging Improvement
Other

Short description (up to few sentences):
...
Detailed description (optional):
...

Bogus pull request.


Inferno pet is tagged if you have nibblers tagged

Dont think we can do much about this, looks like it is same NPC.


[FEATURE] Option to hide Douban

Option to hide Douban button & link field would be nice.

https://github.com/techmovie/easy-upload/commit/67b0ec5addf89420eef16a4327bacfffd4d214d3


More granular Volume controls with Magic Keyboard

Checklist

[x] I have searched for existing issues

Is your feature request related to a problem? Please describe.
Increasing/decreasing the volume of my LG monitor through the volume buttons on the Apple Magic Keyboard is always by 6 levels. For example, I cannot to go from 6 to 8, only from 6 to 12, 12 to 18,...
Describe the solution you'd like
An option in preferences where you can set how much the volume increases/decreases with each keypress
Describe alternatives you've considered
Control volume directly from the display itself or from MonitorControl on the taskbar

It would be nice to have the option to configure the default, but you can use option+shift+volume controls to make more granular changes (this is standard MacOS behavior, also works without MonitorControl).

It would be nice to have the option to configure the default, but you can use option+shift+volume controls to make more granular changes (this is standard MacOS behavior, also works without MonitorControl).

This is good workaround, thank you for this!


Multi-GPU (nn.DataParallel) for onmt3

This PR uses nn.DataParallel for the generator and the model. While it does seem to train correctly, additional GPUs appear to slow down the training -- currently looking into what the bottlenecks are for using nn.DataParallel for RNNs and have shared profiling info with the PyTorch team.

I'm looking forward to taking a look. Can you rebase your changes on top of master? I can't tell what you've done.

Okay, should be good to go now. Let me know if you need anything else changed.
I also just pushed a commit regarding loading from a checkpoint. I don't think the params should be reinitialized if train_from is set.
Even with that change though, I'm seeing something a little odd. If I load a checkpoint like model_testing_e15_1238.25.pt and skip the trainEpoch and go straight to dev, I would expect to see a validation perplexity of 1238.25 again, but instead I see ~1273. Similarly a model with validation ppl of ~10 jumping up to ~50 upon loading.

Oh, and I forgot to mention that this PR depends on the recently merged https://github.com/pytorch/pytorch/pull/660. I don't think it will run with nn.DataParallel without that.

@bmccann sorry but this got merged into https://github.com/pytorch/examples, can you open a PR there?


get pgid before wait thread exit

Sometimes raise Errno::ESRCH in Process.getpgid.
Maybe wait_thread exit but child process still exists and timeout.
So get pgid soon.

Good catch, thx!!!


Implemented utterances comment module and modified params.yaml for al…

Purpose
Fixes #2835. Similar to #2830, I added utterances.html to modules/wowchemy/layouts/partials/comments. Also, every config.yaml in starters/<starter_name>/config/_default/params.yaml (except markdown-slides) was updated.
Documentation
To enable utterances, the user needs to:

Set up a GitHub repository for storing comments. Document
Fill in the parameters in config.yaml with assistance of utterances webpage.

See https://github.com/wowchemy/wowchemy-hugo-themes/issues/2835#issuecomment-1264702823


merge to main to release

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 4 committers have signed the CLA.:white_check_mark: floriankrb:white_check_mark: theissenhelen:x: b8raoult:x: gmertesYou have signed the CLA already but the status is still pending? Let us recheck it.


Add 1:1 association script generation for entities in submodules

Purpose
$subject
Fixes:
Examples
Checklist

[ ] Linked to an issue
[ ] Updated the specification
[ ] Updated the changelog
[ ] Added tests

@MadhukaHarith92 PRAM


Enable experimentation for all users

(by mistake it was left enabled only for the product team members)

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/170/azure-dev-0.2.0.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file


[WATCHLIVE]𝗨𝗣𝗗𝗔𝗧𝗘𝗦] 2024 TCS New York City Marathon LIVE Broadcast free on TV Channel 03 Nov 2024 #1456

The 2024 New York City Marathon, marking its 53rd edition, is set for Sunday, November 3, 2024, and will once again transform New York City into the ultimate running stage.
As the final race in the World Marathon Majors series for the 2024 calendar year, this platinum-level event is expected to draw elite athletes, dedicated marathoners, and passionate fans from around the globe, all converging on the city's iconic streets.
Runners will take on the city’s challenging 26.2-mile course, which winds through all five boroughs: Staten Island, Brooklyn, Queens, the Bronx, and Manhattan. Beginning on the Staten Island side of the Verrazzano-Narrows Bridge, the race opens with breathtaking views before descending into Brooklyn, where miles of lively crowds await, cheering runners on with an unmatched energy. Each borough offers its own unique atmosphere and sense of community as participants make their way to the final stretch in Manhattan, racing up First Avenue and across Harlem before entering the famed Central Park finish line. There, thousands of supporters and family members await, creating an unforgettable climax of cheers and celebration.
As the closing race of the 2024 World Marathon Majors, the event not only holds prestige for elite athletes competing for the championship but also for amateur runners achieving personal goals or fulfilling a lifelong dream. The diverse lineup includes runners of all backgrounds, from local New Yorkers to international participants, and celebrities to first-time marathoners.
The 2024 New York City Marathon promises to capture the true spirit of endurance, unity, and resilience, as runners cross the finish line against one of the world’s most iconic cityscapes. The excitement will extend far beyond the runners, as spectators, volunteers, and countless New Yorkers join together, adding their voices to an event that is, as always, much more than just a race—it’s a celebration of human spirit in the heart of New York.
The New York Marathon takes the streets of New York City for its annual event that ESPN's Jeremy Schaap considers a "de facto holiday."
In both the men’s and women’s races, the reigning champions will be looking to defend their crowns. Hellen Obiri picked up bronze in Paris, despite having an injury-disrupted build-up. The Kenyan is one of the great female athletes and can reinforce that on the streets of the Big Apple. Can anyone stop Tamirat Tola in the men’s race? He won it in 2:04:58 last year and then got gold at Paris. He is, unsurprisingly, the favourite once again.
There though a host of other athletes to look out for. In the men’s race Olympic silver medallist Bashir Abdi and Kenyan duo Evans Chebet and Albert Korir are undoubtedly in contention. Obiri’s biggest threat likely comes from Sharon Lokedi, who won this race on her marathon debut in 2022.
Over 50,000 runners will participate in the 2024 race across multiple divisions. The 26.2-mile race ventures through all five of New York City's boroughs on Nov. 3.
WATCH:NYC Marathon LIVE on Fubo (free trial)
Tamirat Tola of Ethiopia and Hellen Obiri of Kenya are the reigning 2023 men's and women's winners. Both will compete in this year's marathon.
Don't think the New York Marathon is strictly a Sunday event. There are plenty of festivities prior to Sunday's competition.
The Sporting News has you covered on all things New York Marathon below.
How to watch the New York City Marathon 2024
TV channel: ESPN3
Live stream: Fubo
Fans can watch the 2024 New York City Marathon live on ESPN3 on Sunday, Nov. 3. Those without cable can tune in through Fubo, which offers a free trial to new users.
The opening ceremony, which is on Friday, Nov. 1 at 5 p.m. ET, is also on ESPN3.
New York City Marathon 2024 start time
Date: Sunday, Nov. 3
Time: 8 a.m. ET
The New York City Marathon begins at 8 a.m. ET on Sunday, Nov. 3. Coverage continues until 5 p.m. ET.
The opening ceremony for the race takes place on Friday, Nov. 1 at 5 p.m. ET.
New York City Marathon prize money
The total prize pool for the 2024 New York City Marathon is about $900,000. The winner of the men's and women's divisions will each earn $100,000.
New York City Marathon race route
The marathon covers all five boroughs of New York City, starting in Fort Wadsworth, Staten Island.
Runners will travel from Staten Island to Brooklyn to Queens to the Bronx and finally Manhattan. The finish line is on West 67th Street in Central Park.
Tens of thousands of runners from across the globe will take to the streets Sunday, Nov. 3, traveling 26.2 miles through the city's five boroughs.

xcvds


call appears as message and can't answer

Hi
I have a bug where someone calls me from PC I get a new riot messge instead of an incoming call that I can accept. When I open the message it says "user placed a call" and then "user ended the call" Also I think even trying to call with the app open I won't receive the incoming call prompt? unconfirmed
If they call me from another android device I get the proper incoming call notification and can accept the call.
notes:
-Win 10 calling Android 8.1, up to date riot clients
-encryption is enabled in the room.
-notification privacy: low detail
-I have submitted this as a bug using the in-app tool

If you change notification to "normal" - riot on android will show splash-screen "answer to call" and will play ring.
I think that riot is need daemon service (started in "normal" notification privacy) for show splash and ring when call incoming.


[Feature] Catalog promotion based on user group

Thanks for this plugin, it's really helpful to show promotions on the catalog.
It might be interesting to display a catalog promotion for a group of users when they are authenticated. In the same way that it is possible to make a promotion on the cart for a user group.
What do you think about this feature?

Hey, This feature is a common e-commerce case, and already implemented in magento 1
It's good if we can added to this plugin too, Feel free to contribute here withe a new MR.

I will see to implement it, it will depend on my free time.
I would suggest a PR, maybe someday :)
thanks.


Cookie Auth example with API routes ❤

Replaces the node API with Next.js API Routes
Replaces Micro with the node builder request/response helpers

Hey, @Timer.

I noticed you got rid of some res.end()s, are you sure those aren't needed?

I was getting end is not a function errors, but I put them back and everything works okay. I think I was doing something wrong.

Also, can we somehow implement this example without getInitialProps so users can benefit from Static Optimization?

I don't think so (but I might be wrong), since we want to get the cookie with the token from the server when the page loads.

@j0lv3r4 I'm having an issue with the api route, it's not ending the request and the page never loads in SSR, I'll try to fix it

@j0lv3r4 Can you run the linter please to fix the build errors 🙏


Update ebucore.owl

Fix #222
Draft solution, discussion on #222

Should be discussed in the Editorial Committee meeting.

Updated the owl according to the model diagram below.


How to make authorization request to https://www.amazon.com/ap/oa?

Based on my understanding, it is required to make authorization request to  https://www.amazon.com/ap/oa with "Authorization code" to get access and refresh token for the first time.
This requires sign-in to amazon.com
Can you help with the process of sign in with nghttp2 APIs?
Thanks in advance.

Hi,
The following files can be helpful as a guideline:

<AVS_SDK_SRC>/tools/AuthServer/AuthServer.py
This file contains a Python implementation on retrieving the refresh token.
<AVS_SDK_SRC>/AuthDelegate/src/AuthDelegate.cpp
<AVS_SDK_SRC>/AuthDelegate/src/HttpPost.cpp
These files demonstrate how to use the curl APIs.

Additional resources can also be found here: http://login.amazon.com/. If you have any further questions, feel free to re-open.


delta: 0.10.1 -> 0.10.2

https://github.com/dandavison/delta/releases/tag/0.10.2

Motivation for this change
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg eval

Result of nixpkgs-review pr 147628 run on x86_64-linux 1

2 packages built:

bat-extras.batdiff
delta


Fix bugs in logging.info statements.

Fixes #250
Corrected the logging.info statements so they don't have unused references, and the strings get properly integrated into the statements via f-strings.

Thanks 👍


Add option to accept an expired SSL cert

This feature is optional but undocumented https://github.com/nandub/hubot-irc/blob/master/src/irc.coffee#L168

Thank you @internaught!


[CT-1531] [Bug] dbt run fails in local when tests do not have test as value of materialized config

Is this a new bug in dbt-spark?

[X] I believe this is a new bug in dbt-spark
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
in the dbt-spark project, if i configure and try to run the dbt project with dbt run, it fails with errors saying the materialized config of tests should be test.
Expected Behavior
the dbt run should run successfully.
Steps To Reproduce

set up a dbt sample project in the dbt-spark directory
run "dbt run"
fails with the error as mentioned above.

Relevant log output
No response
Environment
- OS: Mac OS
- Python: 3.9.6
- dbt-core: 1.4.0-a1
- dbt-spark: 1.4.0-a1

Additional Context
No response

Jira creation failed for this issue, looks like some error saying bad request. Can any one of the maintainers have a look at it?

@akashrn5 It looks like you're installing from the latest changes (main branches), so this might be related to a change we made recently: https://github.com/dbt-labs/dbt-core/pull/6025. The goal there was to raise a clearer error warning if there are tests that are configured with a materialization other than 'test'. (Users can still reimplement the 'test' materialization with a custom version.)
I'm not sure why you'd be running into this, unless you code in your project like:
# dbt_project.yml
tests:
  materialized: something_else

I'm also not seeing the connection to the integration test changes you're proposing in https://github.com/dbt-labs/dbt-spark/pull/512?

@jtcohen6 actually after cloning the code, i configured the dbt_project.yml file in the dbt-spark directory and tried to run using dbt run. I have not configured any test_paths, but since by default it takes tests folder as test path, during compile it failed. So is it allowed to run in the project directory or not? if not recommended then fine.

Hi @akashrn5 just to make sure I'm understanding this.
My current read is that you are cloning this repo(dbt-spark), then configuring  dbt-spark/dbt/include/spark/dbt_project.yml and trying to run it with dbt run?
What's the use case here?

Hi @Fleid , there is no specific use case here, just cloned the repo and configured the dbt project in cloned directory which gave me this error, but if thats not recommended, then yeah, i agree this can be closed.

It is not documented explicitly, but it's certainly not recommended yes.


[User Management] - Error when trying to change the Project Member's Default Project

1) The Developer user (Ex: "Ted") creates a Project Member (Ex: "Alan") on the Project screen, but is unable to edit the Project Member (Ex: "Alan") profile, like the default project for viewing initial.

2) The Admin user is unable to edit the Project Member data (Ex: "Alan") created by the Developer (Ex: "Ted").

should be fixed on upcoming version

Thank you very much, @alvarolb  !
Thinger is always very responsive in serving the community.


Consider the Rust API Guidelines

https://rust-lang-nursery.github.io/api-guidelines/
just sharing what I came across. perhaps you're already aware of them.

Thanks, I'll have a look!
Perfect timing by the way, was just giving a talk about this library. :-)

nope, just thought you'd be interested.
I've yet to find the time to sit down and read through it all myself.

feel free to close this issue as and when you please - I don't have any specific outcome attached to it.

Ah, ok thanks! I went through it, but I couldn't find a recommendation that the code was violating.

feel free to close this issue as and when you please - I don't have any specific outcome attached to it.

Then I'll close this for the moment, but please reopen this at any time you feel there is something that can be improved.
Thanks!


Same GPON_SN among the WAN network in your area may interrupt the WAN connection

I have few DFP-34X-2C2 GPON to connect to few internet connections.
Beside setting the PLOAM (ONU password) password for these GPONs, I perform these settings too:
flash set OMCI_TM_OPT 0
flash set OMCI_CUSTOM_RDP 4
flash set GPON_SN HWTC12345678

All GPONs using are using same GPON_SN.  When I connect a fiber into one of the GPON, I notice other GPON connections will drop.  After some i trial and error, I try using different GPON_SN for each GPON device and all connections work perfect without interrupt each other.
Just curious if you have similar experience?  I suspect if we try using other GPON_SN may cause network disruption in your area.

I can't try using same SLID/GPON Password, since I don't know my neighbor password.
if anyone here work with ISP, they can try

Of course the same SN on multiple ONU connected to the same OLT port will make the other one drop connection, that's now they are "uniquely" identified !


chore: flip common deps in CLI to peer instead of regular dependencies

Description of changes
flip common deps in CLI to peer instead of regular dependencies
this should protect us from some of the 'Feature Flags is not initialized' type errors we've seen, by ensuring the CLI uses it's own local version of the FeatureFlags lib.
Issue #, if available
N/A
Description of how you validated changes
yarn setup-dev and then ran a few test commands w/ amplify-dev api gql-compile
Checklist

[x] PR description included
[x] yarn test passes

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

Codecov Report

Merging #520 (0f8ad52) into main (041fb80) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #520   +/-   ##
=======================================
  Coverage   62.61%   62.61%
=======================================
  Files         276      276
  Lines       17723    17723
  Branches     4248     4248
=======================================
  Hits        11098    11098
  Misses       6047     6047
  Partials      578      578

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more