Activity not showing up in Discord

I took the ActivityExample and changed some small things, but there is no activity on Discord and theres also no error thrown.
The current code:
   public static void main(String[] args) {
        Core.init(new File("./DiscordGameSDK/lib/x86_64/discord_game_sdk.dll"));

        try(CreateParams params = new CreateParams()) {
            params.setClientID(661151077600722947L); //my discord client id
            params.setFlags(CreateParams.getDefaultFlags());
            params.setFlags(CreateParams.Flags.NO_REQUIRE_DISCORD);
            Core core = new Core(params);

            Activity activity = new Activity();

            activity.setDetails("Running an example");
            activity.setState("and having fun");

            activity.timestamps().setStart(Instant.now());
            activity.assets().setLargeImage("test");

            core.activityManager().updateActivity(activity);

            activity.close();

            while(true) {
                core.runCallbacks();
                try {
                    Thread.sleep(16);
                } catch(InterruptedException e) {
                    core.close();
                    e.printStackTrace();
                }
            }
        }
    }

What could be the reason for this problem?

Try making the File Path to the .dll file a variable.
Then of course make the new File have the parameter of the variable.
Also make the File instance a variable too, and of course, create the file.
This is just for a more organized code base.
`
File file = null;
String path = "./DiscordGameSDK/lib/x86_64/discord_game_sdk.dll";
public static void main(String[] args) {
this.file = new File(this.path);
Core.init(file);
    try(CreateParams params = new CreateParams()) {
        params.setClientID(661151077600722947L); //my discord client id
        params.setFlags(CreateParams.getDefaultFlags());
        params.setFlags(CreateParams.Flags.NO_REQUIRE_DISCORD);
        Core core = new Core(params);

        Activity activity = new Activity();

        activity.setDetails("Running an example");
        activity.setState("and having fun");

        activity.timestamps().setStart(Instant.now());
        activity.assets().setLargeImage("test");

        core.activityManager().updateActivity(activity);

        activity.close();

        while(true) {
            core.runCallbacks();
            try {
                Thread.sleep(16);
            } catch(InterruptedException e) {
                core.close();
                e.printStackTrace();
            }
        }
    } catch(Exception e) {
              e.printStackTrace();
    }
}`

Also, you don't end the first TRY declaration with a CATCH.
So java never knows you catched an error.
Try adding to add the catch just after the penultimate curly brace and see if it throws an error or not.
If you get no exceptions after this, then it could also be that you're simply using another operating system other than Windows, since well... DLL files are exclusive for Windows OS', so if you are using a mac or linux machine, that could be the cause of the error.
If you still need help I am heavily open to help.

I've got now this code and it's still nothig to see on Discord.
`   static File file = null;
static String path = "./DiscordGameSDK/lib/x86_64/discord_game_sdk.dll";
public static void main(String[] args) {
    System.out.println("Activity started.");
    file = new File(path);
    Core.init(file);

    try (CreateParams params = new CreateParams(); Activity activity = new Activity()) {
        params.setClientID(661151077600722947L);
        params.setFlags(CreateParams.getDefaultFlags());
        params.setFlags(CreateParams.Flags.NO_REQUIRE_DISCORD);
        Core core = new Core(params);

        activity.setDetails("Running an example");
        activity.setState("and having fun");

        activity.timestamps().setStart(Instant.now());

        core.activityManager().updateActivity(activity);

        while(true) {
            core.runCallbacks();
            try {
                Thread.sleep(16);
            } catch(InterruptedException e) {
                System.out.println(1);
                core.close();
                e.printStackTrace();
            }
        }
    } catch (Exception e) {
        System.out.println(2);
        e.printStackTrace();
    }
}`

And I am using Windows, so there shouldn't be a problem with the DLL file.

You did create a discord application on discord's dev portal right?
(Sorry for the late reply)

Uhm, yeah I've got one but what exactly should I do there with it?

Get the Client ID located on the OAuth2 tab on Discords Developer Portal.
Get the Client ID and put it in the "params.setClientID()" method. (I am guessing you already have this part).
Also, check that your discord application is not a bot.
Of course, name the application too.
Also, could be that your class path is set incorrectly on your project.
If none of that works, try taking out all of the code you have and replace it with the one I am about to provide.
Create three classes, one called user activity, another called DownloadNativeLibrary, and the last one being the MainApp for organization's sake.
Add the following code to the UserActivity class: and change the CLIENT ID!:
public UserActivity() {
		System.out.println("\nStarting Discord's SDK\n");

		File discordLibrary = null;
		try {
			discordLibrary = DownloadNativeLibrary.downloadDiscordLibrary();
		} catch (IOException e1) {
			e1.printStackTrace();
		}
		if(discordLibrary == null)
		{
			System.err.println("Error downloading Discord SDK.");
			System.exit(-1);
		}
		// Initialize the Core
		Core.init(discordLibrary);

		// Set parameters for the Core
		try(CreateParams params = new CreateParams())
		{
			params.setClientID(<ADD YOUR CLIENT ID HERE!>);
			params.setFlags(CreateParams.getDefaultFlags());

			// Create the Core
			try(Core core = new Core(params))
			{
				// Create the Activity
				try(Activity activity = new Activity())
				{
					activity.setDetails(Globals.VERSION);
//					activity.setState("Concentrated");

					// Setting a start time causes an "elapsed" field to appear
					activity.timestamps().setStart(Instant.now());

					// Make a "cool" image show up
					activity.assets().setLargeImage("big");

					// Setting a join secret and a party ID causes an "Ask to Join" button to appear
//					activity.party().setID("Party!");
//					activity.secrets().setJoinSecret("Join!");

					// Finally, update the current activity to our activity
					core.activityManager().updateActivity(activity);
				}

				// Run callbacks forever
				// Just keeps running the sdk y'know?
				while(true)
				{
					core.runCallbacks();
					try
					{
						// Sleep a bit to save CPU
						Thread.sleep(16);
					}
					catch(InterruptedException e)
					{
						e.printStackTrace();
					}
				}
			}
		}
	}

Then make the DownloadNativeLibrary class and add this code into it:
public class DownloadNativeLibrary
{
	public static File downloadDiscordLibrary() throws IOException
	{
		// Find out which name Discord's library has (.dll for Windows, .so for Linux)
		String name = "discord_game_sdk";
		String suffix;

		String osName = System.getProperty("os.name").toLowerCase(Locale.ROOT);
		String arch = System.getProperty("os.arch").toLowerCase(Locale.ROOT);

		if(osName.contains("windows"))
		{
			suffix = ".dll";
		}
		else if(osName.contains("linux"))
		{
			suffix = ".so";
		}
		else if(osName.contains("mac os"))
		{
			suffix = ".dylib";
		}
		else
		{
			throw new RuntimeException("cannot determine OS type: "+osName);
		}

		/*
		Some systems report "amd64" (e.g. Windows and Linux), some "x86_64" (e.g. Mac OS).
		At this point we need the "x86_64" version, as this one is used in the ZIP.
		 */
		if(arch.equals("amd64")) {
			arch = "x86_64";
		}

		// Path of Discord's library inside the ZIP
		String zipPath = "lib/"+arch+"/"+name+suffix;

		// Open the URL as a ZipInputStream
		URL downloadUrl = new URL("https://dl-game-sdk.discordapp.net/2.5.6/discord_game_sdk.zip");
		HttpURLConnection connection = (HttpURLConnection) downloadUrl.openConnection();
		connection.setRequestProperty("User-Agent", "discord-game-sdk4j (https://github.com/JnCrMx/discord-game-sdk4j)");
		ZipInputStream zin = new ZipInputStream(connection.getInputStream());

		// Search for the right file inside the ZIP
		ZipEntry entry;
		while((entry = zin.getNextEntry())!=null)
		{
			if(entry.getName().equals(zipPath))
			{
				// Create a new temporary directory
				// We need to do this, because we may not change the filename on Windows
				File tempDir = new File(System.getProperty("java.io.tmpdir"), "java-"+name+System.nanoTime());
				if(!tempDir.mkdir())
					throw new IOException("Cannot create temporary directory");
				tempDir.deleteOnExit();

				// Create a temporary file inside our directory (with a "normal" name)
				File temp = new File(tempDir, name+suffix);
				temp.deleteOnExit();

				// Copy the file in the ZIP to our temporary file
				Files.copy(zin, temp.toPath());

				// We are done, so close the input stream
				zin.close();

				// Return our temporary file
				return temp;
			}
			// next entry
			zin.closeEntry();
		}
		zin.close();
		// We couldn't find the library inside the ZIP
		return null;
	}
}

(REMEMBER TO IMPORT ALL THE CLASSES! (CTRL+SHIFT+O if you're on Eclipse IDE))
And at last create the MainApp class with the following code:
public class MainApp {
	public static void main(String[] argss) {
		new UserActivity();
	}
}

So those are the solutions I have in mind.

If im running exactly this code, I'm getting this error:
[ERROR] ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc." }
[ERROR] Failed to configure networking: ResponseError { code: UnknownError, message: "Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc." }

(Network is ofc not offline)

why don't you add me on discord so we can talk easier there. We will be able to solve your issue easier.
Discord ID: Robat#7727

Issue is more or less solved, for more information see #56


451 [Proposal] Issue labeling automation

Added the issue-labler workflow added a v0 config.
modified bug_report.md to be able to work with the issue-labler
modified feature_request.md to be able to work with the issue-labler

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Should be ANDN instead of ANDC.

The long-established name of the logic operation that ANDs two Boolean inputs and complements the result is NAND, not CAND.  RISC-V assembly language has a pseudo-instruction for a bitwise complement called NOT, not COMPL or whatever.  This draft extension includes instructions called NAND, NOR, and C.NOT.  For consistency, shouldn't the instruction that computes a bitwise AND with the complement of the second operand be called ANDN instead of ANDC?

Intel does use ANDN, but honestly neither bother me. It could also be called NORC or NORN.
Since  (¬x ∧ y) = ¬(x ∨ ¬y)
Intel BMI instructions
https://en.wikipedia.org/wiki/Bit_Manipulation_Instruction_Sets

Power calls it andc:
AND with Complement
RA <- (RS) & ¬(RB)
https://openpowerfoundation.org/?resource_lib=ibm-power-isa-version-2-07-b
Alpha called it BIC (which I think was the Vax name for "bit clear"):
BIC Logical Product with Complement
Rc <- Rav AND {NOT Rbv}
https://download.majix.org/dec/alpha_arch_ref.pdf

ANDN seems more consistent with NOT and current usage.
Tommy

On Apr 23, 2019, at 11:27, pdonahue-ventana<EMAIL_ADDRESS>wrote:
Power calls it andc:
AND with Complement
RA <- (RS) & ¬(RB)
https://openpowerfoundation.org/?resource_lib=ibm-power-isa-version-2-07-b
Alpha called it BIC (which I think was the Vax name for "bit clear"):
BIC Logical Product with Complement
Rc <- Rav AND {NOT Rbv}
https://download.majix.org/dec/alpha_arch_ref.pdf
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The long-established name of the logic operation that ANDs two Boolean inputs and complements the result is NAND, not CAND.  [..]

I personally was aware of the PowerPC ANDC instruction for a long time, and only learned about x86 ANDN when I was doing research for the RISC-V bitmanip extension.
I think PowerPC had the ANDC instruction already in PowerPC 600 in 1993.
I think Intel added ANDN as late as in Haswell in 2013, exactly 20 years later.
So if that's right (and I'm not 100% certain), then one could argue that ANDC is the long-established name for this instruction.  :)
That being said, if anyone thinks its really important then we can change the name to ANDN.

I do not think it's that important. I would say again ANDC does avoid the confusion of it being some weird form of NAND.

The latest draft now uses the name ANDN.


Stable/Production ready status

I think it would be helpful to get an update as to how stable or production ready Parse Server is. Is anyone running it in production?

@blacha ?

Yes. I migrate 25 apps so far it is actually very stable.

Check out #1106 for an existing thread on the topic.


Fix the rare error "data.sort() is not a function"

There is almost no way to check the error or the fix. But I hope this works.

Lol nice fix. Were you able to reproduce the error?

Nope. I tried more than 180 times. No errors.

The fix assumes that the request failure occues only once. But still worth something.

Yes. Because the request failure had occured only once in more than 400 requests overall. So I think it is a nice assumption. And anyways, we can't keep on retrying.


fix(transducers): #186, Fix crash when using empty string as source for several transducers

Includes tests for some of the affected transducers.
NOTE: This changes the behavior of flatten when a string is passed as the source argument (per discussion in issue).
Fixes #186

OMG! Good things come to those who wait! :) Thank you so much for sticking with it - almost thought you moved on by now. Looks all good to me! 🙏 💯

@gavinpc-mindgrub in case you haven't seen it yet, released it all (plus some additional minor refactoring of other stuff) as v7.0.0

Thanks @postspectacular.  I finally straightened out my process so I am using umbrella as a submodule and can more easily test changes locally.  Have a few more things coming your way.
OT, but I am curious if there is a TL;DR about the hdom2020 work.  I am using hdom in a highly unusual way but I am wondering whether the approach is related.  I know... I should get in Discord :)  Just thought I'd ask in case you had an elevator pitch handy.

👍 Looking forward to see what's in the pipe... :)
As for hdom2020 - the elevator pitch is to more or less compile a hiccup tree ahead of time, avoid diffing as much as possible and embrace rstream subscriptions (embedded in the component tree) to drive DOM changes directly. The other important aspect is the overall component setup & lifecycle, e.g. mount/unmount lifecycle methods are async now and generally also allow for imperative updates. TL;DR hdom2020 is less centralized with more autonomy given to components in terms of internal/local state and how state changes are/should be updated/reflected... I will try to a more detailed write up soon. Still have more experimentation to do and build more proof-of-concept examples. But I already like it much more...


Montecarlo examples

[x] Include the monte carlo examples
[x] add documentation (readme per example).
added one for both
[x] .gitignore should be updated to not include any generated output which does not want to be tracked (figures).

[ ] adding the report?
[ ] updating the make files?

This can be closed once #115 has been resolved, and 1.5 is merged into master.


OpenXR Null Profile Crash Fix and Fill Unimplemented Profiles

Catch null profile_def crash on project startup utilizing openxr action map
Create interaction_profile, io_paths for originally defined (in openxr.h) but unimplemented profiles: odyssey, focus3, huawei, controllers.

https://github.com/godotengine/godot/pull/59940#issue-1194587015 implements the profiles much better, but I'm still getting the null profile_def crash fixed by e634709fe30c013ef7d3d5303b9777a9c443a3d3

@HookJabs Looks like we were working on the same think in parallel :)
Note that if profile_def is null that means we're missing the meta data in interaction profile in OpenXRDefs, so looks like we've got a missing entry somewhere.


Media picker is not working in Galaxy Note2 and Note3.

I used media picker (from the Xlabs) in my Xamarin app. Its working in Xiomi note, Nexus 6,LG and Mi3 W.
But when I test with Note2 and Note3. Its crash when tacking photo or select the photo from gallery.
I try to use the CrossMedia plugin. Still crash.
Pls, help me. Is there any other idea?
I added the permission on manifest as follow:
android.permission.CAMERA And android.permission.WRITE_EXTERNAL_STORAGE

I think you might need android.permission.READ_EXTERNAL_STORAGE as well.

Merging this with #128

hi @cbartonnh I added as your advice but still the same issue.


fix(sync-utils): Change utils to match learn

Pre-Submission Checklist

[x] Your pull request targets the staging branch of freeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Addressed currently open issue (replace XXXXX with an issue no in next line)

Closes #18040
Description

The issue was caused by the difference between dasherize functions in this repo and learn.  This brings them back into alignment.

@raisedadead @Bouncey Why is the PR still open if labeled blocked?

Opps... wrong button

Hi @ojeytonwilliams this is change that we are evaluating for inclusion.
We have merged the learn platform in this main repo. So, it needs to be decided where we need to put up some common utils like such as this file.
We haven't gotten around to this, hence the blocked status.
Thanks.

@ValeraS Is this PR still needed, since you made the recent changes to dasherize?  The only other thing I see is changes to nameify function.

@RandellDawson I think an updated version of this PR is needed, since there are still several instances of dasherize and nameify.  dasherize is a bit tricky because some of which are slightly different!
Nonetheless, if they can be unified, presumably they should be.  Perhaps in a new common utils directory.

Are we able to revisit or close this @ojeytonwilliams ?

Well, this is stale to the point of useless, but I still think we should DRY out this stuff.
I've taken another look at the three dasherize functions and they all have exactly the same functionality. They're just written slightly differently.
Is there any reason not to just put a single util in the root dir and have the client, server and curriculum all use that?

Is there any reason not to just put a single util in the root dir and have the client, server and curriculum all use that?

There is none. Please go ahead with the refactor if you are interested.

Hi @ojeytonwilliams I like this, and going forth we should probably using this structure for our utils. Do you mind throwing some tests in?

@raisedadead are these tests what you had in mind?  They made me realise that " a title  " becomes "-a-title--", which doesn't look great.  Perhaps we should trim the strings first.

These tests are perfect and as you seem to have found a use case where we do need to trim the spaces.


Update CSS for Improved Styling of Tab Reminder Form

Hey @Sulagna-Dutta-Roy
Is your feature request related to a problem? Please describe.
Currently, when users try to set tab reminders, the form lacks a visually appealing design and fails to provide clear instructions, leading to user confusion. The existing layout also lacks the desired aesthetic appeal, making it less engaging for users.
Describe the solution you'd like
I would like to improve the design and functionality of the tab reminder form by implementing the visually appealing design and intuitive layout.
Additional context
Before making the changes:

After making the changes:

Please add the gssoc labels and I would like to work on it under GSSOC'24. Thank you!!

I would like to work on this issue , please assign this to me.
@Sulagna-Dutta-Roy


Rename MLE model fit to MAP

We are using parameter priors in BOSS. Thus we are doing MAP, not MLE. The name does not fit.

Commit 7fc130b995c2caec9684cf90eec08d8be2f981e7 renamed all occurrences of MLE to MAP in src and docs.
Occurrences of MLE in test remain to be renamed.

The remaining occurrences in tests were removed (not sure which commit). Closing the issue.


Type of field status in class Document/Error

While int and string are valid types for status argument in ctor of class Document/Error, it converts it to string as return type.
As I plan to use returned status as argument for http_response_code(), which accepts int - I wonder why it's transformed to string not int?

I suspect it's because the JSON API spec says this:

status: the HTTP status code applicable to this problem, expressed as a string value.

Ok. Doesn't sound logic as all codes are numerals, but that's problem of specification.


Connect npm package with github project

There is no link from npm package page to this repo

Thanks again. I just checked. Simple correction.

Problem solved in version 0.1.0! Thanks.


Proper way to handle node_modules across steps?

My company is tarring up the node_modules and uploading this as an artifact. We then have to check in each build step if a node_modules exists and if not to download the artifact & untar it. None of the examples presented are even close to real world, since 1 step isn't close to how people use CI, which makes it quite difficult to understand whether this is the proper way to handle it.

Tarring as an artefact is the way to do it if you’re not using docker!
This part of the setup is definitely something we hope to address in upcoming docs improvements!

I'm going to close this one in favour of the more general #177.


Add end-to-end dataset checker

This function would speed up the analysis process greatly, by running all available methods with a pre-specified configuration (file?).
As an addition, it might make sense to have a singular "data score" roughly estimating the quality of the dataset.
Currently, we have the problem that particular methods produce quite a loaded ouptut that might be too much for interpretation on the fly.

#41 introduces Cleaner, a utility that can actually reduce the dataset to a (high?) quality subset.
However, this would still leave room for a singular data score, which can be more elaborate than simply filtering based on trivial criteria.


How to enable traces in CLI?

Hi,
I would like to observe the trace when I execute "cf push" in my windows system.
¿How to enable the traces?
Many thanks in advance.
Juan Antonio

Only, it is necessary to set the variable in the path to see cf push details.
set CF_TRACE=true


Can u show examples for custom data

Hey guys, I excited in your paper <3
Can u share custom data for train, val, test and how to inference with test data only have multi-documents ?
Thanks guys !

Hi @Dean98AI,
I'm not sure I got your question, do you mean examples of MDS topics with a few degree of merging or do you refer to the experiments in Table 4? Could you clarify please?
Best


Fix issue #272

Overview
Fixes issue #272.
This PR rewrites the trino__get_catalog macro so that instead of using
select ... from system.metadata.table_comments where ... and schema_name in ('schema_1', 'schema_2', etc)

it uses UNION ALL to join subqueries which filter on one schema each, as follows:
select ... from system.metadata.table_comments where ... and schema_name = 'schema_1'
union all
select ... from system.metadata.table_comments where ... and schema_name = 'schema_2'
union all
etc.

By doing this, Trino reads only the table comments from the tables in the selected schemas instead of reading table comments from all tables in the catalog, which can be very slow.
With this change, running dbt docs generate is much faster, taking only a few seconds if the dbt project only contains a few tables. The affected query takes less than a second.
Checklist

[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[ ] README.md updated and added information about my change - seems not necessary
[x] I have run changie new to create a changelog entry

Please squash commits and align commit message with changelog entry.


AI tool added

Related Issue
Closes #873
Description
I have added A Perplexity ai website is an AI-chat-based conversational search engine that delivers answers to questions using language models.
Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

Hello, contributors! This is Jason speaking. Due to some workflow issues, we will be closing all the PRs today. Therefore, I kindly request all of you to create new PRs tomorrow, as the currently open ones will be closed by our team. I apologize for any inconvenience caused. Also, please make sure to check the titles when creating the PRs. You can refer to the README.md for more details. Thank you.


Report the storage type used in a object info command

Using the nats cli, it was hard to tell whether or not a bucket was using a File storage or a Memory storage.
This commit introduces a row that displays the StorageType as reported from the ObjectBucketStatus structure

Perfect, can you sign the commit? Thanks @bannatech

Perfect, can you sign the commit? Thanks @bannatech

I'll have this set up in a moment, I haven't set up commit signing with GitHub just yet -

Thank you


Designed the "tip of the day" section.

Related Issuse

designing tip of the day.

Closes: #[41]
Describe the changes you've made
I have added CSS and HTML in the original code.
added a heading
designed the tip text-box
Checklist:

It follows the display scheme of the project.
It makes the display better.
It generates no new warning.

screenshot :

Sure. I'll make the required changes.


Pre-built image (Jetpack4.5) for Waveshare JetRacer Pro AI Kit and JetRacer AI Kit

We make a Jetracer Pro image based on Jetpack4.5. If you use Jetson Nano Developer Kit (B01) and the Waveshare JetRacer Pro AI, Kit. You can download this image and test it.
link: https://drive.google.com/file/d/1bgCAUJ9m16g5FGuYgKy3WmGI-pGjPXN0/view?usp=sharing
If you have the JetRacer AI Kit. Please switch the Jetracer repository and reinstall with the following commands:
cd jetracer
git checkout master
sudo python3 setup.py install
sudo reboot

@waveshare  sorry, but it is still unclear to me what I should do to get the JetRacer AI Kit (non-pro with Nano A01) up and running. I have burned a fresh JetPack 4.5.1 and manually installed the JetCard from 4.5.1 branch. The thing is that the Jupyter is not starting but that is different story. Which repo/branch should I use to get the RaceCar working with 4.5 update. Thanks

@waveshare sorry, but it is still unclear to me what I should do to get the JetRacer AI Kit (non-pro with Nano A01) up and running. I have burned a fresh JetPack 4.5.1 and manually installed the JetCard from 4.5.1 branch. The thing is that the Jupyter is not starting but that is different story. Which repo/branch should I use to get the RaceCar working with 4.5 update. Thanks

Did you download the right image? There is one for 2GB and one for 4GB.

i am 2nd on this, where is pre-made sd card image for none pro versioin ? ..

@diamondbarcode
The non pro version uses the same image as the pro version. The only different is that you need to go into the jetracer directory and swich the batch to master and re-install it.
Please check our wiki for details.

hello waveshare i need your help, kindly reply please ,in my waveshare jet racer ai kit (non pro version) the rear motors are not running they don't respond to the basic motion when i set car.throttle=1 or -1 or anyother value between -1 to 1. My servo motors are running well and good i just needed help in this problem . The car.throttle_gain has been set to 0.8 , but i don't get any kind of response from the dc motors when i run it, servo motors are running good, i have the Jetson Nano B0-1 board and all my connections are correct i have rechecked them many times and also when i'm normally power the motors to check if they are fine using a battery they are running good so there is no problem with the motors in general . Please help . It will be really helpful as i really want to explore and learn about autonomous driving and do some personal projects.


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[PATCH] Don’t require strong auth on regular time interval

This disables the need to provide strong authentication except when booting the device. The idea behind this is that you are no longer forced to enter your strong authentication credentials in random locations where it might be easy to snoop your strong authentication credentials allowing an adversary to boot and decrypt your device against your will.
Changing DEFAULT_STRONG_AUTH_TIMEOUT_MS is not enough. Rather, it has the opposite effect for some reason. In my tests, it caused the strong auth to be required every hour rather than a 42 d interval.
In my tests, dpm.getRequiredStrongAuthTimeout(null, userId)) returned 3600000.
Also submitted to: https://github.com/RattlesnakeOS/community_patches/pull/9

This one has wider implications and will need more discussion. Merged your other patches.
Can you describe a specific scenario where this is a risk?
I worry about border-check situations where a timeout that enforces strong auth vs a fingerprint could be useful.

I have not been in such a border-check situations but I don’t believe that this patch would make much of a difference there. Without this patch, Android defaults to a 3 day interval. I find it very unlikely that boarder control will just wait for such a duration without trying to unlock the phone. When you read the discussion in https://github.com/RattlesnakeOS/community_patches/pull/9, you will find that there are some more thoughts also. Another idea is to use https://f-droid.org/en/packages/xyz.iridiumion.plucklockex/.
So currently in practice I think the following scenarios are realistic:

You lookdown the device or ideally shut it down. Border control will not be able to access your data without you providing the passphrase in some way.
You don’t lookdown the device so it will accept weak auth like your fingerprint which I guess in most countries, you could be forced to put your finger onto the reader.

Can you describe a specific scenario where this is a risk?

Without this patch, the need to provide strong auth kicks in every 3 days regardless of other factors like location or if you have just unlocked your device successfully a second ago. Some situations where this can be a risk:

You are surrounded by other people or (hidden) cameras which could see the passphrase you type in https://en.wikipedia.org/wiki/Shoulder_surfing_(computer_security)

I came to the conclusion that for me it makes more sense to keep this strong auth passphrase as secret as possible and rather manually lockdown the device when needed because the 3 day interval is just a hassle for me and I don’t see the benefit of it. The only (declared) benefit is that people don’t forget their strong auth passphrase which I mitigated otherwise.

Well argued, and I am inclined to agree. Approved to merge into our next release.


add multiple systems component

Closes #4230
Description Of Changes

[!NOTE]
There is still a small about of additional work being done in the plus PR. That doesn't effect the outcome of this PR though. This is just for the FE portion and is still ready to review.

This adds a new component that handles the bulk creation of systems/vendors based off of data from compass.
Code Changes

[ ] Complete table refactor. This change is additive. The original tables can be migrated over gradually over time as described here

[ ] uses version 8 of react table
[ ] refactored logic to make the table more modular
[ ] uses the brand new table V3 designs for styling
[ ] Generally better DX due to version 8 and refactor

[ ] Adds two new pages. Their nearly identical in code with the wording being different on each page

[ ] Bulk System creation page
[ ] Bulk Vendor creation page

[ ] Upgrade modal that links to a new tab if a required feature isn't enabled.

Steps to Confirm

[x] checkout fides on ajackson/add-multiple-systems-component
[x] checkout fidesplus on ajackson/add_dictionary_routes/PROD-1069 - make sure plus is configured to use compass
[x] checkout compass on ajackson/get-all-privacy-declarations - make sure compass has it's config values
[x] Run all three
[x] Navigate to /add-systems and make sure the Add multiple systems card is there.
[x] Clicking it should bring you to /add-systems/multiple
[ ] Now briefly, turn of fidesplus, and configure compass to be disabled
[ ] Now go back to /add-systems and click on the card. It should bring up a modal that says to either upgrade or create one system at a time. One button links out, the order goes to the single creation page.
[ ] Now turn off fidesplus and conigure compass to be enabled and turn back on
[x] Go to /add-systems/multiple
[x] Make sure the search bar works
[x] Check that paging works
[x] Click on row checkbox should trigger a purple row to pop up
[ ] Clicking the header checkbox should enable/disable all rows
[ ] With a few rows enable click the Add Systems button and add the systems. You should be redirected to the datamap page
[ ] Navigate to the configure page (/systems/configure/<id>) for one of the systems you just created and check that everything was filled out.
[ ] Now navigate to /consent/configure and click the Add multiple vendors button. It'll redirect you to a page above that looks almost the same.
[ ] Repeat the above steps with adding systems to test out that it works

Pre-Merge Checklist

[x] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[x] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

@allisonking one of the tests that's failing is the flaky system-plus test. The other one seems unrelated to my work but I can take a look at it

beginning UAT testing 😎

should these perhaps use different icons? I don't have the link the original design, maybe it is meant to use the same icon?

@allisonking good callout. I think that's okay for now. I reviewed it with Simon this morning and he didn't mentioned the logos

can this be sorted in any way? they seem a little haphazard

it it's easy, perhaps this purple header can be sticky?

I feel like checking this top checkbox should only check the 25 listed on the page... seems like we have fake paging going on (I'd expect paging to be useful to limit the request we get from the BE, but it looks like we still get the whole obj, which makes for a weird user experience in this case of checking everything)

we should pluralize system here (conditionally, probably)

can this be sorted in any way? they seem a little haphazard

It can be sorted by clicking the header. It's just not sorted by default. Is that satisfactory? I think it's possible to have something sorted by default. I didn't do it because it wasn't in the requirements.

it it's easy, perhaps this purple header can be sticky?

That's weird. That header used to be sticky. I'm pretty sure it was sticky when I demoed this morning :sweat_smile: I'll look into that.

I feel like checking this top checkbox should only check the 25 listed on the page... seems like we have fake paging going on (I'd expect paging to be useful to limit the request we get from the BE, but it looks like we still get the whole obj, which makes for a weird user experience in this case of checking everything)

I actually talked through this with Simon and that's the desired behavior. The reason for it is we'll have more filtering at some point the it's useful to have that select everything.
It can be changed in the future if people don't like it though

we should pluralize system here (conditionally, probably)
The toast afterwards should also be pluralized

Yes, it should. Good catch!

It can be sorted by clicking the header. It's just not sorted by default. Is that satisfactory? I think it's possible to have something sorted by default. I didn't do it because it wasn't in the requirements.

okay that's fine with me!

I actually talked through this with Simon and that's the desired behavior. The reason for it is we'll have more filtering at some point the it's useful to have that select everything.
It can be changed in the future if people don't like it though
edit: also if by fake paging you mean client side only paging then yes it's fake haha. That is known and okay for now

ah okay I didn't see this before my review—in that case, lgtm! no more gripes from me :)


All jq queries supported?

Are all jq queries supported? I.e., picking a few from https://github.com/stedolan/jq/blob/master/tests/jq.test,
.foo
{"foo": 42, "bar": 43}
42

.foo | .bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42

.foo.bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42

.foo_bar
{"foo_bar": 2}
2

.["foo"].bar
{"foo": {"bar": 42}, "bar": "badvalue"}
42

."foo"."bar"
{"foo": {"bar": 20}}
20

[.[]|.foo?]
[1,[2],{"foo":3,"bar":4},{},{"foo":5}]
[3,null,5]

[.[]|.foo?.bar?]
[1,[2],[],{"foo":3},{"foo":{"bar":4}},{}]
[4,null]

Are they all supported?
Any plan to port the whole test cases there over here? (I don't mind give it a try, as long as you think all of them should be supported)

I tried to take a stab at it, but bumped into error with this small test file:
https://github.com/go-easygen/easygen/blob/c56261c51eabb6f9912bf45644a68b6a779f59a6/test/jq-test_0.go
The codeship build error is logged at
https://app.codeship.com/projects/135255/builds/21370744
Specifically it says,
  .../easygen/test/jq-test_0.go:64: t.Run  (type *testing.T has no field or method Run)

I did a comparison with your https://github.com/savaki/jq/blob/master/parse_test.go file, but didn't notice anything suspicious.
So what about this "type *testing.T has no field or method Run"? Have I done something wrong? Thx.

I cloned and tested it in my own environment, https://github.com/suntong/jq, and get the same error as well.
# _.../suntong/jq
./parse_regexp_test.go:59: t.Run undefined (type *testing.T has no field or method Run)
# _/.../suntong/jq_test
./op_chain_test.go:56: t.Run undefined (type *testing.T has no field or method Run)
./op_dot_test.go:61: t.Run undefined (type *testing.T has no field or method Run)
./parse_test.go:63: t.Run undefined (type *testing.T has no field or method Run)
FAIL    _/.../suntong/jq [build failed]

FYI,
Full test cases from github.com/stedolan/jq added as
https://github.com/go-easygen/easygen/blob/master/test/jq-test_1.go_
(untested due to the above error/problem)

@suntong testing.T is a go stdlibrary type. you probably have the wrong version of go.

 I wouldn't bother, unless I know for sure someone is going to take it...


Godot 4 support?

Hi, are there any plans to support Godot 4? (I see a red badge in the README.)
I plan to use Godot 4 with C#. I don't think NUnit would work out-of-the-box (it would need to spin up a Godot instance for integration tests, plus the complication of debugging.)

;)
Is already an alpha released
https://github.com/MikeSchulze/gdUnit4/releases/tag/v4.0.0-alpha
You are welcome to support me.
I want to make the gd api stable first, followed by the c# api


Fix the PR template to match the main branch name

That feels a little out of scope for this change?
(Also, as a first-time and external contributor, it's not clear to me that I could have known that that portion of the template was inaccurate)

I think that even develop branch information is also inaccurate, as there is no such a branch any longer.

@PeterJCLaw I didn't mean that you could have known that part. I'm sorry if my comment was misleading. I just wanted to say that we should fix this part of the note as well if we edit the note anyway.
As for the scope of this PR, I don't think that we need two PRs to fix one note in the docs.


Update Forbole.toml for testnet-15

Description
All previous genesis validators should name their PRs "Update {validator_alias}.toml for tesntet-15" and provide links to previous PRs merged.
If this is an UPDATE for a previous genesis validator
Checks are made against your net_address. If this has changed since the previous testnet, make sure you provide links of previous prs merged from your previous git username.
Previous PRs:
https://github.com/anoma/namada-testnets/pull/272
https://github.com/anoma/namada-testnets/pull/1267
https://github.com/anoma/namada-testnets/pull/2486
Thanks in advance!
Checklist before merging

[x ] Only one toml is added in this PR
[ x] The file being added is indeed a .toml file
[ x] The toml being added is to the correct folder, and only to the correct folder
[ x] The eth_hot_key and eth_cold_key are present
[ x] The email, discord, elements telegram, and twitter fields are present and valid

You attempt to add 2 validator tomls (probably by accident). Please resubmit with only one present


Upgrade the database to use the new note commitment tree serialization format

Motivation
We can't convert from the new note commitment tree types into the old serialization format, because they don't store some essential data.
Instead, we need to do a one-way conversion from old to new formats.

It seems like we can make this work without upgrading the database, but we might want to do it eventually.


Revamp and fix errors in parameters.md

Motivation
This PR removes several configuration examples that are no longer correct. This PR also attempts to revamp the parameters.md to more fully explain all the ways to configure Ocean.
[Update by trentmc: All issues should be linked to issues. This PR addresses some of #523. Therefore let's consider it a PR to help towards that issue.]
Changes proposed in this PR

Removed the example where Ocean() is instantiated with "no input". This ability was removed in #336
Removed "1. dict input, filled from envvars". Replaced with simpler examples, see below. Previously, this example used envvars to populate a config dict that is then passed to Ocean(config_dict) without first instantiating a Config object. This is removed for two reasons:

Creates confusing dynamic between envvars and config dict. Only one or the other is strictly required. When both are provided, envvars override config_dict. This order of precedence deserves its own dedicated section.
  * When passing a config_dict directly to the Ocean() constructor without first instantiating a Config instance, only 3 config options are supported: network, metadataCacheUri, and providerUri. All other options are not supported, meaning that if they're included in the config_dict, they are ignored and are set to default values instead. Technically, the user could still use envvars to set the non-supported options but this should be covered in the yet-to-be-written order of precedence section.

Added "1d. Config object input, filled using config dict". This is a simplified example that shows how to use config dicts.
Added "2. dict input (deprecated because it doesn't support all config options)". This is a simplified example that shows how to pass a config dict directly to the Ocean() constructor. This is marked deprecated and moved to the bottomof the file. I believe we should remove the ability to pass config dicts to Ocean and thus eliminate duplication between Config and Ocean. Corollary: fixing to support all options would create more duplication.
Added "1a. Config object input, filled from ExampleConfig (recommended)" where the Config instance is provided by ExampleConfig.  I believe @trentmc referred to this as "the import way". This example is recommended because it requires only a single envvar and ensures that users receive sensible defaults based on the chain_id.  No other config method provides this. Hence, it is inserted near the top of the file.

Next Steps
The current draft is still missing sections that would greatly clarify how configuration works:

Order of precedence (ie. "if I provide an envvar, a config.ini, and a config_dict containing different values for the same option, which one wins?")
Table of all config options (columns for envvar names, config.ini names, and config_dict names)

@DMats is this still a draft? Do you think you can finish it soon, or maybe Maria can take over since she's on ocean.py these days?

@calina-c Yes, this is still a draft. I'm hoping to tackle this late next week after I've finished with https://github.com/oceanprotocol/provider/issues/226

@DMats are you fine with closing this? I don't think it applies anymore and I doubt there is much code able to be reused directly. Maybe we can keep the branch for inspiration but close the PR without merging?

@calina-c I think this PR is still relevant.  I'll double-check that all the changes I made are still true in v4, implement the next steps, and mark this ready for review.

@calina-c I took another look at this today.  I retargeted it for v4main. I think we should merge it as is because it's more correct than what was there before, even though I didn't add a section about "Order of precedence" or a "Table of all config options"
Reading through #523 again, I remember that I wanted to tear out the ExampleConfig and fix the Config, but I think that work should be scheduled separately.

This PR is since Sep 2021. It's not big. Is it getting merged, or should it just be closed?

@mariacarmina Is this PR still relevant? If yes, please pick up the relevant parts/code and merge it. If not let's close it. Thank you!

Superseded by #953 (nice work @calina-c! :raised_hands: )


Working with querySelector()'s null return.

Something that's used often on our end is the || operator for querySelector() and querySelectorAll(). May be useful to include it as a possibility. It removes an if check or a ternary operator + double assignment.
This single thing helped a movement to remove jQuery from our agency's toolbelt at one point in time.
var elements = [].slice.call(document.querySelectorAll('*') || []);

Good suggestion, updated the docs to clarify. https://github.com/oneuijs/You-Dont-Need-jQuery/commit/7d22a3fe895ed505092540a3681202bea9e082ff

:+1: looks great!


Return a Left of MissingKeyValue if the key provided is not the primary key

Addressing issue https://github.com/scanamo/scanamo/issues/290
Previous Behaviour: If a key provided for a get operation was not a primary key an exception was thrown
New Behaviour: Instead of throwing an exception a Left(MissingKeyValue) is returned

We managed the reproduce the issue. Simple example with cats:
LocalDynamoDB.usingRandomTable(client)('name -> S) { t =>
      case class Farm(asyncAnimals: List[String])
      case class Farmer(name: String, age: Long, farm: Farm)

      val farmers = Table[Farmer](t)

      val result = for {
        _ <- farmers.put(Farmer("Maggot", 75L, Farm(List("dog"))))
        r1 <- farmers.get('wrongkey -> "Maggot")
      } yield r1

      ScanamoCats
        .exec[IO, Either[DynamoReadError, ScanamoGetResult[Farmer]]](client)(result)
        .unsafeRunSync
    }

    // ===> com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: One of the required keys was not given a value (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException; Request ID: 27704c49-a737-4920-af08-3434a369f535)

Unfortunately the thrown exception is of the very generic type `AmazonDynamoDBException. I agree that this PR would catch too many exceptions. We missed that with @susiecoleman but I am not sure how to solve this problem.

we need to ask ourselves the question: do we want to handle exceptions there (aka in the interpreters)
I am also keen to discuss this point and take a step back to revisit how we deal with exceptions but at the moment this is how we deal with them (cf: all the conditional functions). This PR doesn't introduce a new way of handling exceptions, only following the same mechanism already in place.
I am all for coming up with a better design but I think it is orthogonal to merging this PR, which is solving a real issue. Of course to do so we need to find a solution to the AmazonDynamoDBException issue first 😁

We managed the reproduce the issue

Ha, but there's the problem. You're using unsafeRunSync. You can't not throw an exception here, it will always happen no matter what we do inside the library. In a production setting, no one should use that function! Instead they should use unsafeRunAsync:
ScanamoCats
        .exec[IO, ScanamoGetResult[Farmer]](client)(result)
        .unsafeRunAsync { result: Either[Throwable, ScanamoGetResult[Farmer]] => ??? }

☝ there, the exception is contained in the result. I don't think that's a bug, it's a feature of how cats' IO is designed.

I hear you. Using sync or async doesn't really matter to show that the error wouldn't be part of the return type of the ScanamoGetResult operation.
If we are happy with exception being return alongside the operation result why are we not doing the same for all the conditional operation?

I think that was a bad design decision. There is nothing special about the conditional exception that merits it being promoted more than any other exception, imho. Plus it creates more complexity in the library, because now there are two different ways of dealing with errors. I'd very much prefer if we removed it tbh. What do you think?

I agree that we should be consistent. However because redesigning exemption
handling would be a big change I thought solving a known problem (making a
get with non-existing key) would be beneficial on the short term and as I
mentioned earlier it doesn't create much complexity because the complexity
is already here, which is a debatable decision.
I would personally prefer to split the conversation because they are not
totally related.
Meanwhile the options are:

We still merge this change on the short term even though we want to
redesign exception handling.
or
We wait for the exception handling redesign to provide a better
solution, not only to the wrong/missing key get operation but to all
potential exceptions.

I am fine with either. What you @Regis Kuckaertz
<EMAIL_ADDRESS>and @Susie Coleman
<EMAIL_ADDRESS>think about it?:
On Mon, 11 Mar 2019 at 11:17, Regis Kuckaertz<EMAIL_ADDRESS>wrote:

I think that was a bad design decision. There is nothing special about the
conditional exception that merits it being promoted more than any other
exception, imho. Plus it creates more complexity in the library, because
now there are two different ways of dealing with errors. I'd very much
prefer if we removed it tbh. What do you think?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/scanamo/scanamo/pull/365#issuecomment-471499641, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOPbh_2PyAa4ODzdPgX0SB3oPmHo9yyks5vVjtMgaJpZM4blRlG
.

--
Thomas Bonnin
Software developer
Guardian News & Media
<EMAIL_ADDRESS>Kings Place, 90 York Way,
https://maps.google.com/?q=90+York+Way, +London+N1+9GU&entry=gmail&source=g
London N1 9GU
https://maps.google.com/?q=90+York+Way, +London+N1+9GU&entry=gmail&source=g
https://www.theguardian.com
--
This e-mail and all attachments are confidential and may also be
privileged. If you are not the named recipient, please notify the sender
and delete the e-mail and all attachments immediately. Do not disclose the
contents to another person. You may not use the information for any
purpose, or store, or copy, it in any way.  Guardian News & Media Limited
is not liable for any computer viruses or other material transmitted with
or as part of this e-mail. You should employ virus checking software.
Guardian News & Media Limited is a member of Guardian Media Group plc.
Registered Office: PO Box 68164, Kings Place, 90 York Way, London, N1P 2AP.
 Registered in England Number 908396

Let's say we go with option 1. We introduce a first-class error for the case where someone tries to get an item using an attribute that isn't a key. Fair enough, but then we must do the same for scan and query, delete, etc. otherwise the API becomes inconsistent (assuming it not already is). My question is, how long until a user reports a use case that "throws"? Then we have to add more error-handling logic, expand the error ADT, etc. This is a rabbit hole, because if you think about it the use case for this PR is very subjective and there are many other ways to fail with DynamoDB, which are also entirely valid in their own way: why don't we handle them too, then?

That's a fair point. I agree this is a kind of rabbit hole.

I'm in favour of closing this one and opening a new one to get rid of the ConditionalException check, so that we can simplify the code, have a consistent API. And then we have that design session. What do you think?

Thanks for the feedback @regiskuckaertz it's been really helpful. I think it's sensible not to merge this particular PR as the change does seem to have greater implications than I first thought.
It would be good to all catch up and think about how best to move forward with exception handling.

Closing this PR and addressing the issues it raised in https://github.com/scanamo/scanamo/pull/373


Don't load translated deeds

I would like to upload Belarusian language deeds, but it does not work.
Please:

Go here https://creativecommons.org/choose/?lang=be
Please choose the link on the page and click "Пазначэнне аўтарства 4.0 Міжнародны"
The loaded page is not in belarusian but english https://creativecommons.org/licenses/by/4.0/
browser:

Firefox 49.0
https://aboutmybrowser.com/EOKeAyUZ
This issue for @robmyers

I believe what @rizomaa is saying is that the link to a deed should follow the language that is chosen at the chooser. So if I use the Dutch chooser I should get a link to a Dutch deed page in the html, not the generic link.

@mzeinstra thanks
yes, the main issue that it is not only for the belarusian translation but others.

I agree it should go to the correct language version.
I am away for a couple of days but I'll take a look at this next week when I get back.
Thank you for reporting this!

Hello,
Any news in the direction?

whoops, closing was unintentional!

@robmyers
what about the issue?

That's all I need a if in my software 😑

This is a duplicate of #97, closing.


About Table 3 in your paper

Dear authors:
how can I get the Table 3 in your paper in addition to submitting to the Middlebury 2014 website.Where are the testing gt images? I want to compare with the gt images and analyze the error,how can i do that?can you help me?
tks!

Test images should not be used to tune hyperparameters.
For the Middlebury dataset, one can only evaluate its performance by submitting to the benchmark.
Note that it only allows one paper per submission.


The intended copy behaviour of compose is not achieved.

in the compose method
https://github.com/webdataset/webdataset/blob/039d74319ae55e5696dcef89829be9671802cf70/webdataset/pipeline.py#L85-L90
The copy is shallow
https://github.com/webdataset/webdataset/blob/039d74319ae55e5696dcef89829be9671802cf70/webdataset/pipeline.py#L87
and in the append method
https://github.com/webdataset/webdataset/blob/039d74319ae55e5696dcef89829be9671802cf70/webdataset/pipeline.py#L83
the original self.pipeline is referenced modifying the original DataPipeline object
Unintended behaviour (pseudocode)
p1 = p0.compose(stage)
p2 = p0.compose(stage)

will modify p0
Expected behaviour
compose does not affect p0

I can open a PR to fix this quickly if you do not mind

Thanks for the report. Sorry for the late response: if you have a PR, I'll be happy to include it, otherwise, I'll look into this.


Add subscribe section

closes: #717
Need to allow backend to accept submissions from developer landing page

need to configure backend to allow email submissions from developer domain. currently getting cors errors.


feat: Adds Rejection Sampling Algorithm

What does this PR do ?
Adds the rejection sampling algorithm.
Changelog

Please update the CHANGELOG.md under next version with high level changes in this PR.

Usage
read -r -d '' cmd_ppo <<EOF
wandb login ${WANDB_API_KEY}
&& cd ${NEMO_RLHF_DIR}
&& export PYTHONPATH="${NEMO_RLHF_DIR}:${PYTHONPATH}"
&& export HYDRA_FULL_ERROR=1
&& export CUDA_LAUNCH_BLOCKING=1
&& export PYTRITON_HOME=/pytriton_cache
&& export PYTORCH_CUDA_ALLOC_CONF=max_split_size_mb:512
&& python -u examples/nlp/gpt/train_gpt_rs_actor.py
--config-path=${CONF_DIR}
--config-name=${CONFIG_NAME}
"model.data.data_prefix={train: [${TRAIN_DATA_PATH}], validation: [${VALID_DATA_PATH}], test: [${VALID_DATA_PATH}]}"
pretrained_checkpoint.restore_from_path="${ACTOR_NEMO_FILE}"
exp_manager.checkpoint_callback_params.save_top_k=1
exp_manager.explicit_log_dir="${ACTOR_LOG_DIR}"
exp_manager.create_wandb_logger=True
exp_manager.wandb_logger_kwargs.name="${ACTOR_NAME}"
exp_manager.wandb_logger_kwargs.project=${WANDB_PROJECT}
++exp_manager.max_time_per_run="00:03:30:00"
trainer.rs.max_epochs=1
trainer.rs.max_steps=313
trainer.rs.val_check_interval=4
trainer.num_nodes=8
trainer.devices=8
++model.tensor_model_parallel_size=4
model.global_batch_size=${ACTOR_GBS}
model.micro_batch_size=1
model.optim.lr="\${multiply:${ACTOR_LR},1.001}"
model.optim.sched.warmup_steps=0
model.optim.sched.constant_steps=312
model.optim.sched.min_lr=${ACTOR_LR}
model.optim.weight_decay=0.01
model.rs.num_rollout_samples=${NUM_ROLLOUTS}
model.rs.rollout_micro_batch_size=8
model.rs.forward_micro_batch_size=8
model.rs.val_rollout_micro_batch_size=8
model.data.data_impl=jsonl
remote_critic_rm.reward_model.ip=${host_critic}
remote_critic_rm.reward_model.port=${CRITIC_PORT}
model.rs.num_rollout_per_prompt=4
model.rs.num_select=1
EOF
Before your PR is "Ready for review"
Pre checks:

[Y] Make sure you read and followed Contributor guidelines
[N] Did you write any new necessary tests?
[N] Did you add or update any necessary documentation? Make sure to also update the NeMo Framework User Guide which contains the tutorials

Checklist when contributing a new algorithm

[Y] Does the trainer resume and restore model state all states?
[Y] Does the trainer support all parallelism techniques(PP, TP, DP)?
[Y] Does the trainer support max_steps=-1 and validation?
[Y] Does the trainer only call APIs defined in alignable_interface.py?
[Y] Does the trainer have proper logging?

Additional Information

Related to # (issue)

As part of our technical edit process, please mark all edits included in the reviewed files as "Resolve Conversation." Thank you.


How do i Select default value.

set selectIndex in the GroupButton,when you set selectIndex = {0},it will select the first one default

is radioGroup.sorry

set selectIndex in the GroupButton,when you set selectIndex = {0},it will select the first one default

This way is no longer used.

set selectIndex in the GroupButton,when you set selectIndex = {0},it will select the first one default

selectedIndex


Fixed gromacs.cyg to use AVX rather than AVX2 for sles11sp4.

As Daniel said configure line change to avx (Zeus doesn't support avx2)


Update dependency to fix potential panic

See this issue
https://github.com/evanphx/json-patch/issues/106
Seem a bug in github.com/mattbaird/jsonpatch
We have opened a PR https://github.com/mattbaird/jsonpatch/pull/29 to fix this , but before this, we switch dependency to github.com/cwdsuzhou/jsonpatch temporarily

lgtm


Improve parsing of GB Road Traffic Count data set

The GB Road Traffic Counts data set was updated in May 2017 to include the counts up to and including 2016. The current parser and element generator cannot be used with this updated version of the data set as:

2 new columns have been added
not all fields are quoted
the date format has changed

Merged into develop.


Correct the operator permissions

Error example:
W0531 14:29:13.095041 1 reflector.go:424] go/pkg/mod/k8s.io/client-go@v0.26.1/tools/cache/reflector.go:169:
failed to list *v1alpha1.TrustyAIService: trustyaiservices.trustyai.opendatahub.io.trustyai.opendatahub.io is forbidden:
User "system:serviceaccount:trustyai-e2e:default" cannot list resource "trustyaiservices" in API group "trustyai.opendatahub.io.trustyai.opendatahub.io" at the cluster scope

E0531 14:29:13.095076 1 reflector.go:140] go/pkg/mod/k8s.io/client-go@v0.26.1/tools/cache/reflector.go:169:
Failed to watch *v1alpha1.TrustyAIService: failed to list *v1alpha1.TrustyAIService: trustyaiservices.trustyai.opendatahub.io.trustyai.opendatahub.io is forbidden:
User "system:serviceaccount:trustyai-e2e:default" cannot list resource "trustyaiservices" in API group "trustyai.opendatahub.io.trustyai.opendatahub.io" at the cluster scope

This was caused by the operator's incorrect deployment (no fix needed)


Windows 10
Repro steps

Install Node LTS version
npm install -g @angular/cli
ng new my-app

Observed behavior
input.mergeMap is not a function
TypeError: input.mergeMap is not a function
    at Object.callRule (C:\Users\andre.mantas\node_modules\@angular-devkit\schematics\src\rules\call.js:70:18)
    at SchematicImpl.call (C:\Users\andre.mantas\node_modules\@angular-devkit\schematics\src\engine\schematic.js:35:23)
    at Promise (C:\Users\andre.mantas\node_modules\@angular\cli\tasks\schematic-run.js:73:23)
    at new Promise (<anonymous>)
    at Class.run (C:\Users\andre.mantas\node_modules\@angular\cli\tasks\schematic-run.js:72:16)
    at Class.run (C:\Users\andre.mantas\node_modules\@angular\cli\tasks\init.js:71:33)
    at Class.run (C:\Users\andre.mantas\node_modules\@angular\cli\commands\new.js:134:25)
    at resolve (C:\Users\andre.mantas\node_modules\@angular\cli\ember-cli\lib\models\command.js:261:20)
    at new Promise (<anonymous>)
    at Class.validateAndRun (C:\Users\andre.mantas\node_modules\@angular\cli\ember-cli\lib\models\command.js:240:12)

Desired behavior
Create a new angular app without errors
Mention any other details that might be useful (optional)
I don't know if this is useful but here is the output of installing CLI
$ npm install -g @angular/cli
C:\Users\andre.mantas\AppData\Roaming\npm\ng -> C:\Users\andre.mantas\AppData\Roaming\npm\node_modules\@angular\cli\bin\ng
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\@angular\cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

+<EMAIL_ADDRESS>added 115 packages and updated 1 package in 36.156s

Similar traceback on calling ng generate component using MacOSX

Similar error when I try to use ng generate component using Windows 10. Please advice

I reset my angular dependencies to what I was using before (5.0.2) and deleted node_modules and did a clean install which has solved my problem, at least for now. It looks like I had some incompatible setup between @angular-devkit/schematics and my @angular install.

Check your package.json in "dependencies" and get the version required for "@angular-devkit/schematics".
Then npm install it:
npm install<EMAIL_ADDRESS>After this "ng generate" will work.

Closing...
Duplicate of #8782

I can't change my package.json because i have no project... How is this duplicate?

Another way to find what version of schematics you need is to look at the warnings received at initial npm install. (You can delete node_modules and npm install again)
For example I've got two warnings about schematics with different versions.
Install the oldest.
In my case it worked with:
npm install<EMAIL_ADDRESS>

I was facing the same issue and "npm install<EMAIL_ADDRESS>worked for me on MAC. Thanks @gabigeo.

my error is:
npm ERR! Unexpected end of JSON input while parsing near '...ript","version":"1.0.'
npm ERR!      C:\Users\user\AppData\Roaming\npm-cache_logs\2018-09-11T19_05_56_894Z-debug.log
Package install failed, see above.
C:\Users\user> C:\Users\user\AppData\Roaming\npm-cache_logs\2018-09-11T19_05_56_894Z-debug.log
plzz reply me as soon as possible


Why 980, not 960

Just a question really:
Why does less make pages 980px wide, rather than defaulting to the web-standard of 960px?

Are you using a framework with Less, because Less by itself doesn't make pages any width, 960 or 980.

Ah yes, I believe so. Sorry about that. Not your fault! :)


Unknown table 'CHECK_CONSTRAINTS' in information_schema (MySQL)

Bug description
When running prisma db push, I receive the following error code:
Error: Unknown table 'CHECK_CONSTRAINTS' in information_schema
   0: sql_schema_connector::flavour::mysql::connection::describe_schema
             at schema-engine/connectors/sql-schema-connector/src/flavour/mysql/connection.rs:34
   1: schema_core::commands::schema_push::Calculate `from`
             at schema-engine/core/src/commands/schema_push.rs:43
   2: schema_core::state::SchemaPush
             at schema-engine/core/src/state.rs:433

This error persists when I:

Upgrade my Prisma version from 4.10.1 to 4.15.0 (latest)
Use previous versions of schema that have been successfully pushed (via prisma db push) in the past, but are now all failing
Attempt to create a new, empty database and run prisma db push

We use Planetscale/Vitess in production, and I am able to successfully run prisma db push against that database.
How to reproduce

Run 'prisma db push'
See error

Expected behavior
Prisma is able to push schema state to the database
Prisma information
datasource db {
  provider     = "mysql"
  url          = env("DATABASE_URL")
  relationMode = "prisma"
}

generator client {
  provider        = "prisma-client-js"
  previewFeatures = []
  binaryTargets   = ["native", "rhel-openssl-1.0.x"]
}

model Customer {
  id        Int      @id @default(autoincrement())
  name      String   @db.VarChar(255)
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

  orders        Order[]
  users         User[]
  invoices      Invoice[]
  donationForms DonationForm[]
}

model Product {
  id          Int      @id @default(autoincrement())
  name        String   @db.VarChar(255)
  description String?  @db.Text
  price       Float
  imageUrl    String?  @db.VarChar(255)
  active      Boolean  @default(true)
  createdAt   DateTime @default(now())
  updatedAt   DateTime @updatedAt

  orderItems       OrderItem[]
  donationForms    DonationFormProduct[]
  pendingDonations PendingDonation[]
}

model OrderItem {
  id        Int      @id @default(autoincrement())
  productId Int
  orderId   Int
  quantity  Int      @default(1)
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

  order   Order   @relation(fields: [orderId], references: [id])
  product Product @relation(fields: [productId], references: [id])

  @@index(orderId)
  @@index(productId)
}

model Order {
  id         Int      @id @default(autoincrement())
  customerId Int
  invoiceId  Int?
  paid       Boolean  @default(false)
  sandbox    Boolean  @default(false)
  createdAt  DateTime @default(now())
  updatedAt  DateTime @updatedAt

  items    OrderItem[]
  customer Customer    @relation(fields: [customerId], references: [id])
  invoice  Invoice?    @relation(fields: [invoiceId], references: [id])

  @@index([customerId])
  @@index([invoiceId])
}

model User {
  id         Int      @id @default(autoincrement())
  customerId Int
  firstName  String   @db.VarChar(255)
  lastName   String   @db.VarChar(255)
  email      String   @unique @db.VarChar(255)
  password   String   @db.VarChar(255)
  role       UserRole @default(CLIENT)
  active     Boolean  @default(true)
  createdAt  DateTime @default(now())
  updatedAt  DateTime @updatedAt

  apiKeys  ApiKey[]
  customer Customer @relation(fields: [customerId], references: [id])

  @@index([customerId])
}

model ApiKey {
  id     Int    @id @default(autoincrement())
  userId Int
  key    String @unique @db.VarChar(48)

  user User @relation(fields: [userId], references: [id])

  @@index([userId])
}

model Invoice {
  id          Int           @id @default(autoincrement())
  customerId  Int
  periodStart DateTime
  periodEnd   DateTime?
  status      InvoiceStatus @default(OPEN)
  total       Float         @default(0)
  stripeTxId  String?       @db.VarChar(255)
  createdAt   DateTime      @default(now())
  updatedAt   DateTime      @updatedAt

  orders   Order[]
  customer Customer @relation(fields: [customerId], references: [id])

  @@index([customerId])
}

model DonationForm {
  id             String   @id @default(uuid())
  customerId     Int
  title          String
  description    String?  @db.Text
  createdAt      DateTime @default(now())
  updatedAt      DateTime @updatedAt
  partnerLogoUrl String?

  customer Customer              @relation(fields: [customerId], references: [id])
  products DonationFormProduct[]
  pending  PendingDonation[]

  @@index([customerId])
}

model DonationFormProduct {
  id        Int    @id @default(autoincrement())
  formId    String
  productId Int

  form    DonationForm @relation(fields: [formId], references: [id])
  product Product      @relation(fields: [productId], references: [id])

  @@index([formId])
  @@index([productId])
}

model PendingDonation {
  id        Int      @id @default(autoincrement())
  formId    String
  firstName String?  @db.VarChar(255)
  lastName  String?  @db.VarChar(255)
  email     String   @db.VarChar(255)
  productId Int
  quantity  Int
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

  form    DonationForm @relation(fields: [formId], references: [id])
  product Product      @relation(fields: [productId], references: [id])

  @@index([formId])
  @@index([productId])
}

enum UserRole {
  CLIENT
  ADMIN
}

enum InvoiceStatus {
  OPEN
  PAID
}

Environment & setup

OS: macOS 12.6
Database: MySQL Ver 8.0.14 for macos10.14 on x86_64 (MySQL Community Server - GPL)
Node.js version: v16.16.0

Prisma Version
Issue occurs with both Prisma v4.10.1 and 4.15.0

Yes, you understand correctly - error occurs when running it locally against a MySQL instance and does NOT occur when running against Vitess/PlanetScale.
Yes, the same problem occurs when running prisma db pull against the same local MySQL instance:
Error: Unknown table 'CHECK_CONSTRAINTS' in information_schema
   0: sql_schema_connector::flavour::mysql::connection::describe_schema
             at schema-engine/connectors/sql-schema-connector/src/flavour/mysql/connection.rs:34

We figured out that this is related to the MySQL version you are using - or better us not handling that properly. The table CHECK_CONSTRAINTS that throws this error only exists starting MySQL 8.0.16. We should have handled that, but forgot. So you can probably work around this by upgrading your local MySQL from 8.0.14 to something more recent. (And we will obviously change our code to handle that better.)

Updated my local MySQL version to 8.0.33 (current latest) and confirmed that prisma db push works as expected. Closing as resolved.
For some added context, I was running Prisma v4.10.1 against MySQL 8.0.14 for a few months with no issues.

I am facing the same issue, looking forward for it to resolve

Having the same issue, mySQL 5.1.73

We figured out that this is related to the MySQL version you are using - or better us not handling that properly. The table CHECK_CONSTRAINTS that throws this error only exists starting MySQL 8.0.16. We should have handled that, but forgot. So you can probably work around this by upgrading your local MySQL from 8.0.14 to something more recent. (And we will obviously change our code to handle that better.)

Hi janpio,
Is there any update of prisma version to be compatible with other versions of mysql?

No, that is currently a bug. When exactly does this currently happen?

im also facing this error!!
trying to use it for a cloud host provided by "freesqldatabase", and they are using php version 5.0.12 (if im not wrong....)
is it possible to connect to that cloud host? i can connect to it from their browser based phpmyadmin console with those given credentials
or even better can anybody give me any better solution for free(no credit card required) mysql server to use, likes of mongodb for noSql?
thanks in advance and happy coding :)

Hey janpio,
I am Still Facing this Issue In 2024.
Does this have a Fix?


(docs): Replace references to deprecated postprocess option

Updates a few missed docs and examples to use transform instead of postprocess

Thanks!


Add more pets - Feature request

Hi, it would be great if we could add more pets - ideally all minecraft mobs!  Some players would love to have a pet (enderman, for example), and even though we can already tame wolves & ocelots, we can't sell them like the pets you provide us with in this plugin :)

Done! Thank you :)


[FR] Add option to disable UserSecureManager on Desktop

Feature proposal

Firebase Component: Core, Auth

There's currently no way to prevent secure storage, which can be disruptive for [macOS] users as they may be prompted to enter their password when the binary changes. On macOS, the prompt isn't very user-friendly as the values appear to be based on a hash of the binary name (e.g., tuple-5cab2.ooj/IRzkfgs.firebase.auth) which make it look like the code base was compromised.
For our particular use case, we're using a custom auth provider to provide JWTs based on whether or not they have been authenticated with our backend. It complicates our business logic to have Firebase store its auth state in the keychain as it's essentially decoupled from what we consider the "real" session.
Currently, there doesn't appear to be a way to enforce the no-op implementation UserSecureFakeInternal: UserSecureManager picks the implementation based on the current platform with "standard" preprocessor macros, which makes it impossible to turn off.
Would it be possible to add an option to disable this, perhaps in the AppOptions struct?
Thanks!

@DellaBitta Would it be possible to perhaps use the same FORCE_FAKE_SECURE_STORAGE macro used in tests within user_secure_manager.cc? I think the changes would be really minimal and would certainly suit my needs.
I'm happy to open a PR if you think this would be the right direction.


[SMALLFIX] Use Null Appender for getConf during start.

The getConf function in alluxio-config.sh relies on the output to
stdout, therefore we do not want any logging message to mess up with
stdout.
@aaudiber @apc999

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16420/
Test PASSed.


i18n(fr): update api-reference.mdx

Description (required)
Update code snippets in Astro.params section (see #9702)

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
reference/api-reference.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


window.d3 despite being loaded as an amd module?

if (typeof define === "function" && define.amd) this.d3 = d3, define(d3)

We are using requirejs to load d3, however it seems that d3 has started to define itself in global scope now. Is there a reason I'm missing here?
We usually have multiple third party plugins running our software and many of them are using d3.
With 3.4.X of D3 we never noticed any issue but now we are getting clashes between d3 versions in global scope.

Yes. See #1921.

This has been the case since 3.4.10.

Ah ye, it was an odd edge case where we found it.
Module A loads D3js and shims in a sankey plugin.
Module B loads D3js and in the process overwrites the sankey plugin.
Module A tries to fire methods on the sankey plugin which has now been purged from window.d3
Cheers for the fast reply!


Electron packaged core Webviz as stand-alone app

Not sure if this is useful for others, but I thought it might be handy to be able to package the core Webviz ROS bag analyzer app into a stand-alone Electron application.
I made a "webviz-electron" branch on my fork with mods to do this, but it has only been tested for Mac and Ubuntu Linux so far.  Electron-builder should be able to package for Windows too, but I'm not sure if it works.
Thanks to the Cruise team for open-sourcing this interesting project.

Cool stuff! What’s your use case for an electron app exactly?

I'm new to Node/React and Electron so mainly I was just curious to learn about how the projects are structured, built, and deployed/packaged.
From previous work in automotive development though, a few potential use cases for offline stand-alone data analysis that I was thinking about are:

On-road testing in development vehicles using laptops without online access
Lab PCs that might be isolated from the internet for data/source code confidentiality
Keeping a local stable build version to use vs the latest deployed online release

It's definitely nice to have a central server-based, continuously updated distribution option for this kind of app, but maybe an offline packaged option could also fill some use case gaps since Electron makes it fairly easy to add on this capability for Node/React projects.

Ah that makes sense! Since Webviz is just a static page I'd recommend downloading the gh-pages branch (or going to the website and using the "Save as" feature of most browsers) and then opening webviz-core.html in a browser.
That said, we might revisit using an Electron app in the future, since it would allow us to use some more powerful local APIs. In that case we'd definitely use your contribution, so thanks! Definitely a good learning experience though I bet. :) Closing for now.

Ah, I see.  Thanks for the feedback.
Actually, before using Electron, I had tried just loading the webviz-core.html file from the gh-pages branch pack but it fails to load a bag file when dropped onto the page (Chrome, Firefox, and Safari, Mac and Linux), so I figured there was something dynamic that needed a web server to load.
I looked into it some more, and it seems there are a couple issues with just loading a local file version:

By default, Chrome doesn't allow loading web workers from local files.  There is a possible workaround by launching Chrome from the command line with the --allow-file-access-from-files flag, but then this results in a file path error:
GET file:///webviz/dist/BagDataProvider.worker.js?c96bbc24cbd8fb74039a net::ERR_FILE_NOT_FOUND

I ran into this when packaging the Electron app, and I patched it by changing the webpack.config.js publicPath from "/webviz/dist/" to the relative "dist/" and deploying the files into a "webviz" base folder.

Patching the publicPath and allowing Chrome to access local files still leads to another error:
Fetch API cannot load file:///home/student/Downloads/webviz/dist/wasm-lz4.wasm. URL scheme "file" is not supported.

I'm not sure the root cause or patch for this, but switching to Firefox (with default options) instead of Chrome and the patched publicPath finally does allow working from the local html file directly.
Anyways, from this it seems that one more advantage to Electron is avoiding these direct local file access permission issues and different browser discrepancies!

Ah good points! And thanks for the writeup! For now the simple workaround for most of this is running a http server, which can be done by running python -m SimpleHTTPServer 8000 in the root of the gh-pages branch, or by running npm run docs in the master branch.

I know this is an old/stale issue, but for anyone who comes across it searching for how to run webviz inside electron, we are doing that over at https://github.com/foxglove/studio

Shameless 😂


Add new SN match group

This PR adds a new symbol to serial number input: ~ for the next possible serial number
Closes #2484

Seems like a reasonable implementation :) thanks @matmair


Add support for internationalization

Later, I can provide Czech translation.

Thanks for this! Is there any kind of tooling available to extract strings into messages,json? I wouldn't want to miss anything should I add messages in the future. I also have other add-ons where this could come in handy. I could provide German translations. Do you know any good program that helps with translations?

The WebExtensions internationalization is a joke, there is not even support for pluralization so I doubt there are any extractors. I found https://github.com/oliviertassinari/i18n-extract which might be reused for JS but does not seem to support HTML.
The only good JS translation toolkit is L20n but even that has virtually no tooling support.

Alright, thanks for the info and doing this manually. I came up with this to at least check that I've got all the keys in the messages.json:
diff --unified <(grep --perl-regexp --only-matching --no-filename 'browser.i18n.getMessage\("\K([^"]+)|"__MSG_\K([^_]+)|data-i18n="\K([^"]+)' $(find . -not -path '*node_modules*' -name '*.js*' -o -not -path '*node_modules*' -name '*.html') 2>/dev/null | sort) <(jq --raw-output 'keys[]' _locales/en/messages.json)

I added German translations, it works like a charm. Thanks for enabling that! If you want to add translations too, I added a command to start Firefox in the German, you could just modify that for your language to be able to test your translations.


Contact?

How can I contact you with a business proposal?
I need someone who can do machine learning for a drafting project I am working on, I come from a company in Sweden who develops League & Esport related services.

Hi,
I made this small project on my free time when I was still a student. I am working full-time now and I don't have interest in  maintaining it anymore. It is open source and not so complicated so feel free to fork it.
I feel honored to receive such an offer from such a tiny project though :)

@VRichardJP I understand, thank you for reaching out to me so quickly.
I am unfortunately very new to the machine learning space so its a deep dive to get started, would you mind if you could just point me in the right direction regarding a few questions?


HTTP vs HTTPS

Hello
I have to ask you about Https support introduced with iOS 9. What I can see from your code is the following:
NSURL *lookupURL = [NSURL URLWithString:[NSString stringWithFormat:@"http://itunes.apple.com/lookup?bundleId=%@", bundleIdentifier]];

So you use Http. What about Https? Have you to distinguish among iOS version also?
Same question about:
const char *host = "itunes.apple.com";

Always speaking about connectivity checking: why did you use Apple site? Is it safe enough? Why not Google, for example?
Thank you very much.

Hi foffux!
You can use https if you want? Don't think it matters as you only do a GET request and no sensitive information is being sent or received as this is the same information on the AppStore, open to the public.
And I am just pinging the itunes.apple.com server to see if it's live, because if I ping Google server and it works doesn't mean the iTunes server is working and your app might or might not crash. We are pulling info from iTunes server so we need to see if that server is up, no matter if Google servers work or not.
Did this answer your questions? :blush:

Hello
I got it
I guess you answered all my questions.
So, from what you told me, I will use your pod as it is since it should work, right?
Thank you and great job
Bye

Il giorno 16/ott/2015, alle ore 22:15, Jean-Pierre Fourie<EMAIL_ADDRESS>ha scritto:
Hi foffux!
You can use https if you want? Don't think it matters as you only do a GET request and no sensitive information is being sent or received as this is the same information on the AppStore, open to the public.
And I am just pinging the itunes.apple.com server to see if it's live, because if I ping Google server and it works doesn't mean the iTunes server is working and your app might or might not crash. We are pulling info from iTunes server so we need to see if that server is up, no matter if Google servers work or not.
Did this answer your questions?
—
Reply to this email directly or view it on GitHub https://github.com/apptality/ATAppUpdater/issues/10#issuecomment-148822862.

Well yes, 116 starred it and I'm sure they are using it :yum:
And there has been a few issues that has been resolved and contributions that improved the product.
Thanks! :blush:

Hello
just one small thing: how can I test your pod in my simulator? Before going live etc etc
thanks

Il giorno 17/ott/2015, alle ore 19:49, Jean-Pierre Fourie<EMAIL_ADDRESS>ha scritto:
Well yes, 116 starred it and I'm sure they are using it
And there has been a few issues that has been resolved and contributions that improved the product.
Thanks!
—
Reply to this email directly or view it on GitHub https://github.com/apptality/ATAppUpdater/issues/10#issuecomment-148937791.

Your project version must be lower than the one that is currently on the AppStore, so that the AppStore version number is greater than your current version.
If you don't have your app on the AppStore then I'm afraid you cant really test it with your bundle identifier as it doesn't exist until you uploaded. But I can guarantee it will work! :blush:

Ok, then I will trust you
sorry for annoying you but app updating is very important
thank you

Il giorno 22/ott/2015, alle ore 14:52, Jean-Pierre Fourie<EMAIL_ADDRESS>ha scritto:
Your project version must be lower than the one that is currently on the AppStore, so that the AppStore version number is greater than your current version.
If you don't have your app on the AppStore then I'm afraid you cant really test it with your bundle identifier as it doesn't exist until you uploaded. But I can guarantee it will work!
—
Reply to this email directly or view it on GitHub https://github.com/apptality/ATAppUpdater/issues/10#issuecomment-150210579.

No problem, thanks for using it! :yum:


Added SebDaBaBo's Hackpad

(I wrote @xX_ALEXREN_Xx today: Due to a not functioning PC I can't finish this project by the end of today and I would still greatly appreciate it, if you amazing people could send me the PCB and the components so I can finish this awesome project at home, cause I have a 3d printer. After I've put everything together I will post a photo in the Hack Club Slack and thank you all again!)
A few weeks ago I bought my first custom Keyboard which was a huge achievement after typing for a long time on the keyboard that came with my PC. I loved the typing experience: The feeling of pressing the Gateron Switches and the sound! Since then I always wanted to build a macropad to make my life easier when using the PC with shortcuts. I never knew where to start and I watched dozens of videos. With an opportunity like this I put in all my energy and effort to get this done on the last weekend of the event, cause my PC was malfunctioning! The Hardest challenge I encountered, was trying to learn and create everything in the 6 hours I had on the weekend. There was a lot of trouble-shooting and experimenting involved. I would like to have another Macropad/keyboard event or maybe general HID devices...

Hey! In order for me to approve this, I need firmware, case, and pcb! We can give you some more time to work on this, please update me within a week on the progress!

Thank you very much!

I have created a new PR due to problems with uploading the missing files and updating some.
https://github.com/hackclub/hackpad/pull/299


Document how to handle network upgrades

Motivation
To handle a network upgrade we must follow multiple steps, from upgrading dependencies, determining and monitoring activation heights, and so on. But those aren't document anywhere.
Specifications
Write a Google Doc on how to handle network upgrades, for both mainnet and testnet.
Designs

Related Work

This was done in the "Handling Network Upgrades" gdoc, and we can improve and expand it when needed


Release PR

Try out this version of the Hiro Wallet - download extension builds.

cc/ @kyranjamie @fbwoolf

Haven't these changes already been released? 🤔

Haven't these changes already been released? 🤔

Nope, Beguene was going to release them after QA retested dev branch with his fix ...but he was out on Fri and we don't release on Fridays.

I will approve it just so it's ready for him tomorrow.

@kyranjamie Can you have a look at this failure https://github.com/hirosystems/stacks-wallet-web/runs/4805015777?check_suite_focus=true, it tries to merge into beta but it has a merge conflict. I think this happened because we did this unusual flow: revert some commits in main, add some changes in dev, then merge main back into dev.

Fixed. Yeah this happens when dev is rebased and can't auto-merge to beta. Ideally we need a job to force reset beta when this happens.


update pretty print section

update pretty print section

fix issue that delab for #check foo does not work
Improve match expression patterns of Unexpander

see #72

Nice! Looks good to me.


Does every new animation need to be retrained?

Hello, Thanks for releasing the nice work.
I have just come into contact with this field, and I have a question that I am curious about: If I want to animate new image with different appearances and customize new actions, do I need to use the image and related videos to train again?
If so, does it mean that the weights given by link were trained only on the reference image/video and no other new images/videos were used?
Looking forward to your answer very much！

Yes, for new motions, you need to train the LoRAs again. This is a typical setting in the tuning-based customization task.


Rename Quota methods for clarity

Take and Return are not super clear method prefixes for the Increase and Decrease quota methods, so they are renamed to Increase and Decrease quota.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

15 of 15 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.671%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
5121

Relevant Lines:
5190

💛  - Coveralls


Less ideal formatting for struct pattern matching in if let

Given the following code:
struct Foo {
    something: Option<u32>,
    bar: u32,
}

fn main() {
    let a = Foo {
        something: Some(1),
        bar: 2,
    };
    if let Foo { something: Some(something), .. } = a {
        println!("{}", something);
    }
}

rustfmt formats the if let as
    if let Foo {
        something: Some(something),
        ..
    } = a
    {
        println!("{}", something);
    }

which looks rather unfortunate...
Should probably keep the original form in this case?

Also I leave the configuration default, which means control_brace_style should be AlwaysSameLine, however it pushes the brace to the next line here, which seems like a bug?

control_brace_style only applies to control flows whose pattern consist of a single line. IIRC, if the pattern consists of multiple lines, then rustfmt will put the opening brace on the next line.


feat(ci): add cypress test ui based ingestion

Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

@aditya-radhakrishnan Will take care of the review comments. This should not be merged yet because this still needs some changes as the test is failing on github when other tests are also being run.


Fix capitalisation of 's' and 'c' models

Starting with the iPhone 5s, Apple made the suffix letter lower case.
http://www.apple.com/pr/products/iphone/iPhone.html

:+1:

Thanks!

Published to CocoaPods as 3.7.0


Gateway deployment not detected if outside istio-system namespace

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
I just follow this guide to deploy Gateway deployment. After that,  create Gateway object and you will get following error:
ubuntu@5a667860:~$ k describe gateway demo-gateway -n istio-ingress
Name:         demo-gateway
Namespace:    istio-ingress
Labels:       argocd.argoproj.io/instance=istio-ingress
Annotations:  <none>
API Version:  networking.istio.io/v1beta1
Kind:         Gateway
Metadata:
  Creation Timestamp:  2023-11-19T11:13:06Z
  Generation:          2
  Resource Version:    1708536
  UID:                 fb53bb63-5b72-41a9-8106-20c0f5c5c29c
Spec:
  Selector:
    Istio:  ingressgateway-coba
  Servers:
    Hosts:
      *.example.com
    Port:
      Name:      http
      Number:    80
      Protocol:  HTTP
    Hosts:
      *.example.com
    Port:
      Name:      https
      Number:    443
      Protocol:  HTTPS
    Tls:
      Credential Name:  star-example-com-tls-secret
      Mode:             SIMPLE
Status:
  Observed Generation:  2
  Validation Messages:
    Documentation URL:  https://istio.io/v1.21/docs/reference/config/analysis/ist0101/
    Level:              ERROR
    Type:
      Code:  IST0101
Events:      <none>

Using the same Gateway, if I move the deployment to istio-system namespace the Gateway working as expected.
Version
$ istioctl version
client version: 1.20.0
control plane version: 1.21-alpha.e7f3b7a54fdac7c9c709af177448786d56c0b779
data plane version: 1.21-alpha.ad3f907dbde5a68c8e34ae10bf1f920527f1db7f (8 proxies), 1.21-alpha.e7f3b7a54fdac7c9c709af177448786d56c0b779 (4 proxies)

$ kubectl version
Client Version: v1.28.3
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.28.3+k0s

Additional Information
No response

Solved. It's due to missing secret certificate. Not related with istio


FeedbackDialog implementation changes

FeedbackDialog implementation changes.

Added library code.
Added sample code.
Customization done to show icon image.
Readme.md updated.

 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.1 out of 2 committers have signed the CLA.:white_check_mark: harmonygeek:x: Satish Kumar CRNSatish Kumar CRN seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


IndexEntry class should have MObject instance as propert, rather than having ID and FileType

v0.4.2, IndexEntry class has a constructor
 IndexEntry(ID id, FileType fileType, Metadata metadata) { ... }

But it should rather be
 IndexEntry(MObject mObject, Metadata metadata) {

As #128, MObject class now has no byte[] data, it has ID and FileType only, suitable to do above mentioned change.

done at v0.4.3


[Feature][Transform] add json path transform

Purpose of this pull request
add json path transform
Check list

[x] Code changed are covered with tests, or it does not need tests for reason:
[x] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[x] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs

Please attach a screenshot or screen recording of the run

It would be better if the fields can be configured graphically

+1
Thanks for your contribution. This is a good beginning. Considering that it's your first contribution, I think we can get deep communication, you can contact me through mail or add WeChat:taskflow, when mail or added, please tell me who you are. I think I can help to familiar with the SeaTunnel if you meet with problems


GPS Icon Doesn't Disappear

I'm not exactly sure what's causing this issue (it works fine for me on every device I've tried), but a few users have reported that the GPS icon doesn't disappear when GPS is turned off in the settings. There are a few reasonable explanations for this besides "Status is broken", but it's worth checking out anyway.

A soultion for this that works for me is turning off gps before exitting your maps/apps that need location services.

On my phone (samsung galaxy s7 edge running android 7.0) have this issue.