SmoothCamWorld memory issue

In a scenario where SmoothCamPoints are added and removed frequently, SmoothCamWorld would unnecessarily take too much memory and GC time. This can happen for example on games where the player is a vehicle moving through a big map and we wish to maintain the SmoothCamPoint count low. The problem is in SmoothCamWorld  addPoint and removePoint methods:
private SmoothCamPoint[] points = {};

public void addPoint (SmoothCamPoint point) {
	SmoothCamPoint[] newPoints = new SmoothCamPoint[points.length + 1];
	newPoints[0] = point;
	System.arraycopy(points, 0, newPoints, 1, points.length);
	points = newPoints;
}

public void removePoint (SmoothCamPoint point) {
	ArrayList<SmoothCamPoint> temp = new ArrayList<SmoothCamPoint>(Arrays.asList(points));
	temp.remove(point);
	points = temp.toArray(new SmoothCamPoint[temp.size()]);
}

For a LibGDX application, I would suggest using com.badlogic.gdx.utils.Array to store the SmoothCamPoint instances:
private Array<SmoothCamPoint> points = new Array<SmoothCamPoint>(false, 25, SmoothCamPoint.class);

public void addPoint (SmoothCamPoint point) {
	points.add(point);
}

public void removePoint (SmoothCamPoint point) {
	points.removeValue(point, false);
}

And in getNearestPoint method, access elements directly instead of using the Array.get() method in order to keep time efficiency.
public SmoothCamPoint getNearestPoint (SmoothCamPoint p1) {
	double distance = 0;
	double currentBest = 0;
	SmoothCamPoint nearestPoint = new SmoothCamPoint();
	for (int i = 0; i < points.size; i++) {
		distance = getDistance(p1, points.items[i]);
		if (distance <= points.items[i].getOuterRadius()) {
			return points.items[i];
		} else if (distance < currentBest || currentBest == 0) {
			nearestPoint = points.items[i];
			currentBest = distance;
		}
	}
	return nearestPoint;
}

I made a test to see the memory efficiency in VisualVM. Here is the test class:
public class MemoryTest {

	/* Uses SmoothCamPoint[] */
	static SmoothCamWorld2 smoothCamWorld_1 = new SmoothCamWorld2(new SmoothCamSubject());

	/* Uses Array<SmoothCamPoint> */
	static SmoothCamWorld smoothCamWorld_2 = new SmoothCamWorld(new SmoothCamSubject());

	static SmoothCamPoint[] testCamPoints = new SmoothCamPoint[50];

	public static void main (String[] args) throws InterruptedException {
		//test1();
		 test2();
	}

	private static void test1 () {
		createPoints();
		while (true) {
			for (int i = 0; i < testCamPoints.length; i++) {
				smoothCamWorld_1.addPoint(testCamPoints[i]);
			}
			for (int i = 0; i < testCamPoints.length; i++) {
				smoothCamWorld_1.removePoint(testCamPoints[i]);
			}
		}
	}

	private static void test2 () {
		createPoints();
		while (true) {
			for (int i = 0; i < testCamPoints.length; i++) {
				smoothCamWorld_2.addPoint(testCamPoints[i]);
			}
			for (int i = 0; i < testCamPoints.length; i++) {
				smoothCamWorld_2.removePoint(testCamPoints[i]);
			}
		}
	}

	private static void createPoints () {
		for (int i = 0; i < testCamPoints.length; i++) {
			testCamPoints[i] = new SmoothCamPoint();
		}
	}
}

First I run and monitor test1() for 60 seconds, then I do the same with test2(), which is using the fix I proposed for a LibGDX app. The results:
test1

GC Time: 517,616 ms
test2

GC Time: 0 ms
Conclusion: if I am not mistaken, the difference is noticeable, so I think a general fix is needed (not specific to LibGDX as proposed above)

Good catch!
The reason I didn't use libGDX's Array was to keep it framework-independent (only the example code and debug renderer depend on libGDX).
However, I guess most people using it are libGDX-users anyway, so let's just make it version 2.0 and add the dependency. Agreed?

However, I guess most people using it are libGDX-users anyway, so let's just make it version 2.0 and add the dependency. Agreed?

I would keep it generic, maybe ArrayList will do for a quick fix, see #2
But com.badlogic.gdx.utils.Array is slightly better if unordered, because avoids a memory copy when removing elements (the last element is moved to the removed element's position).
I guess the better solution would be to write a specific Array class based on the libgdx Array implementation.


typing update and bool return added

Coverage increased (+0.004%) to 93.733% when pulling 6fdb6a0d129e69592ad4cdae02d596f098eb504a on task/310-high-cpu into a5d7b8f50cf7350df5e23ba2228902b967eaee7b on master.


Add forem to nested topic links.  Fixes #137

How do you feel about writing a spec that ensures your expected behaviour remains and fails without your patch? :)

For some reason the specs and test app work even without this change, so I'm not sure how to go about doing that.  There's an integration test that I added previously that tests these links.

Very odd, I would have thought that this would lead to an improper route without the @forum attribute. Maybe we're not testing this page properly? Maybe both routes work? Weird!

It didn't work for me in my production environment, but I manually tested on the test app in addition to my spec and it worked.

Thanks for fixing this @jgadbois. :)


Doesn't seem to work with filters

The Excel export option doesn't seem to work with filters. I went ahead to add MatExcel, then created an Export. Used the export in the filament table but it exports everything when I apply a filter and do a bulk select of multiple entries.

My bad. Didn't read the docs correctly. Has to be FromCollection export


MAINT: Updated yahoo url for SSL

Non-SSL url stopped working for me...

Coverage remained the same at 87.403% when pulling b965eb951af304c2e951bb3c42eff3a3363a7459 on yahoo-url-update into f90cd1ca0f0e15811e9b96f6859a2a8eef7fc59a on master.

👍


Plugin not working app when closed

Hi,
i installed this plugin in my ionic 3 project,This is working fine if my app opens once app closed it is not working.Is it possible to run my app background continuously even app closed.i have some functionality depending on it.
cordova.plugins.backgroundMode.isActive()  for this one i'm getting "False" every time.
cordova.plugins.backgroundMode.moveToForeground(); not working

waiting for that too


How can we create a  function to do CI job

I want to use direktiv to do some ci job in serverless worker , but after I look up the function document(link), I find  we cannot mount something to pod, so we cannot do docker in docker , that means we cannot use docker or podman to operate image.   How can we create a function to do CI job now  ?

Hi, I can see two requirements here. To do nested containers you need to run the pods in privileged mode. Is that what you are referring to? The mount of additional disk is a build requirement? Is it because the default disk size is too small?

---"Hi, I can see two requirements here. To do nested containers you need to run the pods in privileged mode. Is that what you are referring to?"
Yes, to do this , I need the specification support like this ：
functions:

id: buildjob
image: westwind027/bash:v5
type: knative-workflow
mount:  /var/run/docker.sock:/var/run/docker.sock

so I can use docker or podman  in pod to build the dockfile and push the image to registry
---"The mount of additional disk is a build requirement? Is it because the default disk size is too small?"
I don't mean to that, but maybe it's also a problem when image is big.  so mount  flag also can use to solve this kind problem.
After I rethink about this problem, I find a solution to resolve now,  I can install a framework on k8s  just like tekton, or jenkins ci runner , then use direktiv to interact with them. But I think if we can extent function's specific will be more flexible

For building containers we are doing the same and using google cloud as external build system. Nevertheless I'm tracking this feature in #729 as a discussion.
Btw, the disk size can be changed now and that should not be a problem right now.

Got it ,👍


Fga - "Nu sunt poziții deschise în acest moment" is displayed instead of the job title

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro
Browser: Microsoft Edge
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Run scraper for "Fga" Company
Check the jobs
Open https://www.fgaromania.ro/recrutare-specialist
Check the jobs

EXPECTED RESULTS:
No job is uploaded on ScrapersUI because there is no active job on the company website
ACTUAL RESULTS:
"Nu sunt poziții deschise în acest moment" is displayed instead of the job title on ScrapersUI
The number of jobs displayed in the "Jobs" section is 1 on both, Scrapers UI and peviitor.ro

Fixed

After retesting, all active jobs on the company website are also displayed in UI scrapers


If a name_mapper points to a non-existent file, it should tell user that the mapped path doesn't exist (instead of the original path)

module.name_mapper='.*\.css$' -> '<PROJECT_ROOT>/css-modules-stub.js.flow'

import foo from `foo.css`

Flow version: 0.91.
Expected behavior
Error should say:
Cannot find module 'foo.css' (after it was remapped to '<PROJECT_ROOT>/css-modules-stub.js.flow', check your .flowconfig mapper paths exist)

Actual behavior
Cannot find module 'foo.css'

Related: https://github.com/facebook/flow/issues/3889

Another example:
module.name_mapper='debug' -> 'empty/object'

If empty/object doesn't exist, there is no message to say that is the cause of Cannot resolve module 'debug' error.

There are many cases where name_mapper breaks things by the user wouldn't know. Try this to show the errors that are generated:
module.name_mapper='.*' -> '<PROJECT_ROOT>/some-empty-stub.js'

Then you get errors like this:
Cannot import Component because there is no Component export in react. Did you mean import Component from "..."?

But the cause is that the name_mapper has mapped to a file that doesn't export anything.
Related

https://github.com/facebook/flow/issues/1068
[DUPE] https://github.com/facebook/flow/issues/1090

Thanks for the report!

I'd love to give this a shot (first contribution). Any pointers?

@ollelauribostrom do you still open to this?

@ollelauribostrom or @goodmind I can take it if it hasn't been done.


add react native support

Is your feature request related to a problem? Please describe.
Write an example to be done on react native please. The official Microsoft repository has been long outdated and no longer works
Describe the solution you'd like
Like the javascript browser demo but better
Describe alternatives you've considered
I've considered using other TTS apis for react native but none are as flushed out as CSSDK
Additional context

@Mootbing Thank you for using JS Speech SDK, and for writing this issue up. I've just pushed a new branch to the official integration repo here that works with React Native 18. If you could pull it and give your feedback, that would be much appreciated!

Closing as this has been addressed in the integration example repo.

hey could u share a link this repo does not exist?


Fixes

+Fixed seg_fault due to to_string
+Fixed some makefile issues
+Added license file

Hi, I would argue that the to_string segfault is something environmental. I would highly suggest not using the ostringstream hack as this would lead to a performance hit. I have removed this hack in my latest merge request on the binance-exchange repository as it was causing compilation issues for multiple users due to the usage of using namespace std (which I would also advise against due to this issue).


Refactor strip implementation to improve readability

Summary or solution description
Refactored strip built-in method.
Part of an overall refactoring to unify code generator logic and built-in methods generation.
Platform:

OS: Windows 10 x64
Python version: Python 3.7

Task linked: CU-864eq2u2z Refactor strip implementation to improve readability


Confusing, Incomplete, and Broken Documentation

It's incredibly confusing how one is supposed to pull readable data out of this. All I want to do is gather all the information about a VM and pass it along to another function, preferably as JSON. I connected to my system and found the VM exactly as described:
vms_service = system_service.vms_service()
vm_service = vms_service.vm_service('123')
vm = vm_service.get()

So now what?
I only see examples of code accessing a single attribute from these objects and the "collection of examples" link in the README gives a 404 error. Am I expected to loop through each attribute individually and resolve each link to build a human readable object myself?

Hi John,
have you seen the examples at https://github.com/oVirt/python-ovirt-engine-sdk4/tree/main/examples ?
For example https://github.com/oVirt/python-ovirt-engine-sdk4/blob/main/examples/list_vms.py prints VM name and ID for each existing VM. Other properties of VM type are described in the documentation https://ovirt.github.io/python-ovirt-engine-sdk4/master/types.m.html#ovirtsdk4.types.Vm
Regards,
Martin

Martin,
That's not helpful. I understand that I can get the name (or any other single attribute) from the VM object. I want ALL of the data at once without having to loop through all these attributes, resolve any URLs, and build a new human readable object myself. I basically just want the JSON object that the API returns and there should be a built-in method of some kind that does this for me.

Martin,
That's not helpful. I understand that I can get the name (or any other single attribute) from the VM object. I want ALL of the data at once without having to loop through all these attributes, resolve any URLs, and build a new human readable object myself. I basically just want the JSON object that the API returns and there should be a built-in method of some kind that does this for me.

Python SDK was created to abstract developers from REST API details (like XML or JSON representation) and allow them to build their application with their Python knowledge.
If you you need to work with JSON representation in Pythom then of course you can use oVirt REST API directly and use JSON representation: http://ovirt.github.io/ovirt-engine-api-model/4.5/#_json_representation


test: add text compliance tests

Failed tests are fixed in https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy/pull/23 PR.

One test and cleanup of two tests are failing which will be resolved by respective PRs https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy/pull/23, https://github.com/cloudspannerecosystem/python-spanner-sqlalchemy/pull/68.


Sorting of files is broken in Firefox

Changing of default sorting parameters (eg. sorting files by size, or by modification time) or changing of sorting order (ascending <-> descending) doesn't work in Firefox browser.

Thanks for reporting, it's already listed as broken here: https://github.com/filegator/filegator/blob/master/frontend/views/Browser.vue#L500
Any js guru available to look into this?


Test that dates display in browser's language and not always English

Dates display in the browser's language, but does it look GOOD in French?  The month is lower case which seems weird but maybe that's correct.


Update production-setup.md

Fix develop config paths
Related issues
NONE
Short description and why it's useful
it points to actual config files.
Screenshots of visual changes before/after (if there are any)
NONE visual changes
Screenshot of passed e2e tests (if you are using our standard setup as a backend)
NONE
Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[ ] I read the TypeScript Action Plan and adjusted my PR according to it
[ ] I read about Vue Storefront Modules and I am aware that every new feature should be a module

Thanks!


Possible to enable SSL in communication between zombie and Koadic ?

Good day.
Is it possible to enable SSL in communication between zombie and Koadic?
Otherwise, the antivirus responds to the transition infection. Maybe this will help

As I understand it,  can enable TLS if i'm place Koadic on the Internet, on a site, and that he has access to the site with certificates. But I only have a local area network and for security reasons use of the Internet is prohibited. Is there no way to test using Koadic without the Internet and enable TLS ?
PS
Is there a detailed tutorial on Kodiac?

So right, TLS communications as they currently stand in Koadic has some limitations. I think in order to get that working on a local net, you would have to edit the hosts file on your target, but I haven't tested that so I don't even know if that translation would be respected.
Your other option would be using obfuscated payloads. We have an option on stagers to xor cipher the Javascript (set OBFUSCATE xor) with a random key that decrypts and evals on the other side. Now, passing a huge blob of data to an eval is a red flag for some AV, so this has limitations as well. I'm planning on doing more testing with using "eval without eval" techniques to run Javascript, so we'll see how much mileage we can get out of that.
Check the wiki for some things you can do with Koadic and check 'help ____' for detailed usage while in Koadic. I'm adding and improving stuff all the time, so keep a look out on commits.


Kumarabd/feature/broker

Description

Channel package added for channel pooling
Broker connection moved to a global object
A minor operator case handled for displaying offline state

Notes for Reviewers
Signed commits

[ ] Yes, I signed my commits.

@kumarabd would any of the changes in this PR affect the e2e UI tests?

@leecalcote its from this PR - https://github.com/layer5io/meshery/pull/3191#issuecomment-862772371
What do you suggest is the action?


Table locking & column preallocation

Builds on changes in #427
Adds a PreallocatorMixin which when added to a stage performs pre-allocation. This should be added to the first stage in a pipeline which emits a DataFrame or MessageMeta in a pipeline.
Morpheus' TypeId enum exposed to the Python API, allowing stages to define types for columns needing pre-allocation
MutableTableInfo exposed to Python via a context manager to be used in with blocks
type_util (Dtype) and type_util_detail (DataType) merged into a new compilation unit dtype fixes #490

fixes #456

/merge


    end
end

I execute:
$ purge gitbook
Couldn't find package "gitbook".  However, the following
packages contain "gitbook" in their name:
  gitbook-editor
Couldn't find package "gitbook".  However, the following
packages contain "gitbook" in their name:
  gitbook-editor
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives.   Can you also post its definition?
Thanks!

end
end
I execute:
$ purge gitbook
Couldn't find package "gitbook".  However, the following
packages contain "gitbook" in their name:
gitbook-editor
Couldn't find package "gitbook".  However, the following
packages contain "gitbook" in their name:
gitbook-editor
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives.

Can you post result of thefuck purge gitbook?

And also can you post result of thefuck git bran?

purge is a function (it's in my first post).
thefuck git bran works well until I press ↑ or ↓:
$ thefuck git bran
git branch [enter/↑/↓/ctrl+c][WARN] Rule history:
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/types.py", line 222, in is_match
    if compatibility_call(self.match, command):
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/utils.py", line 252, in compatibility_call
    return fn(*args)
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/rules/history.py", line 29, in match
    _history_of_exists_without_current(command)))
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/utils.py", line 28, in wrapper
    memo[key] = fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/rules/history.py", line 19, in _history_of_exists_without_current
    history = get_history()
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/utils.py", line 28, in wrapper
    memo[key] = fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/shells.py", line 315, in get_history
    return list(_get_shell().get_history())
  File "/usr/local/lib/python2.7/dist-packages/thefuck-3.2-py2.7.egg/thefuck/shells.py", line 68, in get_history
    prepared = self._script_from_history(line)\
AttributeError: 'Fish' object has no attribute '_script_from_history'
----------------------------

git prune [enter/↑/↓/ctrl+c]
Aborted

Fixed in previous releases.


tank crashes dire20 1.12.2 server

DeepResonance tank  http://prntscr.com/hb79ps
forge: 2531
spongeforge: 1.12.2-2529-7.0.0-BETA-2732
server pack: direwolf20 1.12.2

I need a crashlog and also what you're doing to cause this crash. More details please!

https://pastebin.com/v832Tkg8
just placing the tank into the world

We got the same issue on our servers

Apparently the modpack was built with the wrong version of ElecCore. Can you try updating ElecCore to the current latest to see if that fixes it?

sure server isnt online yet

a link would be handy curse is acting up again

The latest you can get from:
https://minecraft.curseforge.com/projects/eleccore-rendering-library/files

Doesnt crash on clients

updated my client and server now
we will know in a sec

@McJty http://prntscr.com/hb7t3x
aaand its fixed

Thanks! So it is a pack error and I can close this :-)
Thanks for testing

no problem


Armstrong Checker modified

🛠 Issue (1739)

Closes #1739
Description
Only numbers are accepted as input and strings or any other input are not accepted.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] The title of my pull request is a short description of the requested changes.

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@TusharKesarwani @zugzwang03 @harshit-paneri I have done the required changes, please merge this pr.


Android can't receive notifications

Unfortunately my Xamarin.Forms app can't receive notifications. I've implemented everything correct according to the docs, but I'm not receiving notifications. Token creation is done, even CrossFirebasePushNotification.Current.OnTokenRefresh works. But when I send a notifications through Firebase Console, nothing happens. The function CrossFirebasePushNotification.Current.OnNotificationReceived isn't triggered.
JSON file is correct implemented and has correct build action.
Does anybody know what I'm doing wrong? A codesnippet is below.
My MainApplication.cs:
using System;
using Android.App;
using Android.OS;
using Android.Runtime;
using Plugin.FirebasePushNotification;
using Plugin.FirebasePushNotification.Abstractions;

namespace MaronieFM.Droid
{
    [Application]
    public class MainApplication : Application
    {
        public MainApplication(IntPtr handle, JniHandleOwnership transer) : base(handle, transer)
        {
            Console.WriteLine("MainApplication function");
        }

        public override void OnCreate()
        {
            base.OnCreate();

            //Set the default notification channel for your app when running Android Oreo
            if (Build.VERSION.SdkInt >= Android.OS.BuildVersionCodes.O)
            {
                //Change for your default notification channel id here
                FirebasePushNotificationManager.DefaultNotificationChannelId = "DefaultChannel";

                //Change for your default notification channel name here
                FirebasePushNotificationManager.DefaultNotificationChannelName = "General";
            }

            Console.WriteLine("In MainApp onCreate");

            //If debug you should reset the token each time.
            #if DEBUG
                FirebasePushNotificationManager.Initialize(this, true);
            #else
                FirebasePushNotificationManager.Initialize(this,false);
            #endif

            //Handle notification when app is closed here
            CrossFirebasePushNotification.Current.OnNotificationReceived += (s, p) =>
            {
                Console.WriteLine("Received");
            };

            CrossFirebasePushNotification.Current.OnTokenRefresh += (s, p) =>
            {
                Console.WriteLine("Token: " + p.Token);
            };

            Console.WriteLine("Initial token: " + CrossFirebasePushNotification.Current.Token);
        }
    }
}

Damn, my bad. Checked it 10000 times, but had a malformed manifest. Time for iOS now.


[#23] [#24] [Backend] [UI] As a user, I can filter the list of keywords

close #23
close #24

What happened 👀
Add filter keyword name
Insight 📝

Using fragment with LIKE.
Create filter form

Proof Of Work 📹

@andyduong1920 Fixed all in e9ad659


[bdg-utils-20] Port unit testing suite fixes over from ADAM.

Resolves #20. Ports https://github.com/bigdatagenomics/adam/pull/557 over from ADAM.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-utils-prb/22/
Test PASSed.

Thanks, Frank!


show placeholders for select fields also when deselecting an option

this will not only show the placeholder once (initially), but also after deselecting an option for SelectFields with allowBlank=true

Interesting.
The current behavior was intentional. If an empty selection is allowed (aka a valid choice) then it seems wrong to re-prompt a user (with a placeholder) after he has already made his selection (the empty value).
Can you describe the user flow you're going for with this change to help me better understand?

In my use case i have two interdependent fields. Say one for "vehicle makes" and on for "vehicle models". Each time the "make field" changes the "models field" gets erased, therefore i need to set allow-blank as an attribute to the directive of the "model field". What i need is a placeholder text telling the user to select a value, because the "models field" is reset (kind of) and requires an input.

Ah, I see. I assume a label above the select wouldn't work for this? (Have to ask!) :)
I'm really reluctant to mess much with the flow of selects, but since yours is an opt-in change- it's probably okay. Give me a little time to play around with it at some point today and I think I'm okay with merging it.

Very sorry for taking so long to visit this PR. I stay really busy lately and it's a bit of a struggle to keep on top of my various open source projects sometimes.
That being said, I've been testing this change locally this afternoon and it doesn't work like I expect. Other boolean attributes are evaluated as true just by being present (eg. allow-blank) but this one requires a boolean value. Not a big deal but I'm not a fan of inconsistencies unless there's a good reason. Did you foresee this value being changed dynamically? (It seems like kind of a static thing to me.)
Another thing that seems unintentional is that the placeholder label shows as an option in the select. (It looks like any other option. This is a little confusing.) I think it should only be shown when the selected value is empty. If a non-empty value is selected- and allow-blank is true- the placeholder should not be shown. We can fix this by changing...
if ($scope.model.bindable && !$scope.showPlaceholderForEmptyValues) {

...to this...
if ($scope.model.bindable) {

What are your thoughts to the above?

hi Brian,
you're right, the attribute should be treated the same as allowBlank:
$scope.showPlaceholderForEmptyValues = $attributes.hasOwnProperty('showPlaceholderForEmptyValues');

the behaviour i want for the select field is actually to display a placeholder only in the input field, not in the options. The way everything works right now is that only items in the options can be displayed in the input field. I'll try to figure out how i can make this work. meanwhile i'll update the line above.

we could change the template for this to work. instead of ng-options, we would need:
<option ng-repeat="option in bindableOptions" ng-attr-style="{{option.default}} && 'display:none;'"  ng-attr-default="{{option.default}}" value="{{option[valueAttribute]}}">{{option[labelAttribute]}}</option>

and add the default flag to $scope.emptyOption
if ($scope.showPlaceholderForEmptyValues) $scope.emptyOption.default = true;

Then we would have to set display:none if the value is not empty. I'll give this one a try


Other user(s) password available to guest<EMAIL_ADDRESS>

I found that, after I registered my own email, I could see my password as guest via the web interface.
Is this known?
If not, give me a pointer so I can see if I can make a PR.
Note: admin password is not shown if one is guest

Thanks for this message, fixed in ebec6228d26fc3aae723a2f28dd99ea9f7f247aa :)


Recordinality implementation

I have implemented Recordinality, a stream algorithm. Recordinality class extends from ICardinality and Serialize. You should check the serialize process and the merge (return an exeption because Recordinality doesn't support it).
I have implemented some tests for the Recordinality class.
ReadMe modified, now with Recordinality paper information.

The algorithm and implementation look broadly correct, but there's some formatting and minor implementation details that would be nice to be addressed. eg. If merge isn't supported, it is fine to just throw an unsupported operation exception.
One note though:
Based on the paper, it seems like recordinality is pretty straightforwardly inferior to the existing hllp algorithm. Maybe if your values are naturally uniformly random longs, you could skip hashing them and thereby preserve a sample set, but that seems a bit outlandish.
I'm not opposed to including even if only for completionist or academic reasons (there seems to be a variety of suggested areas of further research), however, it seems appropriate document the class accordingly.

I don't mind handling such mundane things directly, so if you'd rather, I can just pull and then clean it up myself. Just lmk

Hello Ian,
Thanks for taking a look at my code. I have written a basic version of Recordinality. The main reason has been that this pull request is to learn how the library work, which is the process to contribute, etc...
As you have said, it's possible to run the algorithm without hash the item before and it could be useful for strings for example. However, there are more Recordinality variations that could be interesting.For instance,  Adaptive Recordinality (AR) has the feature that let them increase the memory usage if it's necessary. If you don't know which is te maximum cardinality you can run AR with only one position and let them increase if it's necesary.
I'm going to address the format and the merge 'errors' and after that will resubmit the pull request. After this, I will iterate more times adding some features  (if it's right).
Thanks.

Well,
I have reformated the code and added the UnsoprttedOperationException() to the merge function.
However I have some quesiton about the format tools: do you use some tool for check the format? I am not a Java programmer, now I am useing IntelliJ but I don't know the ecosystem.
If there are some problems with this implementation let me know. As I told, I will implement the adaptive version in a near future.
Thanks.

We use intellij (long live it's glory!), so we mostly just have a formatting style we import/export to share. Deviating from it is fine, but it usually covers most minor issues in an unobjectionable manor. I'll make sure a recent version is available somewhere -- at that point you can just import settings from the jar and it should properly create an "AddThis" codestyle without interfering with other things.

As a quick kinda hint, generally the start of a file goes "copywriter/license headers", "package/imports", "class javadoc". I always have intellij fold (aka kinda hide) those first two components, so it works out fine in practice too.

(That said, today is kind of tightly scheduled -- think I'm already late for things -- so you might not see results from my promises until tomorrow)

Looks like all tests are passing.  Can you take a look at an example file for formatting and headers?  https://github.com/addthis/stream-lib/blob/master/src/main/java/com/clearspring/analytics/stream/ConcurrentStreamSummary.java  The copyright should be at the top of the doc (before package)...  thanks!

I will recheck the headers this evening (PTZ).

Thanks, also suggest moving this to the same 'research' package mentioned for the HyperBitBit  since it doesn't seem likely that this would be a preferable option to HLLP in production uses.  Let me know if you feel differently.

I agree with your suggestion.
Anyway, let me reimplement Recordinality and open some discussion on the mailing list because I think it has some "killer features" that could be useful.


Refactor recipe serializers and add new power_crafting recipe serializer

This PR has the following stuff:

Adds a power_crafting recipe serializer with the following fields:

power  - The power ID that corresponds to the recipe (The power must exist and use the neo_recipe power type, otherwise, it will cause an error.)
recipe - The recipe. (Must be a crafting recipe, otherwise, it will cause an error.)

Renames the modified recipe serializer to modified_crafting for clarity.
Removes the power_restricted recipe serializer in favor of using the new power_crafting recipe serializer. This means that old powers that define a crafting recipe in the power directly will no longer work!

These are done due to two reasons:

With the power recipes being actual recipes registered to the recipe manager, it can now appear in the recipe book.
This should reduce the load upon lookup, since it no longer has to query all the powers that use the recipe power type, and check if the recipe defined in the power matches.

Here's an example for the new power_crafting recipe serializer that enables a player to craft bread with a custom name "Sweetened Bread", enchantment glint, and a food component that gives the Speed II and Haste II status effects:
data/example/recipe/sweetened_bread.json
{
    "type": "apoli:power_crafting",
    "power": "example:sweetened_bread",  // References the `data/example/powers/sweetened_bread.json` power. If the power either doesn't exist or doesn't use the `neo_recipe` power type, the recipe will be removed and an error is logged
    "recipe": {
        "type": "minecraft:crafting_shapeless",
        "ingredients": [
            {
                "item": "minecraft:sugar"
            },
            {
                "item": "minecraft:bread"
            }
        ],
        "result": {
            "id": "minecraft:bread",
            "components": {             //  This is a vanilla feature
                "minecraft:custom_name": "{\"text\": \"Sweetened Bread\", \"italic\": false}",
                "minecraft:food": {
                    "nutrition": 6,
                    "saturation": 0.05,
                    "can_always_eat": true,
                    "eat_seconds": 1.25,
                    "effects": [
                        {
                            "effect": {
                                "id": "minecraft:speed",
                                "amplifier": 2,
                                "duration": 400
                            },
                            "probability": 1.0
                        },
                        {
                            "effect": {
                                "id": "minecraft:haste",
                                "amplifier": 1,
                                "duration": 400
                            },
                            "probability": 1.0
                        }
                    ]
                }
            }
        }
    }
}

data/example/powers/sweetened_bread.json
{
    "type": "apoli:recipe",
    "recipe": "example:sweetened_bread" //  References the `data/example/recipe/sweetened_bread.json` recipe. If the recipe doesn't exist, the power won't be loaded
}

I've decided to keep the old format for defining recipes in powers. Also, power crafting recipes will no longer be allowed to be used in recipe JSONs since power crafting recipes will be automatically registered to the recipe manager after all powers have been reloaded


Created LICENCE.md file

I am not sure whether some legal abbreviation should follow "Innosoft" in the licence file, like OOO, LCC, Ltd, or some other one.

Innosoft LLC

@eh0tka, @nmingazov thank you for the fast reply!


Error: Cannot find module '

In my resultant bandle there is now such a require that can not be executed by node.js.
var chalk = _interopDefault(require('chalk'));
var _rollupPluginBabelHelpers = require(' rollupPluginBabelHelpers');
var createDebug = _interopDefault(require('debug'));

Rollup config
import json from 'rollup-plugin-json';
import babel from 'rollup-plugin-babel';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';

import nodePath from 'path';

import pkg from './package.json';

const { isAbsolute } = nodePath;

const input = 'src/index.mjs';

export default [
	{
		input,
		external: (id) => {
			if (id === input) {
				return false;
			}

			return !(isAbsolute(id) || id.startsWith('.'));
		},
		plugins: [
			resolve({
				extensions: ['.mjs', '.js'],
				preferBuiltins: true
			}),
			json(),
			babel({
				exclude: [
					'node_modules/**'
				]
			}),
			commonjs()
		],
		output: [
			{
				file: pkg.main,
				format: 'cjs',
				exports: 'named'
			},
			{
				file: pkg.module,
				format: 'es'
			}
		]
	}
];

Node: 9.11.0
NPM: 5.6.0
{
  "@babel/core": "^7.0.0-beta.44",
  "@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.44",
  "@babel/preset-env": "^7.0.0-beta.44",
  "rollup": "^0.57.1",
  "rollup-plugin-babel": "^4.0.0-beta.4",
  "rollup-plugin-commonjs": "^9.1.0",
  "rollup-plugin-json": "^2.3.0",
  "rollup-plugin-node-resolve": "^3.3.0"
}

babel plugin seems to be doing interesting stuff here.
I am currently trying to externalize the following two modules:

rollupPluginBabelHelpers
typescript-helpers

Using the following code:
        external: (id, parentId, isResolved) => {
            if (id.indexOf('rollupPluginBabelHelpers') > -1) {
                return true;
            } else if (id.indexOf('typescript-helpers') > -1) {
                return true;
            }

            console.log(id);

            return false;
        }

And I get the following result: (I cannot even paste the unicode char here, so I will share a screenshot)

It seems similar to the space you have in front of require(' rollupPluginBabelHelpers').

It's rollup convention with NUL character, you can read a little bit about it here.
@CoskunSunali Not sure what are you trying to do, could u elaborate?
@negezor you should return false for id starting with \0

@Andarist I gave up using rollup since I concluded that what I need is not bundling but developing modules. However, I will still see how I may explain the issue I had so you might want to fix it in case it is a bug.
I had (still have) a rollup instance running on my project in order to build typescript. I also had to use babel since I needed some features of typescript that needed to be processed via babel in order to get them to work on browsers.
It turned out babel injected plenty of code into every single file that it generated (multiple files because I had the multiEntry plugin utilized), so I wanted it to have those babel helpers of rollup exist in its own system module and not be bundled in every single js file that was generated.
It turns out one way to do so was to mark rollupPluginBabelHelpers and typescript-helpers as external modules within rollup configuration.
My modules still get generated without any issues and as you can see within the screenshot I shared, the modules are not inline anymore and are to be loaded by System.register.
That worked syntax wise, the generated files all had the correct output. It was just the modules were not being generated because of some unicode char you can see in front of the module names within the screenshot.
I don't know what else I can provide you with any further but please let me know in case I can.

rollup is a very popular choice when it comes to building libraries/modules. Flat bundling is a nice way of reducing your module's size & keeping the structure private (allowing to import only explicit exports). You can read more about it on react's blog and in my article.
Problem with rollupPluginBabelHelpers is that it is not actual module, it's just created in memory and shouldn't be externalized.
If you want to keep those helpers external I suggest:

using properly configured @babel/plugin-transform-runtime
or building (if using babel@7) ur own file of those helpers (u might want to publish it to npm or something) like here. Then u could use a copy of this babel plugin that would insert appropriate import statements.

As to typescript-helpers - you can pass "importHelpers": true to "compilerOptions", add tslib module as dependency of ur project & keep it as external.

Problem with rollupPluginBabelHelpers is that it is not actual module, it's just created in memory and shouldn't be externalized.

That pretty much explains it. Thanks!
Thanks for the other details too! Very helpful.


Updated examples and add integration tests

examples/get_lease_status.ts

Updated getRpc function to use a valid RPC endpoint
Updated QueryLeaseRequest object with valid parameters
Added error handling for client.Lease call

examples/get_deployments.ts

Updated getRpc function to use a valid RPC endpoint
Updated QueryDeploymentsRequest object with valid parameters
Added error handling for client.Deployments call

tests/test_examples.ts

Imported necessary modules and functions
Wrote test cases for each example in the examples directory
Used exec to run each example and verify the output

examples/README.md

Added instructions on running the integration tests
Updated the examples to reflect the changes made

.github/workflows/test.yml

Added a new job to run the integration tests
Used npm test to run the tests

I tried running the tests locally and they fail to execute because the npm test command uses the tap library to run the tests.


helm upgrade failed with error has no deployed releases

I tried to do an helm upgrade it failed saying: has no deployed releases. The expected behavior is that it should install the chart as the option --install is provided
helm upgrade --install --force myapp ./test
Error: UPGRADE FAILED: "myapp" has no deployed releases
Output of helm version:v3.0.0
Output of kubectl version:v1.15.0
Cloud Provider/Platform (AKS, GKE, Minikube etc.): EKS

I've seen this when there is a failed release. Try doing: helm list --all-namespaces -a
That -a flag is important.

I'm curious if this is the correct behavior. If a release is in a failed state it cannot be upgraded. This seems to differ from helm v2, where it was possible to upgrade a failed release.
Upgrading a release calls this code
https://github.com/helm/helm/blob/65bdd0c48ec77918060aaccb1223d58977eb94ea/pkg/storage/storage.go#L133
and it only queries for releases in a deployed state. So any releases in a failed state would not be returned, and helm will error with the "no deployed releases" message.

I'm curious if this is the correct behavior. If a release is in a failed state it cannot be upgraded. This seems to differ from helm v2, where it was possible to upgrade a failed release.
Upgrading a release calls this code, and always passes
"status": "deployed",
https://github.com/helm/helm/blob/65bdd0c48ec77918060aaccb1223d58977eb94ea/pkg/storage/storage.go#L133
So any releases in a failed state would not be returned, and helm will error with the "no deployed releases" message.

If upgrading a failed state is not a correct behavior, it should allow install the release as we are giving the option --install

Encountering this as well today, I have a release deployed through helm a few weeks ago and today the release can't be found. Nothing in helm list --all-namespaces -a, but the release is properly running.

@mgcrea did you deploy your release with helm 3 or helm 2?  Helm 3 doesn't see the releases of helm 2, or vice versa.

@marckhouzam it was with helm 3, maybe I did something funky trying to upgrade it. Had a release name === namespace name, not sure if it can cause such kind of issues.

@mgcrea There are breaking changes if releases were deployed using pre GA versions of Helm 3 like alphas, betas, rcs

closing as a duplicate of https://github.com/helm/helm/issues/5595.

fixed by kubectl -n $namespace delete secret -lstatus=pending-upgrade
Run now helm again.

I had issues with helm upgrade and it lead me here. It was solved by adding -n <namespace>. Maybe it will help someone out there.

Similar to @abdennour , kubectl -n $namespace delete secret -lstatus=pending-install for me after installing a chart with broken pre-install hooks

@sajtrus Thanks for comment. Added the namespace, and my upgrade executed. @mgcrea Apparently helm runs same as kubectl. To get helm list for a specific namespace, include -n . In both cases, for default namespace, leave blank.

@sajtrus Thanks for comment. Added the namespace, and my upgrade executed. @mgcrea Apparently helm runs same as kubectl. To get helm list for a specific namespace, include -n . In both cases, for default namespace, leave blank.

I had the same issue while trying to upgrade my helm chart using helm client-go package. I was getting the below error each time while trying to upgrade using func (helmclient.Client).InstallOrUpgradeChart function of helm client.
**my-chart-test" has no deployed releases**
When I did helm list on my namespace, my chart was not listed there. So, I has to explicitly trigger a helm uninstall my-chart-test -n my-namespace and install again.


Parallelized coe2rv_many

As discussed in #1046 here is the slick and clean implementation of a parallelized coev2rv_many.
orbit.sample(...) uses the new parallelized implemenation.

Relevant tests passed. Merging!

Thanks a lot @Josvth! 🚀


Media Library: fixing NRE in FolderController and #6446

See the description of #6446 for explanation.

Fix to be pushed directly to 1.10 (instead of 1.9.3 due to interface changes).


Add: QuaHZ TV

Channel Name
QuaHZ TV
Alternative Names (optional)
No response
Network (optional)
No response
Owners (optional)
No response
Country
US
Subdivision (optional)
No response
City (optional)
No response
Broadcast Area
c/US
Languages
eng
Categories (optional)
entertainment
NSFW
FALSE
Launched (optional)
No response
Closed (optional)
No response
Replaced By (optional)
No response
Website (optional)
https://quahztv.com/
Logo
https://quahztv.com/wp-content/uploads/2017/08/logo-red.png
Notes
No response

https://iptv-org.github.io/channel?id=QuahzTV.us


EST-496: A user can change the legal name of a tenant

A few minor things to address.

Changes applied


Error

Hey I get this Error when I try to use the Client
`Downloading Video
.mp4
Exception in thread Thread-5:
Traceback (most recent call last):
File "C:\Users\Home\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Home\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Home\Desktop\TikTok-Compilation-Video-Generator-master\TikTok Client\client.py", line 200, in downloadFinishedVideo
ftp.retrbinary('RETR %s.mp4' % name, file.write, blocksize=settings.block_size)
File "C:\Users\Home\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 425, in retrbinary
with self.transfercmd(cmd, rest) as conn:
File "C:\Users\Home\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 382, in transfercmd
return self.ntransfercmd(cmd, rest)[0]
File "C:\Users\Home\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 348, in ntransfercmd
resp = self.sendcmd(cmd)
File "C:\Users\Home\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 275, in sendcmd
return self.getresp()
File "C:\Users\Home\AppData\Local\Programs\Python\Python38\lib\ftplib.py", line 248, in getresp
raise error_perm(resp)
ftplib.error_perm: 550 No such file or directory.
`
can you help me?
thanks in advance, kid regards

and in the cmd from the video generator
it spams
<IP_ADDRESS> - - [10/Feb/2021 17:53:35] "GET /getrenderinfo HTTP/1.1" 200 -


protostuff not support Deprecated ?

when I use protostuff serialize ,the Deprecated field can't deserialize
the vo like this ,field mail  can't deserialize
@Data
@ToString
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserVO implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
@JsonProperty("user_code")
private String userCode;
private String name;
@Deprecated
private String mail;
}

On Wed, Feb 24, 2021 at 10:53 AM lmlsky<EMAIL_ADDRESS>wrote:

when I use protostuff serialize ,the Deprecated field can't deserialize
the vo like this ,field mail can't deserialize
@DaTa https://github.com/DaTa
@tostring https://github.com/tostring
@builder https://github.com/builder
@JsonIgnoreProperties https://github.com/JsonIgnoreProperties(ignoreUnknown
= true)
public class UserVO implements Serializable {
private static final long serialVersionUID = 1L;
private long id;
@JsonProperty("user_code")
private String userCode;
private String name;
@deprecated https://github.com/deprecated
private String mail;
}

Yes that is by design. See
https://protostuff.github.io/docs/protostuff-runtime/

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/protostuff/protostuff/issues/310, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATL67EPGXRJHYF5TYX3Q3TARSY3ANCNFSM4YDU6LHQ
.

--
When the cat is away, the mouse is alone.
dyuproject.com


README FILE IN URDU

 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.:x: Radhikav30 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for taking the time to contribute this localization pull request. However, we are not able to accept contributions to this historical reference repository at this time.


Implement retries for spurious connection issues

Description

Requests that result in certain errors due to spurious connection/networking issues should now be automatically retried.
The types of exceptions handled should cover most cases, but I am open to expanding the list if people find ones that I missed.
The request will be tried again after waiting 0.5, 1.0, 2.0, and 4.0 seconds (since the previous request)
Seem reasonable @dotsdl? Closes #741
Changelog description

Requests now will be automatically retried in case of connection or networking issues
Status

[X] Code base linted
[X] Ready to go

Reviewing now! Thanks for this @bennybp!

retry looks kinda dead; looks like backoff may be a better bet for avoiding bitrot?

If adding another dependency seems overkill for this, it's not too hard to implement your own solution

Let me think about just hardcoding a solution. We are only using it in one place, so it it's not be too bad to implement it myself (using the aforementioned class attributes)

Ok implemented by hand now. It's pretty simple :)
There is only one other place I would consider adding this kind of logic (when dealing with certain database operations). But it will end up looking a lot different, so I'm not worried about duplicating code.

Giving this another review today!


Rebuild OpenVPN container image for v2.5.8

See changelog here: https://github.com/OpenVPN/openvpn/releases/tag/v2.5.8


User without permission view the list of devices

If the user does not have permissions, no page should be accessed. However, the device list is being displayed.

Affected version: 63.1-20190705

The command git submodule update --init --recursive hs been executed.
Devices are no longer viewed. But the message Call failed is displayed.

Ticket analysis meeting (May, 22nd): It will be retested.

The error still happens: cards are displayed

Tested in v0.5.0-alpha.1

Note: Need to clear the browser cache.


Results are not perfectly consistent

Have tried running the Python example notebook and noticed that the final loss slightly changes from run to run (e.g., from 73446.1 to 73355.3)  despite setting the same seed. Does this have to do with unaccounted for randomness in the algorithm or just due rounding?
Another question, does it generally make a difference to scale the continuous data before inputting it to the algorithm? I assumed that the answer is no because it's done internally anyway; however, I noticed that in the R example the data was explictly scaled but not in the Python example.

Hi @EssamWisam, thanks for your questions.
Yes, the randomness is a known issue, which we believe is a combination of floating point precision error and the slightly leaky behaviour of Tensorflow more generally. A future update may resolve this issue, if we can translate our codebase to a different neural network API.  We would recommend saving your final trained model/imputations, to aid with any replicability requirements.
Scaling the input data is not necessary, but can make a difference. The neural network will attempt to coerce the data into whatever scale it needs to minimise the reconstruction error. The unscaled Python example is evidence in favour of this. Pre-scaling your data, however, can stabilise training as, in essence, you are asking the network to do less with the same amount of training. Ultimately, the need for pre-scaling will depend on your context and we'd recommend trying both strategies. For Python, you might consider conventional sklearn.preprocessing models to achieve this scaling prior to training the MIDAS model.
I'll leave this issue open for a week or so in case you wish to raise any other questions.

Thanks a lot. Clarifies everything.


Added println function to Progress

Hi, I really enjoy the simplicity of the library
but currently when there are progress bars it's impossible
to print other information because it messes up the bars
and the text gets overwritten. This PR aims to change that.
It adds the println function to Progress which will
print a message above all progress bars and then redraw
the bars below.
To achieve this I made some internal changes. For one I
unified the code paths for printing cancelled, full, and
in-progress bars by splitting cursor movement into their
own write!s. This should not effect performance because
it's all buffered anyway. On that note I switched from
LineWriter to BufWriter
because it gives more control on when to flush and
flushing manually only added a single line of code in bar.
Most of the drawing was extract from draw into the
draw_impl function so it can be called from draw
and from println. I changed prev to prev_percent
because the last increment before completion is not
always above 1% but we still want to redraw the bar.
The old version handled this by redrawing the bar every
time it was completed or cancelled, this is no longer
required.
The println function accepts a &str because only
full lines can be printed with this approach. Sadly
this rules out implementing fmt::Write
which would have allowed to write! to Progress.
An alternative approach would have been to add a
function that returns a handle implementing
fmt::Write which keeps the progress locked.
For example:
let p = Progress::new();

{
    let w = p.stderr(); // borrows `mut p`
    write!(w, "Hello ");
    writeln!(w, "World");
}

But I deemed the API and implementation too complicated.
I also demonstrate the new feature in the multi example by
printing a message when the bar is half full.

I download a lot of files of different categories and have one progress bar per category. When a download fails, I print a message and continue with the others. It could also be useful to provide a reason for a cancelled progress bar.

The implementation of the variant using write! turned out quite simple. You can see the diff to my previous version here: https://github.com/Ma124/linya/commit/116c0d6994706fbc01e0002d67a9fd890d2ea270

I fixed the issue you found and with the newest commit it looks like shown at the end. The hyphens mark the top of the terminal.
Now the off-screen progress bars are still interspersed between the log messages, but only show once.
I think there is no way to keep all log messages above the bars while still keeping all the bars in the scrollback buffer.
Half way done with #98!
Half way done with #49!
Half way done with #86!
Half way done with #83!
Half way done with #41!
Half way done with #48!
Downloading #66             1K [##################] 100%
Downloading #89             1K [##################] 100%
Half way done with #92!
Half way done with #42!
Half way done with #99!
Half way done with #47!
--------------------------------------------------------
Downloading #67             1K [##################] 100%
Downloading #23             1K [##################] 100%
Downloading #90             1K [##################] 100%
Downloading #24             1K [##################] 100%
Downloading #79             1K [##################] 100%
Downloading #38             1K [##################] 100%
Downloading #71             1K [##################] 100%
Downloading #29             1K [##################] 100%
Downloading #60             1K [##################] 100%

Yeah this library has never made any guarantees of the quality of results in the scroll-back.

Here's an example which closely resembles my actual use case.

I haven't forgotten about this - will have it in as soon as I'm able.


Node js version conflict

I had node js version 6.14.13 installed. I downloaded version 14.17.3 and installed it over the old one. But when running the command in the npm -v terminal, it showed me the old version 6.14.13.
Next, I removed node js from the system using standard windows tools. I cleaned the folders manually:
•	C:\Program Files (x86)\Nodejs
•	C:\Program Files\Nodejs
•	C:\Users{User}\AppData\Roaming\npm (or %appdata%\npm)
•	C:\Users{User}\AppData\Roaming\npm-cache (or %appdata%\npm-cache)
•	C:\Users{User}.npmrc (and possibly check for that without the . prefix too)
•	C:\Users{User}\AppData\Local\Temp\npm-*
Then I installed nvm and I get an error when using it. All typed commands will be in the attached screenshot.
My operating system is Windows 10 Home.
I hope for your support. Thank you!

My mistake is that I entered the wrong command. Correct command: node --version

My mistake is that I entered the wrong command. Correct command: node --version


[Feature] Filter between commits in a PR

Simple feature request for not so simple feature. Add an option to filter changed files between workflow runs.
Example:
commit 1 -> push to pr-> paths-filter says files changed
commit 2 -> not pushed
commit 3  -> push to pr -> paths-filter says files not changed since commit 1
commit 4 -> push to pr -> paths-filter says files changed
this would be really helpful stopping duplicate workflow runs.

Yes that would be really nice to have. And can be used to run expensive ci tests/builds when not needed.


BugFix Remove active support and sidekiq logger from sentry

Remove activesupport and sidekiq breadcrumb logger from sentry
This stops any pii leaking into sentry as the logs are shown in the breadcrumbs.
Checklist
Before you ask people to review this PR:

[x] Tests and rubocop should be passing: bundle exec rake
[x] Github should not be reporting conflicts; you should have recently run git rebase master.
[x] There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
[x] The PR description should say what you changed and why, with a link to the JIRA story.
[x] You should have looked at the diff against master and ensured that nothing unexpected is included in your changes.
[x] You should have checked that the commit messages say why the change was made.

Technically looks fine, but the sentry alerts this morning may need addressing?


while(1)

Game freezes when while(1) {}.

:+1:   while(1<2){} too

and while(true){} too

try while (false)


Add in 3-clause BSD license file.

Signed-off-by: Chris Lalancette<EMAIL_ADDRESS>This will fix #281

Merging without CI since it won't make a difference here.


Updates: v1.1.0

Before creating Pull Request to HELM Charts; I have decided to create this Pull Request to review the changes internally. So, basically, this Pull Request is related to the following:

Issue#13869;
PR#13498;
PR#13496.

This is related to the Asana and ZenDesk tickets.
Initial Pull Request

@gregswift @leeliu @dchai76 @baronomasia
can you guys take a look when you have time? These are the changes to be pushed.

Why are we going with autoupdate turned off as a default?

@gregswift, take a look @ this conversation.


cannot pass an existing pool to PostgresDialect

for example in my app I use express-session and connect-pg-simple, the latter requires passing a pg pool
ideally I would like to re-use that pool when creating a kysely instance rather than creating a new pool

This issue is formatted like bug 😄 Why do you expect this to exist? I can't read your mind you know 😂
As a new feature this is a good idea though. I'll make this possible soon.

Once the next version is released, you can do this:
import { Pool } from 'pg'

new Kysely<DB>({
  dialect: new PostgresDialect(
    new Pool(config)
  )
})

Released in 0.18.1


SQLITE table already exists error

When launching the dev server with <npm start> command in the console, SQLite outputs an error
stating that the cars table already exists. It seems that it tries to create the table each time the server launches and
connects to the database.

Reconfigured database and table creation commands to look for existing table with same name. This has resolved the error.


Documentation: added AWS Transfer SFTP.

Added documentation about how the cluster admin can create a managed SFTP endpoint allowing users to access their cluster home directories bypassing the head node.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Doc updated on IDEA. Thanks for your contribution


Unable to add label

PR:: https://github.com/saurabhburade/l2beat/pull/10
pull.yml
version: "1"
rules:
  - base: main
    upstream: l2beat:main
    mergeMethod: merge
label: "automerge"

Hello @saurabhburade I am currently working on a v2 which is in soft launch right now. I believe pull is adding labels correctly now. Could you double check?


Add rule for enforcing a maximum of 1 empty newline in yaml files

Checklist

[x] I've read and followed the Contribution Guidelines
[x] step.yml and README.md is updated with the changes (if needed)

Version
Requires a MINOR version update
Context
@godrei recommended I keep empty newlines in yaml files to just 1 line in one of my recent PRs. I don't have a strong opinion either way, but if that's a standard we want to stick to, we should add it to your default yamllint config.
Changes

Adds yamllint config option to enforce a maximum of one empty newline in yaml files.

I did test this locally, and it works as expected in my testing.


Update jquery.tagsinput-revisited.js

add whitelist

Thank you for your contribution. I'm struggling to find a moment to review it, but I will finaly. ;)


feat(cicd): release yml updated -2

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update dependency @typescript-eslint/eslint-plugin to v5.52.0

This PR contains the following updates:

Package
Type
Update
Change

@typescript-eslint/eslint-plugin
devDependencies
minor
5.44.0 -> 5.52.0

Release Notes

typescript-eslint/typescript-eslint
v5.52.0
Compare Source
Bug Fixes

eslint-plugin: [no-import-type-side-effects] correctly ignore zero-specifier imports (#6444) (d5a6688)
eslint-plugin: [no-unnecessary-condition] account for optional chaining on potentially void values (#6432) (e1d9c67), closes #5255
eslint-plugin: [no-unnecessary-condition] fix false positive when checking indexed access types (#6452) (d569924)
eslint-plugin: fix key-spacing when type starts on next line (#6412) (3eb2eed)

Features

eslint-plugin: [block-spacing] extending base rule for TS related blocks (#6195) (b2db3f5)
eslint-plugin: [explicit-function-return-type] add allowFunctionsWithoutTypeParameters option (#6105) (113640e)
eslint-plugin: [explicit-function-return-type] add allowIIFEs option (#6237) (a1b3f7b)

v5.51.0
Compare Source
Bug Fixes

eslint-plugin: [sort-type-constituents] fixed behavior change (#6384) (5bf7f7f), closes #6339
eslint-plugin: do not use .at(), Node 14 does not support it (#6402) (077ed1b)

Features

eslint-plugin: [naming-convention] improve performance by removing unnecessary selectors (#6376) (3647a1c)
eslint-plugin: [no-floating-promises] error on logical expression (#6356) (f330e06)
eslint-plugin: [no-import-type-side-effects] add rule to warn against runtime side effects with verbatimModuleSyntax (#6394) (b14d3be)
eslint-plugin: [strict-boolean-expressions] add allow nullable enum to strict boolean expressions (#6096) (d4747cd)

v5.50.0
Compare Source
Bug Fixes

eslint-plugin: [ban-ts-comment] counts graphemes instead of String.prototype.length (#5704) (09d57ce)
eslint-plugin: [prefer-optional-chain] fix ThisExpression and PrivateIdentifier errors (#6028) (85e783c)
eslint-plugin: [prefer-optional-chain] fixer produces wrong logic (#5919) (b0f6c8e), closes #1438

Features

eslint-plugin: add key-spacing rule extension for interface & type declarations (#6211) (67706e7)

v5.49.0
Compare Source
Features

eslint-plugin: [naming-convention] add support for #private modifier on class members (#6259) (c8a6d80)

5.48.2 (2023-01-16)
Note: Version bump only for package @typescript-eslint/eslint-plugin
5.48.1 (2023-01-09)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.48.2
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.48.1
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.48.0
Compare Source
Features

eslint-plugin: specify which method is unbound and added test case (#6281) (cf3ffdd)

5.47.1 (2022-12-26)
Bug Fixes

ast-spec: correct some incorrect ast types (#6257) (0f3f645)
eslint-plugin: [member-ordering] correctly invert optionalityOrder (#6256) (ccd45d4)

v5.47.1
Compare Source
Bug Fixes

ast-spec: correct some incorrect ast types (#6257) (0f3f645)
eslint-plugin: [member-ordering] correctly invert optionalityOrder (#6256) (ccd45d4)

v5.47.0
Compare Source
Features

eslint-plugin: [no-floating-promises] add suggestion fixer to add an 'await' (#5943) (9e35ef9)

5.46.1 (2022-12-12)
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.46.1
Compare Source
Note: Version bump only for package @typescript-eslint/eslint-plugin
v5.46.0
Compare Source
Bug Fixes

eslint-plugin: [ban-types] update message to suggest object instead of Record<string, unknown> (#6079) (d91a5fc)

Features

eslint-plugin: [prefer-nullish-coalescing] logic and test for strict null checks (#6174) (8a91cbd)

5.45.1 (2022-12-05)
Bug Fixes

eslint-plugin: [keyword-spacing] unexpected space before/after in import type (#6095) (98caa92)
eslint-plugin: [no-shadow] add call and method signatures to ignoreFunctionTypeParameterNameValueShadow (#6129) (9d58b6b)
eslint-plugin: [prefer-optional-chain] collect MetaProperty type (#6083) (d7114d3)
eslint-plugin: [sort-type-constituents, sort-type-union-intersection-members] handle some required parentheses cases in the fixer (#6118) (5d49d5d)

v5.45.1
Compare Source
Bug Fixes

eslint-plugin: [keyword-spacing] unexpected space before/after in import type (#6095) (98caa92)
eslint-plugin: [no-shadow] add call and method signatures to ignoreFunctionTypeParameterNameValueShadow (#6129) (9d58b6b)
eslint-plugin: [prefer-optional-chain] collect MetaProperty type (#6083) (d7114d3)
eslint-plugin: [sort-type-constituents, sort-type-union-intersection-members] handle some required parentheses cases in the fixer (#6118) (5d49d5d)

v5.45.0
Compare Source
Bug Fixes

eslint-plugin: [array-type] --fix flag removes parentheses from type (#5997) (42b33af)
eslint-plugin: [keyword-spacing] prevent crash on no options (#6073) (1f19998)
eslint-plugin: [member-ordering] support private fields (#5859) (f02761a)
eslint-plugin: [prefer-readonly] report if a member's property is reassigned (#6043) (6e079eb)

Features

eslint-plugin: [member-ordering] add a required option for required vs. optional member ordering (#5965) (2abadc6)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (5.52.0). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Update the README, and Update the GitHub and Ballerina Central Package Organization

$Subject

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@9916f83). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   98.68%
  Complexity      ?       52
=======================================
  Files           ?       11
  Lines           ?      228
  Branches        ?       30
=======================================
  Hits            ?      225
  Misses          ?        1
  Partials        ?        2

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Cannot "build initialize" latest source from dev

Using VS 2015 Update 2 - what am I missing?
Errors in C:\Code\EntityFramework\test\Microsoft.EntityFrameworkCore.Tools.Funct
ionalTests\project.json
Unable to resolve 'dotnet-test-xunit (>= 1.0.0)' for '.NETCoreApp,Version=v1
.0'.
Unable to resolve 'dotnet-test-xunit (>= 1.0.0)' for '.NETFramework,Version=
v4.5.1'.
Errors in C:\Code\EntityFramework\test\Microsoft.EntityFrameworkCore.Tools.Tests
\project.json
Unable to resolve 'dotnet-test-xunit (>= 1.0.0)' for '.NETCoreApp,Version=v1
.0'.
Unable to resolve 'moq.netcore (>= 4.4.0)' for '.NETCoreApp,Version=v1.0'.
Unable to resolve 'dotnet-test-xunit (>= 1.0.0)' for '.NETFramework,Version=
v4.5.1'.
NuGet Config files used:
C:\Code\EntityFramework\NuGet.Config
C:\Users\eejj\AppData\Roaming\NuGet\NuGet.Config
Feeds used:
https://www.myget.org/F/aspnetcidev/api/v3/index.json
https://api.nuget.org/v3/index.json
fail: Exit code 1 from dotnet
fail: Stack trace:
at Viewfb0a80b608794cf9a8c8b91387b589af.b__a3() in c:\Users
\eejj\AppData\Local\Temp\b9ba1e5fbbb54d8ea27c866773dd4516-1.cs:line 9315
at Sake.Engine.Builder.BuilderBase1.CallTarget(String name)    at Sake.Engine.Builder.BuilderBase1.StartingTarget(String name)
at Viewfb0a80b608794cf9a8c8b91387b589af.StartingTarget(String name) in c:\Use
rs\eejj\AppData\Local\Temp\b9ba1e5fbbb54d8ea27c866773dd4516-1.cs:line 3591
at Viewfb0a80b608794cf9a8c8b91387b589af.b__65() in c:\Users
\eejj\AppData\Local\Temp\b9ba1e5fbbb54d8ea27c866773dd4516-1.cs:line 4019
at Sake.Engine.Builder.BuilderBase`1.CallTarget(String name)
at Sake.Engine.SakeEngine.Execute(Options options)
at Sake.Engine.SakeEngine.Execute(String[] args)
at Sake.Program.Main(String[] args)

Oh, looks like the cidev feed is being cleaned just now - will wait until later this week!


Error on Install - Cpanel Server - RedHat 2.6.32-573.12.1.el6 64Bit - Is there help available?

This is the error:
Installing setuptools==18.5
/usr/bin/python: pip is a package and cannot be directly executed
PIP for python is installed on the system.
Thank you for any assistance!

What version of python and pip are you using? Are there multiple pythons and pips installed? Are you sure they aren't cross-contaminating each other? The following commands should help reveal this:
type -a pip
type -a python
pip show pip -v
echo $PYTHON
python -c 'from pprint import pprint ; import sys, pip, platform ; print "%s\n%s\n%s" % (platform.python_version(), pip, pip.__version__); pprint(sys.path);'


We should have a special config that allows to configure half closure…

… for DuplexChannel
Motivation:
DuplexChannel allow for half-closure, we should have a special config interface for it as well.
Modifications:
Add DuplexChannelConfig which allows to configure half-closure.
Result:
More consistent types

In 5.0 we also want to have DuplexChannel return DuplexChannelConfig.

@netty-bot test this please


Need your help for self-defined xdp program  in calico

I set0 a k8s cluster with calico cni in bgp ipv6 mode with linux kernel 4.20.
I start a pod, I set a xdp program on eth0 veth with XDP_TX to relflect the packet inside the pod, and I must set the corresponding xdp program XDP_PASS on the host's calixxxx veth to forward the packet, but I set the calico-bgp in advance. I tested the performance, the performance was poor, does some one know why does the extra edp cause the poor performance?

tagging @tomastigera


File compilation fails with quotes in compile definitions

Brief Issue Summary
Compile single file fails when there are defines with quotes on the command line.
Example code
project(test)
add_executable(test test.cpp)
add_compile_definitions(TESTVAR="testvar")

#include <iostream>
int main()
{
    std::cout << TESTVAR;
}

CMake Tools Log
cl.exe [...] "testvar\" -c test.cpp
c1xx: fatal error C1083: Cannot open source file: 'testvar" -c test.cpp'

Expected command line
cl.exe [...] -DTESTVAR="testvar" [...] -c test.cpp

Platform and Versions

Operating System: Windows (have not tested others yet)
CMake Version: 3.13.1
VSCode Version: 1.29.1
CMake Tools Extension Version: 1.1.3
Compiler/Toolchain: Visual C++ 2017

I tried to reconstruct your problem, but it works in my Dev Enviroment.
I get the output CL.exe [...] /D "TESTVAR=\"testvar\""[...]
May be my setup is different:

What happens if you execute cmake on commandline?
What prefered cmake generator is used?
What exact visual studio version do you use?
Do you use the clang compiler? (the compiler flags look like GCC compiler flags)

Triage to 1.4.0 for now, as the potential duplicates https://github.com/microsoft/vscode-cmake-tools/issues/971 and https://github.com/microsoft/vscode-cmake-tools/issues/969


replace snippets with Boris' snippets

The converted snippets from Boris' package define more or less the same snippets (snippet for while is missing).
I believe the version from Boris is more readable, using new line instead of new line character \n.
Do we want a blank line before every snippet?

I prefer the compact version containing \n and so on.

OK, compact versus multiple lines is one difference.
Another difference is that Boris something like ${1:ClassName}.
Do you understand what it does?

I guess this are just labelled placeholders similar to comments. But I am not sure.

I need to read more about how snippets work
https://atom.io/docs/latest/using-atom-snippets
https://github.com/atom/snippets

The ${1:ClassName} prefills the entry with "Classname". It's useful as a reminder of what goes there.

I see! Thanks for the explanation.

This sounds like the best way here is to close this pull request and start over from Raphaels snippets, adding these ${1:ClassName} defaults. If nobody insists, I will close this pull request this afternoon.

There are even more differences between both versions, e.g. for model.
I think it is good to add the equation block, however I think the description should not be added, since it could be annoying to have it everywhere. What do you think?

What happens when you cycle through the tab-marks? Is the placeholder/default value marked so that it can be overwritten without marking the text first or do yo uhave to mark the default value to overwrite it?

The default value is already selected so that you can replace it by just typing.

I do not have a strong opinion on the default values, my impression is they do offer small advantages and bring almost no disadvantages.
I only use the snippets for if and for anyway.

I might start using snippets also for model and block etc, I just tested it and I like how one can write the model name at two places simultaneously!

I find the snippet name string unnecessarily verbose, e.g. "Modelica function definition" vs. "function" -- it's already clear, if you're in a Modelica file, that the snippets will be Modelica snippets, and it could be that in use this takes unnecessarily much space in the autocomplete popup (but I haven't tried that out).

You are right. I will close this pull request without merging it.
We can then start from Raphaels version (currently on master) and add only the parts that we like.

there's no need to close it (e.g. the rest looked better than the old one imo), we could have just updated/shortened the new description strings.

Well, then @bilderbuchi and @lochel have to discuss and decide whether we want the short or long version. @tshort do you have a strong opinion on this?

My reasons for preferring the long version:

It better reflects the look when using the snippet in a document (and is more easily understandable, imo)
Additional lines used don't matter that much as this file will not be looked at often, but when you look at it (to fix mistakes, or whatever), it's important that it's easily understandable.

I would propose something like 776bbf0ad0abeeda5f48823336ddbc2de75f23e7.
We should somehow define consistent default values for model/record/function/block/class names. Probably Unnamed should be fine.

so, should we go forward with this? At this point I don't have a preference either way.

I don't have a preference either way.
On Tue, Mar 15, 2016 at 9:41 AM, Christoph Buchner<EMAIL_ADDRESS>
wrote:

so, should we go forward with this? At this point I don't have a
preference either way.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/modelica-tools/atom-language-modelica/pull/15#issuecomment-196822797

the only thing that would be great would be to lose the "Modelica ..." prefix of all the snippet names, as that is imo pretty redundant.

Also, no preferences on my side

Boris' snippets contain default values for certain place holders.


[BUG]

INFO:torch.distributed.nn.jit.instantiator:Created a temporary directory at /tmp/tmpe3xt07sg
Created a temporary directory at /tmp/tmpe3xt07sg
INFO:torch.distributed.nn.jit.instantiator:Writing /tmp/tmpe3xt07sg/_remote_module_non_scriptable.py
Writing /tmp/tmpe3xt07sg/_remote_module_non_scriptable.py
DEBUG:sentry_sdk.errors:[Tracing] Create new propagation context: {'trace_id': '8941489749dc480c87b092577d82c396', 'span_id': 'a68e8099636b936b', 'parent_span_id': None, 'dynamic_sampling_context': None}
[Tracing] Create new propagation context: {'trace_id': '8941489749dc480c87b092577d82c396', 'span_id': 'a68e8099636b936b', 'parent_span_id': None, 'dynamic_sampling_context': None}
Traceback (most recent call last):
File "/home/zack/code/swarms/accountant_team.py", line 6, in
from swarms.models import Anthropic, OpenAIChat
File "/home/zack/code/swarms/swarms/init.py", line 8, in
from swarms.models import *  # noqa: E402, F403
File "/home/zack/code/swarms/swarms/models/init.py", line 23, in
from swarms.models.idefics import Idefics  # noqa: E402
File "/home/zack/code/swarms/swarms/models/idefics.py", line 2, in
from transformers import AutoProcessor, IdeficsForVisionText2Text
ImportError: cannot import name 'IdeficsForVisionText2Text' from 'transformers' (/usr/local/lib/python3.10/dist-packages/transformers/init.py)
DEBUG:filelock:Attempting to acquire lock<PHONE_NUMBER>96032 on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
Attempting to acquire lock<PHONE_NUMBER>96032 on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
DEBUG:filelock:Lock<PHONE_NUMBER>96032 acquired on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
Lock<PHONE_NUMBER>96032 acquired on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
DEBUG:filelock:Attempting to release lock<PHONE_NUMBER>96032 on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
Attempting to release lock<PHONE_NUMBER>96032 on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
DEBUG:filelock:Lock<PHONE_NUMBER>96032 released on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
Lock<PHONE_NUMBER>96032 released on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
DEBUG:filelock:Attempting to acquire lock<PHONE_NUMBER>23456 on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
Attempting to acquire lock<PHONE_NUMBER>23456 on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
DEBUG:filelock:Lock<PHONE_NUMBER>23456 acquired on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
Lock<PHONE_NUMBER>23456 acquired on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
DEBUG:filelock:Attempting to release lock<PHONE_NUMBER>23456 on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
Attempting to release lock<PHONE_NUMBER>23456 on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
DEBUG:filelock:Lock<PHONE_NUMBER>23456 released on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
Lock<PHONE_NUMBER>23456 released on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

@ZackBradshaw run python3.10 -m pip install --upgrade transformers


[Feature Request] mumbojumbo obfuscator support

Searching a bit I found this obfuscator, I find it interesting both for examples of obfuscating large projects before compilation in the example code, for obfuscating text or some features.
https://github.com/jeromer/mumbojumbo

Ok thank you for your feature, it's more about obfuscation than encryption/decryption but I'll also try to implement it somehow.


All curtains doubled, even in single-curtain configurations

Prerequisite

[X] Yes, I've read the readme completely.

Cache

[X] Yes, I've cleaned accessory cache and the issue still exists.

Version
1.7.0-beta.52
Device Infomation JSON File
Not sure where to find this, sorry. Let me know how if it's needed.

 The second curtain sub-accessory is non-functional and completely useless. I've attached screenshots of the issue. Note that I renamed the sub-accessories for clarity.
The issue was previously documented in this comment:
https://github.com/0x5e/homebridge-tuya-platform/pull/339#issuecomment-1653648753
Screenshots:

Here is a screenshot showing that all of the accessories are under the same bridge, so it is not a caching issue. I split two of the accessories into multiple so I can control the functional one, but I left "Garage Shade" combined so you can see how the accessories look when first added. Please let me know if you need any other information.

I have the same issue - any fix?


Simon

#26 Formatted README and fixed certain steps

Thanks for the update Simon. It looks very nice. Could you please specify which commands didn't work and what error messages or issues you ran into when you tried to run those commands? For example, I see with ccmake that might not necessarily be installed on some systems. So maybe add the line sudo apt-get install ccmake to the README

I updated the issue. The CMakeCache.txt file doesn't work because it was built using different sudo user "osboxes", which isn't the same for others.

Ok, so is that fixed by saving the the configuration by pressing C and then generating the configuration by pressing G when using ccmake?

cmake doesn't work at all using the file. I just use cmake . to create my own CMakeCache.txt and ccmake . after to turn on the plugin and then save configuration then generate.

That seems to make sense. I think the CMakeLists file in the prototype folder must be what cmake useses to add the BUILD_PROTOTYPE flag to the CMakeCache.txt. Just to be clear, if you follow the steps of this updated readme exactly as it's written are you able to replicate what you see in the video?

Yeah, I did it twice from the beginning with newly cloned repositories and it works both times. The "make" command takes too long so didn't test more.


Changing upload direcory (not sure is an issue)...

Hi!
I have just succeded in tusd (go application) installation on an ubuntu machine. My idea is to to test "resumable file upload funcionality" with an Android client (using your sample Android application for now).
I have succesfully uploaded some files to my server througth Android application (pausing and resuming it).
It works like a charme! :)
Then I have stopped the tusd application and I have changed the upload directory from "data" to "uploadDirectory" in main.go.
I have started the server again and I have succesfully uploaded some OTHER files.
But when I try to upload one file that I have already uploaded in the previous tusd session (with upload dir="data") I have receiveed an "unexpected status code (404) while resuming upload".
I'm completly newby on go so forgive me in advance if I have miss some important details (and for my bad English).
Where is my mistake?
Is this the rigth place to post this questions?
Thanks in advance.

Hey there, the solution is simpler than what you're currently trying, if you run the binary, tusd -help, you'll see that you can configure the data dir via the -dir= uploadDirectory command-line argument. Does that help?

@kvz What you are proposing is a better solution to

Then I have stopped the tusd application and I have changed the upload directory from "data" to "uploadDirectory" in main.go.

but this does not fix his main problem:

But when I try to upload one file that I have already uploaded in the previous tusd session (with upload dir="data") I have receiveed an "unexpected status code (404) while resuming upload".

This is actually not a bug in tusd but a wired behaviour in tus-java-client which is used internally by tus-android-client. So following happens:

tusd is started and stores the uploads in data
tus-android-client creates a new upload, caches the upload's URL (for later resuming) and uploads the file successfully
tusd is restarted with uploadDirectory
tus-android-client sees that you are trying to upload the same file again and attempts an resume
tusd is not able to find the upload (which android wants to resume), since you have changed the directory in which the files are stored, and therefore sends the 404 (Not Found) status code back to android

That's where your error comes from. The expected behavior of tus-android-client should be that after resuming failed it falls back to creating a new upload. However, this has not been implemented yet (I overlooked this case) but should be a simply fix. I will try to get this done quickly. Thank you for reporting this inconsistency :)

Thank you for your replies!  :)
I think I'm running the "source" version (but, you know, I'm newbe on Go!;) I cloned the project following instruction in README.md
Acconut, if I have understand your reply, this behavior is related to the way tus-android-client keeps track of the upload already done or, at least, started. Is something done with something like a SharedPreferences? Tomorrow I'll look into tus-android-client to try to understand something more.
I was looking for a way to implementing resumable ulpoad from a while and when I finally found your project I could not believe on my eyes!
Great job guys!!
Thanks a lot!

@masail I just want to let you know that I will work on this issue this week, so you can expect a fix by the end of it. However, there are still some open questions but we will figure it out :)

Acconut, if I have understand your reply, this behavior is related to the way tus-android-client keeps track of the upload already done or, at least, started. Is something done with something like a SharedPreferences

That's correct.

I was looking for a way to implementing resumable ulpoad from a while and when I finally found your project I could not believe on my eyes!
Great job guys!!

It's always a pleasure for us to hear such great feedback :)

Thank you for yours work! :)
Excuse me, but I would ask for another question, related to the means of the content of the ".info" file: can I write here or I have to create another thread?
Thanks.

Excuse me, but I would ask for another question, related to the means of the content of the ".info" file: can I write here or I have to create another thread?

No need to excuse. :) To be honest, I do not really mind but in general it's better to separate different discussion topics to make it easier to follow the conversation. So I would be pleased if you could create a new issue in this repository.

@masail Just to give you a quick update on this topic. The reason why I haven't pushed a fix out yet is that it is really hard for the client to tell when it should stop trying to resume an upload and just start a new one. In your case it should immediately do so after receiving the 404 Not Found status code. However, in the real world there are some situations where this behavior is undesired. Imagine a badly code deploy or a proxy failure causing the tus server to return 4xxs to the client and everyone starts their uploads from scratch.
Google has some great guidelines for handling these cases (https://developers.google.com/drive/v3/web/manage-uploads#best-practices) and I guess they are also a good go for tus. However, I would enjoy some feedback from @kvz :)

I'm having trouble following this conversation. What is the problem we're trying to address? Establishing when a client should give up retrying per some default?

Establishing when a client should give up retrying per some default?

Yes, in which cases the HTTP request should be retried or the entire attempt to resume the upload should be stopped and instead a new upload should be started. The guidelines by Google make some great points in this regard.

I think their best practices make sense. If there's a naughty proxy in between throwing a 404, then i think it's just tough luck. I would not cripple the 99.99% of other use cases just to have resumability in this edge case. Would you agree?

I have already been working on this. Some progress can be seen here: https://github.com/tus/tus-java-client/commit/b3db9b342a1078528c7f61005b8cfe57475c39b8

The 0.3.0 release of the tus-java-client includes the new TusExecutor class which provides an easy way for implementing retries. Please consult the libraries' README for more information (https://github.com/tus/tus-java-client#usage).


[BEAM-12164] Add Spanner Change Stream Mappers

The mapper classes convert from Cloud Spanner Structs to the change stream models used by the connector. There are two mappers implemented:

For mapping to partition metadata models.
For mapping to change stream records (one of heartbeat, data or child partitions).

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

DO NOT MERGE, depends on https://github.com/apache/beam/pull/16161

R: @pabloem

I think that the test failures are unrelated (the failure is on debezium:test). Any way we could re-run those @pabloem ?

Run Java PreCommit

retest this please

@thiagotnunes please take a look at the comments : )


Review IAM Role Privileges

we should customize a role with the required privileges instead of giving AdminAccess (following security best practices on AWS)

as talked with @arun-gupta

@brentley this is again more workshop-wide issue, what do you recommend?

For the workshop, you could have the "AdminAccess" roles, but in the real-life, what are the minimum necessary role to use for example eksctl ? Maybe a reference to the full list of roles for this tool could be inserted.

Our company account doesn't allow that broad of permissions.  I need a minimal list of permissions.


Heatmap loads forever + Repository list fails to load entirely

Gitea version (or commit ref): c97433d07
Git version: 2.20.1
Operating system:

Component
Version

Kernel
4.19.0-8-amd64 x86_64

Distro
Debian GNU/Linux 10 (buster)

Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:
All good.

Description

Heatmap and repository list does not load, at all.
Restarting Gitea or anything like that did not work.
Error occured after upgrading from 68e4f4efc to c97433d07.
Unrelated to https://github.com/go-gitea/gitea/issues/8673.

Web Console
TypeError: Illegal constructor. index.js:2429:20
    e index.js:2429
    c runtime.js:45
    _invoke runtime.js:271
    t runtime.js:97
    n asyncToGenerator.js:3
    s asyncToGenerator.js:25
    exports asyncToGenerator.js:32
    exports asyncToGenerator.js:21
    jQuery 2
        l
        c
Service worker event waitUntil() was passed a promise that rejected with 'TypeError: Cache got basic response with bad status 404 while trying to add request https://domain.tld/js/clipboard.js'. serviceworker.js:52:8

Screenshots

Have you tried forcing a cache reload? Or un-registering the serviceworker and letting it re-install?

@jolheiser
No, did not try that, yet. How would I go about doing that?
Meanwhile, I got the old binary back and use this one in the new installation and all is back to normal, as long as this issue ain't fixed, yet.

Was this built from source? Does public/js/clipboard.js exist in your source checkout?

@silverwind
Yes. I have an update.sh that I use to update Gitea successfully since more than a year. It fetches the newest sources, gets dependencies, etc. then it builds everything from source.

Try starting up once with ui.USE_SERVICE_WORKER = false and then with true again, this should unregister/re-register the service worker.
There is a underlying bug somewhere, but I wonder if SW re-registration helps any or if the error is persistent.

@silverwind
Well, turns out, that I changed my update.sh script and forgot to add a go get ... line. I updated most of the dependencies and stuff works now. Thanks everyone.
That said, I encounter 2 other errors when trying to fetch dependencies using go get...:

https://github.com/go-kit/kit/issues/940
https://github.com/influxdata/influxdb/issues/16901

I wasn't able to fix No2, because I don't know which mod/depedency depends on influxdb as a mod/depedency. Therefore I can't fiddle with the go.mod, etc. I just know the most basic stuff about Go, so maybe someone of the more experienced people here could easily solve this.

Weird that go dependencies would cause JS errors, I don't believe it. Maybe your build was just unclean. Regarding go modules, I don't think you actually need to go get as vendor them all inside the repo currently.

@silverwind
So the go get ... is redundant?

Maybe your build was just unclean.

Certainly cannot guarantee it wasn't, however it never caused any remarkable issue, like this one.
That said, if it was unclean, it's probably still unclean, as I didn't change the folder or anything like that. All I did was:

go get ... 'ing around
re-building the binary, after inability to fix the influxdb issue
re-running the newly created binary

So, at least it appears to be connected to dependencies, though I wouldn't know how to confirm it.

I'm no expert on go build, but I've been building without any go get a long time now.

@silverwind

I've been building without any go get a long time now.
Same here. I just didn't know about the vendoring possibility.

Regarding cleaning: Running make clean-all should get you absolutely clean minus node_modules which you can optionally delete too, so rm -rf node_modules && TAGS=bindata make clean-all build should suffice.

Should this be run before every new build?

Ideally, our make process should figure out what needs rebuilding but to avoid any potential bugs in that complex process, it never hurts to clean-all. Build will of course take a minute or two longer.

Please close if resolved.

Big thank you to everyone involved in helping!