Use Ben.Demystifier to fold stacks

Now that we have excellent library to make stacks more readable (https://github.com/benaadams/Ben.Demystifier) wouldn't it be good idea to implement something similar to be used in PerfView to fold stacks to hide e.g. some internal async/TPL stuff?
I realize that we cannot use this library directly as most (if not all) metadata is not present in the PerfView trace, but maybe some tricks can be applied to make stacks more user-friendly?
Most likely this should be optional, though, to enable profiling internal stuff as well.

Certainly a lot can be done to make stacks more friendly.   I would be supportive of this.   As you mention, I would want the option of turning it off, but that should not be hard.

Now that I'm 'done' with initial presets implementation (PR submitted), I'd like to look into this one. I know I can fold away all internals by folding everything in .NET assemblies, but in my scenarios I am actually interested in the stacks from inside .NET framework itself, but some things are producing too much noise.
I'd like to approach this by several steps and start with removal of async/await (and TPL) machinery. Namely, I'd like to have following methods folded by default:

Task<>.InnerInvoke
Task.ExecuteWithThreadLocal
Task.Execute
Task.ExecutionContextCallback
Task.ExecuteEntry
Task.InnerInvoke
ExecutionContext.RunInternal
ExecutionContext.Run
ExceptionDispatchInfo.Throw
For types: TaskAwaiter, TaskAwaiter<>, ConfiguredTaskAwaitable.ConfiguredTaskAwaiter and ConfiguredTaskAwaitable<>.ConfiguredTaskAwaiter do not show following methods:

HandleNonSuccessAndDebuggerNotification
ThrowForNonSuccess
ValidateEnd
GetResult

Also fold all methods from System.ThrowHelper

@vancem what do you think? And what would be the proper place to put an option to turn this off? Some global option in the View menu (common for all opened stack windows)?
The next thing I'd like to understand is how to recalculate stack so that async methods show methods they await as a child (something that Visual Studio team recently did). I see that ActivityComputer already knows about async/await and the events that allow one to glue two stacks, but as far as I understand this is not what applied in CPU Stacks window where I'd like it to be. Could you give a guide here - am I missing something or is that something to be developed if I like it to be visible in CPU Stacks window?

The next thing I'd like to understand is how to recalculate stack so that async methods show methods they await as a child (something that Visual Studio team recently did).

This is what the 'Thread Time' views do.   In particular the 'Thread Time with Start-Stop Activities' is the view you want (if you only want CPU, then you can simply filter to only include stacks with CPU_TIME' in them).
This view also folds much of the Task machinery by default as you want.   Tweeking these defaults  is certainly possible.

This is what the 'Thread Time' views do. In particular the 'Thread Time with Start-Stop Activities' is the view you want (if you only want CPU, then you can simply filter to only include stacks with CPU_TIME' in them).
Yes, that's true. But 'Thread Time' view only show up when I enable "Thread time" collection. Normally I'm not interested in thread time collection, but want Task machinery folding.

The only Task-enabled view without enabling 'Thread time' checkbox  is 'Any TaskTree' which is not very helpful for typical CPU investigation.
Also I'm fine with standard Tasks (created via Task.Run, etc) show up as separate stacks. It's only async/await default folding that I'd like to happen.
What would be your suggestion here? Do you see any good changes that can be done to make 'CPU Stacks' view more friendly while not transferring all the 'Thread time' functionality to it?

The trivial recommendation is to simply use ThreadTime.
It is possible show the ThreadTime views without having the context switch information.   It then just shows you basically the CPU view.   There is an existing view called

ASP.NET Thread Time (with Tasks) (CPU ONLY)

That does this.   The underlying ThreadTime computer 'just works' without the Context Switch.   Thus having  'Thread Time with Start-Stop Activities (CPU ONLY)'  could be interesting (it is a minor change (see the ASP.NET one above).

See PR #609.   Please try it out, if you believe it is useful we can add some docs and check it in.

I tried it and it's great - almost what I wish for.
There are two issues though.

'STARTING TASK' entry also has AWAIT_TIME which is contributed to the parent, thus the total time is not CPU-only anymore. See screenshot:

Is it possible to rename STARTING TASK into e.g. ASYNC_AWAIT when task was really a scheduled continuation by async/await pattern? I see that TraceActivity has 'kind' field which might help here, but it belongs to TraceEvent library which I'm not sure how to approach.

@vancem

@vancem Sorry to disturb, but do you think this is something that can be done quickly? I'm mostly interested in solving issue 1 (not counting AWAIT_TIME into parent).

Sorry for letting this languish.
Just so you know, you can of course eliminate the AWAIT_TIME by excluding that name in the 'Exc Pats' or better, requiring 'CPU_TIME' to be in every stack (thus you see only CPU).
But I agree that having the AWAIT_TIME In there is probably more confusing that valuable, so I will see what we can do to eliminate it.
On the second issue (ASYNC_AWAIT), it may be possible (some experimentation would be needed.    Most of the time we fold away STARTING TASK anyway, so making two things that we fold way by default just adds more complexity.   Can you describe the value of the distinction?

On the second issue (ASYNC_AWAIT), it may be possible (some experimentation would be needed. Most of the time we fold away STARTING TASK anyway, so making two things that we fold way by default just adds more complexity. Can you describe the value of the distinction?

I thought it might be valuable to see whether it was async/await-generated task or manual task from code. But I have now used this for some time and it does not look like it brings lots of value. So as long as you can see how AWAIT_TIME can be eliminated it should be enough for most common use.
@vancem

Unfortunately it does not work. Following is written in the log:
Completed: Opening Thread Time (with StartStop Activities) (CPU ONLY) Stacks   (Elapsed Time: 0,063 sec)
Exception Occurred: System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Diagnostics.Tracing.StartStopActivityComputer..ctor(TraceLogEventSource source, ActivityComputer taskComputer) in d:\oss\perfview\perfview\src\TraceEvent\Computers\StartStopActivityComputer.cs:line 39
   at Microsoft.Diagnostics.Tracing.ThreadTimeStackComputer.GenerateThreadTimeStacks(MutableTraceEventStackSource outputStackSource, TraceEvents traceEvents) in d:\oss\perfview\perfview\src\TraceEvent\Computers\ThreadTimeComputer.cs:line 152

The reason seems to be that your new condition (m_traceHasCSwitches) leaves m_activityComputer uninitialized and thus StartStopActivityComputer can't be created since it accepts instance of ActivityComputer as a second argument.
@vancem

See updated PR #609

It sounds like PR #609 addresses this issue.  I'm going to close this, but if I've missed something, please re-open.  Thanks.


Should this be merged back into google-cloud-java?

There is already an examples directory with integration tests. What is the purpose of this repo?
@lesv @garrettjonesgoogle

Probably - this was when they were going to put it in separate repos.  (before my time)


Vercel Deploy not working

Please provide the environment you discovered this bug in.
Clean Angular Analog Project.
Angular 16
package.json
{
"name": "name",
"version": "0.0.0",
"private": true,
"engines": {
"node": "^16.14.0 || >=18.10.0"
},
"scripts": {
"dev": "ng serve",
"ng": "ng",
"start": "npm run dev",
"build": "ng build",
"watch": "ng build --watch",
"test": "ng test",
"generate-page": "ng g @analogjs/platform:page --project=/"
},
"dependencies": {
"@analogjs/content": "^0.2.0-rc.4",
"@analogjs/router": "^0.2.0-rc.4",
"@angular/animations": "^16.1.0",
"@angular/common": "^16.1.0",
"@angular/compiler": "^16.1.0",
"@angular/core": "^16.1.0",
"@angular/forms": "^16.1.0",
"@angular/platform-browser": "^16.1.0",
"@angular/platform-browser-dynamic": "^16.1.0",
"@angular/platform-server": "^16.1.0",
"@angular/router": "^16.1.0",
"@nx/angular": "^16.4.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.6",
"front-matter": "^4.0.2",
"marked": "^5.0.2",
"marked-gfm-heading-id": "^3.0.4",
"marked-highlight": "^2.0.1",
"mermaid": "^10.2.4",
"prismjs": "^1.29.0",
"rxjs": "~7.5.6",
"tslib": "^2.4.0",
"zone.js": "~0.13.0"
},
"devDependencies": {
"@analogjs/platform": "^0.2.0-rc.4",
"@angular-devkit/build-angular": "^16.1.0",
"@angular/cli": "^16.1.0",
"@angular/compiler-cli": "^16.1.0",
"@nx/vite": "^16.4.0",
"autoprefixer": "^10.4.14",
"jsdom": "^22.1.0",
"nx": "^16.4.0",
"postcss": "^8.4.21",
"tailwindcss": "^3.3.1",
"typescript": "~5.0.2",
"vite": "^4.4.8",
"vitest": "^0.32.0"
}
}
vite.config.ts
///
import { defineConfig } from 'vite';
import analog from '@analogjs/platform';
import { AppVariables } from './app.variables';
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
publicDir: 'src/assets',
build: {
target: ['es2020'],
},
resolve: {
mainFields: ['module'],
},
plugins: [
analog({
nitro: {
preset: 'vercel',
},
static: true,
ssr: true,
prerender: {
routes: ['/', '/about', '/privacy', '/terms'],
sitemap: {
host: AppVariables.WEBSITE_URL,
},
},
}),
],
test: {
globals: true,
environment: 'jsdom',
setupFiles: ['src/test.ts'],
include: ['**/*.spec.ts'],
},
define: {
'import.meta.vitest': mode !== 'production',
},
}));
`
Which area/package is the issue in?
Docs
Description
As described in the Docs https://analogjs.org/docs/features/deployment/providers a vercel deployment is working out of the box.
Unfortunately, it is not working. When I choose my Analog repo and deploy it on vercel I just get an
404: NOT_FOUND Code: NOT_FOUND
Website.
Do I have to choose different Project Settings in Vercel because the default Angular settings are may not working?
Build Command : ng build
Output Directory: dist
Install Command: npm install
Development Command: ng serve
Please provide the exception or error you saw
404: NOT_FOUND Code: NOT_FOUND
Other information
No response
I would be willing to submit a PR to fix this issue

[X] Yes
[ ] No

Hi @SleeplessFox
The default project generated from analogjs works fine for me in vercel.
Both with default vite config & also with Setting the Preset Manually as mentioned in the documentation.
I haven't modified or set any settings in Vercel

That's correct. You don't need to override any settings when deploying to Vercel. Re-open this if you still have an issue


Partial go driver implementation

Usage and product changes
Implement Basic core driver functionality of creating and closing a database.
Implementation
Implement User and Database interfaces, and Driver.
Left a few TODO comments, for user functions, session functions and some iterator work where we need to use swig commands.

Going to add my own fixes to this PR then, will merge and then run in CI afterwards.


[FEATURE_REQUEST] Make .test domains behave like localhost for MAU purposes

Is your feature request related to a problem? Please describe.
Currently, if I'm developing locally and using a host like http://myapp.test, it will count against my MAU, whereas localhost won't. .test domains are local-only.
Describe the solution you'd like
Treat .test the same as localhost for MAU-counting purposes.
Additional context
🤙

Ah yes, great idea — we'll get this fixed. I'll let you know when it's fixed 👍

This should be fixed now. Thanks for reaching out and informing us about this oversight on our end 🙏 ! Hopefully this is a better experience for you. Please let us know if anything about this isn't working as expected.


Need to know how we can create middleware for Admin/Seller/Buyer for a bidding website

Need to know how we can create middleware for Admin/Seller/Buyer for a bidding website
Also need to know to prefix the routes and separate login and template for Admin.

You can see two examples of middleware here: https://github.com/blue-jay/blueprint/blob/master/middleware/acl/acl.go
The documentation for middleware is here: https://blue-jay.github.io/middleware/


lxd/storage/ceph: Implement GetVolumeUsage

As discussed in #6953
I was unsure what the best way was to parse the JSON response, I decided to go for dedicated structs, I'm open to other options.

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Looks good to me, let's have jenkins test it and if green, we'll merge.

jenkins: test this please

lxd/storage/drivers/driver_ceph_volumes.go:644:9: undefined: json
So you're missing an import for encoding/json.

Woops, sorry about that. I actually coded this on my LXD dev server and then manually brought the code over locally by copying the function. Seems I forgot about the new import. I will see if I can setup my environment so I don't have to do this in the future.

jenkins: test this please

I think I also should have removed the else statement as I return in the if. Is that worth updating?

lxd/storage/drivers/driver_ceph_volumes.go:617:9: if block ends with a return statement, so drop this else and outdent its block
Found 1 lint suggestions; failing.

So yeah, it seems to be complaining about that.

jenkins: test this please

Thanks!


Async bulk transactions

Support for bulk transactions is currently only provided as a sync interface with BaseBulkTransactionsClient. An async form of this should be supported via an AsyncBaseBulkTransactionsClient like AsyncBaseTransactionsClient supports single transactions.

@bitner @moradology @geospatial-jeff Was this intentionally left out of the API, or has it just not yet been implemented?

This one should sole bulk inserts: https://github.com/stac-utils/stac-fastapi/pull/411


use X-Header-DeviceId for passing device id instead of GET request query string

dale, I think this would be a good time to configure the server to use X-Header-DeviceID instead of passing in GET query
new messages
dalemcgrew [10:42 PM]
Feel free to enter an issue in WeVoteServer and assign it to Joe.

Hi @nf071590, if you and Joe figure out how to get the WebApp to send "X-Header-DeviceID" (generated from the voter_device_id cookie) with each request, I have set up WeVoteServer to look for that. This is logic:

Does "X-Header-DeviceID" exist in the incoming request? If so, use that. Done.
If "X-Header-DeviceID" wasn't found, does a voter_device_id GET request exist? If so, use that.

This is the code I'm using voter_device_id = request.META.get('HTTP_X_HEADER_DEVICEID', '') -- it is on the live server now.
I will leave this issue open until we have verified it works.

Hey guys, can you provide a little more detail on what this feature is?
Is the client itself (phone client) going to provide the header in the HTTP request? Need help understanding this. Thanks.

I don't think the webapp is going to be able to specific headers to add -- it's the browser that does that and javascript applications can't just generate arbitrary headers. There is the possibility of the proxy generating the header from some other piece of data (such as a cookie or GET request,) is this what you are looking for?

Hi Joe, here is my understanding. Our Javascript WebApp needs to pass voter_device_id (stored in a cookie) to the WeVoteServer. Currently we are passing it as a GET variable. I believe Nick would prefer to send the value as a header request. I'm not sure what help he needs from you, except perhaps to make sure that the API server is configured to accept custom headers? I'll let him respond with more details.

custom http headers isn't an issue; we should be using Django.

On Mar 2, 2016, at 11:50 AM, Dale John McGrew<EMAIL_ADDRESS>wrote:
Hi Joe, here is my understanding. Our Javascript WebApp needs to pass voter_device_id (stored in a cookie) to the WeVoteServer. Currently we are passing it as a GET variable. I believe Nick would prefer to send the value as a header request. I'm not sure what help he needs from you, except perhaps to make sure that the API server is configured to accept custom headers? I'll let him respond with more details.
—
Reply to this email directly or view it on GitHub https://github.com/wevote/WeVoteServer/issues/88#issuecomment-191322089.

OK, just let me know if any changes need to be done on the load balancer/proxy/server side.

I think this has already been implemented. Can this be closed?

Yes. Closing.

def post(self, request):
device_id = request.META.get('HTTP_X_HEADER_DEVICE', None)
serializer = DeviceSerializer(data=device_id)
if serializer.is_valid():
serializer.save()
else:
return Response(serializer.errors)

I got the same error non_field_errors": [
"No data provided"
]
I am trying to pass device_id in request header but getting this error . my view is given

Hello @rishabh31user,  this is a closed issue. We have many open issues on the repo issues page. Please feel free to email me if you have any questions<EMAIL_ADDRESS>


Polish translation typos

a simple typo to be fixed

Thanks for the fixes!
We use Transifex for translations: https://www.transifex.com/projects/p/k9mail/
I applied the fixes there. If you find other issues please fix them directly on Transifex.


Crash when renaming folders in column view

Description
When renaming folders in column view the screen bounces around as you type and then the app crashes. It doesn't always happen, but regularly.
Steps To Reproduce

Click on Layout and choose Columns.
Click on folder to rename.
Start typing to rename folder.
Crash.

Requirements
Fix crash that occurs when renaming folders in column view.
Files Version
<IP_ADDRESS>
Windows Version
Windows 11 Pro 22H2 22621.1555
Log file
Original debug file is 93 MB but copied some of today's log.
debug.txt

@riverstone01 thank you for reporting this issue, can you test if the issue is still present in v2.4.62?

This should be fixed by #11986. (Thanks to @ferrariofilippo)

@riverstone01 this will be fixed in the next release.

@riverstone01 this will be fixed in the next release.

No probs! Thanks very much for the replies.


Need Placeholder For ImageView

Hi. I have code like so:
var img = new tabris.ImageView({
	background: '#f8f8f8',
	scaleMode: 'fill',
	image: {src: xhr.baseUri+'images/006.jpg', scale: 1},
	layoutData: {left: 0, top: 0, right: 0}
}).appendTo(page);

As seen, image.src  is loaded from remote resource. When the image referred by this image.src is considered big (in size, let's say 2MB or something, we never now), the renderred ImageView is blank until loading process finished. If the loading process fails, the ImageView remains blank.
So it is necessary to add placeholder, say, like this:
var img = new tabris.ImageView({
	background: '#f8f8f8',
	scaleMode: 'fill',
	image: {src: xhr.baseUri+'images/006.jpg', scale: 1},
	placeHolder: {'images/placeholder.jpg', scale: 1}, // from local assets folder
	layoutData: {left: 0, top: 0, right: 0}
}).appendTo(page);

Is this possible?
Thanks.
@mpost @cookieguru

Set your image to the local resource and use ImageView's load event to then set it to the remote resource.  Example here.

@cookieguru I tried that. The problem was, loading process never ended:

Set Image to local assets, this trigger load event, 2
Loading image from remote resource, when finish, will trigger load event, 2

So point 2 never end until the ImageView is disposed (with some error object not found on console)
I did made a check point to mark if the image had been loaded from remote resource, it worked. But for a lot of ImageView on different pages/modules, this is quite a  work. It is better to wrap this into TabrisJS code, so user can use the ImageView out of the box without too much additional code.
Thank you.

Maybe because it's late, but I don't quite follow.  If the problem is that the load event triggers twice, there are a few options around this; the first two that come to mind are:

When the load event fires, use the call get() on the first paramater of the callback to get the image source.  If it's the placeholder, set the image source to the remote URL.  Otherwise, handle the error
You can set arbitrary properties on any object, e.g. image.set('placeholderLoaded', true);.  You can then use that property to determine the widget's state.  Bonus: Tabris.js' property/event system will trigger an event for this, so you can listen for the placeholderLoaded event on the image and handle it accordingly.

If I'm misunderstanding let me know.

@cookieguru Yes I did that (point 2 of your comment). It worked. I just found out simpler solution TabrisJS already provided, as I added as edits to my comment above
Thanks for supporting.


Question about the Product Kmeans in HuBERT

❓ Questions and Help
Hi, Im trying to pretraining a new HuBERT model. I noticed the paper used Product K-means-{0,1,2}-100 to do opimization. But I dont find how and where to use it in the opensource code, which confusing me for a long time. Dose anyone know how to do it?
Thanks!!

Thanks for your issue, I have the same question too, did you find the answer?

Thanks for your issue, I have the same question too, did you find the answer?

Hi, i dont know my understanding correct or not. I think the 'Product K-means-{0,1,2}' is just the concat of the zeroth,
first, and second-order derivatives in MFCC extraction.  So it just used the original MFCC to do kmeans, as those in the open source  code.

Thanks for your issue, I have the same question too, did you find the answer?

Hi, i dont know my understanding correct or not. I think the 'Product K-means-{0,1,2}' is just the concat of the zeroth, first, and second-order derivatives in MFCC extraction. So it just used the original MFCC to do kmeans, as those in the open source code.

Thank you! I understood :D


feat: refreshed RSEc overview

This PR updated the RSEc overview.
This was done by editing the SVG.
As I can see there is also a PNG version of this file in the repository. I don't know the setting that were used for that, so I refrained from creating that myself. When I create such web assests, I tend to compress them with, e.g., guetzli. Thus, this PR will be in draft until the synced PNG is updated.

Thanks @mihai-sysbio!
We can add a github action to compress the images automatically if we think its needed.

@mihai-sysbio the file used for the website is the SVG, so we should be fine just removing the odg and png ones. This can merged anytime, as soon as you consider it not to be a draft anymore. Thanks!

@hmenager thanks for the clarification, I've removed the unwanted ong and png to reduce chance of confusing versions. This makes the PR ready for review.


fix bug #79

Old logic: "Folder reopen cause reset of file state objects".
So I don't reset but concat new file_state_objects to folder.children. But I'm not sure that my check for 'new' is complete. I assume that the objects are the same if they have the same id.

thanks!


When Selected, Album Page will highlight both Album and About in navbar.

I'm unsure what's causing this but it appears the Active attribute is being added to the about button on the navbar. The page doesn't seem to be doing it, I think it's something wrong with the header itself.

Fixed this by changing the slug on the admin page (???????)


Update firefly tutorials as per the latest firefly-client API

Changes
Other than some minor text changes:
NEOWISE LCs tutorial:

Removed layout setup code which was needed for slate viewer, firefly now uses triview viewer (Image, chart and table) by default which smartly handles the layout on its own
It also shows coverage by default, so removed that cell
Improved how TAP query is constructed (instead of defining a url quoted string, define it as regular readable string and then let the urllib parse it)

SEDs tutorial:

Updated "Align and lock" cells, firefly client can do it now thanks to the tri-view (although still need to use low-level API)
Added title to fits images being shown

@ebratton01 @joycek-ipac feel free to comment if I overlooked anything in my updates.

@ebratton01 @joycek-ipac You can see the rendered notebooks in the docs at https://output.circle-artifacts.com/output/job/63c6ec1c-e19b-4bd6-8ee4-407e7f6d2f5f/artifacts/0/_build/html/index.html

The changes look fine to me, thanks @jaladh-singhal


update package urls from gitlab to github

Registrator refuses to create these PRs automatically, hope everything is correct here...

The https://github.com/JuliaAPlavin "organisation" is a bit strange - organisations typically aren't personalized and have multiple owners - but we have many registered packages living under personal accounts, which isn't really different from this.

FWIW, I'm fine with merging this.


Connection.getMetaData() causes Hikari to return dirty connections

Environment
HikariCP version: 2.6.1
JDK version     : 1.8.0_121
Database        : PostgreSQL 9.5.5
Driver version  : 42.0.0.jre7

ProxyConnection.markCommitStateDirty() is not getting invoked when Connection.getMetaData() methods are invoked. As a result, dirty connections (in mid-transaction) are being handed over to unrelated threads and causing runtime failures.
Repro steps:

Get a connection from the pool. Set autoCommit to false and invoke Connection.getMetaData().getTables(null, "PUBLIC", "%", null).
Request a connection from the pool. You should get the connection returned by step 2.
Invoke Connection.setReadOnly(true) on it.
You will get an exception:

org.postgresql.util.PSQLException: Cannot change transaction read-only property in the middle of a transaction.
	at org.postgresql.jdbc.PgConnection.setReadOnly(PgConnection.java:691)

Expected behavior: queries fired by Connection.getMetaData() should mark the connection as dirty.

i have got a problem that rollback was called when only use Connection.getMetaData and "select..." SQL  due to this commit.
as query operation, why did getMetaData need to set markCommitStateDirty true?
can you commit previous transaction manually before you call setReadOnly

@tomAndJetty As far as I'm aware, nothing in the JDBC specification implies that one must commit a connection prior to invoking getMetaData(). The only time an exception is expected is when the underlying connection is closed or a database error occurs. Neither of these cases apply here.
It would probably help if you elaborated on the problem you are seeing.


Artifacts and Lip Sync Issues in Model Training - Seeking Advice from Authors \n 模型训练中的伪影和嘴形同步问题 - 寻求作者建议

https://github.com/user-attachments/assets/8e33dcd4-de7a-4ce9-8fbc-ac74c2494fa7
https://github.com/user-attachments/assets/194cf8f6-6766-42ae-aa32-dd1b3389f02d
Hi everyone,
I have been working on training a talking face model using the Hallo code, but I've encountered several issues that I need some advice on. We used a dataset comprising 32 hours of VFHQ and 12 hours of HDTF videos, without performing any data cleaning.
Issue Description:

Background Artifacts: Large-scale "blotchy" artifacts appear in the background, with many of these artifacts resembling numerous "hands." We suspect this might be due to the presence of hand gestures in the dataset. Did you perform any data cleaning to remove frames with hands or other unwanted elements? Or have you trained a version without data cleaning, and did you encounter similar issues?
Lip Sync Mismatch: The lip movements do not match the audio accurately. Despite aligning our training parameters, steps, and resources with the original code, the synchronization between audio and lip movements is significantly worse than the results achieved with the pre-trained model provided by the authors. Did you use any specific tricks or techniques to improve lip synchronization?

Training Details:
Model Architecture: Hallo code for talking face generation
Dataset: 32 hours of VFHQ + 12 hours of HDTF videos (uncleaned)
Training Parameters: Aligned with the parameters provided in the original code
Request for Advice:
Has anyone encountered similar issues with background artifacts and lip sync mismatch in talking face models?
Are there any recommended data cleaning steps or techniques to mitigate these artifacts and improve lip synchronization?
Any insights or suggestions would be greatly appreciated!
Thank you in advance for your help!
大家好，
我最近在使用Hallo代码训练一个谈话脸模型时遇到了一些问题，需要大家的建议。我们使用了包含32小时VFHQ和12小时HDTF视频的数据集，未进行数据清洗工作。
问题描述：

背景伪影：背景中出现大规模的“花”伪影，许多伪影看起来像无数只“手”。我们怀疑这可能是数据集中存在手势的原因。请问作者们是否进行了去除了带有手部或其他不需要元素的帧的数据清洗；或者是有没有训练过未经数据清洗的版本，是否会跟我们出现一样的问题？
嘴形音频不同步：嘴部动作与音频严重不同步。尽管我们的训练参数、步数和资源都与原始代码对齐，但音频与嘴部动作的同步效果远不如作者开源的模型权重。请问作者是否使用了什么技巧来提高嘴形同步效果？

训练详情：
模型架构：用于谈话脸生成的Hallo代码
数据集：32小时VFHQ + 12小时HDTF视频（未清洗）
训练参数：与原始代码提供的参数对齐
请求建议：
有没有人遇到过类似的谈话脸模型中的背景伪影和嘴形不同步问题？
是否有推荐的数据清洗步骤或技术可以减轻这些伪影并提高嘴形同步效果？
任何见解或建议都将不胜感激！
提前感谢大家的帮助！

hi, i also encountered similar issues like yours. Did you find any solution to mitigate these artifacts or improve lip synchronization?

hi, i also encountered similar issues like yours. Did you find any solution to mitigate these artifacts or improve lip synchronization?

It seems that the only thing that can be done is to clean the dataset. As long as a high-quality dataset is used, the aforementioned problems will not occur.

hi, i also encountered similar issues like yours. Did you find any solution to mitigate these artifacts or improve lip synchronization?

It seems that the only thing that can be done is to clean the dataset. As long as a high-quality dataset is used, the aforementioned problems will not occur.

hi, i also encountered similar issues like yours. Did you find any solution to mitigate these artifacts or improve lip synchronization?

It seems that the only thing that can be done is to clean the dataset. As long as a high-quality dataset is used, the aforementioned problems will not occur.

可以进一步交流吗，不知道数据集未清洗是不是唯一的原因，echomimic、follow-your-emoji、x-portrait似乎都没有出现这样的问题（手的伪影、纯色背景出现噪点），follow-your-emoji也是在vfhq上练的。
<EMAIL_ADDRESS>


Eloquent upsert() method doesn't work with UUID primary key

Laravel Version: 9.33.0
PHP Version: 8.1.10
Database Driver & Version: mysql  Ver 8.0.30 for macos12.4 on arm64 (Homebrew)

Description:
Users table migration creates the UUID id column: $table->uuid('id')->primary();.
Users model uses Illuminate\Database\Eloquent\Concerns\HasUuids trait.
When trying to upsert a number of records, getting the error: PDOException: SQLSTATE[HY000]: General error: 1364 Field 'id' doesn't have a default value in...
When using auto-incrementing id column all works fine.

Not sure this is compatible with upsert.

@driesvints some mention in the docs would be nice then, either on upsert() section, or UUID section, or both.

@plakhin we'd welcome a PR for that 👍

@driesvints please check https://github.com/laravel/docs/pull/8274


VK-201: Make generation dummy

To be able to reuse answers between different senate districts their corresponding questions have to have the same id. To achieve that, there is special "global" district. So senate questions are referring to global districts. When JSONs were generated real districts were used => there was mismatch => it was not working. Now we generate ids during parsing and then they are just used.
Previous PR with fixes - #114
:school: Testing

backend - generate data - make run-converter
backend - add images - make run-add-images./validate`
schemas - check that generated files are valid - `

I have tested this in Vercel - and it works :)


kernel_features: fix kconfig file read logic for procfs config.gz

@grantseltzer my previous commits to helpers/kernel_features.go have broken /proc/config.gz support (I'm testing tracee in all environments now - https://github.com/aquasecurity/tracee/issues/971 - and that is how I got this regression). It is not affecting tracee until we change its go.mod so we're good, after this fix, to bump libbpfgo version in tracee.

We will need to raise libbpfgo version in tracee because of this change and I have a commit ready:

443f6a5 - (HEAD -> rafaeldtinoco) tracee: move MissingKernelConfigOptions to libbpfgo helper (2 hours ago)
Could you review this for me ? Thank you


AL Extension for VS on MAC

Hi. I've tried to install AL extension on VS Code on Mac.
But it doesn't work properly.
1.I'm downloading VS Code for Mac from here: https://go.microsoft.com/fwlink/?LinkID=534106
2.I copy VSIX file from VM: al-0.7.11459.vsix
3.I'm installing AL Extension from Extension -> Install from VSIX
After installing I see only AL: Go command.
When I execute it , it doesn't create .vcode folder with launch.app.
After second try to execute AL: Go, it shows error "command 'al.go' not found".

MAC is not supported yet. The extension only contains windows binaries. MAC support is on our backlog

Any indication about an expected timeline? I'm not expecting to do 'real' NAV/D365 development on my MacBook any time soon, but it would be great not to have fire up a VM for code review.

@StanislawStempin Is Linux also in the backlog?

We don't have any specific timeframe for Mac yet. Linux is not yet on the backlog, however, it will depend on how much we would need to change comparing to the Mac version. We are not ready to say yet.

Is there a timeline for the release yet ? I do remember seeing a working version at the NAV Tech Days ;)

Still no timeline yet. It is still worked on.

@StanislawStempin Are there still any plans to include Mac support in the future or was it canceled?

So when the enchanment project will be done?

Same here?! When can we have support for Mac?no news is bad news?


🚝 Identify Domain & Hosting

We need to identify and settle on the domain and hosting. Some options mentioned thus far:

Vercel is a frontrunner and offers best-in-class NextJS hosting.
Netlify is another option that our team has some experience with, however we need to figure out whether it handles NextJS/SSR (I don't see why it wouldn't).

Vercel is integrated and working. Still need to point the domain/subdomain.


Add Feedback on Frame Port Selection. Add hiding behavior to move port buttons.

Implementing Feedback on PR #7863 and #7874
• Added a white border to Frame Ports on selection
• Created new FrameNodePort class that extends NodePort
• Moved the onFramePortMove observers to the FrameNodePort class
• Now passing Frame Port Position data to FrameNodePort so that FrameNodePortPropertyComponent knows when to hide move buttons
• Fixed bug where deleting a node from a frame would not remove its ports from the frame

Thanks buddy! Testing it right now

Looking forward to the feedback


Fix IsDone Attribute value type

Fix IsDone Attribute
Previously the value of isDone was a boolean type. Caused Errors when
parsed string from JSON is NOT null, true, or false
Fixed to accommodate any variations or true, false, and other
unexpected string found in the JSON and CSV file

Codecov Report

Merging #67 (f5e52b6) into master (3075573) will increase coverage by 0.04%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master      #67      +/-   ##
============================================
+ Coverage     67.76%   67.80%   +0.04%
- Complexity      407      409       +2
============================================
  Files            75       75
  Lines          1337     1342       +5
  Branches        130      131       +1
============================================
+ Hits            906      910       +4
- Misses          392      393       +1
  Partials         39       39

Impacted Files
Coverage Δ

.../java/seedu/address/model/util/SampleDataUtil.java
0.00% <ø> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...c/main/java/seedu/address/model/person/IsDone.java
53.84% <57.14%> (-0.70%)
:arrow_down:

.../java/seedu/address/storage/JsonAdaptedPerson.java
93.75% <60.00%> (-6.25%)
:arrow_down:

.../main/java/seedu/address/commons/util/CsvUtil.java
65.62% <100.00%> (+1.10%)
:arrow_up:

...a/seedu/address/logic/parser/AddCommandParser.java
91.66% <100.00%> (ø)

...n/java/seedu/address/storage/CsvAdaptedPerson.java
100.00% <100.00%> (+5.40%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3075573...f5e52b6. Read the comment docs.


Create Tasks “push-ups”

Automatically generated by Netlify CMS

👷 Deploy Preview for amazing-stroopwafel-c43386 processing.

Name
Link

🔨 Latest commit
21b7481437fd08f09c64fac847a742f8831e7961

🔍 Latest deploy log
https://app.netlify.com/sites/amazing-stroopwafel-c43386/deploys/63eb389c88c09e0008816bff


FancyZones Template Switch and/or Span|Split Keyboard Shortcut

Allow for a window in a zone to span across other zones
For a monitor partitioned in three rows, for example, I often want a window to span across two of the rows. Or, if I split the monitor in two rows, sometime it could be great to have one of the partitions splitted in two, and allow the window in the other zones to momentary fill the splitted zone. Does it make sense?
Switch to a preselection of zones template
Another possibility is to allow to have more than a fancyzone associated to a monitor, than have a shortcut to switch between them...

Hello. You can drag a window - with the mouse pointer - on the border of two (or more) zones. The window will then fill up the two (or more, depending on the layout) zones.

https://docs.microsoft.com/en-us/windows/powertoys/fancyzones#snapping-a-window-to-two-or-more-zones

Thanks! I was aware of that keyboard shortcuts, however those will not work on my fancyzone setup. Reinstalled and now it works! Thanks ;)


Implement task loading for .NET Core

The host we are currently using for .NET Core only supports loading assemblies from the app folder.  In the future, we may want to write an AssemblyLoadContext and host to allow loading tasks from arbitrary paths.
For now, we can simply use Assembly.Load() with the simple name of the assembly (as xUnit does) to load an assembly from the app folder.
Classes we'll need to update may include AssemblyTaskFactory, TaskLoader, and TaskHost.  Let's use FEATURE_ASSEMBLY_LOADFROM as the feature flag for loading assemblies from arbitrary paths, and FEATURE_APPDOMAIN for AppDomain remoting.
This will remove one of the cases where AppDomains are used (see #146).

Example of how to do this in the Roslyn code: https://github.com/dotnet/roslyn/blob/d6f8dc441a1a3b749b5082579f582892236b1584/src/Compilers/Helpers/CoreClrAnalyzerAssemblyLoader.cs


JournalEntryPage context menu and POI Teleporter integration

Fair warning: I'm no JS developer. This code is most likely suboptimal, but if you could add these features one way or another, I would be grateful.
This adds a context menu for Journal Entry Pages. It basically loops all the journal entries until it finds the targeted page.
Then with POI Teleporter, I can drag&drop journal entries and journal entry pages into scenes. The journal icon will have a context menu that allows the user to quickly view or activate a scene that is linked to that journal. I wanted to have the same feature, but from a journal. Now if a link is from a journal entry that is linked to a scene, it is possible to view or activate that scene.

Added one last feature: Handling both @JournalEntry[journalName] and @UUID[JournalEntry.journalID]

Thanks for your feedback ! I don’t have a lot of free time currently, but I’ll review your MR. From a first look I already have some concerns:

I’m afraid you broke some compatibility with content not relying on uuid yet
_resolveEntityType() should hold me specific code. Entity must be resolved before, not in.
I think there may be a performance issue with double for() loop. I suggest you to look at filter() and map() methods in JS ;)

I’ll try to do more tests to you suggestions. Potential compatibility issues is what refrain me to merge now.

This feature has been implemented as "Jump To Pin (View Scene)" action on Journal Entry in v1.2.5.


[Dropdown] Sub-menu positioning issue

Steps
Scroll down to your dropdown menu so that there's not enough space to open. The dropdown will open above the dropdown menu, which is correct, however, when you then try to open the sub nav the dropdown gets repositioned incorrectly.
Expected Result
The dropdown should keep its original position.
Actual Result

Version
2.3
Testcase
You can replicate it on the Semantic UI docs

Duplicate of #6007


Peering with private IPs

Description
At the moment of this writing, there's a bug in the gater setup code, namely, IPv4/IPv6 address block lists are not initialized
https://github.com/spacemeshos/go-spacemesh/blob/bb31280efa3f286bf020658ac979ff1381a21832/p2p/host.go#L257-L265
This results in dial requests to private IP address ranges, which some cloud providers can interpret as port scans.
After an obvious gater fix, there remains a problem of nodes contacting peers behind the same NAT. This will work via the public IP in case if NAT in question supports hairpinning, even though it will cause some back-and-forth traffic through the user's router and also possibly through the ISP, if the user doesn't get a public IP address from the ISP. As an interim solution, we can suggest that home users set "ip4-blocklist": [], "ip6-blocklist": [] in their config and make sure their routers block traffic to private networks on their WAN interface, but that's somewhat hacky approach. The proper approach likely involves using dual DHT, one DHT being public and one private, like kubo does.
Steps to reproduce
Run several nodes on the same local network (connected to Internet)
Actual Behavior
Nodes try to dial peers outside the local network on private IPs.
With gater blocking enacted, peers can only talk to other peers on the same local network through NAT hairpinning via the public IP.
Expected Behavior
Nodes never try to dial peers outside the local network on private IPs.
Peers in the same local network are dialed based on their private IPs.
Additional Resources
Related kubo issue:

ipfs/kubo#6932

Also related:

libp2p/go-libp2p#436
ipfs/kubo#5511
libp2p/go-libp2p#803
libp2p/go-libp2p-kad-dht#570

bors merge


Review script for paper "2023SoPh..298....4M" made with predictor "DataLinkerCondenseDetailsWithTemplate"

Created by Paper Data Linking Bot
Please review the download script and instrument details for the paper.
bibcode: 2023SoPh..298....4M
predictor: DataLinkerCondenseDetailsWithTemplate

The time ranges are solar cycles 23 and 24, but the model does not correctly get the dates for when these solar cycles started and ended. From script:
# Define the observation periods for Solar Cycles 23 and 24
# Solar Cycle 23: approximately 1996 to 2008
# Solar Cycle 24: approximately 2010 to present (cutoff at 2023 for this script)
cycle_23_start_date = '1996-01-01'
cycle_23_end_date = '2008-12-31'
cycle_24_start_date = '2010-01-01'
cycle_24_end_date = '2023-01-01'

From wikipedia we see that:
Solar Cycle 23: 1996 Aug --> 2001 Nov
Solar Cycle 24: 2008 Dec --> 2014 Apr
So these are the dates that should be used. May need to add solar cycle function calling or info in generation process at some point depending on how often we get errors like this.


PUB-1783 Automate tasks

JIRA link
https://tools.hmcts.net/jira/browse/PUB-1783
Change description
Automate tasks within gitHub.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Replaced PR


Add conservative update options to bundle lock

Fix #4912.
The bundle lock command produces a lockfile same as bundle update but
won't install all the gems. If the --update option is fed to bundle lock you can also specify the --patch, --minor, --major and
--strict options added to bundle update in 1.13.

I'm impressed by how little code this required. :)

Agreed! I decided to try and get restarted on these, this one seemed potentially daunting and it was nice that it was simple.
The negative-pants view on all this is there's a lot of dup spread out across lock.rb, install.rb, update.rb ... if that wasn't there, we could have had lock behavior on this 'for free' with the prior implementation.
But I'll squelch mr. negative-pants for right now :)

@indirect can you do that @homu voodoo that you do so well?

@chrismo I'm excited about a potential future where there's even less duplication. :)
@homu r+

:pushpin: Commit 565d5ad has been approved by indirect

:zap: Test exempted - status


Web UI for adding/remove devices?

Any plan to add a new device from a web gui?
Something to avoid always connect esp32 to my computer and recompile the binary everytime I buy a new switchbot device
PS: Amazing work,

Hey, I wasn't really planning on adding the option to add devices from a web GUI . I would have to change how variables are stored etc
but the options to update OTA is already there so you don't have to plug the esp32 into the PC everytime, just the first time. Just upload the compiled .bin file using the esp32 ip address in a web browser


3.6.6 (542): App doesn't show some nutrition facts

Describe the bug
After the latest update to 3.6.6 (542) the app doesn't display values that are present via browser.
To Reproduce
Steps to reproduce the behavior:

Open this product in a browser.
Confirm that values for fat, protein, salt are present.
Open this product in the app.
Go to 'Nährwertangaben' (nutrition facts).
See '?' for fat, protein, salt.

Expected behavior
The app should display the values that are in the database.
Screenshots
Browser:

App:

Desktop (please complete the following information):

OS: Windows 10
Browser: Firefox 94.0.1

Smartphone (please complete the following information):

Device: Google Pixel 3a
OS: Android 12
Browser: it's in the app, not the browser
Version 3.6.6 (542)

The problem exists with locales that have comma(,) decimal separator instead of dot(.).
Need to think for an elegance fix and how to prevent this in future.

@KommX Does the latest internal build fix it for you ?
https://play.google.com/apps/internaltest/4699092342921529278

@teolemon
I can't say because:
App not available for this account
Your account hasn't yet been invited to participate in this app's internal testing program.

@KommX Any news on this issue?
So, we can fully reproduce your error, in which language is your phone set?

I can't reproduce this anymore in 3.6.6 (566).
Thank you for fixing this!


Update README.md test for CLA Assistant

Test opening a PR as an org member to ensure we aren't prompted for the CLA Assistant.
Updated myself as a public member of the org, so should not get prompted.

Codecov Report

Merging #38 (671a08a) into main (1711cf6) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #38      +/-   ##
==========================================
- Coverage   76.96%   76.93%   -0.03%
==========================================
  Files          69       69
  Lines        8000     8000
==========================================
- Hits         6157     6155       -2
- Misses       1425     1426       +1
- Partials      418      419       +1

Impacted Files
Coverage Δ

server/commands/check_utils.go
91.23% <0.00%> (-1.20%)
:arrow_down:

storage/postgres/postgres.go
65.91% <0.00%> (-0.68%)
:arrow_down:

server/commands/check.go
86.48% <0.00%> (+0.60%)
:arrow_up:

server/errors/errors.go
80.88% <0.00%> (+1.47%)
:arrow_up:

pkg/tuple/validation.go
69.44% <0.00%> (+2.77%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1711cf6...671a08a. Read the comment docs.


[Feature Request] Better progress indicators in Devbox Global

devbox global add does not provide a progress indicator when installing packages. For some large packages (e.g., pulumi-bin) that take minutes to install, its hard for the user to tell if the package is actually installing
We should add an indicator to show that the package is being installed. Ideally we show installation progress, but at minimum we should provide a spinner.

Released in 0.4.5


Can't verify Tectonic download

gpg2 --keyserver pgp.mit.edu --recv-key 18AD5014C99EF7E3BA5F6CE950BDD3E0FC8A365E
gpg: keyserver receive failed: No keyserver available

As described here: https://coreos.com/tectonic/docs/latest/tutorials/aws/installing-tectonic.html#download-and-run-tectonic-installer
gpg (GnuPG) 2.1.18
libgcrypt 1.7.6-beta
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/nwatson/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

I'm not a GPG expert but this worked for me on OSX:
$ gpg2 --keyserver pgp.mit.edu --recv-key 18AD5014C99EF7E3BA5F6CE950BDD3E0FC8A365E
gpg: requesting key FC8A365E from hkp server pgp.mit.edu
gpg: key FC8A365E: "CoreOS Application Signing Key<EMAIL_ADDRESS>not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

$ gpg --version
gpg (GnuPG/MacGPG2) 2.0.20
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2


Adding NumFOCUS, PSF and Python academy to sponsors, and improving style of the page

published

thanks for all those merges and deploys Pierre!

You are welcome :-) When I have my laptop, it is only 3 lines in the terminal.


Background Transparency

Backgroundtransparency does not seem to work
vim.g.gruvbox_material_transparent_background = 1

Is set and doesnt seem to work

@Parilia can be you please provide an example screenshot that showcases the issue? Does this issue apply to the background generally, or only to specific parts (such as the sign column)?

Background in general

Hi @Parilia , I implemented a small fix for it. I will merge this later today.
Please note that this plugin will not support all the options you have defined above in your config. Feel free to open issues for them if you really want them in this repo.
On a side note: I took over this repo only a few weeks back. I am planning on updating the code a little so that it is easier to add future fixes and potential additions. This will also include a more "lua-oriented" configuration where values are provided directly to the setup function instead of globally defined variables.

alright, cool thank you for the fix. if I can I would like to help where I can

alright, cool thank you for the fix. if I can I would like to help where I can

Thanks. I will try to setup some issues on the project to track a bit what I think makes sense (and add info to the milestone). If you want to help, feel free to grab something or submit a PR 👍🏽

I'm now starting to see this issue again after the code refactor.

My config:
return {
  {
    'f4z3r/gruvbox-material.nvim',
    enabled = true,
    lazy = false,
    priority = 1000,
    opts = {
      background = {
        transparent = true, -- set the background to transparent
      },
      float = {
        force_background = true, -- force background on floats even when background.transparent is set
        background_color = nil, -- set color for float backgrounds. If nil, uses the default color set
        -- by the color scheme
      },
    },
  },
}

I have no issues with the dark theme

@dot-1q if you are talking about the floating window having a background, you need to set the float.force_background to false.

The issue still stands. Changing the transparency (background or float) in the options has no effect on the final transparency value for me.

Mhhh ok, I will have a look at it tomorrow. When you go into the floating window and enter :Inspect, what do you get?

I get this:

While on this, changing Italics to false doesn't disable italics. I wonder if this is something related to reading the user configs. As you can see, I disabled Italics but in the screenshot they're enabled.

Mhhh this is very strange. No matter if I set the background to light or dark it seems to work for me:

with config:
require("gruvbox-material").setup({
  background = {
    transparent = true,
  },
  float = {
    force_background = true,
  },
})

and:

with configuration:
require("gruvbox-material").setup({
  background = {
    transparent = true,
  },
  float = {
    force_background = false,
  },
})

Do you override NormalFloat somewhere?

I do not, at least that I'm aware of. But more than that, I'm not able to configure any of the colorscheme options.
I'm using lazynvim, and the plugin file is:
return {
  {
    'f4z3r/gruvbox-material.nvim',
    name = 'gruvbox-material',
    lazy = false,
    priority = 1000,
    config = function()
      require('gruvbox-material').setup {
        italics = false, -- enable italics in general
        contrast = 'medium', -- set contrast, can be any of "hard", "medium", "soft"
        comments = {
          italics = false, -- enable italic comments
        },
        background = {
          transparent = true, -- set the background to transparent
        },
        float = {
          force_background = false, -- force background on floats even when background.transparent is set
          background_color = nil, -- set color for float backgrounds. If nil, uses the default color set
          -- by the color scheme
        },
      }
    end,
  },
}

I've tried through the opts = {} way, and replacing config with init to no avail.
After this line I've added:
  print(vim.print(cfg))
  print("-----------")

And this is the result:

Seems like its being called more than once and overriding my options. I don't know if this is of any help.

Puh, seems to be an "issue" with lazy-nvim. I have no experience with it. Maybe @Parilia can help? He uses lazy-nvim as far as I know.

My configs are in my init.lua and are:
{
    'f4z3r/gruvbox-material.nvim',
    name = 'gruvbox-material',
    lazy = false,
    priority = 1000,
    opts = {
      italics = false,
      comments = { italics = false },
      background = { transparent = true },
      float = {
        force_background = false,
        background_color = nil,
      },
    },
  }

Ah, I think I know what the problem is. @dot-1q you use auto-dark-mode right? Do you configure it with:
return { "f-person/auto-dark-mode.nvim", config = { update_interval = 1000, set_dark_mode = function() vim.api.nvim_set_option("background", "dark") vim.cmd("colorscheme gruvbox-material") end, set_light_mode = function() vim.api.nvim_set_option("background", "light") vim.cmd("colorscheme gruvbox-material") end, }, }

If you do, every call to colorscheme gruvbox-material will call the setup function with default arguments. What you want to do instead is to call require("gruvbox-material").setup(...) in the callbacks.

That actually solves my problem yes! Thank you very much!
Although it is strange indeed, since while i was testing i remember disabling that plugin via enabled=false, so i'm not sure why loading the color scheme again explicitly solves the issue.
Thanks for debugging my setup!


add logging here

https://github.com/PhilipMay/mltb/blob/2d8c6fe07e7d64694ee7835e3e46774cced89dde/mltb/omlflow.py#L215

done - see https://github.com/PhilipMay/mltb/commit/b376ec1acf3ceac7c563ceea05f922a6ff6ae736


Can't get rid of MaxDirectMemorySize warning

This started to happen with community v2.2.0
When deploying web app to tomcat 8, I started to see the warnings below, even when the values are apparently correctly set in configuration:
02-Jun-2016 10:29:36.370 INFO [localhost-startStop-3] com.orientechnologies.common.log.OLogManager.log OrientDB auto-config DISKCACHE=1,877MB (heap=1,877MB direct=1,877MB os=7,982MB), assuming maximum direct memory size equals to maximum JVM heap size
02-Jun-2016 10:29:36.399 WARNING [localhost-startStop-3] com.orientechnologies.common.log.OLogManager.log MaxDirectMemorySize JVM option is not set or has invalid value, that may cause out of memory errors. Please set the -XX:MaxDirectMemorySize=7982m option when you start the JVM.
02-Jun-2016 10:29:36.402 WARNING [localhost-startStop-3] com.orientechnologies.common.log.OLogManager.log MBean with name com.orientechnologies.common.directmemory:type=OByteBufferPoolMXBean has already registered. Probably your system was not shutdown correctly or you have several running applications which use OrientDB engine inside
02-Jun-2016 10:29:36.403 WARNING [localhost-startStop-3] com.orientechnologies.common.log.OLogManager.log MaxDirectMemorySize JVM option is not set or has invalid value, that may cause out of memory errors. Please set the -XX:MaxDirectMemorySize=7982m option when you start the JVM.
02-Jun-2016 10:29:36.416 WARNING [localhost-startStop-3] com.orientechnologies.common.log.OLogManager.log MBean with name com.orientechnologies.common.directmemory:type=OByteBufferPoolMXBean has already registered. Probably your system was not shutdown correctly or you have several running applications which use OrientDB engine inside
02-Jun-2016 10:29:36.475 INFO [localhost-startStop-3] com.orientechnologies.common.log.OLogManager.log Registered the new available server 'dev.vlasni.com:2424'

server.sh
JAVA_OPTS_SCRIPT="-Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=512g -Djava.awt.headless=true -Dfile.encoding=UTF8 -Drhino.opt.level=9 -XX:+AggressiveOpts -XX:CompileThreshold=200"
ORIENTDB_OPTS_MEMORY="-Xms768m -Xmx768m"
MAXDISKCACHE="-Dstorage.diskCache.bufferSize=5376"
Is there something I am missing in configuration that produces these warnings?
Any help would be greatly appreciated.
Runninng Mode

[ ] Remote

OrientDB Version

[ ] v2.2.0

Operating System

[ ] Linux

Java Version

[ ] 8

Thanks

Please attach to the JVM instance using YourKit or VisualVM and inspect the actual JVM arguments. I suspect they some how got lost during JVM startup.

@taburet
I haven't found a moment to provide what you're asking. In the meantime, please check the output of HTOP command:

As you can see there, it is reporting to be using -XX:MaxDirectMemorySize=7982m (I changed the value in config in order to see if the issue was misconfiguration).
Is this useful?

@taburet
You are right: the logs I see are from tomcat web app.
Thanks for your assistance, I don't mind you closing this one if these warnings can be safely ignored.
Adrian


Build warning

when executing just on the project root:

npm warn deprecated<EMAIL_ADDRESS>This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

On review of our packages this is affecting mocha and some of our eslint plugins. So fortunately only is affecting our dev dependencies.


Restructure samples

Is your feature request related to a problem? Please describe.
The samples are growing pretty long. We should do something to separate the code for the different apis (SwedishPersonalIdentityNumber, SwedishCoordinationNumber, IndividualIdentityNumber). And it should also be prepared to handle more apis (for example CompanyNumber, CompanyRegistrationNumber etc.).

If you can think of something for the C# samples @PeterOrneholm then I'll update the samples for F# in similar way.

The C# was updated in #113. But let's use this issue to keep track of sampels overall. We will probably have to update samples again, and the F# ones as well.


Attempt to read property "id" on null error

After adding code as below (exceprt)
BooleanGroup::make('display')->options([                 'email' => 'Email Campaign Fields',                 'landing' => 'Landing Page Fields',             ])->onlyOnForms(),             DependablePanel::make('Email Fields', [             Text::make('Headline', 'headline'),             Text::make('Subheadline', 'subheadline'),             ])->separatePanel(true)->dependsOn(['display'], function ($field, $request, $formData) {                 if($formData->display) {                     $display = json_decode($formData->display);                     dump("Dumping value of email field");                     dump($display->landing);                     if($display->landing === true) {                         $panel->show();                     } else {                         $panel->hide();                     }                 } else {                     $panel->hide();                 }             }),
I am receiving the error "Attempt to read property on null" when selecting Boolean fields - https://share.getcloudapp.com/Apue9dYL
Full code below:
https://gist.github.com/HeadStudios/fd3dcfc1f11db18fceb4f83590b3cd32
Any input on cause of issue much appreciated.

Can you show the full stack trace? You can get it from DevTools for the api request if you don't have access anywhere else

Can you show the full stack trace? You can get it from DevTools for the api request if you don't have access anywhere else

Please find below stack trace from laravel.log - let me know if not sufficient:
[2023-01-02 12:45:29] local.ERROR: Attempt to read property "id" on null {"userId":1,"exception":"[object] (ErrorException(code: 0): Attempt to read property "id" on null at /home/forge/dev1.rrdevours.monster/app/Nova/Campaign.php:97)
[stacktrace]
#0 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(266): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /home/forge/dev1.rrdevours.monster/app/Nova/Campaign.php(97): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
#2 [internal function]: App\Nova\Campaign->App\Nova\{closure}()
#3 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/Fields/Field.php(339): call_user_func()
#4 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/Fields/FieldCollection.php(81): Laravel\Nova\Fields\Field->resolve()
#5 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Collections/Traits/EnumeratesValues.php(236): Laravel\Nova\Fields\FieldCollection->Laravel\Nova\Fields\{closure}()
#6 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/Fields/FieldCollection.php(83): Illuminate\Support\Collection->each()
#7 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/ResolvesFields.php(430): Laravel\Nova\Fields\FieldCollection->resolve()
#8 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/ResolvesFields.php(356): Laravel\Nova\Resource->resolveFields()
#9 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/ResolvesFields.php(381): Laravel\Nova\Resource->updateFields()
#10 /home/forge/dev1.rrdevours.monster/vendor/formfeed-uk/nova-subfield-dependson/src/Http/Middleware/InterceptSubfieldDependsOn.php(121): Laravel\Nova\Resource->updateFieldsWithinPanels()
#11 /home/forge/dev1.rrdevours.monster/vendor/formfeed-uk/nova-subfield-dependson/src/Http/Middleware/InterceptSubfieldDependsOn.php(125): Formfeed\SubfieldDependsOn\Http\Middleware\InterceptSubfieldDependsOn->getResourceFields()
#12 /home/forge/dev1.rrdevours.monster/vendor/formfeed-uk/nova-subfield-dependson/src/Http/Middleware/InterceptSubfieldDependsOn.php(48): Formfeed\SubfieldDependsOn\Http\Middleware\InterceptSubfieldDependsOn->resourceHasSubfields()
#13 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Formfeed\SubfieldDependsOn\Http\Middleware\InterceptSubfieldDependsOn->handle()
#14 /home/forge/dev1.rrdevours.monster/vendor/formfeed-uk/nova-dependable-panel/src/Http/Middleware/InterceptDisplayFields.php(34): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#15 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Formfeed\DependablePanel\Http\Middleware\InterceptDisplayFields->handle()
#16 /home/forge/dev1.rrdevours.monster/vendor/formfeed-uk/nova-dependable-panel/src/Http/Middleware/InterceptValidationFailure.php(36): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#17 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Formfeed\DependablePanel\Http\Middleware\InterceptValidationFailure->handle()
#18 /home/forge/dev1.rrdevours.monster/app/Http/Middleware/CheckMyStriper.php(31): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#19 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\Http\Middleware\CheckMyStriper->handle()
#20 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/Http/Middleware/BootTools.php(20): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#21 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\Nova\Http\Middleware\BootTools->handle()
#22 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/Http/Middleware/DispatchServingNovaEvent.php(33): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\Nova\Http\Middleware\DispatchServingNovaEvent->handle()
#24 /home/forge/dev1.rrdevours.monster/vendor/inertiajs/inertia-laravel/src/Middleware.php(92): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#25 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Inertia\Middleware->handle()
#26 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#27 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#28 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(44): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/Http/Middleware/Authenticate.php(31): Illuminate\Auth\Middleware\Authenticate->handle()
#30 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\Nova\Http\Middleware\Authenticate->handle()
#31 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(78): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#32 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#33 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#34 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#35 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#36 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#37 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Session\Middleware\StartSession->handle()
#38 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#39 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#40 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#41 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#42 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#43 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\Pipeline\Pipeline->then()
#44 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\Routing\Router->runRouteWithinStack()
#45 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\Routing\Router->runRoute()
#46 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\Routing\Router->dispatchToRoute()
#47 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\Routing\Router->dispatch()
#48 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
#49 /home/forge/dev1.rrdevours.monster/vendor/livewire/livewire/src/DisableBrowserCache.php(19): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#50 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Livewire\DisableBrowserCache->handle()
#51 /home/forge/dev1.rrdevours.monster/vendor/laravel/nova/src/Http/Middleware/ServeNova.php(23): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#52 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Laravel\Nova\Http\Middleware\ServeNova->handle()
#53 /home/forge/dev1.rrdevours.monster/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(66): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#54 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
#55 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#56 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#57 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#58 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#59 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#60 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#61 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#62 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle()
#63 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#64 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#65 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(62): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#66 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\HandleCors->handle()
#67 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#68 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Http\Middleware\TrustProxies->handle()
#69 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#70 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\Pipeline\Pipeline->then()
#71 /home/forge/dev1.rrdevours.monster/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#72 /home/forge/dev1.rrdevours.monster/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle()
#73 {main}
"}
[2023-01-02 12:46:03] local.INFO: Received a payload from client {clientId} {"clientId":1204}

Okay so I can see whats happening, as part of the middleware Dependable Panel will grab your fields from your resource, and check if any fields that use subfields (ie dependable panel) exist, and then resolve the dependsOn values correctly for those subfields. As part of this it will use newResource() with a blank model (as it doesn't need to hit DB to check this). Your "Link" field on line 96 assumes that (on line 97) the current resource will always have an author that will always have an id.
Just make it : $this->author?->id and you should be good.
I'm surprised this hasn't caused issues using regular Nova dependsOn, as IIRC they use newResource too ill take a look into how they handle this on their side.

UPDATE: Can confirm after removal of DependableField that the following code:
Textarea::make('Excerpt', 'excerpt')->dependsOn(['display'], function ($field, $request, $formData) {
if($formData->display) {
$display = json_decode($formData->display);
dump("Dumping value of email field");
dump($display->landing);
if($display->landing === true) {
$field->show();
} else {
$field->hide();
}
} else {
$field->hide();
}
}),
Works - not sure if this was due to composer install, being in top in use statement or having it be added above to (unrelated) fields

UPDATE: Can confirm after removal of DependableField that the following code:
Textarea::make('Excerpt', 'excerpt')->dependsOn(['display'], function ($field, $request, $formData) { if($formData->display) { $display = json_decode($formData->display); dump("Dumping value of email field"); dump($display->landing); if($display->landing === true) { $field->show(); } else { $field->hide(); } } else { $field->hide(); } }),
Works - not sure if this was due to composer install, being in top in use statement or having it be added above to (unrelated) fields

Dependable Field (well its supporting package) was throwing the exception, but it was doing it due to the assumption in your code that the Campaign will always have an author and that the author will always have an ID.
I'm surprised it didn't throw something with your link field as-is on the Create form, as it would be trying to resolve a non-existent relationship then also.

Thank you!

I'll make a couple of small tweaks tomorrow that could mitigate something similar in future, but in general if you're assuming that relationships exist on fields that display on the create form its going to error somewhere. For now you can probably resolve using the change I gave here: https://github.com/Formfeed-UK/nova-dependable-panel/issues/3#issuecomment-1368603192

I'll make a couple of small tweaks tomorrow that could mitigate something similar in future, but in general if you're assuming that relationships exist on fields that display on the create form its going to error somewhere. For now you can probably resolve using the change I gave here: #3 (comment)

Thank you - that seems like a very straightforward fix and I've made note to attempt my goal with his newfound infomration next time I sit down to code on this issue.

P.S. This has been so helpful - you're a life saver - unfortuante that Panels don't have dependsOn in default Nova but I'm glad the Discord community is there to bridge those gaps.

I can confirm this issue has been resolved. I should note DependablePanels appear at the end of my resource form fields in the Edit screen even though they are placed at the top. Any input on this before ticket close would be much appreciated specifically if this is expected behavior and if there is any workaround. Thank you!


Add Dutch language

My first ever fork and PR on Github so please be gentle on me :-) any error was made with the best intentions

I see another PR, not sure if this is going to conflict. Im a github newb.


Potentially unexpected result in utf8toUnicode?

ModSecurity/apache2/msc_util.c
Inside utf8toUnicode()
On line 124-125, there is a call to x2c on a single character.
x2c treats the argument passed in as an array of at least length 2.
The char, c, is not an array, but what I am actually unsure about is why

data does not increment like all the other instances of data (i.e. data++ = character)
a call to x2c(&c) only occurs when (c == 0) or when c is the null character.
x2c and xsingle2c only handles alphabet characters too. So what was the expected result of detecting the null character?

This shouldn't be an issue with libModSecurity (3.x) or 2.9.3.
Please let us know if it's not the case. Thanks!


Add service check validation

What does this PR do?
Tooling requires that the integration name in service_checks.json match what the display name is in manifest.json. This adds a validation to that constraint in our CI.
Motivation
Know immediately if we're going to run into these kinds of issues.
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

Going to tackle this upstream instead. Closing for now.


when voice is too long, fragement will crash

If you are not reporting a bug, please post to https://groups.google.com/d/forum/tinode instead.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to 'chat with somebody'
Click on 'button of mac phone'
Scroll down to 'speak for 5 or longer seconds'
See error: fragment will crash

Expected behavior
sure, it should be sent to peer,
but not
Screenshots
If applicable, add screenshots to help explain your problem.
Tindroid (please complete the following information):

Version [0.20.9]

There was a crash when playing a long audio recorded on Android https://github.com/tinode/tindroid/issues/137. It was fixed in https://github.com/tinode/tindroid/commit/d1abd6e6b4d769b21d31d922906e4cf97150dde9.
I cannot reproduce the crash with recording.

en，yes,  it works wll in semulator,
I see it on MIUI platform,
I am using a phone of MI 11

sometimes, when My figure left the autio button  the fragement sent nothing,
I can see this in emulator too

If you are reporting a crash during recording (not playback), then I cannot reproduce. There is nothing in Crashlytics either. I need a way to reproduce the crash or a stacktrace.

the fragement sent nothing

The recording is discarded if it's too short.

No update in five weeks. I assume it's been resolved.


Add high honors students

Populate Website with Information Provided by High Achieving Students.

 Populate Website with Information Provided by High Achieving Students: Kachi's Brief


Tidy markdown headings for compatibility with atom's markdown-preview

When viewing the README.md files in Atom's markdown-preview, I noticed that the headings sometimes weren't rendered properly. Upon investigation I discovered that simply adding a space to separate the leading hash marks from the heading resolved the rendering issue.

This was originally part of a larger change in amzn/alexa-skills-kit-js#11 but I've separated it out per request.

I've also added a couple of commits that fix the rendering of the historyBuff sample dialog in README.md.

Thank you!


Bindgen panics in Stylo build when using libclang >= 4.0

See https://bugzilla.mozilla.org/show_bug.cgi?id=1336013
 0:17.10 thread '<unnamed>' panicked at 'C'mon: Continue', C:\bot\slave\stable-dist-rustc-win-msvc-64\build\src\libcore\result.rs:837
...
 0:17.10    7:     0x7ff63f888a2f - core::result::unwrap_failed<bindgen::parse::ParseError>
 0:17.10                         at C:\bot\slave\stable-dist-rustc-win-msvc-64\build\src\libcore\macros.rs:29
 0:17.10    8:     0x7ff63f8d46d0 - bindgen::ir::ty::Type::from_clang_ty
 0:17.10                         at S:\blue\third_party\rust\bindgen\src\ir\ty.rs:1024
...
0:17.11 thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Any', C:\bot\slave\stable-dist-rustc-win-msvc-64\build\src\libcore\result.rs:837

There's a couple places where I think we should stop asserting that we can always generate an IR item, and instead fall back to generating opaque items when we inevitably fail on something.

I've had a patch to fix this.

This wasn't completely fixed by that commit AFAIK.

Making this issue about getting Stylo working with master bindgen again. The libclang 4.0 stuff is tracked in https://github.com/servo/rust-bindgen/issues/585

After much patience, creduce gives us this reduction of the panic I was getting when generating bindings for stylo with master bindgen:
template <class> class RefPtr;
class b;
class A {
  typedef b a;
};
template <class c> class e { RefPtr<c> d; };
template <class> class f {};
class g {
  f<e<int>> h;
};
class b : g {};
A Servo_Element_GetSnapshot();

Ok, this is an interaction between blacklisting and the template analysis.


extend opentofu deployer to support deploymentScripts from GitRepo

Similar to #1317 and #1327 , the same must be extended to OpenTofu deployer as well.
We must ensure that any code that is common to both all deployers must be moved to common bean.

I will take it.


startTyping requires SendMessages permission

Discord does not mention it in the docs but I tested it.

On it


Find-replace bug with implicit list access

The bug occurs when find-replacing a to b in:

f(a[1,2])
polygon(a[1,2])

but not:

f(a[[1,2]])
f(a[1])

Example graph: https://www.desmos.com/calculator/umbndlqw6q
Find-replace currently replaces the first character of the function, instead of a.

Could not reproduce


Update Grakn Version to 1.0.0 + minor bug fixes

Tested by:

Starting paper_machete
Reseting Grakn [option 4]
Scanning in binary [options 1]
adding binary to grakn [option 2]
running CWEs [option 3]
quitting [option 5]

As per the guide here I updated the wiki page on my fork to reflect the new installation process:
https://github.com/kingloko/PaperMachete/wiki/Setup

As always, you are awesome Evy. Thanks man!

You bet!


Recent issue closures and readme update leave viability of project ambiguous.

With all open issues getting closed at the end of July, 2020 (including those that indicated the binary was bricking their devices), is there any assurance from the project owner that this product is still viable and produces functional builds as of August, 2020?
Also of concern is the removal of the warning (removed in early August, 2020) on the readme that explained how updates from Google were signed and thus incompatible with a GaleForce modded router.

Just flashed this to mine, it seems to have done the thing however SSH is not working, router was not left bricked.
Even if left bricked, recovery should be easy.


Breaks every time

It has never worked.
Always get an error like the following:
Template render error: (/tmp/book/acetest.md) [Line 4, Column 22]
parseSignature: expected comma after expression

Can you include the markdown code for me to locate the bug/problem?

I took the example for the Repo README.md.
I also tried removing certain elements such as the comment and include lines.  Neither seemed to help.
{%ace edit=true, lang='c_cpp'%}
// This is a hello world program for C.
#include <stdio.h>
int main(){
printf("Hello World!");
return 1;
}
{%endace%}

The code above should work. I tried it on gitbook.io (see here) and also my local build and it is working as expected.
Mind if uploading the whole folders so I can take a look of the config?

There are some problems when I use ace.
{%ace edit=true, lang='c_cpp', check=false, theme='monokai'%}
// Define an array .
typedef int myArrayType [101];
{%endace%}
and the result would be  ：
// Define an array .
typedef int myArrayType [101];
My plugins ：
"plugins": [
"ace",
"katex",
"richquotes",
"github",
"edit-link",
"emphasize",
"tbfed-pagefooter",
"ga"
]

That is a problem with gitbook 3.0+. This issue shall be fixed in the next release of the plugin.

It should be fixed in 0.3.0, please reopen the issue if you find out any problem.


Issue 14612 - typeid(interface) returns TypeInfo_Class object

https://issues.dlang.org/show_bug.cgi?id=14612
Change the type of typeid(interface_obj) to TypeInfo_Interface, and fix TypeInfo object generation to support new TypeInfo hierarchy.
Requires corresponding druntime change: https://github.com/D-Programming-Language/druntime/pull/1295
Unfortunately, we need to fix compiler and druntime code at the same time.

Rebased on master, and ready for ddmd.

I really think typeid(i) must be the same as typeid(cast(Object)i).  Having it do anything other than get the concrete type will make it harder to use interfaces and abstract base classes interchangeably.
I understand that the current way makes sense with how interfaces are implement in D, but I think that implementation is supposed to be hidden from the user.  I think it's obscure and unintuitive to the point where most experienced D users would not guess the behavior correctly.
When I use typeid(class or interface reference) I'm always trying to find out the dynamic type of the class.  I don't ever care about the interface's adjusted vtable or other implementation details.

I added more code to support incremental migration of dmd and druntime repositories.
Now this PR does not change anything. After the update of druntime, the new behavior will be introduced.


Applying a filter to the Pi Camera Image

Hi, I wondered if there was a method for taking a picture and applying a filter such as sepia, negative within the Pi Camera code, or would this require additional software?
Many thanks,
Dan

You can use image_effect to apply a filter prior to taking the picture (it'll affect the preview, and the capture itself). The filters are defined by the firmware (so the filters are non-editable) but there are parameters for controlling various filter options.

Many thanks Dave, you helped me to get it working
Regards
From: Dave Jones<EMAIL_ADDRESS>To: waveform80/picamera<EMAIL_ADDRESS>Cc: Dan Aldred<EMAIL_ADDRESS>Sent: Wednesday, 9 September 2015, 21:34
Subject: Re: [picamera] Applying a filter to the Pi Camera Image (#238)
You can use image_effect to apply a filter prior to taking the picture (it'll affect the preview, and the capture itself). The filters are defined by the firmware (so the filters are non-editable) but there are parameters for controlling various filter options.—
Reply to this email directly or view it on GitHub.


Is there a way to drop a draggable item if it is near to the drop zone?

Is your feature request related to a problem? Please describe.
I have multiple drop zones in my app, so I'd like to suggest to users which drop zone is the nearest to the cursor and allow drop draggable item without hovering drop zone.
Describe the solution you'd like
I don't see the ability to manually activate dropping functionality. I'd like to activate it based on the cursor position.

You should be able to simply create a wrapping div that is slightly larger than your drop zone that acts as the drop target, then render the drop zone UI component inside.
Something like this:

    // Actual drop zone UI rendered here:

You should be able to simply create a wrapping div that is slightly larger than your drop zone that acts as the drop target, then render the drop zone UI component inside.
Something like this:

    // Actual drop zone UI rendered here:

Make sense, thank you!


Plugins loading

Hi there!
I'm working on an app using plain ruby. I'm using<EMAIL_ADDRESS>gem witch depends on activesupport, so it's installed.
So, when the rollbar gem loads all plugins there, active job fails.
That condition works and my app crashes on the next line, it complains that
NoMethodError: undefined method `on_load' for ActiveSupport:Module

and was fixed only after I added activemodel to the app's Gemfile.
I would not want to do that manually because:

I have more than 20 apps with the similar gem set.
It acts as it's a rails app.
It's not obvious.

So, the condition should be different, a lot of other gems depend on activesupport. Or the way plugins are loaded should be changed.

With the version 2.22.1 everything works fine, the code check for an ActionMailer
https://github.com/rollbar/rollbar-gem/blob/5d492b00908fa9a79747008e39f9afd15eb5e9a8/lib/rollbar/plugins/active_job.rb#L18
But it crashes in 2.23.1

@firec0der All makes sense, and thank you for the report.
I'll get an update out as soon as possible and will reply here.

@waltjones thanks!


grunt run:android --livereload issue with Genymotion device

I am using Genymotion as my live testing environment and I run into a weird issue. When i run
grunt run:android --livereload
i never got the output I expected meaning the process stays connected and I see console output and live reload enabled instead, it just started the build process as if I had just ran
grunt run:android
And that was it, deployed to the device and bam! the process exits.
It might be linked to this issue:
https://github.com/driftyco/ionic-cli/issues/82
because while debugging this, if i run:
ionic run android --livereload
I get
Setup Live Reload
Multiple addresses available.
Please select which address to use by entering its number from the list below:
Note that the emulator/device must be able to access the given IP address

<IP_ADDRESS> (en0)
<IP_ADDRESS> (vboxnet0)
Address Selection:  2
Selected address: <IP_ADDRESS>
Running dev server: http://<IP_ADDRESS>:8100
Running live reload server: http://<IP_ADDRESS>:=35221
Watching : [ 'www//*', '!www/lib//*' ]

And the process goes on to successfully enable livereload and dynamic debugging.
Did anybody else run into this?

No i'm looking aswell did you find the answer?

Same here.


[Feature] How to access ray serve from within K8s cluster

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
I cannot access deployed Ray Serve service from another Pod within the same K8s.
From the same port, I can initialize ray client to the cluster using     ray.init('ray://raycluster-autoscaler-head-svc.default.svc.cluster.local:10001')   but     response = requests.post('http://raycluster-autoscaler-head-svc.default.svc.cluster:8000/', json=text_input) does not work.
I could only use response = requests.post('http://localhost:8000/', json=text_input) from within the same python process where I deployed ray serve.
Use case
Calling ray serve from within the same k8s
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

I can access it from deploying https://github.com/ray-project/kuberay/blob/master/ray-operator/config/samples/ray_v1alpha1_rayservice.yaml but it would be nice to know the detail how to configure accessing Ray serve from your own ray cluster.


Clarification needed on /beacon/states/{state_id}/validators/{validator_id} error case

The current specification for this endpoint is ambiguous about which error code the beacon node should return when the specified validator_id is not present in the given state_id.
The two equally valid options are:

400 corresponding to Invalid state or validator ID (returned by Teku)
404 corresponding to Not Found (returned by Lighthouse)

This ambiguity is preventing the lighthouse validator from interfacing cleanly with Teku beacon nodes.

@mcdee
Thanks. I didn't see the ValidatorNotFound case.


Pages download way too much data than needed

When clicking on the text section in course or any section with text the page, it takes way too much time to load 4-5 seconds. Even if the page has only few KBs of text in it. I tried recording and found that a page less than 100KB downloaded content of about 5MB.

^ this page consumed downloaded 5MBs of data

I think it might be because your AuthenticatedWebView is authenticating after every single page request, as written in the class documentation.

Agree, sometimes you have to wait quite a while to just load checkbox. But question is if this could be changed to something better.

This is something that we know and is on our radar to be taken care of in the near future.
p.s. Don't have a strict timeline as to when we'll be looking at it, but its there in our upcoming projects.
Thanks for flagging the issue though! It'll be great if you guys can propose a solution may be through an open source pull request. We'll be more than happy to review it and get the job done!


newly loaded Resource Template does not show up in list until hard refresh

on DEV, I loaded a new Resource Template with name "Watch this" and ID "watch:me:now"
The blue confirmation shows that it was created successfully

but it doesn't appear anywhere in the list (screenshot 1: search for text watch and finds only the confirm message; screenshot 2: it doesn't appear in the list in alpha order by name where it should be)

I did a hard refresh and now it shows up

NOTE: we had similar issue before: https://github.com/LD4P/sinopia_editor/issues/507

btw I tested loading a revised RT (same ID, new name) and the new name DOES show up successfully in the list without hard refresh


openapi

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
232

Relevant Lines:
232

💛  - Coveralls


feat(plugins): add mode governance plugin

Relates to:
Hackthon issue Add Mode Governance Plugin Examples
Background
What does this PR do?
This PR adds a new example showcasing the Mode Governance plugin integration with the GOAT SDK using Vercel AI. The example demonstrates how to:

Set up and initialize the Mode Governance plugin
Interact with Mode DAO governance functionality
Execute governance actions using GPT-4 and GOAT tools
Handle voting power management and gauge voting

What kind of change is this?

✨ New feature (adds new example code)
📝 Documentation (includes example documentation)

Documentation changes needed?
My changes include the necessary documentation within the example:

Added comprehensive README.md with setup instructions
Included inline code comments explaining key functionality
Added example prompts and usage patterns

Testing
Detailed testing steps

Navigate to examples/vercel-ai/mode-governance
Copy .env.template to .env and configure:

Set OPENAI_API_KEY
Set WALLET_PRIVATE_KEY (with Mode tokens)
Set RPC_PROVIDER_URL

Run npm install
Execute npm start
Verify the following functionalities:

Successful connection to Mode Network
Correct retrieval of voting power
Ability to view available gauges
Successful vote casting
Accurate retrieval of voting history

For plugins

[x] I have tested this change locally with key pair wallets
[x] I have tested this change locally with hosted wallets (Crossmint Smart Wallets)

Discord username
codingshthefounder
Telegram username
codingsh

Following on this: https://github.com/goat-sdk/goat/pull/123#issuecomment-2560208682


Clear lyrics when Spotify client is closed

When I close my spotify client, sptlrx continues to go through the lyrics until it gets to the end of the song. Would it be possible to clear the output when the spotify client is no longer running?
I am using sptlrx pipe in polybar and it continues to update the lyrics for minutes after I closed Spotify.

The problem is that Spotify tracks progress on its servers and returns it to all clients (that's how Spotify Connect works). It doesn't know you've closed the client, at least not right away. There's nothing we can do about it.


Question: Metrolog in PCL- possible to append log entries?

Hi
I'm trying to implement Metrolog in PCL, and have some of my methods within the PCL project write to log. I couldn't find an inherent PCL specific Target but then I saw Viktor Hofer's Portable File Target so I've grabbed it and seems to be what i needed.
Anyway, my question is regarding the actual logs creations- is there a way to configure Metrolog to append log entries instead of creating new flies on the fly?

MetroLog will append if it's the same log filename and it's configured to append. This is the default behavior. Also by default it puts the date in the filename so it'll create a new file per day.


tabs for extra ToolWindows [RIP-33]

Meanwhile...

And then:

A few words about what the screenshots are showing would help with understanding the accomplishment here.