Obey index if set, pollute the global JS scope less

While experimenting and playing around with this on a local wordpress installation I ended up doing some small changes and thought I'd make a PR. Specifically:

per #8, previously the frontend JS wasn't obeying the backend setting of index name
there were a few implicit dependencies between the .js and the .php code - I altered this to make the .js a function which can be called with appropriate parameters. This starts moving towards something that could allow multiple meilisearch instances on a page at once, as well as moving things out of the global javascript scope (previously generic names like 'search' were being used, which seemed risky)

Fixes #8

Hi @aidanhs !
Welcome to the repo and thanks for contributing!
Until now this was a simple prototype, so we haven't set any contributing guidelines. But it would be lovely to release this at some point!
I don't know when your PR is ready, but don't hesitate to ping us for review or if you have any questions.
If you can add a description on the PR would be very helpful! And don't hesitate either to create any issue on the repo, and link a PR to it, in case it is solving it!
Thanks and welcome :)

Hi @eskombro
Sorry for raising a description-free PR - not sure what I was thinking!
I've now updated with a description. Essentially, there were a couple of things I noticed while I was playing (one bug, one more stylistic) and thought I'd push up a PR just in case it'd be useful.
FWIW I've ended up not using the plugin, so don't push out a release on my account - my needs are a little specialised, so I'm starting with a more basic integration using the PHP api client directly (which is excellent :smile:)


[main] Update community files

Cron -knative-prow-robot
/cc knative/serving-writers knative/eventing-writers
/assign knative/serving-writers knative/eventing-writers
Produced by: knative-sandbox/knobots/actions/update-community
Details:

/lgtm
/approve

/retest
/lgtm
/approve


add authorization check for datasource api

What problem does this PR solve?
This pr related to issue2088
Write could success without corresponding privilege
And we also find read don't have authorization check, thought we don't recommend to use it.
What is changed and how it works?
Do authorization check before writing and reading data by datasource api.
Write
There are two statement 'replace' and 'insert on duplicate key' in TiDB which is quite similar to write in TiSpark when replace is enabled.
But  they are different in TiDB at following situation:
Create table test and insert two records.
CREATE table test2 (
a int,
b int,
c int,
d int,
unique key(a), unique key(b));

INSERT INTO test values(1,1,1,1);
INSERT INTO test values(2,2,2,2);

 a | b | c | d
---+---+---+---
 1 | 1 | 1 | 1
 2 | 2 | 2 | 2

If we use 'insert into ... duplicate key update ...' statement.
INSERT INTO test values(1,2,3,4) on DUPLICATE KEY UPDATE a=1,b=2,c=3,d=4;

error: mysql: 1062: Duplicate entry '2' for key 'b'

it won't be executed.

if we use 'replace into ...' statement.
REPLACE INTO test values(1,2,3,4);

 a | b | c | d
---+---+---+---
 1 | 2 | 3 | 4

The origin two records will be deleted and insert a new record.

TiSpark have similar result with REPLACE statement. So we chose to follow the privilege requirement of REPLACE in TiDB.
In short, this pr add authorization check in write as follows:

Replace
Privilege

Enable
INSERT and DELTE

Unable
INSERT

Read
Read requires SELECT privilege. Since it will generate corresponding object in following step, we will do authorization check for this object.
We find SELECT and DELETE statements also generate same object, but they need SELECT privilege too, so it won't affect   correctness.
Check List
Tests

Unit test
Integration test

Code changes

Has exported function/method change
Has exported variable/fields change

The auth check should be optional.

/build

/run-all-tests

/run-all-tests

/run-all-tests

/merge

/cherry-pick release-2.5

/cherry-pick release-3.0


Problem trying to mount filesystem on iphone 6s

I have successfully booted. But when I use mount_filesystem command to mount the data I get an error
''''
seputil: cannot open '/mnt1/usr/standalone/firmware/sep-firmware.img4', error: No such file or directory (2)
seputil: reject zero-byte firmware
seputil: failed to load /mnt1/usr/standalone/firmware/sep-firmware.img4 in mode ''''
What do I have to do to fix it? Does anyone have a solution. Thanks

mount_filesystem need modifications to find right location of sep-firmware.img4


HTML Progress value add/remove doesn't work

https://codesandbox.io/s/voby-demo-clock-forked-z5c9sz?file=/src/index.tsx
Similar bug on Solidjs as 1835
I have a feeling I may not be using Voby correctly though but removing the () in JSX doesn't help either from my brief experiments

Very interesting edge case though, without special-casing this internally I'm not sure it could be supported by Voby 🤔 It's a very weird API this  element has.

Something like this potentially works, the same workaround would work in Solid:
import * as React from 'voby';
import {$, render, If} from 'voby';

const Clock = (): JSX.Element => {

  const x = $<number>(-1);

  const toggle = () => {
    x(xv => xv >= 0 ? -1 : 40)
  }

  return (

{x}

      <If when={() => x() >= 0} fallback={<progress />}>
        <progress value={x} />
      </If>
      <button onClick={toggle}>TOGGLE</button>

  );

};

render ( <Clock />, document.body );

I guess I'll just have to special-case this for it to be supported properly.

It's doing both, <progress> just happens to throw if it sees an undefined for some reason.
I've special-cased this for <progress>, so undefined will work the same in the next release.

Fixed in v0.55, thanks for the bug report!


Memory leak when yielding (regression from #17291)

Godot version:

Godot 3.0.4
OS/device including version:

macOS Mojave 10.14 Beta (18A314h)
Issue description:

simple yielding produces huge memory leaks
This code
extends Node

func _ready():
	while true:
		yield(get_tree(), "idle_frame")
		yield(get_tree(), "idle_frame")
		yield(get_tree(), "idle_frame")
		print("yield 3 idle frames ", Performance.get_monitor(Performance.OBJECT_COUNT))

produces dat output:
** Debug Process Started **
Remote Debugger: Connection failed with status: '2', retrying in 1 msec.
OpenGL ES 3.0 Renderer: Intel(R) Iris(TM) Plus Graphics 640
yield 3 idle frames 702
yield 3 idle frames 705
yield 3 idle frames 708
yield 3 idle frames 711
yield 3 idle frames 714
yield 3 idle frames 717
...

Memory/Static && Object/Objects are constantly increasing in Debug/Monitors view.
Godot 3.0.2 didn't leak with same code.

Bisecting between 3.0.2 and 3.0.3 to find the culprit.

Reverting #17291  fixes this, but I am already use this functionality.

CC @Warlaan

Argh, that complete signal was so promising... I hope it gets fixed


Guest welcome message translation missing in mobile view.

Issue Description
In mobile view when we check the Welcome guest, where we can see the Sign In and Sign Up details, there we can see the Guest Translation is missing for some languages like Hindi, Arabic etc.
Bagisto Version
MASTER
Steps To Reproduce
1. Inspect the details of a storefront in mobile view -> Check the sidebar for Welcome Guest.
2. Change the Locale Translation and there we will be able to see this issue.
Actual Result:
The translation is not correct for guest users in mobile view, please find the below screenshot.

Image

Expected Result
Please fix the translation issue related to the mobile view.

Can you assign this issue to me?

@jitendra-webkul
Now, this issue is fixed. so I am closing this issue.
And I have attached a screenshot Here, for future reference.


It doesn't apply as I set in config.

It doesn't apply as I set in config.
For example, if you don't touch mimic, you just change the name of a cave-golem, and mimics are originally disabled, but spawn.
But the name changes easily.
I think, the error is complicated and it's gonna take a long time to fix.
On my server, this plug-in is the main content.
I think that the source code cannot be modified directly.
Could you encode the source code that slightly changed the internal code and send it to the plug-in instead of modifying the config after installation on the server?
I'm in a hurry. Thank you.
Here's a list that needs to be changed below.
All mobs name: &fNAME (originally &4NAME). But I'd like to try white.
cave-golem's health : 20
alpha-spider's health : 16
crying-bat don't spawn
dead-miner's health : 20
hexed Armor don't spawn
magma-monster don't spawn
smoke-demon don't spawn
watcher don't spawn
mimic don't spawn
plz..
After installing on the server, modify the config and reload it, and I hope it works well without bugs...
I used a translator, so it might sound strange. I'm sorry.

Please, provide requested data:

Config file (just copy-paste it into https://hastebin.com/)
Server version (/version)
Plugin version (/dcaves)
Server core name (Spigot, Paper etc.)
Plugins list (if possible)

I can't help you without any information about your server and plugin setup.

Config file
https://docs.google.com/document/d/1jaNruHluPNj8mEr3-PTBYeToDsBo2qoEXM37XVM480c/edit?usp=sharing
(sorry I don't know how to use hastebin.. but I used Google text)
Server version
This server is running Paper version git-Paper-186 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 72ce684)
You are 42 version(s) behind
Plugin version
command error occured....
I'm using this version
https://github.com/imDaniX/Dangerous-Caves-2/actions/runs/1156549359
Server core name
Paper
Plugins list
Plugins (59): AimedHit*, AutoPickup, Chunky, ClearLag, CMILib, ConsoleSpamFix, CoreProtect, DangerousCaves, DiscordSRV, DriveBackupV2, dynmap, Essentials, EssentialsChat, HolographicDisplays, HorseTpWithMe, KotlinLoader*, LagAssist, LevelledMobs, LibsDisguises, LightAPI, LockettePro, LoneLibs, LuckPerms, MAmbience, mcMMO, MessageFilter*, Multiverse-Core, Multiverse-Inventories, PlaceholderAPI, Plan, PlugMan, ProtocolLib, RealisticSeasons, ReportSystem*, RHForceResourcePack, RTU, ServerBooster, SimpleReplant, SimpleScore, SkBee, SkChoke*, Skellett, SkEtcR*, SkQuery, skRayFall, Skript, skript-placeholders*, skript-reflect, skUtilities*, Spartan, SuperTrailsPro*, TAB, TabCompleteFilter, Terra, TwitchBot*, Vault, Votifier, WorldEdit, WorldGuard


Documentation refinement of version 1.1

Description
Refine the documentation of the following declarations.
In the kotools.types.number package

[x] Replace "if other" by "if the other value" in the div functions.
[x] Replace "as a NegativeInt" by "as a negative int" in:

[x] the toNegativeInt functions
[x] the toNegativeIntOrNull functions
[x] the NegativeInt's constructor.

[x] Replace "as a NonZeroInt" by "as a non zero int" in:

[x] the toNonZeroInt functions
[x] the toNonZeroIntOrNull functions
[x] the NonZeroInt's constructor.

[x] Replace "as a PositiveInt" by "as a positive int" in:

[x] the toPositiveInt functions
[x] the toPositiveIntOrNull functions
[x] the PositiveInt's constructor.

[x] Replace "as a StrictlyNegativeInt" by "as a strictly negative int" in:

[x] the toStrictlyNegativeInt functions
[x] the toStrictlyNegativeIntOrNull functions
[x] the StrictlyNegativeInt's constructor.

[x] Replace "as a StrictlyPositiveInt" by "as a strictly positive int" in:

[x] the toStrictlyPositiveInt functions
[x] the toStrictlyPositiveIntOrNull functions
[x] the StrictlyPositiveInt's constructor.

[x] Link the other argument in the PositiveInt.div functions.
[x] Review fully the documentation of NonZeroInt.
[x] Review fully the documentation of PositiveInt.
[x] Review fully the documentation of StrictlyPositiveInt.
[x] Review fully the documentation of NegativeInt.
[x] Review fully the documentation of StrictlyNegativeInt.

Checklist

[x] Refine the documentation.
[x] Update Work in progress section in changelog.
[x] Cherry-pick all changes to:

[x] version 1.1
[x] version 1.2
[x] version 1.3.

Done.


[Investigation] DI performance

We should look at the performance of DI and see if we need to improve.

Is there anything in specific we know is problematic? Or is this simply doing some perf work here?

Related https://github.com/aspnet/DependencyInjection/issues/124
We also have another bug that I cannot find that shows GetService adding things to a ConcurrentBag have a significant performance impact. There were also memory concerns about using expression tree compilation (@rynowak has some profiles for that).
/cc @DamianEdwards @lodejard @rynowak

Related: #288

Let's just use the specific issues to track the current perf investigations.

@danroth27 sounds good. You should file @davidfowl's concern mentioned above in that case.


How to handle non-owning smart pointers?

Hi,
I have a smart pointer type which doesn't own the object. It behaves like a regular pointer but automatically goes to nullptr when the object is destructed (and its value updates when it's moved).
The point of such a type is to allow Lua to keep a weak reference to the object and trigger an error if it's used when invalid.
Here's an example:
gamemode:On("playerdeath", function (gm, player)
	print(player:GetName() .. " died")
	timer.Sleep(gm:GetProperty("respawntime") * 1000)
	player:Respawn()
end)

Since the player may disconnect during the respawn time, respawning it should trigger an error, and allow to check if the handle is still valid:
gamemode:On("playerdeath", function (gm, player)
	print(player:GetName() .. " died")
	timer.Sleep(gm:GetProperty("respawntime") * 1000)
	-- Player can be invalid since we gave back the control to the application for a moment, check it again
	if (not player:IsValid()) then
		return
	end

	player:Respawn()
end)

I tried to specialize sol::unique_usertype_traits but as I understood (after a few crashes), it's meant for owning pointers as the is_null and get functions are only used when pushing the type.
Is there a way to handle non-owning smart pointers and keep binding class to sol easily?
Thank you

Seems like exactly what I was trying to do and needed this for: https://github.com/ThePhD/sol2/issues/1010

I think I'm going to make this available to all types, not just unique usertypes. This check can apply to any type, and I think that using a mix of usertype checking should be a-okay. The extension point will be named sol_lua_check_access(), and it will be strategically sprinkled before any function call involving that type. One question left to answer is if it should apply to both member functions AND free functions, e.g.:
// just this?
struct checked_ptr {
     void foo_member(int arg);
}l
// maybe this?
void foo(const checked_ptr& self, int arg);
// but also this??
void foo_free(int arg1, const checked_ptr& self);

Current working idea is that all of these accesses get checked, as well as member variable get/set... but maybe that's too much?

I also think it should be checked on every access, that's what I did with a handmade solution.

Perhaps, you shouldn't add extension point for checking, but something similar to operator dot() overloading?
I assume that it could work as follows:
shared-ptr-like foo(weak-ptr-like player) {
  return player.lock(); // nullptr in lua will trigger lua error (or we can throw exception right here)
}

usertype["operator-dot-like"] = &foo;

local a = obj.a -- automatically transforms to `local a = foo(obj).a`
obj:bar(123) -- automatically transforms to `foo(obj):bar(123)`

Well, if you want operator dot semantics, you could override the __index metamethod and do your checks/throws then. It also wouldn't apply in all cases: what happens with:
cpp_func(123, obj)

? Is that access-checked with an "operator dot"-alike?

I also think it should be checked on every access, that's what I did with a handmade solution.

This is what I was looking for in my issue as well. The main reason for me to have this ability is to make safety checks and limiting the safety only to one argument would somewhat defeat the purpose of the check.

A first draft of this has landed in latest. The following code does, presumably, what all of you would expect it to do:
#define SOL_ALL_SAFETIES_ON 1
#define SOL_PRINT_ERRORS    1

#include <sol/sol.hpp>
#include <iostream>

template <typename Type, typename Deleter = std::default_delete<Type>>
class checked_ptr {
private:
	using pointer = Type*;
	pointer ptr;
	Deleter del;

public:
	checked_ptr() noexcept : checked_ptr(nullptr) {
	}
	checked_ptr(std::nullptr_t) noexcept : ptr(nullptr), del() {
	}
	checked_ptr(pointer ptr_) noexcept : ptr(ptr_), del() {
	}

	pointer get() const noexcept {
		return ptr;
	}

	void reset() noexcept {
		if (ptr != nullptr) {
			del(ptr);
			ptr = nullptr;
		}
	}
};

struct checked_class {
	int value = 4645;
};

namespace sol {
	template <>
	struct unique_usertype_traits<checked_ptr<checked_class>> {
		static checked_class* get(lua_State*, const checked_ptr<checked_class>& ptr) noexcept {
			return ptr.get();
		}

		static bool is_null(lua_State*, const checked_ptr<checked_class>& ptr) noexcept {
			return ptr.get() == nullptr;
		}
	};
} // namespace sol

void sol_lua_check_access(sol::types<checked_class>, lua_State* L, int index, sol::stack::record& tracking) {
	sol::optional<checked_ptr<checked_class>&> maybe_checked = sol::stack::check_get<checked_ptr<checked_class>&>(L, index, sol::no_panic, tracking);
	if (!maybe_checked.has_value()) {
		return;
	}
	checked_ptr<checked_class>& checked = *maybe_checked;
	if (checked.get() == nullptr) {
		// freak out in whatever way is appropriate, here
		throw std::runtime_error("You dun goofed");
	}
}

int main() {
	sol::state lua;

	lua["c"] = checked_ptr<checked_class>(new checked_class());
	lua["c_nil"] = checked_ptr<checked_class>();

	lua["f"] = [](checked_class cc) { std::cout << cc.value << std::endl; };

	sol::optional<sol::error> maybe_error = lua.safe_script("f(c)", sol::script_pass_on_error);
	if (maybe_error) {
		const sol::error& err = *maybe_error;
		std::cerr << "shit hit hte fan:\n" << err.what() << std::endl;
		return 1;
	}

	checked_ptr<checked_class>& c = lua["c"];
	c.reset();

	sol::optional<sol::error> should_error = lua.safe_script("f(c)", sol::script_pass_on_error);
	if (!should_error.has_value()) {
		std::cerr << "we did NOT get an error, despite there should being one!" << std::endl;
		return 1;
	}
	return 0;
}

This program should exit with code 0.
Part of this is also that unique_usertype_traits has been simplified as well. You don't need a value = true boolean anymore, and you don't need either actual_type or type if you have a special pointer class that follows either unique_ptr or shared_ptr in its template-shape.
"But if you don't need the defines anymore, why not move it out of that class entirely and just use cleaner, simpler free functions?"
Someone may still need to provide those typedefs, as well as the currently semi-secret rebind_actual_type mechanism that allows shared_ptr the ability to downcast from shared_ptr<Derived> to shared_ptr<Base> in class interfaces.
The documentation isn't updated because I'm overhauling the docs, which will hopefully be done by June if I don't die under a pile of C Standard Editing and other stuff.
Lemme know if it works for y'all.

A first draft of this has landed in latest. The following code does, presumably, what all of you would expect it to do:
#define SOL_ALL_SAFETIES_ON 1
#define SOL_PRINT_ERRORS    1

#include <sol/sol.hpp>
#include <iostream>

template <typename Type, typename Deleter = std::default_delete<Type>>
class checked_ptr {
private:
	using pointer = Type*;
	pointer ptr;
	Deleter del;

public:
	checked_ptr() noexcept : checked_ptr(nullptr) {
	}
	checked_ptr(std::nullptr_t) noexcept : ptr(nullptr), del() {
	}
	checked_ptr(pointer ptr_) noexcept : ptr(ptr_), del() {
	}

	pointer get() const noexcept {
		return ptr;
	}

	void reset() noexcept {
		if (ptr != nullptr) {
			del(ptr);
			ptr = nullptr;
		}
	}
};

struct checked_class {
	int value = 4645;
};

namespace sol {
	template <>
	struct unique_usertype_traits<checked_ptr<checked_class>> {
		static checked_class* get(lua_State*, const checked_ptr<checked_class>& ptr) noexcept {
			return ptr.get();
		}

		static bool is_null(lua_State*, const checked_ptr<checked_class>& ptr) noexcept {
			return ptr.get() == nullptr;
		}
	};
} // namespace sol

void sol_lua_check_access(sol::types<checked_class>, lua_State* L, int index, sol::stack::record& tracking) {
	sol::optional<checked_ptr<checked_class>&> maybe_checked = sol::stack::check_get<checked_ptr<checked_class>&>(L, index, sol::no_panic, tracking);
	if (!maybe_checked.has_value()) {
		return;
	}
	checked_ptr<checked_class>& checked = *maybe_checked;
	if (checked.get() == nullptr) {
		// freak out in whatever way is appropriate, here
		throw std::runtime_error("You dun goofed");
	}
}

int main() {
	sol::state lua;

	lua["c"] = checked_ptr<checked_class>(new checked_class());
	lua["c_nil"] = checked_ptr<checked_class>();

	lua["f"] = [](checked_class cc) { std::cout << cc.value << std::endl; };

	sol::optional<sol::error> maybe_error = lua.safe_script("f(c)", sol::script_pass_on_error);
	if (maybe_error) {
		const sol::error& err = *maybe_error;
		std::cerr << "shit hit hte fan:\n" << err.what() << std::endl;
		return 1;
	}

	checked_ptr<checked_class>& c = lua["c"];
	c.reset();

	sol::optional<sol::error> should_error = lua.safe_script("f(c)", sol::script_pass_on_error);
	if (!should_error.has_value()) {
		std::cerr << "we did NOT get an error, despite there should being one!" << std::endl;
		return 1;
	}
	return 0;
}

This program should exit with code 0.
Part of this is also that unique_usertype_traits has been simplified as well. You don't need a value = true boolean anymore, and you don't need either actual_type or type if you have a special pointer class that follows either unique_ptr or shared_ptr in its template-shape.
"But if you don't need the defines anymore, why not move it out of that class entirely and just use cleaner, simpler free functions?"
Someone may still need to provide those typedefs, as well as the currently semi-secret rebind_actual_type mechanism that allows shared_ptr the ability to downcast from shared_ptr<Derived> to shared_ptr<Base> in class interfaces.
The documentation isn't updated because I'm overhauling the docs, which will hopefully be done by June if I don't die under a pile of C Standard Editing and other stuff.
Lemme know if it works for y'all.

I am going to add doing the documentation for this in a much more organized mega-issue for doc overhaul and version 4.

I am going to add doing the documentation for this in a much more organized mega-issue for doc overhaul and version 4.


Specify route.spec.host if the name is greater than 63 characters

Describe the bug
Route name should not be longer than 63 characters otherwise it will not get accepted
Steps to reproduce
Pass a namespaced name that is longer than 63 characters to the route.New() constructor
Expected behavior
Routes names should be validated. If the route names is greater than 63 chars, the spec.host should be specified that should be unique for this route as well as each laber should be smaller than 63 characters in ..
Actual results
The first label gets derivied from the name of the route, if the name is longer than 63 characters, the routes will never get admitted.

/assign


Why was the Maven setup removed?

Following.

The original idea is that gradle-only system would be much easier to maintain, but if there is such a strong demand for mvn setup, then I see no obstacles why it shouldn't be added.

Ok, with your permission, can I fork this and create the maven changes? I'll be adding the code to handle the other API endpoints as well.
We're planning to use BigChainDB for our Enterprise project. It would be awesome to collaborate.
Thanks

Sure, sounds good. Just create the pull requests and I'll include the changes.

@alvin-reyes
Awesome to hear that. I'll jump in and help where possible as I'm in the same situation.

Added the pom.xml and a manual dependency for the crypto-conditions jar file.
https://github.com/alvin-reyes/java-bigchaindb-driver

Looking forward for the pull request.
I'm like what I'm seeing the the forked repo right now

I agree, looks good, the only thing that is the setup with the global config makes it impossible to have multiple connection instances (I can't think about the usecase for this yet, but maybe useful for someone).

Yep, also the system scoped dependency can prove to be a hassle.

@tzclucian, we can use extend the maven install plugin to include that without using a system scoped attribute. I'll modify the pom.xml for that.
@bodia , you are right. I'll modify the code so that we can easily create multiple instances of DB connection and make sure those can be "injected" easily when accessing the APIs.
Thank you for the feedback. Once it's done, I'll send the PR for your review.

Hi @tzclucian , @bodia, is there a specific reason why didn't we use jackson or gson/guava for JSON parsing? I'd like to know if you're open to migrating it to use these libraries as oppose to using the org.json library

@alvin-reyes actually migrating to something other than org.json has been one of the most important improvements for the driver that I considered. No objections at all. Moreover, getting rid of org.json will make the driver compatible with Android.

Hi @tzclucian , @bodia, is there a specific reason why didn't we use jackson or gson/guava for JSON parsing? I'd like to know if you're open to migrating it to use these libraries as oppose to using the org.json library

I do agree with jackson. I was even thinking about introducing POJOs/models for the actual request and response entities.

Yes. Got this working now on my local branch.  I haven't finish them yet but please feel free to check it out. https://github.com/alvin-reyes/java-bigchaindb-driver

PR for this: https://github.com/authenteq/java-bigchaindb-driver/pull/10
Remaining items: Support for Multiple Connections.

I think we can close this issue now?
What do you think @alvin-reyes , @bodia ?

Yes. I think so. I'll create a separate issue for the features that I think is beneficial for the library.

Hello Guys, I'm new with Java and Maven, how can use install this on my java project? I know it's says mvn clean install, but what should I do first before running that command? Guide me please.

Hello Guys, I'm new with Java and Maven, how can I install this on my java project? I know it's says mvn clean install, but what should I do first before running that command? Guide me please.

Hey @dominic-healid ,
Best thing you could do is to start off with a Maven tutorial.
Check https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html .

Thanks, I resolved it somehow I'm not sure if this is really the way to add this library, but what I actually did, I downloaded this project, and run maven and then I added this whole project to my project.
But yeah, will definitely look at that tutorial.
Thank you @tzclucian


Allow access to the user's encrypted password

This fixes #23.  I've made this a separate pull request in case you'd prefer not to merge this for whatever reason, but this also has the changes in #24.

@ogham ping

@ogham any update on this PR?

Sorry, sometimes the pings get dropped by the... packet filter. (It’s something I’m still working on)
Released as v0.7.0


ProfileFollows and ProfileFollowers cleanup

Stacked on https://github.com/bluesky-social/social-app/pull/3183
Why
Continuing on the normalization of lists, list footers, and error screens. Also cleaning up logic (although these two components were already generally okay).
The "no followers" error state was broken as well, which is now fixed as shown below.
How
Not many noticeable changes are made on native unless you visit a list with no results. However, on web there are some more noticeable ones (or if you click links to take you into the native app).
Profile Not Found
Before

After

No Followers or following
Before

After

Test Plan
Navigate the follows and followers of a few users. Find some accounts that do not have any followers/following and check those pages. Also check the follows/following for a handle that does not exist.

Looks great, but maybe add some feedback to the retry button? Disabled it, or add a spinner or something

Can try, not sure how useful it will be. It should actually be showing a spinner if it does a real retry, but if the result is cached it's just "instant".
I removed the retry button from the error though if it's just a "no results" case because it felt useless.

Ah @mozzius you know what it is? React Query doesn't clear the error when you call refetch, huh. Fixed this in the base PR e7064bf (#3183)


New install, no nothing

Hi - new install last night. For some reason nothing new is showing up. I have all the switches turned on in settings, and grape/Coderx works fine. Any idea what’s going on?

Bug Report Dump (Auto-generated)

Version 1.27.2<PHONE_NUMBER>)
Device: iPhone 8 (iOS 12.2)
TestFlight: false

Hey, what are you referring to with grape/Coderx? Does this notification itself pop up?

Hi -
I didn't get any notification for that response, no. For more detail - I can see all my watched repos if I tap "Inbox" at the top of the screen, so I know the Github connection is working; I just don't see anything in inbox.
Grape (now known as CoderX, a competing app that doesn't offer notifications) works fine, with new issues/PRs/responses all flowing through nicely, so I know there is traffic that should be seen by GitHawk...

Oh noes — that's not supposed to happen. Would you be up to join the TestFlight beta, then check the request/response using a three-finger tap to launch the debug menu?

Sure thing - I've installed on my iPad & iPhone and can bring up the debug menu, but I think I need a bit more explanation what you're looking for with the request/respose? I dont see it in the menu...

Can you check Menu > Network History, and then try to refresh the inbox?
Sent with GitHawk

[cid:C252AB56-3951-4FBA-AF3E-7C574B79E268][cid:C5DFBDF5-854D-45AB-8DB7-499FB429104A][cid:D8DA9674-687B-4B74-9455-2CBB275A0436][cid:4BE5A74F-2725-4F1B-AB61-871B1ED55321]
--
saucebarbeque<EMAIL_ADDRESS>On April 23, 2019 at 5:03:36 PM, Bas Broek (notifications<EMAIL_ADDRESS>wrote:
Can you check Menu > Network History, and then try to refresh the inbox?
Sent with GitHawkhttp://githawk.com
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/GitHawkApp/GitHawk/issues/2732#issuecomment-485973670, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AF7I2YHXB7JPKBPHDHFZY7TPR52SRANCNFSM4HHXNP7Q.

Removed the images as they contained some tokens. Will take a look.

Can you check the response body — that should give us a hint of what goes wrong. It's only 2 bytes...

this is... interesting:
[

]

Hm, yeah, it seems like there are no notifications. Can you see any on the website? If not, can you mark one as unread and try again in the app?
If that doesn't solve it, although I think you already checked, does everything look OK on here -> GitHawk?

I removed & reinstalled, and it now matches the website... no real idea what was wrong...
Thanks!

Weird — glad it has been solved!


let's go baby

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/81770
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v2.0.0 -m "<description of version>" 841fcd7edc0580d503ca78d5f6ff80c77aa8c374
git push origin v2.0.0

Also, note the warning: This looks like a new registration that registers version 2.0.0.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

register()

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/81774
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" e6371be62be4bb552c15e08b832c325b83055f7a
git push origin v1.0.0

@JuliaRegistrator register()

Registration pull request updated: JuliaRegistries/General/81774
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" 0df27eb6e7c655aa2b353be55c72723b4be921b6
git push origin v1.0.0


CSIC-37-snapshot-and-restore-suggestions-implemented

Changes:
1.snapshot prefix "csi-" added
2.restore flow changed

Looks good


cleartextTraffic

Sorry for bothering you, but I just need some clarification. The updater of my repo (which recently got some security checks added) just reported to me:
! repo/com.pyamsoft.tetherfi_40.apk declares flags: usesCleartextTraffic

I guess that's needed in your case, but before I add it to your app's allow-list with a reason I think stands behind it, can you please tell me the real one? Thanks in advance!

Hi
Since TetherFi is a proxy we just forward the network requests of other applications. Many use clear text traffic for connectivity checking upon initially connecting to a wifi network, thus we need the flag.
TetherFi itself actually makes no internet connections except those that are fired as an implementation detail of using the Google version checker library

Thanks for confirming! That was about what I thought it would be. Will add it to the allow-list for TetherFi then … done.


Running typstfmt on the current buffer in Sublime Text

Would it be possible to make it run from within Sublime Text (on the Mac) on the current buffer, tied to a key combination?

probably quite easily since typstfmt is also a binary!
Is the current buffer a file? If so, you're tied command needs to run typstfmt your_buffer_file

It can also accept stdin and write to stdout so I'm sure something is possible

Closing this for now, if you have other question you may reopen it!


Implement delete guard when user does not have 0 balance

Involves

Creating a service that will consume transactions api to check user balance
Adding the guard in delete use case

Implemented by #62


Should healthcheck clustername check be more strict instead of StartsWith

We observed that the healthcheck cluster identity does a startwith check https://github.com/envoyproxy/envoy/blob/b08af1fed4fbecb7e0b3555b022e071ed7dc2ffb/source/common/upstream/health_checker_impl.cc#L271-L271
Should it be more strict?

I don't recall the history here. AFAIK it should be an exact match and that is what all of the documentation says: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/health_checking#health-check-identity.
I would vote that we fix this, but I think the fix has to be runtime guarded and then removed after the normal deprecation cycle.

I know we definitely rely on the prefix matching behavior at Lyft today.  The health checker's service_names are set to strings like users, but the x-envoy-upstream-healthchecked-cluster header comes back users-production-iad

I know we definitely rely on the prefix matching behavior at Lyft today. The health checker's service_names are set to strings like users, but the x-envoy-upstream-healthchecked-cluster header comes back users-production-iad

Well, that explains why it's implemented that way. :)
What we should do here is replace this with a StringMatcher so it's more clear what the intention is. We can use this issue to track that.


🐞 -  providerAnimation instead of provideAnimations

Playground Link
No response
Description
When I added taiga-ui using the ng add taiga-ui command it updated the app.config.ts file and added the required providers, however it added the animations provider wrong.
It imported providerAnimation instead of provideAnimations
Angular version
17.0.0
Taiga UI version
3.54.0
Which browsers have you used?

[ ] Chrome
[ ] Firefox
[ ] Safari
[ ] Edge

Which operating systems have you used?

[ ] macOS
[X] Windows
[ ] Linux
[ ] iOS
[ ] Android

Fixed by https://github.com/taiga-family/taiga-ui/pull/5975


Uncaught SyntaxError: Unexpected token <

React Boilerplate
Before opening a new issue, please take a moment to review our community guidelines to make the contribution process easy and effective for everyone involved.
Please direct redux-saga related questions to stack overflow:
http://stackoverflow.com/questions/tagged/redux-saga
For questions related to the boilerplate itself, you can also find answers on our gitter chat:
https://gitter.im/mxstbr/react-boilerplate
Before opening a new issue, you may find an answer in already closed issues:
https://github.com/react-boilerplate/react-boilerplate/issues?q=is%3Aissue+is%3Aclosed
Uncaught SyntaxError: Unexpected token <
Description
I don't know whats causing this issue, but it seems to be breaking a route i've been working on, on prod. My localhost is perfectly fine, i don't even know where to begin to debug this. Please help.
These are the following errors i'm getting from the console log.

Uncaught SyntaxError: Unexpected token <
Dynamic page loading failed Error: Loading chunk 4 failed.
at HTMLScriptElement.c
Uncaught (in promise) Error: Loading chunk 4 failed.
at HTMLScriptElement.c

Looking at this error a bit closer, i saw that it fails when load chunck 4, so i don't know what the issue is, granted my localhost is fine. i'm using react-boilerplate
(Add images if possible)

Versions
Version : 3.0.0
node : >=7.1.0
npm : >=3

React-Boilerplate (see package.json):
Node/NPM:
Browser:

Have you tried clearing your cache ?

From the Error message, it seems like your server is returning a html file response to your 4.*.chunk.js request, most likely it is returning index.html which starts with a < token that causes the SyntaxError.
With react-router the routing is done on the client so the server is configured to serve the index.html file to every request except for the static assets then react-router can do it's job.
For some reason the 4.*.chunk.js is not found in the static assets and index.html gets returned.

I have this issue also.
when project have updated source
Root cause: the index.html is cached => it points to old js files
Solution: do not allow browser cache index.html by configure your nginx/apache/express
add this header cache-control: no-cache; to index.html response

@nhducit I tried your suggestion but the ServiceWorker caches index.html (and main.*.js) regardless of the server headers so there were still requests for chunks that had been replaced by a more recent deploy.
I've implemented this as a solution instead: https://zach.codes/handling-client-side-app-updates-with-service-workers/

Ah, I forget to tell you that I disabled offline plugin because I got some
caching issue with it
On Wed, May 17, 2017 at 5:59 PM Julien Benchetrit<EMAIL_ADDRESS>wrote:

@nhducit https://github.com/nhducit I tried your suggestion but the
ServiceWorker caches index.html (and main.*.js) regardless of the server
headers so there were still requests for chunks that had been replaced by a
more recent deploy.
I've implemented this as a solution instead:
https://zach.codes/handling-client-side-app-updates-with-service-workers/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-boilerplate/react-boilerplate/issues/1676#issuecomment-302056581,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEDKoNKgBIX_lAsaBM4V4GgklpU4ISm0ks5r6tL-gaJpZM4MvZpM
.

Pointing out an observation. I found that app.get('*') always serves index.html. This is the root cause of this bug. Like when a resource is not found or somehow the build is broken even, this issue can come over. I guess the exact requested file being served will help? And what about serving sw.js in case when an asset is not found there?

Please have a look at this related issue. Our development server serves sw.js with Cache-Control: public, max-age=0 header instead of Cache-Control: no-store. Any ideas on how to serve it with the right header?

Not sure but I you may want to simply not serve the offline plugin in development. I have this at the bottom of app.js:
// Install ServiceWorker and AppCache in the end since
// it's not most important operation and if main code fails,
// we do not want it installed
if (process.env.NODE_ENV === 'production') {
  const OfflinePluginRuntime = require('offline-plugin/runtime'); // eslint-disable-line global-require
  OfflinePluginRuntime.install({
    // Tells to new SW to take control immediately
    onUpdateReady: () => OfflinePluginRuntime.applyUpdate(),
    // Tells the UpdateLink component to reload into the new version
    onUpdated: () => {
      window.swUpdate = true;
    },
  });
}

As for production, I use Firebase hosting so I only needed to add this to my firebase.json:
"headers": [
      {
        "source" : "/sw.js",
        "headers" : [
          {
            "key" : "Cache-Control",
            "value" : "no-store"
          }
        ]
      }
    ]

@yantakus how do you run it in development servers? as npm start ? In that case offline-plugin never gets initiated i suppose. If you are using npm run start:production, then the offline plugin is at use. The cache headers can be set manually using nginx as it is given in the .nginx.conf file. I also believe max-age=0 is the default behaviour of Express server.

@julienben Never wrap runtime initialization in a condition as stated here, in this case your events won't get fired. It won't be installed in development anyway, because it is generated by webpack only in production. I experimented myself and I didn't get the events fired when I had plugin installation inside condition.
The only tiny issue you will get is a warning in console in development, but it is absolutely OK as stated here.
@varghesethomase by development server I meant npm run start:production, sorry for being unclear. I have to make it work locally to test this excellent idea. I want to tweak it a bit and testing it right in production is a bad idea.
If we serve all the files with express.js, what does nginx has to do with it?

@yantakus Thanks for the tips! Strange given that the condition should always be true in production but I'll assume it's just webpack magic. Also, note that it's present in app.js of the boilerplate's demo app.
Btw, the custom Link component has worked very well for me. One caveat though: I was forced to change the authentication routes. As a consequence, users with cached versions of the app would be trying to login through an invalid route until they manually updated the SW. It happened before the app went public but might have been a serious problem if not.

Back to the original issue. Me and my team realized why this happens: when you build a new version, new chunks are generated and the old ones are deleted. But the index.html file is not refreshed and it still links to the old chunks which are not there anymore. Because all the non-asset URLs are rewritten to index.html, server responds with 404 page instead of the missing chunks. Unexpected token < is the first character in any html page. Have a look at my SO answer on how to resolve this problem.

@yantakus This is pretty much the solution I used. Also I found out my teammates were still reflexively using Link so I wrote a tiny ESLint rule to protect from that.

I got  Unexpected token < with in promise ....  and fixed with me with installing the latest webpack, and webpack-dev-server , and also service worker should be there. This is my sample https://github.com/engmyahya/ReactJS.Web

Closing due to inactivity


sync for OpenBSD 6.3

sync struct pf_status changes for syncookies
sync counters for syncookies
remove deprecated PF_TRANS_ALTQ while here

As far as I could see these were the only changes in 6.3 that requires adjustment in py-pf. At least get_status() works again.

Thanks a lot!


Fix dependencies

I noticed that @swc/core and webpack were not listed as dependencies in the package.json, resulting in a poor DX- they might be globals on your machine. I've added them.

But it’s able to run in my GitHub action? It should work without global installs.

For fresh local installs, you need to list all dependencies. This is what happens at the moment when you npm i and then npm run start:

I don't have webpack installed globally yet it works on my Windows and the Ubuntu build server, it's either something wrong w MacOS or your npm. I will add webpack anyways


Ionic slideview data come in list format if i am navigating from other page

I am using Ionic Slidebox in that i am having some data that i am showing on swipe event that is working fine for first time but when i navigate to other page and come back to same page then it will shows all the data in list format. Thanks for reading, Please Help!

Greetings @nikhil1746!
My sensors indicate that you need to update your issue through our custom issue form. We are now requiring all issues to be submitted this way, to ensure that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
I will have no choice but to close this issue if it is not resubmitted through the form. Please fill out the rest of the form, so that I may use my friendly robot powers to assist you.
Thank you!

503 backend read error

Error 503 backend read error
backend read error
Guru Mediation:
Details: cache-jfk1023-JFK<PHONE_NUMBER><PHONE_NUMBER>

Varnish cache server

503 backend read error

Error 503 backend read error
backend read error
Guru Mediation:
Details: cache-jfk1023-JFK<PHONE_NUMBER><PHONE_NUMBER>

Varnish cache server

This is a better question for the Forums or #ionic channel on IRC


IT locale update

Hi @jimibi. In the pr #6, you added a translation into Italian. Do you agree with the changes in this pr? I do not speak Italian, so you guys need to discuss the changes proposed in this commit.

I would not seem presumptuous, but @jimibi is from France but I'm Italian, so my corrections should be correct :laughing:

I think matteotrubini's translation is better than mine, my Italian is rather academic, I only lived one year in Italy.

Thanks, guys.


Avoid Write calls when SIADD added_cnt is 0

This may improve performance by 40% in certain case.
Simple benchmarks:
src/redis-benchmark -p 6666 -P 100 -n 100000 siadd key 1 2 3

Before is 95057.03 requests per second.
After is 135135.14 requests per second.

Why such a big performance boost? I don't get that from the logic of the code


Rename mxml_type_e from MXML_foo to MXML_TYPE_foo

Currently the mxml_type_e enumerations are not named so it is obvious they are values of that type. Rename them to MXML_TYPE_foo to fix that.

Done!


Juicer does not specify a License

What License applies to Juicer?
Could this be added to the repo?

Hello, I added this MIT license:
https://github.com/matth/juicer/blob/master/LICENSE.md
Matt

Legend!


⚠ RPC server - Harmony has degraded performance

In e0573e6, RPC server - Harmony ($HARMONY_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Harmony performance has improved in a26f426 after 23 minutes.


Fix x11 DeviceEvent ModifiersStates

The other half of the fix for https://github.com/tomaka/winit/issues/226
I put this into a seperate PR because it will likely be held up by discussion.
Ralith said on IRC: "looks like I just didn't implement modifiers for raw kb input"
However looking into it I couldnt find a way to do so.
(Because the XIRawEvent doesnt have the state field that XKeyEvent does)
Because DeviceEvents dont require ModifierStates like WindowEvents do, as ALL events are received regardless of focus, I decided to create a seperate DeviceKeyboardInput without ModifierStates.
There are currently no other backends returning KeyboardInputs in DeviceEvent's so I couldnt check how they handled it.
Interested to hear your thoughts @tomaka @Ralith

Under XInput2, you're supposed to track keyboard modifier states yourself using libxkbcommon, specifically the xkb_state_mod_* functions. Unfortunately there doesn't seem to yet exist dynamically-loading libxkbcommon and libxkbcommon-x11 bindings for rust, but it's not a large library, especially since we only need a small number of functions (xkb_x11_setup_xkb_extension, xkb_x11_keymap_new_from_device, xkb_x11_state_new_from_device,  xkb_state_update_mask, xkb_state_key_get_one_sym, and xkb_state_key_get_utf8) used in the documented pattern.
I believe pulling in xkbcommon will also allow us to drastically improve the X11 backend's VirtualKeyCode support, by maintaining a parallel keyboard state (per device) that ignores modifiers, providing a straightforward source for stable keysyms we can map onto known virtual keys.

On further research, it looks like an easier workaround might be XkbGetState, which is bound by x11-dl already. The downside is this round-trips to the X server, which isn't great.

Thanks for your research Ralith!
This looks more complex then I would rather get into, so I'll leave this for someone else to do.


php7-sapnwrfc - server side

Hi,
recently found this library - GREAT WORK! I would just ask, if there is a plan to support also server side (SAP call to PHP application)?
Keep up with the good work!

Not at the moment I'm afraid...


[ChangelogLinker] auto turn to unreleased to dated and link to diff tag

Before
## Unreleased

After
## [v4.1.0] - 2018-04-24

[v4.1.0]: https://github.com/Symplify/Symplify/compare/v4.0.0...v4.1.0

The git diff is already handled by DiffLinksToVersionsWorker


Broccoli 1.0 Support

This pull request enables support for Broccoli 1.0 by replacing broccoli-writer with broccoli-plugin.
Resolves issue #16.

Thanks, this is released in 1.3.0.


Add convenient API to get multiple type of keys from Redis

Currently Feathr only supports getting a single type of keys thru client.get_online_features or client.multi_get_online_features. Essentially they are just sending the HMGET commands to Redis, say for "product_id".
Per this discussion (https://feathrai.slack.com/archives/C036HEUQM08/p1658237223861509), it would be good to add a convenient API to get multiple type of keys, say get some "product_id" and get some "user_id" at once.

@xiaoyongzhu
Can I give this a try?

Closing as this is completed by PR #919


Sentry 202211

Description
Changes proposed in this pull request:

Fix issue<PHONE_NUMBER> - Cannot read properties of undefined (reading 'kind')
Fix issue<PHONE_NUMBER> - Cannot read properties of undefined (reading 'match')
Fix issue<PHONE_NUMBER> - e.endsWith is not a function
Fix issue<PHONE_NUMBER> - Cannot read properties of undefined (reading 'name')

Related issue(s)

/retest

/retest

/retest

/test pre-busola-smoke-test-docker


Second Subrosia trade blocked by ember seed location

This is a hard mode seed for Seasons
The log states in sphere 6 that you should pick up the Magnetic Gloves through the second trade in the Subrosia Market. This trade requires both 20 ore chunks and 10 ember seeds. This is impossible at this point, as ember seeds are only located in Tarm Ruins.
oosrando_3.3.6_c7e1f57c_hard_log.txt

You can get ember seeds from the chest in D5, which is in hard logic.


[6.5.x] RHBPMS-4098 - Process Instance Halting Mid Process

(cherry picked from commit<PHONE_NUMBER>81c2c0a63a07fa98937aac25fca004)

jenkins retest this

@psiroky @sutaakar any idea why these are failing to init?

@mswiderski It seems to be caused by SpreadsheetIntegrationTest. Looks like some recent change caused compilation issue in spreadsheet.

jenkins retest this

jenkins retest this

Jenkins retest this

Jenkins retest this

Jenkins retest this

Jenkins retest this

Jenkins retest this

Jenkins retest this


Agent path planning module is sequential

Agent targets assigned in sequence and scan schedule map updated in sequence, meaning that according to the order agent paths are assigned, targets may be different.
Instead target assignments should not take into account assignments to other agents - error checking module should check afterwards instead.

Could leave in code - not too much difference in results


Add sqlite3ext.h header

It's useful to have extensions when testing new queries with the custom functions in the command line tool.

Yeah, I don't see a reason to  omit sqlite3ext.h from the repo. It should probably be also included in release packages, but that's for another commit.
Rebased & merged.


fix: check in doc after build

Alaska Airlines Pull Request
Before Submitting this pull request:

Link all tickets in this repository related to this PR in the Development section
note: all pull requests require at least one linked ticket
If this PR is Ready For Review, all ticket's linked under Development must have their status changed to Ready For Review as well

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I have performed a self-review of my own update.
Summary by Sourcery
Fix the process to check in documentation after the build to maintain consistency and update the auro-select component documentation for accuracy.
Bug Fixes:

Ensure documentation is checked in after the build process to prevent discrepancies between the code and its documentation.

Documentation:

Update the documentation for the auro-select component to ensure consistency and accuracy in the demo examples.

 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.chrisfalaska 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.

:tada: This PR is included in version 1.6.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Transmission (SSR) broken since #4946

Since #4946 landed, transmission seem broken, even when screen-space reflections are disabled.
e.g.: screen shots from gltf_viewer:

Fixed by #5051


Chat - No space between "con" and user name in "Este chat es con."

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

Version Number: 9.0.46-1
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause Internal Team
Action Performed:
Precondition:

App language is Spanish.

Go to staging.new.expensify.com
Open DM.

Expected Result:
There should be a space between "con" and user name in "Este chat es con ."
Actual Result:
There is no space between "con" and user name in "Este chat es con."
Workaround:
Unknown
Platforms:

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

Screenshots/Videos

https://github.com/user-attachments/assets/8860fae3-18a5-42b4-a82b-a81e0979495e

View all open jobs on GitHub

It comes from my previous PR, raised a quick fix here
cc @ikevin127

Removing the blocker label, not really a big issue

Actualllyyyy, it does look pretty bad so we should probably CP this

Was a regression, no payments required here


Adding mime.define support.

I was wondering whether it would be possible to support mime.define - https://github.com/broofa/node-mime#mimedefine -.
I can have it written and pull request.
Will you find it useful?
Many thanks.

Interesting. I think it would be useful if you think it's useful. However, we did change the MIME lib a while ago to generate the full content type header because of encoding problems (which is much nicer) and we're using this library to do it: https://github.com/jshttp/mime-types
However it seems it doesn't have the ability to define custom types. If you're willing to tinker a bit or see a solution/other lib, I'm willing to take a PR (as long as we conserve the full content type header).


Fix compilation issues with ARM and IAR compilers

Fix compilation issues with ARM and IAR compilers
Description

Add CMake toolchain file for ARM Compiler 6

arm-armclang.cmake is based on arm-keil.cmake
CMake 3.15 or newer is required to detect ARMClang
CMake requires the CMAKE_SYSTEM_PROCESSOR variable to be configured
in order to detect ARMClang

LwIP: ARM Compiler does not provide sys/time.h
LwIP: Allow overriding LwIP's errno declaration

cc.h no longer defines LWIP_PROVIDE_ERRNO when
LWIP_ERRNO_STDINCLUDE or LWIP_ERRNO_INCLUDE is defined
Remove libraries/3rdparty/lwip/src/include/lwip from the include
path because LwIP's errno.h conflicts with the standard library's
errno.h
Update source files that contained unqualified paths to LwIP
header files

LwIP: Fix incorrect struct packing with IAR EWARM

When __packed appears before the struct keyword, it affects the
alignment of each member of the structure. When __packed appears
after the struct keyword, it affects the alignment of the struct
type itself.

errno Notes
There are several possible definitions of errno:

C/C++ standard library. The C specification only requires EDOM, EILSEQ, and ERANGE.
LwIP (lwip/errno.h). LwIP uses some custom and/or POSIX-defined errno values which it can optionally define if the system headers do not.
FreeRTOS+POSIX: Also provides some POSIX-defined errno values.

However, there are some issues with using alternate errno implementations:

When you use errno, it's hard to tell which one you are referring to.
In the C specification, errno is a macro. Attempting to define it as a variable could cause a confusing compiler error message due to macro substitution.
The C library is free to assign any values to the ERRNO constants. These may or may not be equivalent to LwIP's or FreeRTOS+POSIX's values which could cause macro redefinition errors and/or confusion about the meaning of the numeric values.
Implementing errno as a (non-thread-local) variable is not thread-safe. FreeRTOS+POSIX and most multithread-aware C libraries have a thread-local implementation of errno but LwIP does not.

The Cypress projects are using the C library's errno with a custom header (via LWIP_ERRNO_INCLUDE) to define the additional values expected by LwIP.
Compatibility Notes
After this change, directives that refer to LwIP headers must use the directory name (e.g. lwip/socket.h). This change only affects CMake builds. I have searched for common LwIP header names in the in-tree targets but I have not verified whether all targets still compile.
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[ ] My code is Linted.

As far as I can tell none of the in-tree projects use cmake with armclang or IAR so I have only been able to compile with unpublished Cypress-specific targets. The Cypress targets seem to boot with these changes but I have not run a full test suite yet.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Rebased to incorporate 1518. Updated version number in trcStreamingPort.c.

/bot run checks


[Bug] vectorstores test fail on Xeon

Priority
P1-Stopper
OS type
Ubuntu
Hardware type
Xeon-SPR
Installation method

[ ] Pull docker images from hub.docker.com
[X] Build docker images from source

Deploy method

[X] Docker compose
[ ] Docker
[ ] Kubernetes
[ ] Helm

Running nodes
Single Node
Description
./vectorstores/test_vectorstores_pathway.sh test fail
Log link: https://github.com/opea-project/GenAIComps/actions/runs/11929971908/job/33252617113

@berkecanrizai

This issue is fixed by https://github.com/opea-project/GenAIComps/pull/940
CD test pass, log link:  https://github.com/opea-project/GenAIComps/actions/runs/11965487915/job/33364062380
So close this issue.


MultiOgar Problem in VPS

Hello ..
When playing in the game .. shows me a message in the vps containing
`[FATAL] TypeError: Cannot read property 'destroy' of null
at GameServer.onClientSocketClose (/root/MultiOgar1/src/GameServer.js:315:19                           )
at WebSocket.onClose (/root/MultiOgar1/src/GameServer.js:287:14)
at emitTwo (events.js:105:20)
at WebSocket.emit (events.js:185:7)
at WebSocket.emitClose (/root/MultiOgar1/node_modules/ws/lib/WebSocket.js:22                           6:10)
at /root/MultiOgar1/node_modules/ws/lib/WebSocket.js:212:41
at Receiver.cleanup (/root/MultiOgar1/node_modules/ws/lib/Receiver.js:518:15                           )
at WebSocket.finalize (/root/MultiOgar1/node_modules/ws/lib/WebSocket.js:212                           :22)
at emitNone (events.js:85:20)
at Socket.emit (events.js:179:7)
And then the game stops , What is the solution my friends`

@malekksa505 https://github.com/Megabyte918/MultiOgar-Edited/issues/492#issuecomment-277460015

Thx

What vps do you use?


Export as SVG

It seems useful to be able to export to SVG as it allows exporting parts of an image as suggested by @tripl3inf here: https://github.com/tomkrcha/drawscript/issues/11#issuecomment-66940571

I just read Tips for Creating and Exporting Better SVGs for the Web and Useful SVGO[ptimization] Tools. I don't think you need to go as far as SVGO GUI (demo), but it might be nice to have a minimal amount of optimizations applied like SVG-NOW.

I would love to have paths returned... much like this: http://jrdn.io/image/1v0S0I041L2E That way I can add them quickly into my prototypes and HTML files... or create sprites quickly and easily.

Currently there is no plan to implement this. Closing.


Update for new pattern of extensible enum

Please see: https://github.com/Azure/cadl-azure/pull/2229
Fixes: #158.
This does not add any new scenarios. It updates an existing one.

This is blocked until cadl-azure-core 0.10.0 is released.


x/tools/gopls: high CPU & memory for minutes in "Saving foo.go: Getting code actions from "Go" ..."

What version of Go are you using (go version)?
Go 1.19.4
gopls 0.11.0
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
darwin/arm64 Visual Studio Code => ssh to linux/amd64
What did you do?
I'm trying to become a Visual Studio Code + gopls user, trying to break my emacs habit. I use Visual Studio Code on a Mac over SSH to a Linux server, where gopls/etc runs remotely.
A good fraction of the time when I save in VS Code, I see:

For minutes.
Meanwhile, gopls is using 4-8 GB or more of memory and using tons of CPU.
perf top says:

What did you expect to see?
Faster, I guess.
What did you see instead?
Slower than it seems it should be.
Is this a bug?
I don't know how to go about debugging gopls.

Similar experience. Saving whilst not having a go.mod file present grinds to crawl.
I believe this is #56496 related.

Gopls is generally resource hungry on large (or even medium large) workspaces. Furthermore, it is sensitive to which directory you open.
Couple questions:

Which directory do you open, relative to your go.mod files?
How many files / packages do you have in your module / workspace?

From that profile, it looks like the typical parsing / typechecking / gc slowness, so I'm not sure there's a solution for you with the current execution model. The issue @renthraysk cited is a known problem related to scanning files, but that doesn't seem to be the cause of what you're experiencing.
@adonovan  and I are working to move gopls off of its monolithic build model, which should finally allow us to solve this category of problem.

FWIW, in my experience, this can occur when gopls gets into a bad state. It is responsive (enough) working on a project, it gets unhappy, and then saving fails until you kill and restart it.
For others experiencing this, you can get past it in a pinch by using the VSCode command palette to do "Save without formatting". And then restarting. :/

I had something similar happen last weekend...  Gopls was going bonkers taking over cpu on my box.  I couldn't get back control of the UI and I made the mistake of hard rebooting in the middle (just trying to get my cpu back) which unfortunately bricked my harddrive and OS.  I'd had problems with this pet project in the past using gopls.  I think it may have had something to do with having a largish bound resource file (but not unreasonable) but that's only a wild guess because I can't repro due to bricking.

Oof, sorry about that @joel-rieke
It sounds like there may be something we don't understand going on here, but we are in the process of making major changes to the way gopls executes (https://go.dev/issue/57987), and my hope is that it makes all of these problems go away.

@bradfitz, do try out gopls@master and tell us what you find. We're close to the v0.12.0 release, which should reduce stable state memory usage by 5-10x for large projects.

@adonovan I still have this problem when I use the master, especially when I copy the code from other places and there are many errors in it, it will be very slow to save only when there are errors

I have similar issue when opening and saving projects with VSCode thru SSH running Arch VM, cpu usage will skyrocket to 100%. Tried opening/saving the same project on the host (Windows) and another VM running Ubuntu, and it works fine. (project is very small with few files) any pointer how to debug this?

@findleyr This looks like an exact dup of the problems were were debugging yesterday due to VSCode's slow processing of glob patterns consisting of very long comma-separated lists of directories (see https://github.com/golang/go/issues/60089 and CL 496186), and perhaps also sequential execution of go mod tidy, and the fact that this is done even when the metadata hasn't changed.
(See also #59176, perhaps another dup.)

@adonovan let's close this after we cut the release candidate containing our fix. Then it will be easy for people to test, and comment if they can still reproduce the freezing.
I am 92% sure this is a dupe, and now fixed.

go install<EMAIL_ADDRESS>

I don't want to jinx it, but so far so good! 🤞

Apologies for commenting on a closed issue, but I'm getting this same issue and it's completely crashing my macbook unless I kill the go or gopls process manually.
Loving learning Golang but this issue is a bit frustrating. Thanks in advance for looking at this issue.
Details:
go version go1.21.4 darwin/arm64
M1 Pro 16GB - Ventura 13.6 (22G120)

Hi @joshghent . Could you please open a new issue, filling out the gopls issue template?
https://github.com/golang/go/issues/new/choose

Apologies for commenting on a closed issue, but I'm getting this same issue and it's completely crashing my macbook unless I kill the go or gopls process manually. Loving learning Golang but this issue is a bit frustrating. Thanks in advance for looking at this issue.
Details: go version go1.21.4 darwin/arm64 M1 Pro 16GB - Ventura 13.6 (22G120)

Bummer... thought this was fixed... On linux it seems fine lately...  But haven't tried with latest go1.21.4  -- debugging the same project of mine that caused this behavior.

Is your gopls up to date?

It really should be better now: the code actions operation is now essentially a no-op, except for running goimports, which can sometimes hang (https://go.dev/issue/59216).


Selector sub-properties with configurable: false should not show in form

With a form defined like:
forms:
- name: catalog_form
  label: Catalog
  description: Catalog configuration.
  properties:
  - name: catalog_presentation
    label: Customize catalog presentation
    description: Customize service presentation in the PCF marketplace
    default: "No"
    configurable: true
    type: selector
    option_templates:
    - name: default_service_presentation
      select_value: "No"
      property_blueprints:
      - name: display_name
        default: Bucket
        type: string
        label: Bucket
        configurable: false
    - name: custom_service_presentation
      select_value: "Yes"
      property_blueprints:
      - name: display_name
        default: Bucket
        type: string
        label: Bucket
        configurable: true

The tile configuration form shows the field for display_name when the "No" option is selected.
One would expect that, since that sub-property is not configurable (i.e., configurable: false), the field should not be shown in the form.

This looks like the code that does the rendering: https://github.com/cf-platform-eng/tile-generator/blob/28731493b6b26157c8dc4fafc538eb5db075dadd/tile_generator/tile_metadata.py#L210-L221

Fix will make it into tile-generator 12.0.7.


[fi] Improve translations

Some improvements and additions to Finnish translations

Thank you

Hello,
can you translate in validation.php the "uuid" ? and create the json file ?
Thanks in advance


Generating a small subset of SDG data that will follow the ilab data generate --preview command

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Additional context

After sync with @aakankshaduggal - this feature has stepped down on priority. @aakankshaduggal current focus will be to deliver https://github.com/instructlab/sdg/issues/271 for 1.2. If she has the extra bandwidth to take this on within the 1.2 timeframe, she will do so as second priority. PM is aware and approves of this change


Add dropwizard-dashboard to the server

In gitlab by @sylvaingaudan on Sep 4, 2017, 15:45
if defined in the configuration of ARLAS, provide the dropwizard-dashboard from https://github.com/lutzhorn/dropwizard-dashboard

In gitlab by @sylvaingaudan on Sep 11, 2017, 11:48
changed milestone to %13

In gitlab by @sfalquier on Sep 15, 2017, 11:00
removed milestone

In gitlab by @sylvaingaudan on Jan 2, 2018, 10:50
closed

In gitlab by @sylvaingaudan on Jan 2, 2018, 10:50
Not good enough.


[FR] add alias support

For example, cs or csharp can map to visual studio, py can map to python.
This could be a configuration file then we can add it by ourself.

if it doesn't make the code more complex i'm open to a PR but it seems like something we don't really need.

@msfeldstein How about let the configuration file just exists in local disk?


fix 500 error after posting invalid community role

Fixes #2336 (hopefully for good this time). Details in that issue.
This is a production issue, so again a hotfix release would be needed if 4.1 isn't ready to go yet.

@elichad Ping me when you merge it so I can run the 4.0.9 release.


Is there a way to disable drag on my items?

Looks like a very nice tree, but I didn't see a way to mark some items (ie my top level folders) so that they can be locked and not dragged.  I realize I could disallow the drop, but this would be a better user experience.

@ddelapasse2 thank you for feedback, I will try rebuild this tree and make it better in future.

Thanks!  I do see the draggable property - if I could set that in the input json that would be perfect!

@ddelapasse2  I think you can. If not sorry, it was my 1st package and I just started my way in open source. Now I have more experience and will create a better and more necessary package.


Instantly crashes when trying to specifically upload pictures

I'm running the latest version of the container on Debian 10. Everything works perfectly, I can even upload a routes.yaml file without issue(proving it's not ALL uploads that are a problem), but if I try to upload an image for an article, the site banner, a profile banner, or even an avatar, a red message appears at the top saying "request was rejected due to server error" and the container instantly crashes and restarts. Here are the relevant logs.

same to me...
https://forum.cloudron.io/topic/5015/ghost-4-4-0-cant-upload-image-for-icon-and-logo/14

Same issue happens with the 3.42.8-alpine Docker image. Switching to the regular 3.42.8 image fixes the problem.


Core/Array/array_change_key_case #6 - added function

Thanks for your contribution(s).
I'll review all pull requests ASAP.


Spacing between 1st right & 1st left item in Carousel

Im using layoutManager.setPostLayoutListener(new CarouselZoomPostLayoutListener());
But it is giving me a spacing like this between the center item & 1st right, 1st left like this

How to reduce the gap ?
Regards,
Sasank

Hi @saisasanksunkavalli.
This gap is done by CarouselZoomPostLayoutListener. You can check its algorithm.
Zoom is controlled by "scale" parameter.
Spacing is controlled by translate parameters.
I suggest you to write custom ZoomPostLayoutListener. And change scale parameter not so fast. This will resolve your issue.

A nice API wouldn't go amiss though. Perhaps a setter which takes a value and applies that to the scale given?

Yep, @Kisty. I was thinking about it, but haven't started this yet :)

Perhaps it might be worth offering a few effects, such as on using a slow drop off, like
f(x) = x^2

And pedhaps using cos(x) for medium dropoff.

Hi! I'm having the same problem.
In my implementation of the PostLayoutListener, I'm returning values like:

itemPositionToCenterDiff=3.0 scale=0.7
itemPositionToCenterDiff=2.0 scale=0.8
itemPositionToCenterDiff=1.0 scale=0.9
itemPositionToCenterDiff=0.0 scale=1.0

I thought this would make the difference between views the same, but I'm getting the same result as OP (with a vertical orientation).
    @Override
    public ItemTransformation transformChild(@NonNull final View child, final float itemPositionToCenterDiff, final int orientation) {
        //final float scale = (float) (2 * (2 * -StrictMath.atan(Math.abs(itemPositionToCenterDiff) + 0.5) / Math.PI + 1));
        float auxPos = Math.abs(itemPositionToCenterDiff);
        final float scale = auxPos > 0 ? 1 - (auxPos / 10) : 1;

//other stuff

        return new ItemTransformation(scale, scale, translateX, translateY);
    }

Am I missing something?

same problem :(

Can someone tell how to increase the height of the views which are immediate left and right of the center element ?

@NirmalyaSin
you can play around with custom realization of this class https://github.com/Azoft/CarouselLayoutManager/blob/master/CarouselLayoutManager/carousel/src/main/java/com/azoft/carousellayoutmanager/CarouselZoomPostLayoutListener.java

Yes I am doing so but the gap between the views are changing, height of the immediate left and right views are not getting changed. Can you please tell which variables can be altered to get the result ?

As I remember you should change scale @NirmalyaSin

final float scale = (float) (2 * (2 * -StrictMath.atan(Math.abs(itemPositionToCenterDiff) + 1.0) / Math.PI + 1));
@mig35 can you explain how you are setting the scale here ?

this is a kind of magic to convert item position (from 0 to maxVisibleItems) to scale factor that is needed to be for this item.
you can play around with this function @NirmalyaSin

Yes but I need to change the height of the visible items apart from the center one. But the height is not getting changed. Can you tell me how to increase or decrease the height ?

@NirmalyaSin
as I can see if you pass scaleY then the view will be scaled and its visible height will be changed.
The code can be found here: https://github.com/Azoft/CarouselLayoutManager/blob/master/CarouselLayoutManager/carousel/src/main/java/com/azoft/carousellayoutmanager/CarouselLayoutManager.java#L469
You can debug the library and if you find any issue you are welcome to write a PR.

Thanks a lot @mig35 I was able to attain the desired view.


Processing raw data error

hi！
When I use your code to process cif files, I get an error. I checked the code, you did not pass in ‘covalents’ when you finally returned it.

  File "/home/wensm/boltz/scripts/process/mmcif.py", line 1121, in parse_mmcif
    return ParsedStructure(data=data, info=info)
TypeError: ParsedStructure.__init__() missing 1 required positional argument: 'covalents'

And why is msa_id set to null?
This causes the msa file to be unable to be matched during trainnig.
# rcsb.py line 136
    for i, chain in enumerate(structure.chains):
        key = f"{pdb_id}_{chain['entity_id']}"
        chain_info.append(
            ChainInfo(
                chain_id=i,
                chain_name=chain["name"],
                msa_id="",  # FIX
                mol_type=int(chain["mol_type"]),
                cluster_id=clusters.get(key, -1),
                num_residues=int(chain["res_num"]),
            )
        )


fix: outdated links

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[ ] Have the files been linted and formatted?

What docs page needs to be fixed?

Section: Redux Fundamentals, Part 5: UI and React
Page: this

What is the problem?
What changes does this PR make to fix the problem?

Thanks!


Dragging regular slice in 1D crashes

Crash is here: https://github.com/homotopy-io/homotopy-rs/blob/1665c939047ebf1c7962cee87969a22075620916/homotopy-web/src/app/diagram_svg.rs#L532
We should do expansion in a regular slice (i.e. smoothing) in this case.

Whoops, I thought it was genuinely unreachable


Deprecate class in Button & Pill & Tag

Coverage: 96.0%. Remained the same when pulling 0161c537ce1962b99792ae48e906062aa781ba95 on feature/twig-class-button-tag-pill into 67b8971adb9806db42a5f9c6aa5426c8a38eca21 on feature/twig-alert-styleprops.


Rearrange namespaces, module structure and exports

Refactored in consistance with metarhia/Common

Use api.metasync.functionName in all declarations
Now all files are crosslinked automatically, e.g. no need to import array.js to chain.js, it is accessible by api.metasync.functionName

Landed in  b8465e3dd6b2bb5d3234c858ef921e8df8967e36


TypeError: clean_html() takes no arguments (1 given)

Hi,
I am getting this unorthodox error and I have no idea why. My code works on my personal computer.
$ ./manage.py shell
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import django_wysiwyg
>>> print(django_wysiwyg.VERSION)
['0', '7', '0']
>>> django_wysiwyg.clean_html("")
u''

However on my server I get error:
$ ./manage.py shell
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import django_wysiwyg
>>> print(django_wysiwyg.VERSION)
['0', '7', '0']
>>> django_wysiwyg.clean_html("")
Traceback (most recent call last):
  File "<console>", line 1, in <module>
TypeError: clean_html() takes no arguments (1 given)

Like you can see, I am using different python versions (my personal computer is ubuntu and server is debian).
Edit1:
I am getting same error on openshift.com with python 2.7.5

My bad. I thought one of mentioned dependencies would be enough. I installed pytidylib (I think) only and it did not work. So both pytidylib and html5lib are required.