Knowing if we are in a client side navigation or direct hit

Describe the problem
Let's try to describe the Feature Request with a small graph:
flowchart TB
    b3-->a2
    subgraph Page Home
    a0[New visitor]-->a1[load server]-->a2[load browser]-->a3[Enjoy the home page]
    style a0 fill:#29B56A,color:#000
    style a3 fill:#254CA0,color:#000
    end
    subgraph Page About
    b0[New visitor]-->b1[load server]-->b2[load browser]-->b3[Enjoy the about page]
    style b0 fill:#29B56A,color:#000
    style b3 fill:#254CA0,color:#000
    end

As you can see, I have 2 routes: Home and About.
On a direct hit, the load function is executed 2 times once !browser once browser ✅
On navigation from About to Home, the load function of Home is executed 1-time browser ✅
The problem: how can I know in a load function if I'm in a client side navigation or direct hit?
Describe the proposed solution
The best to my mind would be to have something similar to browser like:
import { clientNavigation } from '$app/navigation';

export async function load() {
    console.log(`clientNavigation`, clientNavigation);
    return {};
}

When it's a direct hit, the 2 load functions would have clientNavigation to false.
When it's a client side navigation, the load function would have clientNavigation to true.
Alternatives considered
Workaround I use today:
I have a file clientNavigation.ts
export let clientNavigation = false;

export const setClientNavigation = () => {
	clientNavigation = true;
};

And in __layout.svelte I have
<script lang="ts">
	// Todo: https://github.com/sveltejs/kit/issues/4048#issuecomment-1073577686
	import { afterNavigate } from '$app/navigation';
	import { setClientNavigation } from '$lib/clientNavigation';

	afterNavigate(() => setClientNavigation());
</script>

And now I can use clientNavigation value to know if I'm in a client side navigation or direct hit.
Importance
would make my life easier
Additional Information
This would allow nice scenarios for my library https://github.com/jycouet/kitql awaiting or not to fill stores depending on the situation.
I would be happy to contribute (very happy actually!), just let me know:

If I forgot some part of the use case, things to consider, ...
Where to start?

I wonder how common a use-case this is? Since workarounds are possible and they aren't even that hairy, we should consider if it warrants a new feature.
As for the API, since load() lives in context module and doesn't have access to kit stores, it might be simpler to add a new property on LoadInput. Maybe even borrowing navigating's from (and possible future) semantics?
I'd love to hear others' thoughts.

The workaround is not very complicated and works well yes. But it's one step that all my library users need to do to enjoy it fully. (BTW, I wrapped the 3 lines in a component to put in __layout so that it's even easier!)
For sure it's not a blocker 🙃, but I wanted to check before working on it if you would accept something in this direction or not.
Adding it to the LoadInput would not be so great on my side as developers using my lib would need to pass the property manually like 👇
export async function load({ clientNavigation }) {
    KitQL.query({ clientNavigation })
    return {};
}

Today, with the workaround, it's magic like 👇
export async function load() {
    KitQL.query()
    return {};
}

I'm actually not sure I follow your use-case after re-reading the proposal. If you only care about knowing whether or not it's the first time load has been called so you can fill some stores, couldn't you keep track of that from within your library?
Some well placed if (browser && !initialized) and initialization would be equivalent to the afterNavigate guard, no?

I started to think... But why I didn't think about it earlier!!!
But in the end, I don't know where to place "well" the initialized. As it's not really "initialized", it's really: "I'm I in client side? or direct hit?"
Because, I can do:
export async function load({ fetch }) {
    await KitQL.query1({ fetch })
    await KitQL.query2({ fetch })
    return {};
}

And in both query1 & query2 I would need to know in what mode I'm in.
So I can't initialize after query1.
And I can't have
import { afterNavigate } from '$app/navigation';
afterNavigate(() => console.log('Hello you'));

Because it's telling me: Function called outside component initialization

I believe the explicit addition to load would be an easier buy for people than a globally available flag—that'd be equivalent to exposing the SvelteKit's client singleton, and I'm not sure there's interest in that.
Anyway, you can still have an equivalent guard for your scenario without user input with something like this:
import { browser } from '$app/env';

export let clientStarted = false;

if (browser) {
	addEventListener('sveltekit:start', () => {
		clientStarted = true;
	});
}

clientStarted would only be true after the first page was loaded and rendered.

WoW, this works like a charm!
Thx a lot @mrkishi
It will improve usability of my lib 👍

I found a case where the trick is not working.
=> When my lib is not used in the direct hit. The event sveltekit:start will never fire.
To avoid this, I have to put myLib.init() in the root __layout to make sure my lib is here from the start.
But coming back to the origin, it's where import { clientNavigation } from '$app/navigation'; would make sense. To have the platform providing this information.
Thoughts?

Great new video: Rich Harris - The Road to SvelteKit 1.0 (Svelte Society NYC)
Talking about navigation types: https://youtu.be/s6a1pbTVcUs?t=1501
I didn't find another issue to link this one too.
I guess that use cases are really close.

Sounds like #5276 could help solve this. If there was a hydrated store which you can listen to you also wouldn't run into the "never hit" case. But I'm also not 100% sure if this would help you as a library author because of #3010

In our case, a hydrated store would work because we are already generating a "library runtime" to be able to access these stores from our lib.
Doing the "library runtime" si quite some work, but allows us to support other environments! (Today: Svelte, Sapper, SvelteKit)

Both the navigation store and the before/afterNavigate hooks have a type property as of #6537 , so you can detect from that what kind of navigation you're in. Does this solve the issue?

Not really as these stores & hooks are not available in load function.
This (👇) is throwing error: Function called outside component initialization
import { navigating } from '$app/stores';
import { get } from 'svelte/store';
import type { PageLoad } from './$types';

export const load: PageLoad = async (event) => {
	get(navigating); // <-- error: Function called outside component initialization

	return {};
};

hydrated store would still be a great addition for me

hydrated store would still be a great addition for me

I was going to say "this is easy", but looks like the event has been removed.
import { browser } from '$app/environment'
import { writable } from 'svelte/store'

function createHydrated() {
  const { subscribe, set } = writable(false)

  if (browser) {
    window.addEventListener('sveltekit:start', () => set(true), { once: true })
  }

  return {
    subscribe
  }
}

export const hydrated = createHydrated()

I was using that to be able to determine if the load function was the first client-side execution after a server-side render, or a change of page ... so the return could be a store based on fetched data or an active firestore subscription.
I don't know if that is possible anymore.

Not really as these stores & hooks are not available in load function.
This (point_down) is throwing error: Function called outside component initialization
import { navigating } from '$app/stores';
import { get } from 'svelte/store';
import type { PageLoad } from './$types';

export const load: PageLoad = async (event) => {
	get(navigating); // <-- error: Function called outside component initialization

	return {};
};

hydrated store would still be a great addition for me

Shouldn't this be possible with #6100?
import { browser } from '$app/environment';
import { navigating } from '$app/stores';
import { get } from 'svelte/store';
import type { PageLoad } from './$types';

export const load: PageLoad = async (event) => {
	if (browser) {
		get(navigating); // <-- should work
	}

	return {};
};

Per https://github.com/sveltejs/kit/pull/6555#issuecomment-1236230223, this is easily solved:
// src/lib/hydrated.js
export let hydrated = false

export function update() {
  hydrated = true;
}

<!-- src/routes/+layout.svelte -->
<script>
  import { onMount } from 'svelte';
  import { update } from '$lib/hydrated.js';

  onMount(update);
</script>

(The reason this wasn't possible when discussing this problem earlier is that until recently there wasn't a guaranteed root layout)

Yeah, I was trying to remember "why on earth didn't I just set a flag to true?!"

Per https://github.com/sveltejs/kit/pull/6555#issuecomment-1236281369, I close this issue as we have:

a userland easy solution
a nice way to include this code via a vite plugin for libs


Can't show files with py> and call>

About workflow page of digdag server
can show files when sh> but can't show files when py> and call>.
Is there a solution?

Digdag version
0.9.42

Could you create a sample workflow to re-produce the issue ?

@yoyama
Thank you for contacting me.
Is displayed file when click workflow with digdag UI. but is not displayed py file with py> and dig file when call>.
Can you solve it?

I confirmed it. The current implementation does not support your request.
As workaround, you can check all files in Edit Workflows page.


XMLRPC does not properly pass < and > characters

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html

Original Issue: https://github.com/zendframework/zendframework/issues/7421
User: @sebastianbarfurth
Created On: 2015-04-04T21:04:18Z
Updated At: 2015-11-06T22:04:17Z
Body
It seems the remote server it not receiving the proper string even though a dump of the request looks right. Is there some kind of encoding going on that breaks < and > in XMLRPC requests?

Comment
User: @adamlundrigan
Created On: 2015-04-04T21:26:47Z
Updated At: 2015-04-04T21:26:47Z
Body
Could you provide some example code that triggers the issue?

Comment
User: @sebastianbarfurth
Created On: 2015-04-04T21:32:38Z
Updated At: 2015-04-04T21:33:25Z
Body
identifier => username
password => R(~{tJZwnrOCK6w!Fh{tVg\<>@;Js|yZ5;e+7(c"SVP`'T7eF.^oiHy#UO.=um1n

$auth = $this->xmlrpc->call('auth', [$identifier, $password]);

This fails even though the password is correct.

This repository has been closed and moved to laminas/laminas-xmlrpc; a new issue has been opened at https://github.com/laminas/laminas-xmlrpc/issues/2.


multiple tag support to allow use in non-trivial XML files

This change breaks backward compatibility though (which might be OK if we release a new major version).  I wonder if there is a way to implement it to preserve it though. Option part seems to be trivial: tag could accept both a single tag name (String) and an Array of tag names.
Not sure about the format of the emitted object though. We could emit { record, tagName } if there were multiple tags used and { ...record } if only a single tag was used, but that seems a bit too clever.

Please check out my changes in pr4 branch. Looks lie match functions can be a bit simpler (I left the tests you added and they all seem to pass). I also kept the original data format when only a single tag is specified. If I missed something let me know.
If those work for you, I'll release a new version of the module.
Feel free to squash the history.

That's definitely simpler :)

Thanks. Released as part of 1.3.0


Create an issue when license is found to be a near match not PR

Changes took place in the commit are:
(1) Create an issue when the license should match based on user's
response.
(2) Add a post screenshot script to post a SC to github.
(3) URL of the screenshot included in issue body.
Fixes #135

@goneall @techytushar @rtgdk I have added the changes to create an issue when user clicks on the "license should match", the diff view which occurs when the license is a near match. Now, a screenshot of the diff view will be included in the body of the issue created. For the screenshot, we could create a github account solely for the purpose of storing the images of the diff view. And add the owner with repository name as well as token in the postscreenshot.js file. It is better to store images in a github account other than using third party applications. Please have a look. Thanks
Here is the eg of the screenshot that will be posted.

P.S I recently changed my OS and I by mistake pushed the branch to spdx repostory instead of my own fork repository. I will take care of this from next time. Sorry about that.

@Ugtan Thanks for the PR!  Looks good to me.  I plan on testing out and possibly updating the site over the next week.
@rtgdk @techytushar Unless you see any issues, I'll merge this over the weekend or Monday

Looks good! Great work @Ugtan

@goneall Please don't merge this rn. I have to update something which I will do in a couple of days. Thanks

Please don't merge this rn. I have to update something which I will do in a couple of days.

No problem, just let me know when it's ready to merge

@goneall Sorry for taking too long to fix a bug(I have been very busy lately) but I have finally solved it and I think the PR is good to go and you can test it on your local machine. Also, I would like to mention that for the purpose of storing screenshots we would have to create a github repo and put the name with owner and github token in the postscreenshot js file to ensure the working in the production environment.

@Ugtan Thanks for the fix!
In about 2 weeks (beginning of October), I will work on this and get it into production.
I may ping you for some additional information in a couple weeks if I run into any challenges deploying to production.

In about 2 weeks (beginning of October), I will work on this and get it into production.
I may ping you for some additional information in a couple weeks if I run into any challenges deploying to production.

@goneall Sure. You can ping me anytime and I will try to reply ASAP. Also, I think it should work on atleast every linux system as I have recently shifted from linux -> Archlinux and I installed redis and everything works like a charm.


How to send a dictionary?

I need to send a .txt file, which was converted into a dictionary, which I need to send it all. What do I do? No, I cannot use commas because my text lines use commas.

It's quite complicated, but you have to encrypt your dictionary object into numbers, which you will send to the project via setting a cloud variable (with max length 256) and you need to include something to decode the dictionary inside the scratch project

You can send lists using cloud requests.


Backport "Scaladoc: Fix "case case Foo" in enum's cases" to LTS

Backports #19519 to the LTS branch.
PR submitted by the release tooling.
[skip ci]

No regressions detected in the community build up to lts-19605.
Reference


'iwrk': array([], dfitpack_int), 'u': array([], float), TypeError

Device: Apple MacBook Pro
Processor: M3 Max
RAM: 48GB
Python: 3.10.16
Using conda
Running this code:
import genesis as gs
gs.init(backend=gs.cpu)

scene = gs.Scene(show_viewer=True)
plane = scene.add_entity(gs.morphs.Plane())
franka = scene.add_entity(
    gs.morphs.MJCF(file='xml/franka_emika_panda/panda.xml'),
)

scene.build()

for i in range(1000):
    scene.step()

and I got this:
Traceback (most recent call last):
File "/Users/user/Downloads/genesis/demo.py", line 1, in
import genesis as gs
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/init.py", line 274, in
from .engine.scene import Scene
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/engine/scene.py", line 5, in
from genesis.engine.entities import Emitter
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/engine/entities/init.py", line 1, in
from .avatar_entity import AvatarEntity
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/engine/entities/avatar_entity/init.py", line 1, in
from .avatar_entity import AvatarEntity
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/engine/entities/avatar_entity/avatar_entity.py", line 3, in
from ..rigid_entity import RigidEntity
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/engine/entities/rigid_entity/init.py", line 1, in
from .rigid_entity import RigidEntity
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/engine/entities/rigid_entity/rigid_entity.py", line 10, in
from genesis.utils import terrain as tu
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/utils/terrain.py", line 5, in
from genesis.ext.isaacgym import terrain_utils as isaacgym_terrain_utils
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/genesis/ext/isaacgym/terrain_utils.py", line 10, in
from scipy import interpolate
File "", line 1075, in _handle_fromlist
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/scipy/init.py", line 134, in getattr
return _importlib.import_module(f'scipy.{name}')
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/scipy/interpolate/init.py", line 167, in
from ._interpolate import *
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/scipy/interpolate/_interpolate.py", line 12, in
from . import _fitpack_py
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/scipy/interpolate/_fitpack_py.py", line 8, in
from ._fitpack_impl import bisplrep, bisplev, dblint  # noqa: F401
File "/opt/homebrew/Caskroom/miniconda/base/envs/genesis/lib/python3.10/site-packages/scipy/interpolate/_fitpack_impl.py", line 103, in
'iwrk': array([], dfitpack_int), 'u': array([], float),
TypeError
anyone got same issues?

It's due numpy 2.0 has been installed.
Just pip uninstall numpy several times untill it show no numpy is installed. Then install numpy 1.X like  pip install numpy==1.25.1


[apptools-android] Support shared mode for apptools android

Impacted tests(approved): new 3, update 66, delete 0
Unit test platform: [Android]
Unit test result summary: pass 66, fail 3, block 0
https://crosswalk-project.org/jira/browse/XWALK-4026

LGTM


[spec] Add specification for May 2020 Upgrade

I consider the merge of this PR , sneaking in the addition of IP enforcement cc21f831bd5f6be323723d82fd5d0998763a2703 which is not even well specified, and the merging of the PR by the same person who originated it, as something that should have never happened.
I will raise an issue and a pull request to fully revert the inclusion of the IFP component for May's upgrade - it does NOT have community consensus in any way.
As a personal note, I think this is disgraceful behavior by the stewards of this repository.

Two issues:

It way past code freeze deadline

It is unacceptable for any single developer to re-define what "Bitcoin Cash" is without any kind of agreement among neither miners, community, developer or popular service providers.

This behavior is contemptible.
NACK.

NACK


Make ssl cert path configurable

so that Excon can load the certs from global cert repo.
The default is set for ubuntu here. After inserting this
line i could connect to my master with letencrypt certs
on the haproxy, as i inserted the ca to ubuntu global
cert repos.

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

Replaced by #2201


Unable to load block into composer

As a follow up on https://www.concrete5.org/community/forums/5-7-discussion/unable-to-load-block-into-composer/
Steps to reproduce:

Add a new Content block to the Blog Entry page type
Add a Composer Control block to the Blog Entry page type defaults
Edit an existing blog page in composer

This will show an "Unable to load block into composer" error.

hi i've the same problem with version 8.2.1 fresh install.
After add the new content Block on the Page type all the new page added work fine on composer with new block.
But if i open on composer an existing page show an "Unable to load block into composer" error.

I can confirm this on the current develop branch 8.3.0 RC2.
I can also confirm that this happens with a fresh install of the develop branch with sample content. When using Composer, the Content blocks on all three default blog entry pages display the Unable to load block into composer. You must edit this content from within the context of the page. error.

There is a method for "refresh" this version/block list on page type?

Some type of way to "reconnect" blocks to Composer would be very useful since the "Unable to load block into composer" error is fairly common.

hi i've an update for this problem. On a 8.3.1 version i've one page type and start create page all is fine.
After some time on some page on composer start to see the error  " Unable to load block into composer. You must edit this content from within the context of the page " .
Any Ideas?

#7845 this can be useful for the solution

A fix for new pages will be included in 8.5.4.

Tested in 8.5.5RC1 and looks good


Better generated examples for strings

This PR aims at providing better generated example values for properties and parameters of type string.
If the property or parameter is an enumeration, the first allowed value is used as example value. If it's not the following static example values are used, based on the format.

byte: Ynl0ZQ== (base64 of byte)
date: 1970-01-01
date-time: 1970-01-01T00:00:00Z
email<EMAIL_ADDRESS>password: secret
uuid: f81d4fae-7dec-11d0-a765-00a0c91e6bf6

Additionally, URL encoding was added to example values generated for either query or path parameters.

Coverage decreased (-0.05%) to 88.442% when pulling 4a82e20710027622f4368f836f2724030465e902 on lemartin:master into ecaaaeb04986bb71c8bc7a6ce4b20467e11d993a on Swagger2Markup:master.

Hi, sry. I was on vacation.


SearchChatsOnServer returns empty results

I'm trying to get Chat by its name.
SearchChats works OK while the client is aware of the Chat. As soon as the client is restarted neither SearchChats nor SearchChatsOnServer get the Chat.
According to the docs, SearchChatsOnServer searches "... already known chats via request..." so I guess I'm not understanding the already known point. What are the already known chats?
More importantly, how can I get a chat by its title after a client restart?

What are the already known chats?

Chats from Main and Archive chat lists.

More importantly, how can I get a chat by its title after a client restart?

You need to call searchChats for local search in loaded parts of Main and Archive chat lists and add to the result chats found by  searchChatsOnServer not found locally. If you want to use only searchChats, then you need to preload full Main and Archive chat lists.

My problem is that searchChats and searchChatsOnServer both return empty results after client restart.

Could you send TDLib's log with verbosity level 4 to @tdlib_bot in Telegram?

You are trying to find a just created group. searchChatsOnServer use extensive caching and can return outdated results. If you want to find a recently joined chat, you need to load full chat list and use getChats.

OK thanks for the answer, I'll try that.
Btw, another question. I'm able to leave a chat with LeaveChat but how can I delete a chat (which is a basic group)?

Basic groups can be deleted complete only since last Telegram update. You need TDLib 1.7.1+ from master and use deleteChat method for that.

deleteChat deletes the chat for all the group members. Can I delete the chat just for me?

You probably want deleteChatHistory or leaveChat then.

It deletes the history and leaves the chat but it is still visible in the chat list even when I'm sending removeFromChatList = true.

You need to call leaveChat, wait for response, then call deleteChatHistory with removeFromChatList == true.

Excellent it worked like a charm. Thanks for your patience!


Bug report: HTTP request operation issue

I'm using the new operation HTTP request but doesn't work.
URL: _http://ip-api.com/json/_
Mode: I tried both
Output:
TypeError: NetworkError when attempting to fetch resource.

This error could be caused by one of the following:
 - An invalid URL
 - Making a cross-origin request to a server which does not support CORS

It looks like the browser is blocking it because of mixed content: the page is running over HTTPS and the request is using HTTP. More information
Blocked loading mixed active content “http://ip-api.com/json/”
If you wish to get your IP address from an API using CyberChef over HTTPS the API must support CORS and service HTTPS requests.
This is a recipe that I have got working:
[{"op":"HTTP request","args":["GET","https://icanhazip.com/","","Cross-Origin Resource Sharing",false]}]

@tlwr is right. The only solution is for you to download CyberChef and use it from a non-HTTPS source. I've added a note to the error message about mixed content requests in eda17d1671bac85f7faae871ca6d4ce783ba85ba.


Duplicate messages being sent to SumoLogic

The observed result is sumo logic collector is really slow.
AND when SLLogger interval is configured to be long enough which is > collector response time,
then duplicated messages will be sent.
Workflow:
Interval 5000 ms -> send logs -> Another interval loop runs -> send logs twice -> ....(many times) -> Collector responds OK -> logs are finally cleared, but too late.

@billsaysthis can this be closed now that #9 has been merged?

I believe so, but please feel free to reopen if you still see an issue.


.mlem/env is ignored by a standard Python .gitignore

As reported by @alex000kim, .mlem/env gets ignored if you use the standard Python gitignore file.
To avoid this, we need to rename .mlem/env to .mlem/environment or something else.

Pull Request No: 369
GitHub Link: https://github.com/iterative/mlem/issues/369
Decided Approach:
In the current version of MLEM, when a MlemObject is saved, it is stored in .mlem/{object_type}/. We can see that the directory name used to store the MlemObject is therefore strongly coupled to its object_type. To prevent this, we can introduce a new property object_dir which will be used as the object’s storage directory name, thus decoupling the object’s storage directory name from its object_ type.
MlemEnv will be the only MlemObject in the current version of MLEM where its object_type value will differ from its object_dir value. The value of object_type will be env and the value of object_dir will be environment.
We will need to introduce a default object_dir value for other MlemObjects like MlemDeployment, MlemModel, MlemLink etc. We will set the value of object_dir to the respective object_type value for each MlemObject type as there is no need to change the storage directory name for these MlemObjects currently.
Alternative Approaches:
Initially, I thought that it would be more appropriate and easier to change the object_type of MlemEnv from env to environment, however, this would require the user to type environment as opposed to env when defining their target environment and performing other environment related operations. It is quite lengthy to type environment as opposed to env which may be a bad user experience. Additionally, it does not solve the issue of decoupling the object’s storage directory name from its object_type, therefore I opted for introducing a new property, object_dir as discussed initially. I did however test changing the object_type from env to environment for completeness and the implementation worked without any issues.
Related Tasks:
If this approach is accepted and merged, then I’ll also update the mlem.ai website to include information about the object_dir property. I’ll update the following:

The basic concepts page to explain that object_dir is a common field on MlemObject and describe its purpose. Link: https://mlem.ai/doc/user-guide/basic-concepts

The project structure page to explain that  a MlemObject will be stored in the directory defined by its object_dir as opposed to its object_type. Link: https://mlem.ai/doc/user-guide/project-structure

Hi @itstargetconfirmed! Thank you for this detailed description! This is a good solution, however right now we considering to get rid of .mlem dir completely (#381) so this issue should be postponed until we reach a conclusion in that matter

We got rid of .mlem/ dir eventually. So, closing this!


New version: PicGo.PicGo version 2.3.1

Pull request has been created with Komac v1.8.1 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/111258&drop=dogfoodAlpha

@CoolPlayLin I released 1.8.2 which should fix this error

/AzurePipelines run


Modularized detectors and neuron with enhanced UCF training flow

This PR introduces an enhanced UCF training flow and significant revamping of the base_miner/ directory, notably changing how detectors are instantiated. The result is a single concise and modular Miner(BaseMinerNeuron) in neurons/miner.py.
Key changes

Detector and Miner Modularization:

New deepfake_detectors/ with detector implementations that subclass a common abstract base class.
New gating_mechanisms/ with gate implementations that handle content-aware image preprocessing and routing, subclassing a common abstract base class. This is especially useful for multi-agent or mixture-of-expert detectors like CAMODetector(DeepfakeDetector) in deepfake_detectors/camo_detector.py
New registry.py which uses a factory method design pattern to instantiate detector and gate subclasses with Registry
Integration of Registry with miner.py for dynamic, configurable detector initialization and future extensibility
Consolidated multiple neurons/ miner neurons into a single neurons/miner.py.

UCF Training Improvements:

Cleaner outputs, now saved to single files and in a single folder per run.
New args for hyperparameter tuning.
New error messages for diagnosing UCF parameter issues affecting output layer shapes.
Config saving during training and loading for detector initialization. Automatic saving for reproducibility and reconstructing correct layer shapes for inference.

Other:

Adhoc unit test scripts for all detectors, gates, and miner.py neuron.
Relocated training dataset generation pipelines to the bitmind-utils repository
Deleted unused UCF legacy scripts.

LGTM


Repository link in inscription metadata

Inscriptions that list a repository should link it in the locations index.
Guidelines say: The name of the museum is a live link that leads to the relevant entry in the Locations Index (locations.xml authority list), where the user can find general information on the repository in question.
Monuments already do this

The repository markup was incorrect. It read <repository ref="location.xml#ByzantineMuseum"> instead of <repository ref="locations.xml#ByzantineMuseum">
This was only a problem in inscriptions with repositories, and has been corrected. Reindexing and re-harvesting seems to have fixed it.

will close with commit 33c7ecea


Explore nearby pictures

Description (required)
Fixes #28
This PR is a WIP. What is done so far:

Explores commons uploads by location
Explores commons uploads by search query if they have location attribute
Known issue are:
Clicking to markers does not open media details
Search this area button wont become visible
Does not follow current location
Marker icons are not thumbnails yet

What changes did you make and why?
Tests performed (required)
Tested {build variant, e.g. ProdDebug} on {name of device or emulator} with API level {API level}.
Screenshots (for UI changes only)
Need help? See https://support.google.com/android/answer/9075928

Note: Please ensure that you have read CONTRIBUTING.md if this is your first pull request.

Hi @neslihanturan , thanks for the PR! It's exciting to see the progress of this feature. :)
I tested this on my real device (noting, as you mentioned above, that some functionality is missing). A few notes:

It took a very, very long time to display the pins the first time I loaded Nearby. Roughly 3 minutes, according to my timestamps. There were also two loading progress bars running simultaneously, overlapping each other.
"Search this area" actually works perfectly for me! :) Great job with fixing that.
Some of the UI elements seem a bit out of place. Referring to the screenshot below, the "center map on user" button and scale indicator is in the wrong spot, and the Mapbox links are displaying raw HTML.

I completely understand that this is WIP. The code looks good to me, otherwise. Looking forward to being able to merge!

@neslihanturan Tested this again and it looks amazing now!! Nice work! 🚀
The load times, search this area, tapping individual images, links etc all work perfectly for me.
Just a couple of minor issues:

I know that in Commons all the images have "File:" and ".jpg" prefixes to them (denoting file page and file extension respectively), but I don't think that this is needed in a user-facing image browsing app. So for instance, in the screenshot below I think the image title should just be "Sunset in Beachmere at low-tide Moreton Marine Park". This should apply in both the expanded and non-expanded views.
Similarly, I think "Media Details" should be shortened to just "Details", which also makes it tidier on most screen sizes.

Again, great job and looking forward to releasing this soon! :)

Works perfectly, merging. Looking forward to this feature, thank you for your hard work @neslihanturan ! :)


[WIP] solarized: support for g:solarized_base16 by @cuviper

Ref: https://github.com/blueyed/vim-colors-solarized/commit/92f2f994
@cuviper
Does this make sense?
Do you use your variant still?

I do still use mine, but I don't know anything about airline.

@cuviper
Cool, and thanks again!
Is there a upstream URL / commit / branch for your Vim theme?
Do you use it for other programs, too?
IIRC I've found it via the vim-solarized issues?!

Thanks! (I think, we would need some documentation?)

@blueyed, my modifications are just in my fork, cuviper/vim-colors-solarized. For the most part I just use base16's own themes, but I don't like their vim theme as well as the original solarized, so here we are.

could you please document the setting? Then I am going to merge. Thanks.

@chrisbra
Where should I put it?
There's only README.md and it does not contain a config section?
I've amended the commit and added a link to https://github.com/cuviper/vim-colors-solarized.

Hm, I think we should add a help file then.

I added a help file, please update and add your configuration

@chrisbra
Cool!  Will add some doc.
There is a duplicate tag airline-themes now though (from airline-themes and airline).
Should the doc for airline use another one?  Or should the one from airline-themes get renamed to airline-themes-features (that's the section it's used there for).

Pushed an update, please review / comment.
Not ready for merging, needs to be squashed.

thanks for noticing. renamed the airline-themes tag in vim-airline-themes.txt

however, will review your changes later.

looks good, please squash.

@chrisbra
Done.

are you sure? It's still 2 commits.

Sorry, now it should be good.

thanks!


Issue 87 - Adding legendary creatures filter

I added a filter to allow filtering on legendary actions / lair actions.
This should close issue 87.

Thanks, this is merged now!


How to sort table by timestamp by default?

I have created a table and add it to dashboard.
But the table is always sorted by the first metric. How can I change the default sort key to timestamp?
Thx very much!

@zn19920623 you can find in "assets/visualizations/table.js", and search by the keyword "order("desc")".

Care to give more details on how to edit the code to make the table order by timestamp by default?

Notice: this issue has been closed because it has been inactive for 213 days. Feel free to comment and request for this issue to be reopened.


AttributeError: module 'tensorrt' has no attribute 'int64'

While trying to build llama 2 model , i'm facing this error .

I've converted llama2 successfully with docker environment. So docker environment is recommended.
Your question is very similar with https://github.com/NVIDIA/TensorRT-LLM/issues/34

The type INT64 was added in TensorRT 9.x so I suspect that your TensorRT version is not the right one (something like the default 8.6.x). Let me close that bug as a duplicate. Re-open if that’s not the issue (ie your TensorRT west 9.x)

Hi @jdemouth-nvidia I jave TRT 9.1 (TensorRT-<IP_ADDRESS>) and also explicitly setting path:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ec2-user/buddha/TensorRT-<IP_ADDRESS>/lib/ but seeing error:
command: python3 build.py --dtype=float16 --log_level=verbose
error:
AttributeError: module 'tensorrt' has no attribute 'int64'

It got resolved by installing wheel from TRT-9.1.x/python in the current environment.


Permission denied when running run-docker quicktest script

I am trying to run the notebook examples and following the steps mentioned on the Getting Started page of the document. I am encountering an error that has already been discussed in #854 and #673. I would like to point out that I have set up the env path as suggested by @fpjentzsch.

Also verified that docker is running in rootless mode. And have also used a non-home directory as discussed in previous issues.

However, I keep running into the PermissionError: [Errno 13] Permission denied: './.eggs'. I have attached the console output for the docker script as reference. I have also tried "pip install -U setuptools setuptools_scm wheel" as suggested which didn't help, cleared the docker cache, deps folder in the git repo and fetched the latest changes in the dev branch
Build.log.txt

The linked discussion is marked as answered, I am closing this issue. @prawin-kumar please feel free to reopen if you are still facing this issue.


Add N1QL language support

N1QL is a query language for the Couchbase NoSQL database. Fixes #1619.
N1QL, while intentionally similar to SQL, is not an extension or variant of SQL. As such, there are a number of differences in the classification of general keywords, operators and booleans, along with some other differences and structural changes.
This contribution adds syntax highlighting for N1QL, including the full set of builtin functions and operators.
Some examples:

Here is my full review:
Your current implementation does not support object construction and array slicing.
These two and my comments are all I could find. Really good work!

@RunDevelopment Thank you for the feedback! Seems to mostly come down to me not being the best with regexes, and a few oversights also...
I'll aim to make the changes and additions you suggested soon. Thanks again!

Took me much longer than I expected to get round to doing this, but the changes @RunDevelopment have been added!

The only real conflict is in prism-show-language.js.
To replace
<<<<<<< master
var Languages = /*languages_placeholder[*/{ ... }/*]*/;
=======
var Languages = /*languages_placeholder[*/{ ... }/*]*/;
>>>>>>> master

with
var Languages = /*languages_placeholder[*/{ ... }/*]*/;

What's between the brackets doesn't really matter, cause gulp will fill it in.
components.js and prism-show-language.min.js are both generated so running gulp will resolve these.

Thanks @RunDevelopment, that seems to have gone well!

Thank you for contributing!


Provide custom usage message

Instead of the docopt way to show the usage information we
provide an azurectl specific usage information. The usage
data now always consists of

the generic call
azurectl [global options] service <command> [<args>]

the command specific usage defined by the docopt string
short form by default, long form with -h | --help

the global options

I think I have tested all combinations, but the more people try it the better

First off, this is a huge step in the right direction. Thanks @schaefi :D
One nitpick though, is the double-render on usage, e.g.:
usage: azurectl [global options] service <command> [<args>]

usage: azurectl setup account -h | --help
       azurectl setup account configure --name=<account_name> --publish-settings-file=<file>

Maybe we avoid that by either adding the [global options] piece in the usage lines for the command; it's repetitive, but that's the nature of command definiton.
Thoughts?

I prefer removal one of the usage: statements


Staging into main WEG-89

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


Enhance cloud-instance-metadata plugin

Story
As a user I want to be able to return additional metadata about a cloud vendor so that downstream plugins can use the data in impact calculations.
Rationale
Returning metadata about a cloud generated by the real-time-cloud project as per the issue discussion here: https://github.com/Green-Software-Foundation/real-time-cloud/issues/14
This phase will just include some of the data described in the issue above, enough for manifests to be built that leverage the watttime plugin. Future phases will include the rest of the data mentioned in the rtc issue above.
Implementation details
This issue has several steps

[ ] Rename where appropriate the plugin to cloud-metadata instead of cloud instance metadata, since we are now returning information about the cloud as a whole rather than just an instance of the cloud.
[ ] Enhance CM, if there is a cloud/vendor and a cloud/region in the inputs, output the associated cloud/region-cfe, cloud/region-em-zone-id, cloud/region-wt-id, cloud/region-location, cloud/region-geolocation (note this fields that are output should be configurable) the source of this information is here: https://docs.google.com/spreadsheets/d/1RKjD4CuI5bd7JTj-9Mi1-ZhTIc6OW7TH9hUvLPbLsPA/edit#gid=0.
[ ] Update CM so it takes node level configuration where you can specify the actual fields it needs to output, since now it will output a lot and you might not need it all.

NOTE the below ISN'T required if we implement #484

[ ] Calculate geolocation field for the spreadsheet https://docs.google.com/spreadsheets/d/1RKjD4CuI5bd7JTj-9Mi1-ZhTIc6OW7TH9hUvLPbLsPA/edit#gid=0. Use whatever is the centre of the location column.

NOTE: The below item is a lower priority so we can leave it out if there isn't time

[ ] Update CM so there is a CSV in the repo that represents the data. Currently all the data is in a 1 line json file with no spaces, it's impossible for a human to see what data is had and to verify it.

For example
config:
  cloud-metadata:
    fields:
      - cloud/region-wt-id
      - cloud/region-geolocation

Priority
4/5
Scope
Affects the CIM plugin only
Size
1 -2 days
What does "done" look like?

Plugin returns data as per the implementation details above.
New unit tests cover the new feature
All existing unit tests pass

Does this require updates to documentation or other materials??
Yes, in the model README and docs website
What testing is required?
Existing tests pass, unit tests have 100% coverage
Is this a known/expected update?
Expected in sprint 7

This issue has several actions

[ ] Rename where appropriate the plugin to cloud-metadata instead of cloud instance metadata, since we are now returning information about the cloud as a whole rather than just an instance of the cloud.
[ ] Calculate geolocation field for the spreadsheet https://docs.google.com/spreadsheets/d/1RKjD4CuI5bd7JTj-9Mi1-ZhTIc6OW7TH9hUvLPbLsPA/edit#gid=0. Use whatever is the centre of the location column.
[ ] Enhance CM, if there is a cloud/vendor and a cloud/region also add in cloud/region-cfe, cloud/region-em-zone-id, cloud/region-wt-id, cloud/region-location, cloud/region-geolocation.
[ ] Update CM so there is a CSV that stores this data and that is what's converted to json or loaded up on load of the plugin. So people can review the data CM has easily.
[ ] Update CM so it takes node level configuration where you can specify the actual fields it needs to output, since now it will output a lot and you might not need it all.

config:
  fields: [the list of fields it should output]

@jawache Let's implement these changes after functional architecture releases. What you think about it?

@narekhovhannisyan, when is that release planned? I'm just capturing everything needed for the training we're planning to give on Wed 6th.

@jawache Functional architecture release will be probably tomorrow. If this one is urgent, we can include it in that release.

Oh no worries then, this can wait till next week. I either need it by Wednesday 6th OR I need to know it won't be ready by Wed 6th so I can remove it from the training material for that day.

@jawache No problem, please provide me the needed features for training material, so that I can base on them Monday's planning.

@manushak I've refined the ticket a little more to make some checklist items as lower priority if there is not enough time.

@manushak when it comes to region/wt-id etc just use the latest year, no need to match time.
The year becomes important when you are looking at some of the other columns but for location and id type fields just take the latest.


Reposition add and bulk delete buttons

Following comments by @fletch3555 (https://github.com/the-control-group/voyager/pull/1620#issuecomment-326385269), here's a PR to reposition the Bulk delete button.
I actually moved both the add and the bulk delete buttons below the title because having them on the same line made it look bad on mobile.

I'm open to suggestions to improve this all.

Awesome, thanks!


API: deprecated use of set_and_wait function

The functionality of the free function set_and_wait(obj, val) can be better
accomplished via obj.set(val).wait() and the existence of this function leads
to confusion.

I could be talked out of actually deprecating set_and_wait, but Signal is aware of the tolerances at it is not clear to me why you would want to change the tolerances as a function of time!
I did not move the implementation to Signal so that you could still do
try:
    import ophyd.utils.epics_pv._set_and_wait as set_and_wait
except ImportError:
    import ophyd.utils.epics_pv.set_and_wait as set_and_wait

at the top of a file and YOLO your way to back-compatibility.


Release/0.4.9

SprayConfiguration now lets you override the spray RejectionHandler (see #128)
"service-version" added to status endpoint (see #138)
specs2 upgraded to 3.6 (see #136)
various other improvements

I hope you don't mind that I put a brief changelog in your PR comment for you :)

@2rs2ts np thanks

Job549.3 =>
:::: ERRORS
	Server access Error: Connection timed out url=https://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/compiler-ivy-integration/0.13.8/ivys/ivy.xml

Job549.4 =>
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	::              FAILED DOWNLOADS            ::
[warn] 	:: ^ see resolution messages for details  ^ ::
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
[warn] 	:: com.jsuereth#pgp-library_2.10;1.0.0!pgp-library_2.10.jar
[warn] 	:: net.databinder#dispatch-http_2.10;0.8.10!dispatch-http_2.10.jar
[warn] 	::::::::::::::::::::::::::::::::::::::::::::::
sbt.ResolveException: download failed: com.jsuereth#pgp-library_2.10;1.0.0!pgp-library_2.10.jar

Yeah, I'm restarting those jobs. No reason why they should fail if their dependencies could be fetched.

nice it's good now~

Due to cascade not compiling for 2.10 (see https://github.com/etorreborre/specs2/issues/379) we are just going to release this for 2.11. We are going to drop 2.10 support in the next release.


bug/456-bug-mobile-view-date-selection-for-booking-face-to-face-needs-to-scale-down

 BUG: (Mobile view) Date selection for booking face to face needs to scale down


Feedback and some minor edits

Sorry for the slow turn-around, going through this now.  Looks great.
Will push some minor edits here.  So far this commit is just spelling, may add any other commits this morning to the PR.  PeerJ preprints is good, and would be happy to see this get submitted somewhere as well; maybe PeerJ for that too?  Or whatever you prefer.

Okay, overall looks great.  One could update some of the examples to be tighter modern tidyverse (purrr::map instead of sapply, maybe sf plots?) but they are fine as they are; still very clear and concise.
One thing we don't have is much on the design principles or development/maintenance process.  A short paragraph saying: Package development uses unit testing [@testthat] and continuous integration with nightly builds to ensure reliable behavior and identify possible issues.   The package is actively maintained on GitHub [link] by rOpenSci with contributions from community, including n pull requests from m developers and receives an estimated x downloads a month at the time of writing.  Current package releases are archived on the Zenodo data archive, providing robust backup to sources on GitHub an CRAN." ... or something like that.

cool, peerj preprints it is.
i like that idea for a paragraph on dev/maint. will add


Clarify System MI usage

Make it clearer that object id of system assigned managed identity must be used and placed in 'user id' connection string property.

@ErikEJ : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@karinazhou ...

We'll merge the PR. The approval didn't turn up in our twice daily queries, and I just saw that @cheenamalhotra approved 14 days ago. Also, we usually need sign-off by the content team or program management team, but in this case, @cheenamalhotra appears to work on the same team as the listed author, so we'll merge.
To be sure that PR reviewers see an approval and can then merge the PR, the author should type #sign-off in a comment in the PR. Thanks!

@ktoliver Thanks, is the #sign-off thing documented anywhere - I am a community contributor.

@ErikEJ: I'm sorry - only the author of this article, @karinazhou, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

@ktoliver Kristine Toliver (Aquent LLC) Vendor Thanks, is the #sign-off thing documented anywhere - I am a community contributor.

Hi @ErikEJ - My comment  about sign-off was directed at the Microsoft reviewers, although in general I was explaining why the pull request wasn't merged quickly, like it usually would be. I will be more specific in the future. I didn't mean to cause any confusion or ambiguity. Thanks!


[WIP] Add Sensecounts

WordNet includes files giving the counts of each wordsense in Semcor.
This PR makes them accessible.
It is pretty useful information for WSD.
It does increase the load time of WordNet some.
It is WIP, since I've not yet written any documentation for it.
Nor have I written any tests.

I haven't use the Semcor stuff. Interesting. Thanks for the WIP :)

Sense Counts are practically required for WSD tasks,
because of their highly unbalanced nature.
I should really finish this PR off.
I've been using it for almost 2 months, without having made the tests portable.


Binary Upload from URL

If I am following the documentation correctly Assets as a Cloud Service no longer allows a Java Bundle in AEM to create binary asset renditions.
Here's what I do in a Java bundle.
(1) Retrieve an InputStream from a URL through Apache httpcomponents httpclient 4.
(2) Set the original rendition through com.adobe.granite.asset.api.Asset.setRendition("original", stream, props) which I understand to be deprecated.
It would be great if aem-upload could be improved so that a fileUrl could be used as an option.

I missed the "blob" as an option to filePath. I think that this may satisfy requirements.

I missed the "blob" as an option to filePath. I think that this may satisfy requirements.


rocPRIM reduction (block_reduce_int) issue

Describe the bug
My simple reduction kernel that uses block_reduce_int() produces incorrect results with rocPRIM release branches 4.4+. Release branch 4.3 works fine. The same code compiles and runs fine with HIP on V100 and A100 based NVIDIA systems (CSC Puhti and Mahti supercomputers). I'm not 100% positive it is rocPRIM side issue but looks like it.
To Reproduce
Compiling and running  https://github.com/hokkanen/rocprim_issue/blob/master/hipcub_demo.cpp with rocPRIM release branches 4.4+ (see lines 14 and 17 to include the rocPRIM header) on Lumi supercomputer produces the issue.
Expected behavior
I expect to see the following:
The results calculated by GPU = 499500 and CPU = 499500 match!

Instead, I see this:
The results calculated by GPU = 460320 and CPU = 499500 do not match!

Environment
environment.txt

In the reproducer on the last block of the launch block_reduce won't be called by all threads in the block.
rocPRIM's block collective primitives must be called in block-uniform control flow, otherwise they might hang (the block algorithms are allowed to contain __syncthreads) or otherwise produce incorrect results.
This applies to CUB as well, so the reproducer probably just happens to work on CUB (will probably fail with a larger blocksize).
Can you try with the following modification?
// Local storage for the thread summation value
int thread_sum = 0;
// Check loop limits
if (idx < loop_size) {
  // Evaluate the loop body, the summation value is stored in thread_sum
  loop_body(idx, thread_sum);
}

// Compute the block-wide sum (aggregate) for the first thread of each block
#if USE_HIPCUB == 1
  int aggregate = BlockReduce(temp_storage).Sum(thread_sum);
#else
  int aggregate;
  block_reduce_int().reduce(thread_sum, aggregate, temp_storage, rocprim::plus<int>());
#endif

// The first thread of each block stores the block-wide aggregate to 'sum' using atomics
if(threadIdx.x == 0)
  atomicAdd(sum, aggregate);

Thanks, this indeed fixed the issue. Thanks a lot.


added md link support

Initial MD link support has been added and thoroughly tested. Please take a look at the code and provide feedback accordingly.

Fixes issue #7

Result:

MD file used to test it:

Hi @omalk98 This is ready for review!


How to run multiple local LM's?

Describe the issue
One powerful feature of Autogen is the ability to assign different agents to use specific LMs.  Is there a way to run multiple local LMs simultaneously?
I see the guidance in this  tutorial, but my understanding is that the oai.ChatCompletion.create API has been deprecated.
I also saw #237 , but this seems similar to the way I'm currently running Autogen using LMStudio - starting a server for a specific model.
So is there a way to run multiple local language models?

The same method works but the syntax needs to be migrated according to https://microsoft.github.io/autogen/docs/Installation#migration-guide-to-v02
@LeoLjl for awareness.

Thanks @sonichi.  I referred back to the blog post  and started from the top, trying to first get one model to work on a server.
I git cloned FastChat and installed all the libraries it uses.  Then proceeded to download a model from HuggingFace.
I ran python -m fastchat.serve.controller successfully.
Then when I run python -m fastchat.serve.model_worker --model-path path_to_hf_model  I get error:
AssertionError: Torch not compiled with CUDA enabled
This doesn't seem to be the error referenced in here.
I'm running on Windows with CPU, so can't use CUDA.

This seems like an error related to torch installation. Have you tried re-install torch?

Thanks @sonichi. I referred back to the blog post  and started from the top, trying to first get one model to work on a server.
I git cloned FastChat and installed all the libraries it uses. Then proceeded to download a model from HuggingFace.
I ran python -m fastchat.serve.controller successfully. Then when I run python -m fastchat.serve.model_worker --model-path path_to_hf_model I get error: AssertionError: Torch not compiled with CUDA enabled
This doesn't seem to be the error referenced here.
I'm running on Windows with CPU, so can't use CUDA.

Did you try adding '--device cpu' to the argument? python -m fastchat.serve.model_worker --model-path path_to_hf_model --device cpu

As far as I'm aware, LM Studio runs a single model at a time and you can't switch/choose based on the incoming request like you can with OpenAI (gpt-4 vs gpt-3.5-turbo, etc).  I haven't had a chance to try it yet but Ollama supposedly allows you to run multiple LLMs at the same time.  I'd have to go back and watch the demo video from Matt Berman on youtube but I think you basically run an endpoint for each LLM you want available.  Either way, he was able to run two models locally and then was able to interact with both of them with no noticeable delay beyond what's to be expected of running a local LLM.

@LeoLjl thanks for that suggestion, that takes care of that problem.
However, I now encounter an error on the python -m fastchat.serve.openai_api_server --host localhost --port 8000 step.
I also did try commenting out the finish_reason line as per the tutorial:
Here is the error:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Bob\Documents\Programming\FastChat\fastchat\serve\openai_api_server.py", line 24, in <module>
    from pydantic import BaseSettings
  File "C:\Users\Bob\.virtualenvs\FastChat-c0Sws4L0\Lib\site-packages\pydantic\__init__.py", line 363, in __getattr__
    return _getattr_migration(attr_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Bob\.virtualenvs\FastChat\Lib\site-packages\pydantic\_migration.py", line 296, in wrapper
    raise PydanticImportError(
pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.5/migration/#basesettings-has-moved-to-pydantic-settings for more details.

For further information visit https://errors.pydantic.dev/2.5/u/import-error

@mferris77 , thanks for the suggestion of Berman's video on running multiple open-source lms with LLama.  Unfortunately, I'm on Windows so unable to use that method.

@matsuobasho This seems like a typical pydantic version mismatch, I'm not sure how to solve it. I can provide you with a list of package version that works well on my end.
pydantic==1.10.12 uvicorn==0.23.2 fastapi==0.101.1 nest-asyncio==1.5.1 aiohttp==3.8.4 httpx==0.24.1

I am on windows as well. You just have to run ollama (and LiteLLM to provide the API) in WSL. It actually runs quite well now that I have it set up. Sent from my iPhoneOn Jan 3, 2024, at 2:28 PM, matsuobasho @.***> wrote:
@LeoLjl thanks for that suggestion, that takes care of that problem.
However, I now encounter an error on the python -m fastchat.serve.openai_api_server --host localhost --port 8000 step.
I also did try commenting out the finish_reason line as per the tutorial:
Here is the error:
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Bob\Documents\Programming\FastChat\fastchat\serve\openai_api_server.py", line 24, in
from pydantic import BaseSettings
File "C:\Users\Bob.virtualenvs\FastChat-c0Sws4L0\Lib\site-packages\pydantic_init.py", line 363, in getattr
return _getattr_migration(attr_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Bob.virtualenvs\FastChat\Lib\site-packages\pydantic_migration.py", line 296, in wrapper
raise PydanticImportError(
pydantic.errors.PydanticImportError: BaseSettings has been moved to the pydantic-settings package. See https://docs.pydantic.dev/2.5/migration/#basesettings-has-moved-to-pydantic-settings for more details.
For further information visit https://errors.pydantic.dev/2.5/u/import-error
@mferris77 , thanks for the suggestion of Berman's video on running multiple open-source lms with LLama.  Unfortunately, I'm on Windows so unable to use that method.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@LeoLjl I resolved the pydantic issues (had to modify the syntax a little because BaseSettings is moved to a separate pydantic-settings package in v.2).
So I'm able to run
python -m fastchat.serve.openai_api_server --host localhost --port 8000
CLI logs state that Uvicorn running on http://localhost:8000
So should I now be able to run something like the following?
config_list = [
    {
        "base_url": "http://localhost:8000",
        "api_key": "NULL"
    }
]

llm_config = {
    "timeout": 600,
    "seed": 42,
    "config_list": config_list,
    "temperature": 0
}

assistant = autogen.AssistantAgent(
    name="assistant",
    system_message="you are a coder specializing in Python.",
    llm_config=llm_config
)

user_proxy = autogen.UserProxyAgent(
    name="user_proxy",
    human_input_mode="NEVER",
    max_consecutive_auto_reply=10,
    is_termination_msg=lambda x: x.get("content", "").rstrip().endswith("TERMINATE"),
    code_execution_config={"work_dir": "web"},
    llm_config=llm_config,
    system_message="""Reply TERMINATE if the task has been solved at full satisfaction.
    Otherwise, reply CONTINUE, or the reason why the task is not yet solved."""
)

task = """
Write me a summary of this article: https://reason.org/aviation-policy-news/faa-safety-review-reveals-air-traffic-control-dysfunction/
"""

user_proxy.initiate_chat(
    assistant,
    message=task
)

Currently get an error
NotFoundError: Error code: 404 - {'detail': 'Not Found'}

@LeoLjl I resolved the pydantic issues (had to modify the syntax a little because BaseSettings is moved to a separate pydantic-settings package in v.2).
So I'm able to run python -m fastchat.serve.openai_api_server --host localhost --port 8000
CLI logs state that Uvicorn running on http://localhost:8000
So should I now be able to run something like the following?
config_list = [
    {
        "base_url": "http://localhost:8000",
        "api_key": "NULL"
    }
]

llm_config = {
    "timeout": 600,
    "seed": 42,
    "config_list": config_list,
    "temperature": 0
}

assistant = autogen.AssistantAgent(
    name="assistant",
    system_message="you are a coder specializing in Python.",
    llm_config=llm_config
)

user_proxy = autogen.UserProxyAgent(
    name="user_proxy",
    human_input_mode="NEVER",
    max_consecutive_auto_reply=10,
    is_termination_msg=lambda x: x.get("content", "").rstrip().endswith("TERMINATE"),
    code_execution_config={"work_dir": "web"},
    llm_config=llm_config,
    system_message="""Reply TERMINATE if the task has been solved at full satisfaction.
    Otherwise, reply CONTINUE, or the reason why the task is not yet solved."""
)

task = """
Write me a summary of this article: https://reason.org/aviation-policy-news/faa-safety-review-reveals-air-traffic-control-dysfunction/
"""

user_proxy.initiate_chat(
    assistant,
    message=task
)

Currently get an error NotFoundError: Error code: 404 - {'detail': 'Not Found'}

I also encountered the same problem, autogen has no reaction to this base_url.Have you solved this problem now？

@matsuobasho @Leekinxun If you are using openai<1, try changing 'base_url' to 'api_base'.

@LeoLjl I'm not using openai <1.  I didn't see the purpose of installing an outdated version of the library with deprecated syntax.  Should I be?

@matsuobasho There is no need. I was using openai<1 when writing the blog.

This is what I see from the logs after I launch the code referenced above:
2024-01-10 10:41:34 | INFO | model_worker | Register to controller
2024-01-10 10:41:34 | ERROR | stderr | INFO:     Started server process [17640]
2024-01-10 10:41:34 | ERROR | stderr | INFO:     Waiting for application startup.
2024-01-10 10:41:34 | ERROR | stderr | INFO:     Application startup complete.
2024-01-10 10:41:34 | ERROR | stderr | INFO:     Uvicorn running on http://localhost:21002 (Press CTRL+C to quit)
2024-01-10 10:41:42 | INFO | stdout | INFO:     ::1:51819 - "POST /chat/completions HTTP/1.1" 404 Not Found

@matsuobasho @Leekinxun If you are using openai<1, try changing 'base_url' to 'api_base'. Also check fastchat server logs to see if the server is receiving any connections.

it works, thank you.


Vision pretraining

Thanks for sharing your code! I was wondering if you could share the settings for reproducing the results with ViT initialization mentioned in section 3.2

Sorry for the very long wait, but the details are now in Section D.2 of our arXiv v2, and I've now added the code to the repo.


Readme update, redundant license

Removed old contributors from coca pods
Updated readme and links
Removed redundant license

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


Question: S3 bucket policies don't have any effect

Hi,
I am trying to set bucket policy for granting access to a user  who is not the owner of a bucket. While the policy is getting updated successfully, it simply is in-effective. For testing, I have granted "s3:ListBucket" access but still that user is unable to list the bucket and get's an AccessDenied error. I have tried explicitly granting all access: "s3:*" but still the user cannot perform any action over that bucket.
If I add this bucket under 'Permitted buckets' from UI for that user account, then he is able to access it but then has full_control over it such as he can even delete it which I want to restrict.
Policy:
policy.txt
DB entry of that bucket:

Error:

I have verified that the s3cmd configuration is set for the user who has been added using the policy.json file. Please let me know what am I doing wrong and why the policy is not in effect.
Noobaa version is 5.8.0 and is deployed on a OCP cluster 4.8.14.

I suspect this has to do with the allowed buckets. If you look at the UI at the accounts you would see that each account has allowed buckets, and actual access is calculated by both the policy and allowed buckets. We are in the process of removing the allowed buckets altogether, but for now I would suspect adding the bucket to the allowed of the account would make it work

This is a well known GAP we have: #6251
allowed statement currently doesn't overrule bucket missing from allowed buckets.
So the only option is to allow the bucket and deny what you want from that user, or allow what you need and then add a deny all (again when the bucket is in the allowed list).

@nimrod-becker  @jackyalbo , Thank you for pointing me in correct direction.
By using the combination of 'permitted buckets (available in UI)' + 's3 deny rules' , I was able to deny bucket deletion requests.


Documentation on how to preprocess NaN values below topography

Discussed in https://github.com/csyhuang/hn2016_falwa/discussions/121
Add a documentation page about how climate data with topography mask (i.e. data under topography is masked NaN) is preprocessed before being passed into QGField.

Originally posted by henrikauestad July  2, 2024
Hi!
How are NaN (numpy.nan) values dealt with?
I am asking because I tried computing LWA (following notebooks/nh2018_science/demo_script_for_nh2018_with_xarray.ipynb), first supplying a dataset with values extrapolated to pressure levels below topography. That worked fine, but I get some odd results for the "convergence_zonal_advective_flux" around, and at the same latitudes to the high topography.
Trying again, supplying a dataset where np.nan is prescribed to all grid points below topography, QGDataset.compute_lwa_and_barotropic_fluxes() crashes because it uses to much memory.
Is there a better way to deal with values below topography?
Thanks a lot for a easy to use package!
Best,
Henrik

Documentation is included on this page:
https://github.com/csyhuang/hn2016_falwa/blob/093d278b4506ef47e3e1440a366a851bbc86cecc/docs/source/Preprocessing.rst


Blue/Green API - Rename "deploy" to "switch"

this has been merged into https://github.com/amazeeio/lagoon/pull/1704


Example how to save cache in file and reload using gob an c.Items() ?

Hii !!
I need to save cache in file and then reload when restart. I didn't find any help. Can you please give an example how to do that ?

use gob.register your struct. cache.savefile() to save and cache.loadfile() to load


[Bug] The client does not handle eth_estimateGas eth_call correctly

start:
./target/release/helios -e https://eth-mainnet.g.alchemy.com/v2/<key> -l
[2022-12-21T08:22:43Z INFO  client::rpc] rpc server started at <IP_ADDRESS>:8545
[2022-12-21T08:22:43Z INFO  consensus::consensus] Consensus client in sync with checkpoint: 0xb2724df10aac12429d46d5b7a8571419711891e49b6d71d1fd47647ef78140c4
[2022-12-21T08:22:49Z INFO  consensus::consensus] updated head               slot=5395564  confidence=99.41%  age=00:11:09:38
[2022-12-21T08:22:49Z INFO  consensus::consensus] sync committee updated
[2022-12-21T08:22:49Z INFO  consensus::consensus] finalized slot             slot=5395488  confidence=99.41%  age=00:11:24:50
...

 Either all transactions in a certain block can be obtained, or none can be obtained.
When the transaction in the block is longer than a time (such as 30min), the data cannot be obtained.
Up to 9 blocks within 0-30 minutes, three blocks of 3 minutes, 13 minutes and 16 minutes can get data, and blocks of 10s, 30s, 1 minute, 2 minutes, 6 minutes, and 9 minutes cannot get data to the data. And tried again after a few minutes, still the same result.
I guess the issue caused by the maintenance logic of Client.node.payloads. payloads stores the block.execution_payload returned by the beacon chain, and only stores the latest 64 (default). The execution layer RPC needs to obtain relevant data from payloads before calling the execution layer rpc interface provider, but this can only explain that block data cannot be obtained for a period of time.
Have you considered adding new modes to Helios Client? For example, if the data verified by Helios is returned: { data: Data, verified: true }; if the data cannot be obtained, as earlier blocks were discarded, or not synchronized to payloads, the data should be obtained directly from the execution layer PRC service provider , and return { data: Data, verified: false } instead of direct service unavailable.

Yeah the inability to fetch old transactions is because of the reason you've described. I think once good solution is that we could add a history length option, so that we can fetch much older data. Additionally, we can work to add a way to backfill data at the start, so that data from some blocks before Helios starts up is still accessible. This should be possible by just following the chain backwards and verifying the block hash pointers.
Not sure if it is a good idea to make the RPC deviate from the specification though with the verified flag unless there is a very strong need for it.
As for why those calls are failing, that is definitely a bug. I think I know whats causing it. Will keep you updated on this one. Should be an easy fix.


Make it always obvious how to add the badge status to projects. Fixes…

… #415
As a side-effect, we no longer need the "trophy" image, so remove it.
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

[Current coverage][cc-pull] is 98.29%

Merging [#418][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #418   diff @@
==========================================
  Files            37         37
  Lines           878        878
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            863        863
  Misses           15         15
  Partials          0          0

Powered by Codecov. Last updated by [72922aa...1aea803][cc-compare]
[cc-base-branch]: https://codecov.io/gh/linuxfoundation/cii-best-practices-badge/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/linuxfoundation/cii-best-practices-badge/compare/72922aacc653443947c21611dbedc73493b6863a...1aea8038f1914c0ec329c08081c5dd5f1c75d2c9
[cc-pull]: https://codecov.io/gh/linuxfoundation/cii-best-practices-badge/pull/418?src=pr

This is a big improvement, but please add the rendered badge above the markdown so that users can see what they'll be embedding.

Won't that placement be kind of confusing? Especially since there's a green percentage bar to its right?


chore: fix test262

The latest master branch no longer runs test262 due to an error. This PR fixes test262 to run.

Codecov Report
Patch and project coverage have no change.

Comparison is base (0f7744e) 61.79% compared to head (066b909) 61.79%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   61.79%   61.79%
=======================================
  Files           1        1
  Lines        2856     2856
  Branches      932      932
=======================================
  Hits         1765     1765
  Misses       1084     1084
  Partials        7        7

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[SPARKR-199] Change takeOrdered, top to fetch one partition at a time

Change "takeOrdered" and "top" to fetch one partition at a time like "take".

LGTM at a high level; I left some minor comments. Thanks @hqzizania!

Sorry, I rebased my fork and did something else.... It seems that I have to reopen a PR.


Add support for DataFrameClient chunked queries

DataFrameClient currently does not properly handle chunked requests [StackOverflow question]. This PR fixes that.

@gusutabopb this looks solid, well done! Could you please rebase + squash this request and we'll look to merge?
@aviau ready to merge when squashed!

Can you please rebase and squash your commits, then will merge.

You can do that yourself with the "squash and merge" button:

@sebito91 Sorry for the late response. This is my first PR and I couldn't find that squash & merge button:

It seems it's merged now (thanks!), but the git history is kind of dirty with all the intermediate commits I made to update the branch to master. Is there anything I can do to fix that (or at least avoid it going forward)? Thanks!

That is correct, you won't see the options for merging because you don't have write permission to the repo. It's not ideal for us to force it through the GUI, but hey it works. In the future, you would do something as follows:
1. git pull --verbose --rebase upstream master
2. count the number of commits between previous HEAD and your new HEAD (in this case it looks like 9)
3. git rebase --interactive --verbose HEAD~9
4. leave the first line as pick, mark the other 8 as fixup
5. save and quit that file
6. git push --verbose --force origin <branchname>

Good practice when submitting PRs is to either mark subsequent commits as fixup commits (https://fle.github.io/git-tip-keep-your-branch-clean-with-fixup-and-autosquash.html) which can help you do that rebase I mentioned or just squash them each time when you submit changes based on feedback or requests.
We'll fix things up for the next time, but thank you very much for your effort here! If you have any more questions please feel free to email me or hop onto #influxdb in freenode.


How to add dynamically a new component

I am looking for a possibility to add a new component dynamically. You can click a button and a new component is listed.
if someone could point me towards an example it would be really great?!?
Best regards

Same here... I can't find any docs either...

Try adding it to $builder.components

Found a way but custom values are overridden by the component-values.


Does this project run locally on a Quest2?

Great video and project. I try to run this project locally on my Quest2. So I installed and run the Android Studio (SDK), create a keystore and create an APK. I installed the APK with Sidequest on my Quest2. But if I start the app the app didn't start. I see only three dots and nothing happen. Can this project in principle run locally on a Quest2? Or do I have missed to set some VR or Quest2 options during the build? There are some videos on youtube for the Quest1 but it seems they are outdated. Is there some new stuff? Thx for help.

Heya, in theory it should work on the quest 2 just fine with the latest version of the OpenXR plugin. I didn't do much work around making sure its optimised. I've heard others mention about their projects not loading properly on a Quest 2 but that usually turns out to be because they forgot to call initialise on the plugin. That should be happening here though.

I can't get Godot to run on Quest2. Is there a new video or a step by step document for Quest2 with the current Godot version? A friend of mine also failed because of VR Godot.

Try and see if the new release of the plugin works for you: https://github.com/GodotVR/godot_openxr/releases/tag/1.1.1
So far a number of people have reported issues, but I also know various Quest 2 users that are able to use this just fine. So far I'm in the dark as to why it doesn't work for everyone but I'm hoping it is just an issue with the previous version of the plugin.

I saw your video and decided to try it out. I tried just changing my android export to OpenXR instead of Regular. Not sure if more steps are required.

Ah! that makes sense. It looks like the .so files are being filtered out so the plugin is incomplete. Let me rectify that (and update this repo to include the 1.1.1 version of the add on).

Thanks for letting me know, glad we found the real cause in the end :)


Extend text to support yielding lines, paragraphs or documents

Add config.row option to text module to allow yielding lines (default, current case), paragraphs or documents.
Feel free to comment on the name of the config parameter row:

Currently, the docs state datasets are made of rows and columns
Other names I considered: example, item

The parameter can also be named separate_by

The parameter can also be named split_by with values "line", "paragraph" or "document" (no 's' at the end)

@lhoestq @mariosasko I would avoid the term split in this context and keep it only for "train", "validation" and "test" splits.

https://huggingface.co/docs/datasets/process.html#split

datasets.Dataset.train_test_split() creates train and test splits, if your dataset doesn’t already have them.

https://huggingface.co/docs/datasets/process.html#process-multiple-splits

Many datasets have splits that you can process simultaneously with datasets.DatasetDict.map().

Please note that in the documentation, one of the terms more frequently used in this context is "row":

https://huggingface.co/docs/datasets/access.html#features-and-columns

A dataset is a table of rows and typed columns.

Return the number of rows and columns with the following standard attributes:
dataset.num_columns
4
dataset.num_rows
3668

https://huggingface.co/docs/datasets/access.html#rows-slices-batches-and-columns

Get several rows of your dataset at a time with slice notation or a list of indices:

https://huggingface.co/docs/datasets/process.html#map

This function can even create new rows and columns.

Other of the terms more frequently used in the docs (in the code as well) is "example":

https://huggingface.co/docs/datasets/process.html#map

It allows you to apply a processing function to each example in a dataset, independently or in batches.

https://huggingface.co/docs/datasets/process.html#batch-processing

datasets.Dataset.map() also supports working with batches of examples.

https://huggingface.co/docs/datasets/process.html#split-long-examples

When your examples are too long, you may want to split them

https://huggingface.co/docs/datasets/process.html#data-augmentation

With batch processing, you can even augment your dataset with additional examples.

Less frequently used: "item":

https://huggingface.co/docs/datasets/package_reference/main_classes.html#datasets.Dataset.add_item

Add item to Dataset.

Other term used in the docs (although less frequently) is "sample". The advantage of this word is that it is also a verb, so we can use the parameter: "sample_by" (if you insist on using a verb instead of a noun).
In summary, these proposals:

config.row
config.example
config.sample
config.sample_by

I like sample_by. Another idea I had was separate_by.
It could also by sampling_method, separation_method.
Not a big fan of the proposed nouns alone since they are very generic, that's why I tried to have something more specific.
I also agree that we actually should avoid split to avoid any confusion

Thanks for the analysis of the used terms. I also like sample_by (separate_by is good too).

Thank you !! :D


[backport] Use filename in PlotReport example

Backport of #6880

Strange. Are you using chainer/backport to create this? Usually, it would automatically run Jenkins when the PR is created.
Jenkins, test this please.

Jenkins CI test (for commit a48f3329fcbe33b9f0fe192083f3faee68839b1d, target branch v6) failed with status FAILURE.

Strange. Are you using chainer/backport to create this? Usually, it would automatically run Jenkins when the PR is created.

Yes, I'm using that repository. Ah, it might be due to the configuration of my GitHub token.
Can I trigger Jenkins even if I'm just a contributor?

The labels were missing.

Strange. Are you using chainer/backport to create this? Usually, it would automatically run Jenkins when the PR is created.

Yes, I'm using that repository. Ah, it might be due to the configuration of my GitHub token.

I think so.

Jenkins issue looks unrelated. Merging!


Salem High School

Salem High School in Rockdale County School District
Google Maps Link to the district
Rockdale County School District: https://www.google.com/maps/place/Rockdale+County+School+District,+GA/@33.6808979,-84.1197578,11z/

How long will it usually take to do this?

Currently, they are having delays due to COVID-19, so it may take a little while since there is no accurate estimation of time...

Ok thank you for the notice, I just hope it gets added soon also the student email is “students.rockdale.k12.ga.us” if that info is needed.

Ok thank you for the notice, I just hope it gets added soon also the student email is “students.rockdale.k12.ga.us” if that info is needed.

No problem at all, also, I believe that the institute you are trying to add is a Secondary Grade School, since if that so and if the school doesn't offer Higher Education Curreculum then it won't be eligible in SWOT as per the conditions mentioned in their README.md

@Jenit-Patel Pull request merged. Thank you!


fix: install missing tzdata

This will fix issue #8

Hi @mpgo13! First of all, thanks for your interest in this project. I'm taking a look at your PR, but it looks alright. 👍 I'll get it merged soon!


Latest extension Not Working

Do not report invalid user agents.
Make sure you have read the troubleshooting before submitting a bug report.

I have read the Troubleshooting
Yes
Describe the bug
Tried multiple versions, the extension is not doing any searches for the points.
Since when
2 days ago. Started 4/26/2023
Screenshots
There are no errors in the error section.
Your country
USA
Your web browser and OS
Chrome, Windows
Additional context
This is all that shows on the extension:

Did you enable any of the user agent overrides? What is the extension icon like?

Same problem. only work manually

Go to chrome://extensions and check the error messages

the extension is blue but not working.

after minutes of wait it gives an error

Hi your issue is completely different from that posted by OP. Could you please summarise your issues in a new post to keep this issue discussion focused? Thanks :)

This is the error I'm getting:

Could you please go to the extension options and click the Copy debug info button? It will silently put a lot of stuff in your clipboard. Can you then paste it into https://pastebin.com/ and share the link here please?

I've got the same problem. Here's my error log: https://pastebin.com/X3g1Nnzw

I've got the same problem. Here's my error log: https://pastebin.com/X3g1Nnzw

Are you sure you are getting the exact same error as shown in this comment? If not can you post your error screen?

yea this is a user agent issue. report it here #119

Here is the link: https://pastebin.com/JPs7Htat

Any proper solutions ?

I am facing the same errors

Here is the link: https://pastebin.com/JPs7Htat

That's weird. The issue you had was the app not able to get the response that the 'copy debug info' button was able to get... The code behind is exactly the same. Is the extension working properly now by any chance?

I am facing the same errors

same you mean exactly the same error as shown in the second screenshot in the top post?

Here is the link: https://pastebin.com/JPs7Htat

That's weird. The issue you had was the app not able to get the response that the 'copy debug info' button was able to get... The code behind is exactly the same. Is the extension working properly now by any chance?

It's still not working.

The extension seems to be working on Microsoft Edge.

The extension seems to be working on Microsoft Edge.

Why do you actually have more wins with the automatic searches? Does that happen after a certain streak?


TGW-VPN Attachment Failover

Please up-vote if you want this feature. Do not submit a new feature request.

Not planning to support this feature at this time.


Accounts Calculator Button Broken

Defective ToolKit Feature Name:
Expected Behavior
Button used to be on the right side of the screen beside the save buttons when entering a transaction. Clicking it used to open the calculator GUI.
Actual Behavior
Button is now on left hand of the screen, under the checkbox for the transaction. Clicking it does nothing.
Steps to Reproduce the Behavior

Enter a new transaction in an account.
Click the calculator button

Export of Toolkit Settings (Bottom Left of Settings Page)
[{"key":"AutoCloseReconcile","value":false},{"key":"CustomFlagNames","value":false},{"key":"DisplayTargetGoalAmount","value":false},{"key":"HideReferralBanner","value":false},{"key":"RunningBalance","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"StealingFromFuture","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"accountsClearSelection","value":false},{"key":"accountsDisplayDensity","value":"0"},{"key":"accountsEmphasizedOutflows","value":false},{"key":"accountsRowHeight","value":"0"},{"key":"accountsStripedRows","value":false},{"key":"activityTransactionLink","value":true},{"key":"betterScrollbars","value":"0"},{"key":"budgetBalanceToZero","value":true},{"key":"budgetProgressBars","value":"0"},{"key":"budgetQuickSwitch","value":false},{"key":"budgetRowsHeight","value":"0"},{"key":"calendarFirstDay","value":"0"},{"key":"categoryActivityPopupWidth","value":"0"},{"key":"changeEnterBehavior","value":false},{"key":"checkCreditBalances","value":false},{"key":"checkNumbers","value":false},{"key":"closeReconcileWindow","value":false},{"key":"collapseExpandBudgetGroups","value":false},{"key":"collapseSideMenu","value":true},{"key":"colourBlindMode","value":false},{"key":"compactIncomeVsExpense","value":false},{"key":"currentMonthIndicator","value":false},{"key":"daysOfBuffering","value":false},{"key":"daysOfBufferingHistoryLookup","value":"0"},{"key":"editButtonPosition","value":"0"},{"key":"enableRetroCalculator","value":false},{"key":"enlargeCategoriesDropdown","value":true},{"key":"exportTransactions","value":false},{"key":"goalIndicator","value":false},{"key":"goalIndicatorWarningColor","value":false},{"key":"googleFontsSelector","value":"0"},{"key":"hideAOM","value":false},{"key":"hideAccountBalancesType","value":"0"},{"key":"hideHelp","value":false},{"key":"highlightNegativesNegative","value":false},{"key":"importNotification","value":"0"},{"key":"incomeFromLastMonth","value":"0"},{"key":"l10n","value":"0"},{"key":"largerClickableIcons","value":false},{"key":"monthlyNotesPopupWidth","value":"0"},{"key":"navDisplayDensity","value":"0"},{"key":"pacing","value":"0"},{"key":"popupCalculator","value":true},{"key":"printingImprovements","value":true},{"key":"privacyMode","value":"0"},{"key":"reconciledTextColor","value":"0"},{"key":"removePositiveHighlight","value":false},{"key":"removeZeroCategories","value":false},{"key":"reports","value":true},{"key":"resizeInspector","value":false},{"key":"rightClickToEdit","value":true},{"key":"runningBalance","value":false},{"key":"seamlessBudgetHeader","value":false},{"key":"showIntercom","value":true},{"key":"spareChange","value":false},{"key":"splitKeyboardShortcut","value":true},{"key":"splitTransactionAutoAdjust","value":false},{"key":"squareNegativeMode","value":false},{"key":"stealingFromNextMonth","value":false},{"key":"swapClearedFlagged","value":false},{"key":"toBeBudgetedWarning","value":false},{"key":"toggleSplits","value":false},{"key":"toggleTransactionFilters","value":"0"},{"key":"warnOnQuickBudget","value":false}]

System Settings
ToolKit Version:  1.0.2
Operating System (Mac/Windows/Etc): Windows 10 64bit
Browser (Chrome/Firefox/Safari): Chrome
Browser Version: Version 59.0.3071.115 (Official Build) (64-bit)
Other Extensions:
ahfgeienlihckogmohjhadlkjgocpleb : Web Store : version 0_2
aomjjhallfgjeglblehebfpbcfeobpgk : 1Password: Password Manager and Secure Wallet : version 4_6_7_90
apdfllckaahabafndbhieahigkjlhalf : Google Drive : version 14_1
blpcfgokakmgnkcojhhkbfbldkacnbeo : YouTube : version 4_2_8
cfhdojbkjhnklbpkdaibdccddilifddb : Adblock Plus : version 1_13_2
eemcgdkfndhakfknompkggombfjjjeno : Bookmark Manager : version 0_1
efaidnbmnnnibpcajpcglclefindmkaj : Adobe Acrobat : version 15_1_0_6
ekhagklcjbdpajgpjgmbionohlpdbjgc : Zotero Connector : version 5_0_5
epejdmjgfibjaffbmojllapapjejipkh : Samsung Internet : version 2_0_7
gfdkimpbcpahaombhbimeihdjnejgicl : Feedback : version 1_0
gpdjojdkbbmdfjfahjcgigfpmkopogic : Pinterest Save Button : version 2_0_8
kmendfapggjehodndflmmgagdbamhnfd : CryptoTokenExtension : version 0_9_46
lmhdkkhepllpnondndgpgclfjnlofgjl : Toolkit for YNAB : version 1_0_2
mfehgcgbbipciphmccgaenjidiccnmng : Cloud Print : version 0_1
mhjfbmdgcfjbbpaeojofohoefgiehjai : Chrome PDF Viewer : version 1
neajdppkdcdipfabeoofebfddakdcjhd : Google Network Speech : version 1_0
nkeimhogjdpnpccoofpliimaahmaaome : Google Hangouts : version 1_3_3
nmmhkkegccagdldgiimedpiccmgmieda : Chrome Web Store Payments : version 1_0_0_2
okadibdjfemgnhjiembecghcbfknbfhg : Enhanced Steam : version 9_4
pjkljhegncpnkpknbcohdijeoejaedia : Gmail : version 8_1
pkedcjkdefgpdelpbcmbmeomcjbeemfm : Chrome Media Router : version 5917_424_0_6

This is a result of the June 28th YNAB update that changed where the "actions" buttons are placed when editing or adding a transaction. One of several ToolKit features that the update broke. Hopefully fixes will be available this weekend but I'm not promising they will be.

OK, good to hear that it will be fixed.

Mine does the same thing, but it also creates an empty white box on the right of the screen that pushes the register to the left.

Do you have the running balance feature turned on? I think there white space is related to that. I'm working on the calculator issue but haver family in town for the 4th so it's hard to find time.

I do not have the running balance feature turned on.

I have the same issue and have the running balance turned on.

I just went to test this now that a new release has come out.
But it seems that my problem is still there.
Although, all I have to do is select the amount field on one of the splits in a split transaction and the white column appears to the right pushing everything to the left (as in the image I posted above).
So...  I may have been mistaken that this is related to the calculator.
It appears to just be related to selecting one of the amounts among the splits of the transaction.
And the problem still occurs even after the release.

Alright.  The problem actually occurs if I select the amount in a non split transaction as well.  :-)

See the "in-progress" label on this issue? It's there because the fix is in progress. Also this was not mentioned as fixed in the release notes. Working on it as much as I can.

Just updating.  :-)

Hi guys.  I'm still having this issue.  Currently running Toolkit Version 1.1.0.  I re-checked my settings, un-installed and re-installed the Toolkit.  No joy.  Screenshots above mirror what I'm seeing.
Toolkit Settings
[{"key":"AccountsDisplayDensity","value":"0"},{"key":"AccountsEmphasizedOutflows","value":false},{"key":"AccountsStripedRows","value":true},{"key":"AdditionalColumns","value":true},{"key":"AdjustableColumnWidths","value":false},{"key":"AutoCloseReconcile","value":false},{"key":"ChangeEnterBehavior","value":true},{"key":"CheckNumbers","value":false},{"key":"ColourBlindMode","value":false},{"key":"CustomFlagNames","value":false},{"key":"DisplayTargetGoalAmount","value":"0"},{"key":"GoalWarningColor","value":true},{"key":"HideAgeOfMoney","value":true},{"key":"HideReferralBanner","value":true},{"key":"PrintingImprovements","value":true},{"key":"RemovePositiveHighlight","value":false},{"key":"RowHeight","value":"0"},{"key":"RunningBalance","value":false},{"key":"ShowCategoryBalance","value":false},{"key":"SquareNegativeMode","value":true},{"key":"StealingFromFuture","value":false},{"key":"TargetBalanceWarning","value":false},{"key":"accountTransactionSearch","value":false},{"key":"accountsClearSelection","value":false},{"key":"accountsDisplayDensity","value":"0"},{"key":"accountsEmphasizedOutflows","value":false},{"key":"accountsRowHeight","value":"0"},{"key":"accountsSelectedTotal","value":true},{"key":"accountsStripedRows","value":true},{"key":"activityTransactionLink","value":true},{"key":"betterScrollbars","value":"0"},{"key":"budgetBalanceToZero","value":true},{"key":"budgetProgressBars","value":"goals"},{"key":"budgetQuickSwitch","value":false},{"key":"budgetRowsHeight","value":"0"},{"key":"calendarFirstDay","value":"0"},{"key":"categoryActivityPopupWidth","value":"0"},{"key":"changeEnterBehavior","value":true},{"key":"checkCreditBalances","value":false},{"key":"checkNumbers","value":false},{"key":"closeReconcileWindow","value":false},{"key":"collapseExpandBudgetGroups","value":false},{"key":"collapseSideMenu","value":true},{"key":"colourBlindMode","value":false},{"key":"compactIncomeVsExpense","value":false},{"key":"currentMonthIndicator","value":true},{"key":"daysOfBuffering","value":false},{"key":"daysOfBufferingHistoryLookup","value":"0"},{"key":"editButtonPosition","value":"0"},{"key":"enableRetroCalculator","value":true},{"key":"enlargeCategoriesDropdown","value":true},{"key":"enterInRegisterNow","value":true},{"key":"exportTransactions","value":false},{"key":"goalIndicator","value":false},{"key":"goalIndicatorWarningColor","value":false},{"key":"googleFontsSelector","value":"0"},{"key":"hideAOM","value":true},{"key":"hideAccountBalancesType","value":"0"},{"key":"hideHelp","value":true},{"key":"highlightNegativesNegative","value":false},{"key":"importNotification","value":"2"},{"key":"incomeFromLastMonth","value":"2"},{"key":"l10n","value":"0"},{"key":"largerClickableIcons","value":false},{"key":"monthlyNotesPopupWidth","value":"0"},{"key":"navDisplayDensity","value":"0"},{"key":"options.dark-mode","value":true},{"key":"pacing","value":"0"},{"key":"popupCalculator","value":true},{"key":"printingImprovements","value":true},{"key":"privacyMode","value":"0"},{"key":"reconciledTextColor","value":"0"},{"key":"removePositiveHighlight","value":false},{"key":"removeZeroCategories","value":true},{"key":"reports","value":true},{"key":"resizeInspector","value":true},{"key":"rightClickToEdit","value":true},{"key":"runningBalance","value":false},{"key":"seamlessBudgetHeader","value":false},{"key":"showIntercom","value":true},{"key":"spareChange","value":false},{"key":"splitKeyboardShortcut","value":true},{"key":"splitTransactionAutoAdjust","value":true},{"key":"squareNegativeMode","value":true},{"key":"stealingFromNextMonth","value":false},{"key":"swapClearedFlagged","value":false},{"key":"toBeBudgetedWarning","value":false},{"key":"toggleSplits","value":true},{"key":"toggleTransactionFilters","value":"0"},{"key":"warnOnQuickBudget","value":false}]
System Settings
ToolKit Version:  1.1.0
Operating System (Mac/Windows/Etc): OSX 10.12.5
Browser (Chrome/Firefox/Safari):  Chrome
Browser Version:  Version 59.0.3071.115 (Official Build) (64-bit)
Other Extensions:
uBlock Origin 1.13.2
Ghostery 7.2.2
1Password <IP_ADDRESS>

A PR has been submitted so the fix should be part of the next release.

Apologies, thought it was already released since the last version was 1.02.
On Jul 18, 2017 4:42 PM, "David Baldon"<EMAIL_ADDRESS>wrote:

A PR has been submitted so the fix should be part of the next release.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/toolkit-for-ynab/toolkit-for-ynab/issues/824#issuecomment-316206691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AM0hKZJzzviTed89C9M7TjpGZkSMIFx3ks5sPSbCgaJpZM4OJnGV
.

No worries.

Fixed in the last release.


Some maps will not recycle

It seems with build 231 some maps will not recycle. Server log: http://pastebin.com/eDcPyT5B
Steps to reproduce: Set a map, cycle it to the same map and it won't cycle. This only happens on certain maps.

Delete all uid.dat files in your map repository.


Performance improvements for _gej_add_ge

A few local refactorings in secp256k1_gej_add_ge() that give a small performance improvement; I measure about 1.4% here (bench_sign).

Tested ACK, aside from the comment fixes I mentioned. Confirmed the 1.4% perf improvement (looks like 1.6 to me).