Can deepEdit detect the most confidence site in the region?

There is a special bed file that required by DeepEdit.
I want  to know if I can input a bed annotated some region.
And deepedit told me the most confidence sites.
Many thanks if can help

If not, we need to extract all A bases on our reference and build a site level bed to see all the prediction on it?

Dear JeremyQuo,
Thank you for your interest in DeepEdit and for reaching out to our team. We appreciate your attention to our work. However, we regret to inform you that the current version of DeepEdit does not support the direct input of a BED file annotated with specific regions or provide predictions for those regions.
Thank you for your understanding, and we wish you success in your research.
Best regards,
Ou Liang

Thanks for your reply


Profile data false after edit

After editing the profile the page doesn't reload data (only applies to birth date which is correct after relogging)

This I think we can fix in the query by adding a get from database after it has done a put.


when i run python3 dagda.py vuln --product python --product_version=3.8-slim error 500

Short description
I run python3 dagda.py vuln --product python --product_version=3.8-slim
Reproduction steps

Start Dagda server with the parameters '...'
Type the Dagda CLI command vuln --product python --product_version=3.8-slim
Return {
"err": 500,
"msg": "Internal Server Error"
}
Show logs dagda server
dagda     | <2023-12-13 09:54:51,440>   <sysdig_falco_monitor> <pre_check:83> <I'm running inside a docker container, so I can't check if the kernel headers are installed in the host operating system. Please, review it!!>
dagda     | <2023-12-13 09:55:29,060>   <dagda_server> run:104 <Falcosecurity/falco output file not found.>
dagda     | <2023-12-13 09:55:29,060>   <dagda_server> run:105
dagda     | <2023-12-13 10:08:22,749>    <log_exception:1454> <Exception on /v1/vuln/products/python/3.8-slim [GET]>
dagda     | Traceback (most recent call last):
dagda     |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2070, in wsgi_app
dagda     |     response = self.full_dispatch_request()
dagda     |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1515, in full_dispatch_request
dagda     |     rv = self.handle_user_exception(e)
dagda     |   File "/usr/local/lib/python3.8/site-packages/flask_cors/extension.py", line 165, in wrapped_function
dagda     |     return cors_after_request(app.make_response(f(*args, **kwargs)))
dagda     |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1513, in full_dispatch_request
dagda     |     rv = self.dispatch_request()
dagda     |   File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1499, in dispatch_request
dagda     |     return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
dagda     |   File "/opt/app/api/service/vuln.py", line 57, in get_vulns_by_product_and_version
dagda     |     vulns = InternalServer.get_mongodb_driver().get_vulnerabilities(product, version)
dagda     |   File "/opt/app/driver/mongodb_driver.py", line 322, in get_vulnerabilities
dagda     |     for bid in bid_cursor:
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/cursor.py", line 1238, in next
dagda     |     if len(self.__data) or self._refresh():
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/cursor.py", line 1155, in _refresh
dagda     |     self.__send_message(q)
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/cursor.py", line 1044, in __send_message
dagda     |     response = client._run_operation(
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1424, in _run_operation
dagda     |     return self._retryable_read(
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1525, in _retryable_read
dagda     |     return func(session, server, sock_info, secondary_ok)
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1420, in _cmd
dagda     |     return server.run_operation(
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/server.py", line 130, in run_operation
dagda     |     _check_command_response(first, sock_info.max_wire_version)
dagda     |   File "/usr/local/lib/python3.8/site-packages/pymongo/helpers.py", line 167, in _check_command_response
dagda     |     raise OperationFailure(errmsg, code, response, max_wire_version)
dagda     | pymongo.errors.OperationFailure: text index required for $text query (no such collection 'vuln_database.bid'), full error: {'ok': 0.0, 'errmsg': "text index required for $text query (no such collection 'vuln_database.bid')", 'code': 27, 'codeName': 'IndexNotFound'}

Expected results
I expected that by analyzing the docker image and showing the report
Actual results
Instead of '...', what I saw was that '...' happened instead.
On which platforms did you notice this:
Please complete the following information:

OS: Ubuntu
OS Version: Jammy
Python version: 3.8

Backtrace
Please copy paste the backtrace here if available

Solution
A possible solution for this issue would be '...'

@eliasgranderubio help me check issue, many thanks


Don't fail if DefaultAppPool doesn't exist

So i started fiddling around with Azure container instances and it works like a charm with linux container images. But when i try to deploy a windows container instance then the ACI continuously restarts and the state is set to waiting.
In logs it says
Service 'w3svc' has been stopped
APPCMD failed with error code 183
Failed to update IIS configuration
The image that i am using is a public image in my docker repo.
It has a custom website running inside of it on IIS. Base image was a microsoft/nanoserver .
Any help would be much appreciated.

@Zuig4turi I don't believe there's anything ACI specific. I successfully deployed the microsoft/iis:nanoserver to ACI earlier this week.
That being said, there was an issue in the ServiceMonitor.exe included in the IIS image (prior to July 2017) that failed this exact APPCMD failure due to ServiceMonitor trying to create duplicate environment variables.
Could you retry by rebuilding your image on a newer iis base image?

Hello Shirhatti,
When i deploy microsoft/iis:nanoserver as a ACI it works perfectly fine.
If i customise the image in anyway it fails.
Lets say
docker run -d --name test microsoft/iis:nanoserver
docker stop test
docker commit test test_v1
docker login
docker tag test_v1 :test_v1
docker push :test_v1
Now when i use :test_v1 in ACI it fails, and gives me error
Service 'w3svc' has been stopped
APPCMD failed with error code 183
Failed to update IIS configuration

@mcy94w Thoughts on this? This sounds exactly like https://github.com/Microsoft/iis-docker/issues/42 which I believe we'd already fixed a while ago

@Zuig4turi ServiceMonitor will promote environment variables from process environment it's own process environment block to the DefaultAppPool. We achieve this by naively copying all variables in our process environment block.
If you do end up replacing the default site, I'd recommend still using the Default App Pool otherwise you won't get environment variables to work. That being said, we can guard against it which we'll do in a future update

@Zuig4turi
Since #31 is merged, within the next release of the ServiceMonitor you should be able to remove the DefaultAppPool and get your custom pool monitored

@Zuig4turi feel free to re-open if you're still seeing this issue. As far as we're aware, this shouldn't be happening.


Give all CSV files a header

Make the format consistent by giving all input .csv files a header.
This should include a description of each file as well (with expected units)

I am not sure if EXOSIMS accommodates extra headers in the contrast and throughput CSV files


Name of shapes

Hi
Say you have received a diagram and want to know the name of certain shapes. Is there a way to know the name of the shapes in the diagram?
Thanks

Duplicate of https://groups.google.com/forum/#!topic/drawio/oPOMSQD5TPM

Oh sorry, I thought the group was for questions / answers while github was for submitting a bug.

Github is for submitting bugs, but I don't see a bug report here.


[QUESTION] Why i dont see likes in Instagram Account > Posts i liked?

No likes in Instagram App.
Before submitting an issue, make sure you have:

[x ] Updated to the lastest version
[ x] Read the README
[ ]x Searched the bugtracker for similar issues including closed ones
[ x] Reviewed the sample code in tests and examples

Which example file are you using?
python multi_script_CLI.py

Describe your Question/Issue:
I choose option "Like from hashtag(s)" and "Use hashtag database".
Than the bar run from 0% to 100% / 85 Media.
But in instagram nothing happens.

Paste the output of python -V here:
Python 3.8.2

@bruvv  - Why you closed this question? There is no answer?!


User docs for new Unleash instances

How to get started with new Unleash instances.
Old docs: https://docs.nais.io/addons/unleash

https://docs.nais.io/addons/unleash-next/index.html


doe: add more optimality criteria

Autodiff/symbolic differentiation as it is now used for the evaluation of the jacobian of the objective function for D-optimal designs can also be applied to other optimality criteria (e.g. the ones mentioned here). So far, objective functions other than D-optimality are not implemented because their jacobians were not easy to determine analytically. With automatic differentiation we do not have this problem anymore. I already started implementing some additional optimality criteria and did a few successful small experiments. Finishing this could be a nice thing to do during the hackathon, if you guys think that new optimality criteria could be useful.

Great idea!

Closed with #173. Thanks @Osburg!


[WIP] Block data implementation

Implementation of the DATA_MANIPULATOR_BUILDERS

[x] In the build() method, checked if the container contained the keys required, if it doesn't, return Optional.empty()

Implementation of the VALUE_PROCESSORS:

[x] Appropriately extended AbstractSpongeValueProcessor
[x] Individual processors for each source type possible (one for ItemStack/TileEntity/Entity as necessary).

Registration:

[x] Registered the Key correctly by FIELD_NAME in the KeyRegistry
[x] Registered the DataProcessors and DataManipulatorBuilder in SpongeSerializationRegistry
[x] Registered the ValueProcessors in the SpongeSerializationRegistry

manipulators done:

[x] DirtData
[x] StoneData
[x] BrickData
[x] SandData
[x] SandstoneData
[x] QuartzData
[x] PrismarineData
[x] slabData

@gabizou i wanted to run the test below but i get an exception i have no idea why:
it has to be something with itemBlock-types because ItemTypes.WRITTEN_BOOK is working
ItemTypes.STONE isnt working either
java.lang.NoSuchFieldError: DIRT
	at test.Test$1.handle(Test.java:44) ~[Test$1.class:?]
	at test.Test$1.handle(Test.java:1) ~[Test$1.class:?]
	at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:92) ~[RegisteredListener.class:?]

the test i wanted to run:

@Plugin(id = "test", name = "test", version = "1.0-SNAPSHOT")
public class Test {

    private Logger logger;
    private Game game;

    @Inject
    public Test(Logger logger) {
        this.logger = logger;
    }

    @Listener
    public void preInit(GamePreInitializationEvent event) {
        this.game = event.getGame();
        this.logger.info("enabling test");
    }

    @Listener
    public void enable(GameStartingServerEvent event) {
        event.getGame().getEventManager().registerListener(this, ClientConnectionEvent.Join.class, new EventListener<ClientConnectionEvent.Join>() {

            public void handle(Join event) throws Exception {
                Player player = event.getTargetEntity();
        line 44 ItemStack dirt = Test.this.game.getRegistry().createItemBuilder().itemType(ItemTypes.DIRT).quantity(1).build();
                Test.this.logger.info(dirt.getOrNull(Keys.DIRT_TYPE).getId());
                dirt.offer(Keys.DIRT_TYPE, DirtTypes.PODZOL);
                player.setItemInHand(dirt);
                Test.this.logger.info(dirt.getOrNull(Keys.DIRT_TYPE).getId());
                DirtData data = Test.this.game.getRegistry().getManipulatorRegistry().getBuilder(DirtData.class).get().create();
                data.set(Keys.DIRT_TYPE, DirtTypes.COARSE_DIRT);
                ItemStack dirt1 = Test.this.game.getRegistry().createItemBuilder().itemType(ItemTypes.DIRT).itemData(data).quantity(1).build();
                player.setItemInHand(dirt1);
                Test.this.logger.info(dirt1.getOrNull(Keys.DIRT_TYPE).getId());

            }
        });
    }
}

i did not test the rest of the blocktypes because of  #199

@lucdon would you be able to hop on IRC in #spongedev ?

@gabizou  good luck reviewing :)

@lucdon, if you can revise the commits into one commit?

Please rebase/squash the PR into fewer commits. As is it is a brain ache to get the rebase right.

@gabizou wow it exactly worked :)


Support the latest Leaflet.draw plugin

is there anyone working on updates? i need this issue to be solved :(

found that problem is in Leaflet.draw library. L.Draw.Feature.addInitHook is not working, so snapping is not being initialized [Leaflet/Leaflet.draw/issues/857]


nCell is undefined (colspan in tbody)

You are probably already aware of this issue, but putting a colspan on any cell in the tbody breaks DataTables. Could you either ignore any row that has a th or colspan (or allow ignoring through an option) or create a callback hook for custom handling?
Here is my debug data, you'll notice that every third row is a single cell that spans the entire table.
http://debug.datatables.net/umupad
Full Error Text:
TypeError: nCell is undefined
../jquery.dataTables.js?body=1
Line 670
PS: You should link to the github project from somewhere on the datatables.net website.

Resurecting this issue because I have been finding posts since 2009, and this post is **2013 **and now its 2016... and the issue is still unsolved.
At this point I would just be happy with the "unsortable" rows to be classified as Z (at bottom of page after Z) - The text is still searchable in a row span yes? ANy other issue, just put it at the end of the filter. Whater.
For the love of GOD please do something to prevent complete plugin crash... that is horrible that one row contains  among 10000000 row and the entire thing falls over. Please, PLEASE.. Just decide on a safe default and lets sort this out.
Is there any way to hack this - I wish I knew this was an issue before I decided to sell it to the team. I dont care if it cant be filtered with other columns, its odd one out, people most probably not even interested in these rows because of x,y or z. PLEEEAAAAAAAAAAAAAASSSE.... :+1:  :)

There is no hack for colspan or rowspan in the tbody of the DataTable. I am not planning on implementing such support any time soon as I think it could potentially be very complex and I'm working on other aspects of the software.

Hi
I don't mean to pick at old scabs or anything but maybe the assumption of very complex is the issue here. How about basic support, to prevent an extremly excellent jQuery plugin to fall to its knees on a colspan.
Looking at it on a basic level and a technical implementation. I understand you need the data object to match the header columns, so having n headers must have n cells in each row. So how can we solve this on a simple level.
Padding? If row has n-y cells, then pad the object with y "default" value (or settable)
So 6 cells could be
Name    Surname    DOB        AccountBalance    LastPayment

Pedro    Ramano     11/11/82          ----------NA--------
Peer     Francesko   11/11/52      $29.02          04/02/2016

The data object could simply look like
{"Pedro"  ,"Ramano"      ,11/11/82" ," ----------NA--------" ,""},
{"Peer"    ,"Francesko " ,11/11/82" ," $29.02"               ,"04/02/2016"}

This way applying an ascending or descending filter on coloumn LastPayment, the colspan value of of the padded column is "" making it either top or bottom, and the AccountBalance with "-NA-" value.
Where any colspan will always take the value of the cell it would be without colspan, and then the rest of the data is padded.
In basic support terms, without feature creeping basic support?
This way a well formed table that may contain a colspan wont kill DataTables and the user will have a safe, default way of evaluation the presentation without data loss.

I think in essence stopping DataTables for throwing an error when encountering a colspan in the tbody on initialisation would actually be relatively easy due to the way it is now architected internally (that wasn't the case back when this issue was first created). That could also support sorting with probably just an hour or two of work.
However, immediately past that we start to hit issues. For example column visibility would just be immensely complicated. Column searching would also become more involved. Yes, possible, but it would take time that I feel I should be spending on other things at the moment. Rowspan would be next and that would be a nightmare with filtering.
So while I could make it initialise without error, it wouldn't be close to supporting the full feature set of DataTables, leading to a slippery slope. I would consider it a bug to support colspan on init, but not if you want to use column visibility for example.
So no, at this time I will not be implementing any support for colspan or rowspan in the table body. As things evolve I hope to change that in future, but not now.

Absolutely none of my business, but reading this I was wondering if Peter
could write some javascript which could filter (i.e., pad) the data before
passing it to datatables. Since his need is simple to get past this, as
described, it might be a simple filter.
On Thu, Feb 4, 2016 at 3:15 PM, Allan Jardine<EMAIL_ADDRESS>wrote:

I think in essence stopping DataTables for throwing an error when
encountering a colspan in the tbody on initialisation would actually be
relatively easy due to the way it is now architected internally (that
wasn't the case back when this issue was first created). That could also
support sorting with probably just an hour or two of work.
However, immediately past that we start to hit issues. For example column
visibility would just be immensely complicated. Column searching would also
become more involved. Yes, possible, but it would take time that I feel I
should be spending on other things at the moment. Rowspan would be next and
that would be a nightmare with filtering.
So while I could make it initialise without error, it wouldn't be close to
supporting the full feature set of DataTables, leading to a slippery slope.
I would consider it a bug to support colspan on init, but not if you want
to use column visibility for example.
So no, at this time I will not be implementing any support for colspan or
rowspan in the table body. As things evolve I hope to change that in
future, but not now.
—
Reply to this email directly or view it on GitHub
https://github.com/DataTables/DataTables/issues/172#issuecomment-180028048
.

Ok.
I'm going to branch out tomorrow and dig into this issue. I'll try make an
alternative branch for people who understand these caveats.
I can't / don't want to use anything but DataTables.
Thanks for everything.
On Thu, 4 Feb 2016 at 20:17, Allan Jardine<EMAIL_ADDRESS>wrote:

I think in essence stopping DataTables for throwing an error when
encountering a colspan in the tbody on initialisation would actually be
relatively easy due to the way it is now architected internally (that
wasn't the case back when this issue was first created). That could also
support sorting with probably just an hour or two of work.
However, immediately past that we start to hit issues. For example column
visibility would just be immensely complicated. Column searching would also
become more involved. Yes, possible, but it would take time that I feel I
should be spending on other things at the moment. Rowspan would be next and
that would be a nightmare with filtering.
So while I could make it initialise without error, it wouldn't be close to
supporting the full feature set of DataTables, leading to a slippery slope.
I would consider it a bug to support colspan on init, but not if you want
to use column visibility for example.
So no, at this time I will not be implementing any support for colspan or
rowspan in the table body. As things evolve I hope to change that in
future, but not now.
—
Reply to this email directly or view it on GitHub
https://github.com/DataTables/DataTables/issues/172#issuecomment-180028048
.

Really just looking at it now, a quick hack is to run a pre init script to pad the actual DOM (if loading from DOM) with the "missing" td's and set them to hidden. The Visual appearance is as I suggested with padding (automatically due to colspan) Its the actual aoColoumns  engine that goes bezerk due to a missing

\\if you do it, I think you might get away with a change here only. Just make that loop take account of the colspan - possibly with an inner loop (I've not tried it, so it might not be that simple).

Ahh - Thank you for the pointer! I will look into patching the my fork to do what I just hacked together as a proof of concept.
In the mean time I created a really dirty jQuery patch. Just include it straight after the table DOM to ensure it executes once the table DOM is loaded
var colspanned = $('[colspan]','table');

$(colspanned).each(function(idx,el){
	var colSpanSize = parseInt($(el).attr('colspan'));
	if (colSpanSize <= 1)
	{
		return;
	}

	colSpanSize = colSpanSize - 1; //Delta
	for (i = 0; i < colSpanSize; i++) {
		$(el).closest('tr').append('	');
	}
});

Well I patched the location you mentioned with this.
if ( td ) {
			// `tr` element was passed in
			while ( td ) {
				name = td.nodeName.toUpperCase();

				if ( name == "TD" || name == "TH" ) {
					cellProcess( td );
					tds.push( td );

					if ($(td).attr('colspan') !== undefined)
					{
						var colSpanSize = parseInt($(td).attr('colspan'));
						if (colSpanSize > 1)
						{
							colSpanSize = colSpanSize - 1; //Delta
							for (i = 0; i < colSpanSize; i++) {
								tds.push($('	'));
							}
						}

					}
				}

				td = td.nextSibling;
			}
		}

And the dataTable loads up fine without adding DOM elements but I get this error now. Ill have a look at that in the morning when I got some caffeine in.

Just for anybody tracking this issue, I have forked and created a branch with a patch found at
https://github.com/ppumkin/DataTables/tree/ppumkin-patch-1-colspan
The table loads and there are no errors on sorting or searching.


Disable the Error: <...> is required log message

Is it possible to disable the Error: ... is required log message if ollama is used?
I see the following frequently in my console log.
Error: ANTHROPIC_API_KEY is required
Error: OPENAI_API_KEY is required
Error: ANTHROPIC_API_KEY is required
Error: OPENAI_API_KEY is required

Hi, I thought they were not required are you trying to use openai or anthropic api?  if so you need to set them up like in the readme if not, please set a dummy key that might work for the time being I will fix this next update so is not required.  Sorry I must have overlooked that

Hi, thanks for the reply! I went ahead and added system variables in Win 10 (dummy ones at least) and now the errors are gone but the server shell is constantly reporting:
API key found for ANTHROPIC_API_KEY
API key found for OPENAI_API_KEY
API key found for ANTHROPIC_API_KEY
API key found for OPENAI_API_KEY

Fixed it, they will not show, anymore in the latest update, Thank you.


@Context injection with multiple JAX-RS applications

Environment Details

Helidon Version: 2.2.2
Helidon MP
JDK version: 11
OS: Linux
Docker version (if applicable):

Problem Description
@Context injection does not work correctly with multiple JAX-RS Applications. Any shared @ApplicationScoped bean will have the @Context injections injected from the ServiceLocator of the first JAX-RS Application that access it. When using the bean from another application, it will fail with something like:
java.lang.IllegalStateException: Not inside a request scope.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.process.internal.RequestScope.current(RequestScope.java:153) ~[jersey-common-2.31.jar:?]
	at org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:55) ~[jersey-hk2-2.31.jar:?]
	at org.jvnet.hk2.internal.MethodInterceptorImpl.internalInvoke(MethodInterceptorImpl.java:65) ~[hk2-locator-2.6.1.jar:?]
	at org.jvnet.hk2.internal.MethodInterceptorImpl.invoke(MethodInterceptorImpl.java:101) ~[hk2-locator-2.6.1.jar:?]
	at org.jvnet.hk2.internal.MethodInterceptorInvocationHandler.invoke(MethodInterceptorInvocationHandler.java:39) ~[hk2-locator-2.6.1.jar:?]

Steps to reproduce

Create two JAX-RS applications
Create an @ApplicationScoped resource class that injects @Context HttpHeaders into a field.
Try to access the headers from one application and then from the other one.

I have an example that shows the problem with 2 apps, a bean in @ApplicationScope and access from different resources. Here is the exception reported:
java.lang.IllegalStateException: Not inside a request scope.
	at org.glassfish.jersey.internal.guava.Preconditions.checkState(Preconditions.java:169)
	at org.glassfish.jersey.process.internal.RequestScope.current(RequestScope.java:153)
	at org.glassfish.jersey.inject.hk2.RequestContext.findOrCreate(RequestContext.java:55)
	at org.jvnet.hk2.internal.MethodInterceptorImpl.internalInvoke(MethodInterceptorImpl.java:65)
	at org.jvnet.hk2.internal.MethodInterceptorImpl.invoke(MethodInterceptorImpl.java:101)
	at org.jvnet.hk2.internal.MethodInterceptorInvocationHandler.invoke(MethodInterceptorInvocationHandler.java:39)
	at com.sun.proxy.$Proxy89.toString(Unknown Source)
	at java.base/java.lang.StringConcatHelper.stringOf(StringConcatHelper.java:439)
	at java.base/java.lang.StringConcatHelper.simpleConcat(StringConcatHelper.java:418)
	at me.spericas.mp.quickstart.GreetResource2.getDefaultMessage(GreetResource2.java:61)

The crux of the problem is that Jersey creates an injection manager per JAX-RS application, and each injection manager has its own set of scopes (application, request, etc.). Trying to cross inject a CDI bean with request scope objects from different applications results in the exception.
The following test would show the problem: two applications each one holding a single resource and a separate CDI bean in application scope that injects a request scope object such as HttpHeaders, an is also injected and accessed from each resource instance. A request that comes for application 1/resource 1 will successfully inject HttpHeaders into the application scope bean; a following request that comes for application 2/resource 2 will fail attempting to do the same.
The workaround at this time is to merge the applications that require this form of cross injection to avoid exceptions like the one described in this issue.

PR #2988


Separate workspace for types

we need to move all structs and types into separate workspace

@l3r8yJ what do you mean by structs and types here? We have github-mirror workspace member that generates all GitHub-compatible structs we operate with in server. In server we have mostly objects that deal with logic/generated structs

@h1alexbel I'll send a POC pr a bit later

@l3r8yJ If you refer to rather a config state inside FakeHub, we need to name it properly. I suggest fss -  Fakehub State Structs. This crate will be a dependency for fsl crate. WDYT?


[Breaking changes] Update rustls from 0.21 to 0.23

rpxy heavily relies on rustls and its dependents. to upgrade rpxy, we need to wait for updates of the following crates based on rustls.

[x] rustls 0.22
[x] tokio-rustls  0.25.0
[x] rustls-pemfile 2.0.0
[x] quinn 0.11 (waiting for the release https://github.com/quinn-rs/quinn/pull/1715 https://github.com/rustls/rustls/pull/1741)
[x] h3 https://github.com/hyperium/h3/pull/238#issuecomment-2094841015
[ ] s2n-quic-rustls (alternative: stop using rustls and use s2n-tls)

- [x] hyper-rustls (waiting for https://github.com/rustls/hyper-rustls/issues/234 with hyper-1.0 support, alternative: hyper-tls could be workaround)

hyper-rustls v0.26.0 is available independently from other updates.

updated hyper-rustls to v0.26 in #137

https://github.com/hyperium/h3/pull/238 was merged.

@yerke Thanks! Now waiting for the release ofs2n-quic-rustls. (It already supports rustls-0.23 in its unreleased version.)

Resolved by #126


f3d: 2.1.0 -> 2.2.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/f3d-app/f3d/releases.
meta.description for f3d is: Fast and minimalist 3D viewer using VTK
meta.homepage for f3d is: https://f3d-app.github.io/f3d
meta.changelog for f3d is: https://github.com/f3d-app/f3d/releases/tag/v2.2.1
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.2.1 with grep in /nix/store/4i8yradpa76d1cggh3nlp66ncmx467x3-f3d-2.2.1
found 2.2.1 in filename of file in /nix/store/4i8yradpa76d1cggh3nlp66ncmx467x3-f3d-2.2.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
f3d

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/4i8yradpa76d1cggh3nlp66ncmx467x3-f3d-2.2.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A f3d https://github.com/r-ryantm/nixpkgs/archive/262fc5e3920c77e74e57351d62b6d5ba1b4c7098.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/262fc5e3920c77e74e57351d62b6d5ba1b4c7098#f3d

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/4i8yradpa76d1cggh3nlp66ncmx467x3-f3d-2.2.1
ls -la /nix/store/4i8yradpa76d1cggh3nlp66ncmx467x3-f3d-2.2.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

f3d

Maintainer pings
cc @bcdarwin for testing.

Looks fine to me


Misleading comments in "7.8.2. Vector Strided Segment Loads and Stores example"

Hi, I think there might be a possible errata in the comments in the example in https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#782-vector-strided-segment-loads-and-stores.
Let's note that it is the description what defines the specs and not the example. However, the example can lead to confusion if not clear/correct.
My reasoning for which I consider there might be a errata in the comments in the specs example is the following:

Consider the example

Consider the value in x6 is 1

For i=0 the value x5+2 is written to v6[0]

For i=1 the value x5+2 is written to v5[1]

For i=2 the value x5+2 is written to v4[2]

For i=1 the value x5+3 is written to v6[1]

For i=2 the value x5+3 is written to v5[2]

For i=3 the value x5+3 is written to v4[3]

etc
This means that, if the comments in the example were correct, the instruction is writing the same sequence of values (but displaced between each other) in the different destiny vectors.
This is not doing what (by my understanding) the description does:
"Vector strided segment loads and stores move contiguous segments where each segment is separated by the byte-stride offset given in the rs2 GPR argument."
If the comments were true, the segments are overlapping instead of being separated by the given offset, as the description says (instead of rs2=1, overlapping would mean the value is rs2=-1).
Additionally, a clearer or more detailed description of the instruction can help.

The stride specifies the distance between the start of a segment and the
start of the next segment, not the distance between the end of a segment
and the start of the next. I’ll let others debate whether or how best to
clarify the text.
On Fri, Jan 27, 2023 at 2:53 AM viclabcodasip @.***>
wrote:

Hi, I think there might be a possible errata in the comments in the
example in
https://github.com/riscv/riscv-v-spec/blob/master/v-spec.adoc#782-vector-strided-segment-loads-and-stores
.
Let's note that it is the description what defines the specs and not the
example. However, the example can lead to confusion if not clear/correct.
My reasoning for which I consider there might be a errata in the comments
in the specs example is the following:

Consider the example
Consider the value in x6 is 1
For i=0 the value x5+2 is written to v6[0]
For i=1 the value x5+2 is written to v5[1]
For i=2 the value x5+2 is written to v4[2]
For i=1 the value x5+3 is written to v6[1]
For i=2 the value x5+3 is written to v5[2]
For i=3 the value x5+3 is written to v4[3]
etc
This means that, if the comments in the example were correct, the
instruction is writing the same sequence of values (but displaced between
each other) in the different destiny vectors.
This is not doing what (by my understanding) the description does:
"Vector strided segment loads and stores move contiguous segments where
each segment is separated by the byte-stride offset given in the rs2 GPR
argument."
If the comments were true, the segments are overlapping instead of being
separated by the given offset, as the description says (instead of rs2=1,
overlapping would mean the value is rs2=-1).
Additionally, a clearer or more detailed description of the instruction
can help.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-v-spec/issues/854, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH3XQQK7NA7R4WOCHZPXTLWUOSLTANCNFSM6AAAAAAUIRWUNE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thank you very much for the clarification, Andrew,


Slurm plugin that sets power limits without connecting to runtime

For example, the plugin could read settings from a file to map time of day to power cap.

https://github.com/geopm/geopm-slurm/pull/1


Investigate docsite errors

Fixed by https://github.com/azavea/raster-foundry-docs/pull/22
and https://github.com/azavea/raster-foundry-docs/pull/23


push/get transaction in beta version

Version of EOSJS
eosjs@beta
Desktop (please complete the following information):

OS: MacOS
EOSIO Version: 1.4

Hello,
I'm trying of push/get transaction(with hello world example) with eosjs. It seems eos.pushTransaction and eos.getTransaction API has been changed a lot, so couldn't find how to do this.
I make push transaction by
const result = await api.transact({
    actions: [{
      account: 'jung',
      name: 'hi',
      authorization: [{
        actor: 'jung',
        permission: 'active',
      }],
      data: {
        user: 'Bob'
      },
    }]
  }, {
    blocksBehind: 3,
    expireSeconds: 30,
  });

and it pushed but had some problem.

Q1. In blockchain log, it returns '.ob', though I send 'Bob'. Do I have to convert user data before send?

And, now I'm trying to get this pushed transactions.

Q2. Is there a guide to make get_transaction by user account or ID?

Also, in this push transaction, I received transaction_id value. But when I used RPC API get_transaction with put on this ID, it returns cannot find.

Q3. Is this ID different with transaction_id?

Thanks.

Q1: The name type only supports characters a-z (lowercase only), 1-5, and ".". It automatically replaces invalid characters, such as 'B', with '.'
Q2, Q3: get_transaction is part of the history plugin, which has to be enabled and configured. The history plugin is deprecated; apps shouldn't depend on it.


First time Export to Google Drive/Sheets is called, it does nothing

Describe the bug
When you call, the FIRST TIME, the function « Export to gDrive », it does nothing. You have to call it a second time.
To Reproduce

Go to 'Export project'
Click on 'Export to Google Drive' and 'Export'
See nothing happening

Expected behavior
It should present the dialog box that ask for the gDrive file name.
OpenRefine (please complete the following information):

Version 3.3

Just to be more precise, the first time the command is called, the mechanism for the authentification of gData seams to open a window that gets closed after. But it should also ask for the name of the file to create in gDrive, which it only does if you call the command a second time.

@antoine2711 I tried but could not reproduce the issue in Google Chrome. After authorizing dialog it presents the dialog box that asks for the Google Drive file name.
but gets an error when I tried in Firefox (unfortunately could not take the Screenshot).
Now I have removed the OpenRefine app from Google Drive but now OpenRefine is not asking for authorization

The above dialog appears but is not asking to authorize again.
OpenRefine Version 3.3

I tested it using Google Chrome.
OpenRefine version: 3.3
As soon as I selected the "Google Drive" option, this window showed up:

I tested it using Google Chrome.
OpenRefine version: 3.3
As soon as I selected the "Google Drive" option, this window showed up:

Hi @khyati-agarwalss, I suspect you are having this problem because you didn't create your private GOOGLE KEY & SECRET.
 /OpenRefine/OpenRefine/wiki/Google-Extension
Regards, Antoine

@antoine2711, you don't need to quote the entire message when you are replying to it immediately after - it just needlessly duplicates content. Thanks!

Hi @AghaSaad04

@antoine2711 I tried but could not reproduce the issue in Google Chrome. After authorizing dialog it presents the dialog box that asks for the Google Drive file name.

I suggest that you do this sequence:

do an export of the project in gDrive;
quit OR;
launch again;
try to Export to gDrive;
Then, you will see a window opening and closing, one just the size of the gData authentification. But wait, and nothing else will happen.

but gets an error when I tried in Firefox (unfortunately could not take the Screenshot but it was some 400 bad request error).
After closing that bad request dialog I was still able to upload the file after exporting again.

I didn't even try Firefox. All my problems are with Chrome.

Now I have removed the OpenRefine app from Google Drive but now OpenRefine is not asking for authorization
The above dialog appears but is not asking to authorize again.

I haven't tried removing gData auth. But the authentification process could be involved in the problem.
Regards, Antoine

I experienced this today with Firefox 77.0.1 and on OpenRefine 3.3. I had never connected with Google before, for either import or export.
It asked me to authorize, which I did, then it gave me an error and did nothing. The export worked the second time (without reauthorization).

Just a followup in case this helps:
Using 3.4, Create Project > Google Data did not show me as authorized. When I tried to authorize I got

HTTP ERROR 500
Problem accessing /extension/gdata/authorized. Reason:
Butterfly Error
Butterfly caught the following error while processing the request:
org.mozilla.javascript.WrappedException: Wrapped com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request
{
"error" : "invalid_grant",
"error_description" : "Bad Request"
} (openrefine-3.4-beta/webapp/extensions/gdata/module/MOD-INF/controller.js#108)
....
etc.

I tried a few times; no change.
When I opened an existing project and went to "export as Google Sheets" it worked fine.
Then, when I navigated back to Create Project > Google Data, it showed me as authorized.
So, I suspect there are multiple issues with authorization.

This is true for Google Sheets export as well. Something is messed up with the OAuth2 flow for handling the final callback.

Just in case it's helpful: I experienced this also in Ubuntu and Firefox - this time I tried to authorize on the "Create project > Google data" screen and it gave me the same error: HTP Error 500, Butterfly Error, 400 Bad Request, etc. But it authorized properly according to the email I received. I refreshed the OpenRefine tab and it loaded my documents.

So testing on my clean Windows installation with OpenRefine 3.5 beta1 to see where this issue is at now with Firefox specifically...

I create a small clipboard project
Export to Google Drive
I am prompted with a popup browser window for Oauth login showing standard Google authorization for accounts, where I choose my account.
A send browser window appears where I much review 2 checkbox items to allow writing which I do, and then at the bottom click ACCEPT.
The Oauth dance continues but then get the following Butterfly error while doing so inside that last auth browser window...

URI:	/extension/gdata/authorized

STATUS:	500

MESSAGE:	Butterfly Error
Butterfly caught the following error while processing the request:
org.mozilla.javascript.WrappedException: Wrapped com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized
POST https://oauth2.googleapis.com/token (file:/E:/Downloads/openrefine-win-with-java-3.5-beta1/openrefine-3.5-beta1/webapp/extensions/gdata/module/MOD-INF/controller.js#108)
	at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1773)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183)
	at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
	at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
	at org.mozilla.javascript.gen.c12._c3(file:/E:/Downloads/openrefine-win-with-java-3.5-beta1/openrefine-3.5-beta1/webapp/extensions/gdata/module/MOD-INF/controller.js:108)
	at org.mozilla.javascript.gen.c12.call(file:/E:/Downloads/openrefine-win-with-java-3.5-beta1/openrefine-3.5-beta1/webapp/extensions/gdata/module/MOD-INF/controller.js)
	at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
	at org.mozilla.javascript.gen.c12._c2(file:/E:/Downloads/openrefine-win-with-java-3.5-beta1/openrefine-3.5-beta1/webapp/extensions/gdata/module/MOD-INF/controller.js:107)
	at org.mozilla.javascript.gen.c12.call(file:/E:/Downloads/openrefine-win-with-java-3.5-beta1/openrefine-3.5-beta1/webapp/extensions/gdata/module/MOD-INF/controller.js)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
	at org.mozilla.javascript.gen.c12.call(file:/E:/Downloads/openrefine-win-with-java-3.5-beta1/openrefine-3.5-beta1/webapp/extensions/gdata/module/MOD-INF/controller.js)
	at edu.mit.simile.butterfly.ButterflyModuleImpl$Controller.process(ButterflyModuleImpl.java:399)
	at edu.mit.simile.butterfly.ButterflyModuleImpl$Controller.run(ButterflyModuleImpl.java:377)
	at org.mozilla.javascript.Context.call(Context.java:515)
	at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507)
	at edu.mit.simile.butterfly.ButterflyModuleImpl.processScript(ButterflyModuleImpl.java:650)
	at edu.mit.simile.butterfly.ButterflyModuleImpl.process(ButterflyModuleImpl.java:427)
	at edu.mit.simile.butterfly.Butterfly.service(Butterfly.java:518)
	at com.google.refine.RefineServlet.service(RefineServlet.java:210)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
	at org.eclipse.jetty.servlet.ServletHolder$NotAsyncServlet.service(ServletHolder.java:1395)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1617)
	at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:50)
	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1596)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:545)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at com.google.refine.ValidateHostHandler.handle(ValidateHostHandler.java:96)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
	at org.eclipse.jetty.server.Server.handle(Server.java:500)
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: com.google.api.client.auth.oauth2.TokenResponseException: 401 Unauthorized
POST https://oauth2.googleapis.com/token
	at com.google.api.client.auth.oauth2.TokenResponseException.from(TokenResponseException.java:105)
	at com.google.api.client.auth.oauth2.TokenRequest.executeUnparsed(TokenRequest.java:326)
	at com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.execute(GoogleAuthorizationCodeTokenRequest.java:166)
	at com.google.refine.extension.gdata.GoogleAPIExtension.getTokenFromCode(GoogleAPIExtension.java:110)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
	... 52 more

SERVLET:	refine

@wetneb : from my tests, this is resolved with v3.5. I think we can close this.
Regards, Antoine

Thanks a lot!

I'd like to thanks @tfmorris for all the great work he has done in regards with the Google Data extension in the last 2 year.
It’s impressive. The reliability has vastly improved with his contributions. Nice work.
Best Regards, Antoine


don't treat false, true, null as strings when templating smtp configuration

fix treating smtp_require_tls value as a string, which caused amtool validation to fail

Wouldn't this be solved by skipping quotes (") by writing just:
smtp_{{ key }}: {{ value }}

?

Sure it would in this case, but wouldn't it break if I had spaces in any other field of smtp configuration?

It shouldn't. I just ran some tests and it was working.

Yep, you're right. Thanks for suggesting that. I checked on my side and apparently without quotes is fine. PR updated.

Merged. Thanks! :+1:


Remove pytorch model dependency

This commit loads many pytorch dependent variables and methods from the provided model object. This way, any model (not only torch) can be used with CP as long as the model object provides the required elements.
This is the first step toward building our own model SDK for generic usability and scalable support.
TODOs:

[ ] Modify example.py script to run with the new CP libraries
[ ] Compare the results of the example between the old and new CP
[ ] Open the PR

WIP commits are for the validat() parts of the CP updates. The training parts are done under the first two commits of the PR


Video Bug: The Copy Problem

Description
Lesson 3 The Copy Problem from 9:01 to 9:19, Cory Doctorow talked about the copy problem as a double-edged sword and then decided that he wanted to start over again and proceeded to provide a better explanation.
How to Reproduce

Go to video at the specified timestamp

Expected Behavior

Remove the repeated content from 9:01 to 9:19
Add the appropriate animation of Cory's name from 9:19 onward for a brief moment.

Screenshots
N/A
System Information
N/A
Additional Context
N/A

@iamtrask

@iamtrask

Thanks for the report @nahuakang ! Unfortunately, this is an issue with content. I'm going to ask that you instead post this on the courses discussion board, while I close this issue. I'd like to reserve Github issues to strictly be technical in nature.
https://github.com/OpenMined/courses/discussions

Thanks for the report @nahuakang ! Unfortunately, this is an issue with content. I'm going to ask that you instead post this on the courses discussion board, while I close this issue. I'd like to reserve Github issues to strictly be technical in nature.
https://github.com/OpenMined/courses/discussions


glib: Switch Priority to associated constants

It makes more sense compared a struct + various constants

Merging this probably requires some changes in the other repos.

Merging this probably requires some changes in the other repos.

Nothing to be updated on gtk4-rs, it is only used on the book which uses stable releases


Is this extension truly free?

Verify it's not a duplicate bug report

[X] I searched for similar bugs reported on GitHub and nobody has reported a similar issue. Search all issuees.
[X] I read Troubleshooting guide on Readme and there is not a guide on how to solve my problem.

Describe the Bug
I recently installed this extension, which prompted me to enter a key from ChatGPT. However, upon doing so, I encountered the following error message:

Is this extension truly free? It would be helpful if the documentation clearly stated whether there are any associated costs. Presently, there is no mention of pricing or any related fees in the documentation.
Please tell us if you have customized any of the extension settings or whether you are using the defaults.
I just use defaults
Additional context
No response

Follow-up questions:

If I'm already using GitHub Copilot, is it worth using this extension as well?
What is the purpose of paying for this extension when I can simply use ChatGPT online?

If I'm already using GitHub Copilot, is it worth using this extension as well?

Probably not.

What is the purpose of paying for this extension when I can simply use ChatGPT online?

This extension is free.
It's OpenAI that requires you to pay to use their API. API is not part of the ChatGPT subscription, so even if you have ChatGPT Plus, you must pay to use their API.
It's easier and faster to use OpenAI inside VSCode, especially if you want to use it for code completion, explanation... but you already have that with Copilot.
This is a great choice for people who only want to pay for the actual use of the API and not to pay a subscription for Copilot or ChatGPT.

It's easier and faster to use OpenAI inside VSCode, especially if you want to use it for code completion, explanation... but you already have that with Copilot.

Doesn't this extension offer additional features or enhancements beyond what is already available, such as the ability to create custom prompts or smarter response generation?

Yes it is. You should also count that this extension and my open-source project is the first of its kind bringing the chat-like OpenAI experiences into the VS Code. So, you will see better and more advanced features compared to others.
Since it's backed by OpenAI APIs you should have the permissions and enough credit from OpenAI side to completely utilize this extension. Thanks @viking1304 btw for answering earlier!


atom copy paste event cause ubuntu 14.04 freeze

Sometime copy paste hightlighted text from Atom to other app likes browser , skype ... or reversed cause ubuntu 14.04 freeze keyboard , mouse move super slow/lag then whole system hang up need to hold power button to turn off

+1. I got the same on Debian 8. After downgrade Atom to 0.188.0 the problem was fixed.

duplicate: https://github.com/atom/atom/issues/6221

Closing in favor of #6221


Support to config the entire render plugins array

Now users can only add custom plugins after default plugins, without abilities to disable default ones or insert custom ones into other places.

Oh it's a good issue，I will support it as soon as possible

666

Closed by #9.


I have done the complete setup but it is not running

show the backend log

sir please help

please error solved  No module named 'g4f'

Sir please check this

@FujiwaraChoki Ya same here and there is no backend log being generated. I do however have all preflights failing. So maybe it is a cors issue.

Sir this error resolve and, Sir when I type text and generate it, video and voice are coming separately and not merged, so how to merge..

This is the tenth time someone opens this issue; visit localhost:3000, not <IP_ADDRESS>:3000


Options popping out after we chose them.

After we click on the choice we made, the choice should pop out a little.  So that we can know that we did make a choice and we are moving on to the next question. The options don't have to really be really big after you choose it, but it must be easy to understand what choice I clicked on.

This is something we can work on adding as a feature.
If you want the credit for making this change, please talk to me in class, so we can make it happen.
If you don't want to change this or take credit for changing it, someone else can do it.
@abcdefghijnajn28498y


Add bevy_picking sprite backend

Objective
Add bevy_picking sprite backend as part of the bevy_mod_picking upstreamening (#12365).
Solution
More or less a copy/paste from bevy_mod_picking, with the changes here. I'm putting that link here since those changes haven't yet made it through review, so should probably be reviewed on their own.
Testing
I couldn't find any sprite-backend-specific tests in bevy_mod_picking and unfortunately I'm not familiar enough with Bevy's testing patterns to write tests for code that relies on windowing and input. I'm willing to break the pointer hit system into testable blocks and add some more modular tests if that's deemed important enough to block, otherwise I can open an issue for adding tests as follow-up.
Follow-up work

More docs/tests
Ignore pick events on transparent sprite pixels with potential opt-out

This doesn't test against alpha, which might be surprising in a first-party implementation. Would be nice to document on the plugin.
Additionally, it would be courteous to co-author the downstream contributors in a commit here.

This doesn't test against alpha, which might be surprising in a first-party implementation. Would be nice to document on the plugin.

Not sure what you mean by "test against alpha". Could you elaborate?

Additionally, it would be courteous to co-author the downstream contributors in a commit here.

Absolutely! I thought I'd opened this in draft and I hadn't planned on it getting merged without crediting you. Since you're the original author, is there anyone else you'd like listed as co-author? I also have to say I've never added a co-author, so I might mess it up a couple times, haha

Not sure what you mean by "test against alpha". Could you elaborate? EDIT - By that, do you mean whether or not the sprite is visible due to alpha/invisible texels? I'll add docs for that.

Exactly. I think most users would expect fully transparent pixels to not be hittable. Might be something where the backend/component specifies a threshold, so any alpha below that value will be ignored. Doesn't need to be added right now, but would be nice to mention in the plugin docs.

is there anyone else you'd like listed as co-author?  I'd take a look at the commit history here - I'm not sure if there is an easier way to do this: https://github.com/aevyrie/bevy_mod_picking/commits/main/backends/bevy_picking_sprite/src/lib.rs
No worries. I think git makes it pretty simple, you just need to add the names/emails separated by newlines in a commit.


(Search) The Return and Filter buttons are not longer visible after we started scrolling

What

(Search) The Return and Filter buttons are not longer visible after we started scrolling
In addition, they are partly hidden by the top bar

Screenshot

@teolemon Should we make them into appbar?

@M123-dev what do you think?
https://user-images.githubusercontent.com/46121493/159665872-54adf37f-31d8-4707-a66f-384ac751d49d.mp4

The color somehow destroys the feeling of the colored background. You should be able to make the app bar transparent though. And don't forget to set it's elevation to 0 to hide it's shadows

https://user-images.githubusercontent.com/46121493/159919220-ea237a4c-b8df-4703-a345-41f615f571db.mp4
https://user-images.githubusercontent.com/46121493/159919234-19c8a8c6-fc1d-4022-9ad3-0443f41b5c45.mp4
This is how it looks in transparent

Heyy looks good @vik4114 thanks for making it transparent. But now looking at it again it's not so good to read with the cards behind the title. What about making the AppBar background color the same as the Scaffold color. So that it doesn't stand out but it's readable.

@M123-dev Now it is transparent when expanded and scaffold color when collapsed
https://user-images.githubusercontent.com/46121493/160237286-4791df9a-e80f-4f72-8745-a33a58480612.mp4

Looks great @vik4114


Buttons Dont Work

When I interact with a button, I get a java.lang.IllegalArgumentException: Unknown button bad error. Is there a fix?
Code:
@Command
class MoodCommand : SlashCommand() {
@Command
fun mood(event: SlashCommandInteractionEvent) {
event.reply("How are you?").addActionRow(
success("good", "Good"),
danger("bad", "Bad")
).queue()
}
@Button("good")
fun good(event: ButtonInteractionEvent) {
    event.editMessage("That's good to hear!").setActionRows().queue()
}

@Button("bad")
fun bad(event: ButtonInteractionEvent) {
    event.editMessage("Oh no! Here, have some \uD83C\uDF68!").setActionRows().queue()
}

}

From some quick testing I did with the Versions specified in the build.gradle.kts (JDA version 5.0.0-alpha.9 and jda-kotlinx version b19aded) it appeared to work fine, that Exception is usually only thrown when there is no function associated with the ID of an incoming button event.
I also won't be doing any work on this library in the current state, since I'm waiting for JDA to reach an (at least somewhat) stable 5.0.0 release before continuing work on this. Once that is released I'll look into updating everything and doing some more testing.


Fluid Service documentation page

This is about: docs/concepts/server/server.md

The documentation page doesn't explain anywhere that a Fluid service is a server type solution (aka backend) that needs to run on the internet.

The drivers section doesn't link to anything allowing the reader to learn more (linking to GitHub is fine)

The more information should be called "reference server implementation" and explain how to get routerlicious up and running locally using Docker (and link to GitHub for those wanting to build/tweak the image themselves)

@SamBroner I'm adding your assignment here, I had been chatting with Matt about this so he assigned it to me, but it's not something that's particularly on my radar to update, nor do I have much depth of knowledge here. Feel free to pass around further... :)


Delegation fee estimation is 0 instead of 0.8 ADA

Context

Information
-

Version
2020.3.11 (git revision: 203184fa6a673bfcd1ef5b2181d02b352ef863c6)

Platform
mac

Installation
Daedalus Public installer 2020.2.17, modified with jorm 0.8.14 and recent wallet

Steps to Reproduce

Delegate in Daedalus
Observe fee estimation before confirming
Observe actual fee paid in the tx history

Expected behavior
Estimation and actual fee paid should match
Actual behavior
Estimation is 0 ADA, actual fee is 0.8 ADA.

---
Resolution

QA

Estimation and actual fee paid should match

This is actually incorrect. cf:
https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getDelegationFee
I think we discussed the idea of running many estimation at once and taking the average instead of doing it just once.. Yet, an estimation of 0 seems wrong, regardless of what the fees end up being.

Nikola confirmed it's a frontend issue. Although, I have opened a JIRA ticket to track the "averaged fee" story. ( https://jira.iohk.io/browse/ADP-283 )


This video is age-restricted and only available on YouTube

Script version
5.6
Describe the bug
Even though my account is age verified, I am no longer able to see some videos and I get the message
"This video is age-restricted and only available on YouTube"
Expected behavior
Being able to watch the video
Screenshots
Desktop (please complete the following information):

OS: 10
Browser Opera
Version everything latest release

me 2

Can confirm am also getting this with 5.6 using Chrome.


Fix the problem with code extract not work

Fix the problem with code extract not work
The old xpath selector seem not getting the code, and throw error "Too many request", but it's actually not getting the right xpath.
New Xpath:
data = etree.fromstring(str(pq(tree2.xpath('//*[@id="program-source-text"]')))).text
data = data.replace("<pre id="program-source-text" class="prettyprint lang-cpp linenums program-source" style="padding: 0.5em;">","")
return data
Using etree to clean html entities

Thank @quochung-cyou, for creating the pull request. I will update a new version soon. Feel free to create an update or fix bugs if you find them. I appreciate your contribution.


HTMLElement is not defined in Next.js 12 app

Tried adding Media Chrome to a next.js 12 app. Getting a HTMLElement is not defined error.  I copied this from the next demo for Media Chrome.  Is this something I am doing wrong?
I Used the following code:
import MediaController from 'media-chrome/dist/react';

export default function Home() {
  return (
    <div>
      <MediaController>
      <video
            slot="media"
            src="https://stream.mux.com/DS00Spx1CV902MCtPj5WknGlR102V5HFkDe/high.mp4"
            preload="auto"
            muted
            crossOrigin=""
          >
          </video>
      </MediaController>
    </div>
  )
}

Getting this error:
Server Error
ReferenceError: HTMLElement is not defined
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
eval
node_modules/media-chrome/dist/themes/media-theme.js (1:168)
Object../node_modules/media-chrome/dist/themes/media-theme.js
file:///Users/tom/Documents/GitHub/training/.next/server/pages/index.js (422:1)
webpack_require
file:///Users/tom/Documents/GitHub/training/.next/server/webpack-runtime.js (33:42)
eval
webpack-internal:///./node_modules/media-chrome/dist/index.js (59:81)
Object../node_modules/media-chrome/dist/index.js
file:///Users/tom/Documents/GitHub/training/.next/server/pages/index.js (132:1)
webpack_require
file:///Users/tom/Documents/GitHub/training/.next/server/webpack-runtime.js (33:42)
eval
webpack-internal:///./node_modules/media-chrome/dist/react/index.js (32:67)
Object../node_modules/media-chrome/dist/react/index.js
file:///Users/tom/Documents/GitHub/training/.next/server/pages/index.js (412:1)
webpack_require
file:///Users/tom/Documents/GitHub/training/.next/server/webpack-runtime.js (33:42)
eval
webpack-internal:///./pages/index.js (11:81)

Thanks @daletom looks like a recent feature addition broke our SSR. Should have a fix asap!


Don't require the pdf-fontsdir attribute in order to use custom fonts

When a theme uses custom fonts, it's mandatory to set the the pdf-fontsdir attribute. Otherwise, the converter will not be able to locate the font files. This requirement makes it slightly more difficult to create a custom theme. The converter should instead provide a reasonable fallback if this attribute is not set.
There are several ways which this could be done.
First, the theme could expand the token THEMES_DIR at the beginning of the font path in the theme, much like it does for the GEM_FONTS_DIR token. The THEMES_DIR token would resolve to the value of the pdf-themesdir attribute (which defaults to the directory of the main theme file that was loaded).
font:
  catalog:
    Lato: THEMES_DIR/Lato-Regular.ttf

Second, the default pdf-fontsdir could be changed from GEM_FONTS_DIR to {pdf-themesdir};GEM_FONTS_DIR, where {pdf-themesdir} represents the value of the pdf-themesdir attribute. When this default is used, relative font paths in the theme are resolved from the themes dir (the directory of the theme file) first before being resolved from the installed gem. The user will still be able to override this default by setting the pdf-fontsdir attribute. And this won't affect built-in themes, which use the GEM_FONTS_DIR token explicitly to refer to paths inside the gem.
For completeness, we could also consider allowing the attribute reference {pdf-themesdir} to be used in the value of pdf-fontsdir when set from the CLI or API (e.g., -a pdf-fontsdir={pdf-themesdir}/fonts). Though that's not really addressing the original issue.

I'm also thinking that the pdf-fontsdir should expand to the current directory if the value is empty. Right now, this value is interpreted as GEM_FONTS_DIR. However, that's not very logical.

Under the Asciidoctor PDF 2.3.0 current rules, I have tested several usage methods, all of which can be executed

Provide self-made fonts and themes using the directory method
Use jar to provide self-made fonts and themes
Use the directory method to provide self-made fonts and themes with custome theme
Use jar to provide custom fonts and themes with custome theme

But I haven't tested

Use the directory method to provide self-made fonts and themes with custome theme + custome font
Use jar to provide self-made fonts and themes with custome theme + custome font

directory method
~/downloaded-resources
├── fonts
│   ├── notosans-cjk-tc-bold_italic.ttf
│   ├── notosans-cjk-tc-bold.ttf
│   ├── notosans-cjk-tc-italic.ttf
│   └── notosans-cjk-tc-normal.ttf
└── themes
    └── default-ext-notosans-cjk-tc-theme.yml

jar method  ~/libs/pdf-ext-notoserif-cjk-tc.jar
pdf-ext-notoserif-cjk-tc.jar
└── data
    ├── fonts
    │   ├── notoserif-cjk-tc-bold_italic.ttf
    │   ├── notoserif-cjk-tc-bold.ttf
    │   ├── notoserif-cjk-tc-italic.ttf
    │   └── notoserif-cjk-tc-normal.ttf
    └── themes
        └── default-ext-notoserif-cjk-tc-theme.yml

custom theme
src/docs/asciidoc
├── custom-theme
│   └── custom-default-ext-notosansmono-cjk-tc-theme.yml
└── README-zh_TW.adoc

Inheritance tree of my theme
default (System)
└── default-ext-notosansmono-cjk-tc (My Direcroty or Jar)
     └─ custom-default-ext-notosansmono-cjk-tc (In adoc file sub dir)

1 cjk-use-file-example
        "pdf-fontsdir": "${System.getProperty("user.home")}/downloaded-resources/fonts;GEM_FONTS_DIR;",
        "pdf-themesdir": "${System.getProperty("user.home")}/downloaded-resources/themes",
        "pdf-theme": "default-ext-notosans-cjk-tc"

2 cjk-use-jar-example
        "pdf-fontsdir": "uri:classloader:/data/fonts;GEM_FONTS_DIR;",
        "pdf-themesdir": "uri:classloader:/data/themes",
        "pdf-theme": "default-ext-notoserif-cjk-tc"

3 cjk-with-theme-use-file-example
        "pdf-fontsdir": "${System.getProperty("user.home")}/downloaded-resources/fonts;GEM_FONTS_DIR;",
        "pdf-themesdir": "${System.getProperty("user.home")}/downloaded-resources/themes",
        "pdf-theme": "${sourceDir}/custom-theme/custom-default-ext-notosans-cjk-tc-theme.yml"

4 cjk-with-theme-use-jar-example
        "pdf-fontsdir": "uri:classloader:/data/fonts;GEM_FONTS_DIR;",
        "pdf-themesdir": "uri:classloader:/data/themes",
        "pdf-theme": "${sourceDir}/custom-theme/custom-default-ext-notosansmono-cjk-tc-theme.yml"

Use custom theme , I must tell pdf-theme full path file name, not short theme name.
    **"pdf-theme": "${sourceDir}/custom-theme/custom-default-ext-notosansmono-cjk-tc-theme.yml"**

My default-ext-notosans-cjk-tc-theme.yml
extends: default-with-font-fallbacks
font:
  catalog:
    merge: true
    Noto Sans CJK TC:
      normal: notosans-cjk-tc-normal.ttf
      bold: notosans-cjk-tc-bold.ttf
      italic: notosans-cjk-tc-italic.ttf
      bold_italic: notosans-cjk-tc-bold_italic.ttf
  fallbacks: [M+ 1p Fallback, Noto Emoji, Noto Sans CJK TC]
base_font_family: Noto Sans CJK TC

My custom-default-ext-notosansmono-cjk-tc-theme.yml
extends:
  - default-ext-notosansmono-cjk-tc
title-page:
  align: left
  logo:
    image: image:{docdir}/custom-theme/cover.png[align=center]
   # image: image:{docdir}/images/cover.png[align=center]
    top: 0%
page:
  margin: [0.75in, 1in, 0.75in, 1in]
base:
  line-height-length: 20
heading:
  font-color: #FF8000
  font-size: 12
  line-height: 1.2
link:
  font-color: #009900
header:
  height: 0.75in
  line-height: 1
  recto:
    right:
      content: '{document-title}'
  verso:
    left:
      content: '{document-title}'
footer:
  height: 0.75in
  line-height: 1
  recto:
    right:
      content: '{chapter-title} | *{page-number}*'
  verso:
    left:
      content: '*{page-number}* | {chapter-title}'
image:
  align: center
caption:
  align: center
  font-color: #FF0000
  font-size: 10

But the above are all setting parameters that have been tested and can be passed.
I don't tested

Use the directory method to provide self-made fonts and themes with custome theme + custome font
Use jar to provide self-made fonts and themes with custome theme + custome font

Restriction: The way of using jar cannot be used for Asciidoctor and Asciidoctor PDF, but it can be used for AsciidoctorJ and Asciidoctor Gradle Plugin , Asciidoctor Maven Plugin.

Hi, I think this may be related.
I have a mac, asciidoctor installed via HomeBrew. if I try to modify the size of fonts for the outputted pdf through the yaml file nothing really happens. If I try to change fonts (I thought that maybe the fonts didn't support the sizes), I get the error: "No such file or directory - Geneva.ttf not found in GEM_FONTS_DIR". I have no idea which directory that is, if it's a shell variable or something related to Ruby or gem (which i don't have really a clear idea of what they are). So I tried to set pdf-fontsdir with -a pdf-fontsdir="/System/Library/Fonts/,GEM_FONTS_DIR" to use the system fonts and this way doesn't give any errors (but still the size of the fonts don't change).
Would be cool if pdf-fontsdir is set at least to use the fonts that installed on the computer by default.

So I tried to set pdf-fontsdir with -a pdf-fontsdir="/System/Library/Fonts/,GEM_FONTS_DIR" to use the system fonts and this way doesn't give any errors (but still the size of the fonts don't change).

-a pdf-fontsdir="/System/Library/Fonts/;GEM_FONTS_DIR
use ; , not ,

If you need help using Asciidoctor PDF, please direct your question to https://chat.asciidoctor.org. The only comments here should be how to design and implement a solution to the specified request.

@life888888 Yes I tried both ; and , with " and without. I actually tried many other things too without luck.
@mojavelinux Yes, I wanted to give some context. Thanks for the link with the chat.

I think it could make sense to have a default that for fontsdir that allows to use the broader set available on the user system.
I think the documentation could be improved regarding GEM_FONTS_DIR, how it's set and what actually is.


chore(main): release loki 0.1.0

:robot: I have created a release beep boop
0.1.0 (2024-04-20)
Features

loki: add a collection that installs loki (#10) (f7518d5)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/mateusz-uminski/ansible-collections/releases/tag/loki-v0.1.0 :sunflower:


Adding CBMC proof for TCP prepare send

Description
This PR includes the CBMC proof for memory safety of the prvTCPPrepareSend function.

Checklist:

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

@danielsn Please review this PR. I have incorporated your comments from the previous PR.

This proof is still in WIP. I am closing this and opening a pull request as draft.


Update sbt to 1.3.0

Updates org.scala-sbt:sbt from 1.2.8 to 1.3.0.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention @scala-steward in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: semver-minor

Failure is unrelated, and I suspect came from #2.12.9.


Disable "Start" or "Stop" service (currently enabled)

 Issue by sonejah21
Thursday Feb 19, 2015 at 17:57 GMT
Originally opened as https://github.com/projectjellyfish/ux/issues/189

 Comment by sonejah21
Thursday Feb 19, 2015 at 17:58 GMT

This is in a Project Card >  "View More" > scroll down to Manage section


[EmbedMaker] Support advanced templating (e.g. use set parameters passed to command)

Stuff that could be part of this (just putting all thoughts, not all of this may make sense to spend dev time on or it may not be a good idea at all):

all the stuff CustomCommands cog can do (Context Parameters and Command Parameters sections in here)
access to current timestamp (i.e. datetime.datetime.now() object), or maybe even better, just access to whole datetime object - for example adding/subtracting timedelta from current time could come useful (jinja2)
conditional statements (jinja2)
support for *args and *, consume_rest?

And you said that it might be good to make it dependent on red#3163 so putting that thought here as well.

I have some long term ideas on this which I didn't try to spell out in detail with the current issues with Discord's responsiveness (or lack thereof)
I'll be looking to allow safe access to certain things from the invocation context.
I'm unsure if I want to support args to this yet, and may need to give handling this more thought, as whatever converters are exposed for this need to only return formatting safe objects.
If supporting args, I may take the time to first make the formatting safe converters for work upstream in core Red, then utilize them myself for EmbedMaker as well.
Either way, these ideas are all floating on my radar right now and are just waiting to be handled at a point where all prior necessary work is done, and I have time available to handle it.

Won't be added


CI with GitLab

Hello Team,
We've setup our CI pipeline with GitLab CI -> https://about.gitlab.com/gitlab-ci/
Would it be possible for Hygieia to integrate with that?
We'd like to integrate the gitlab ci pipeline right with Hygieia pipeline.
Thanks in advance.

Best regards,
Xiaopeng

Certainly! - We would need to build a new collector, though :)
Relevant: https://docs.gitlab.com/ee/api/ci/README.html

Any plan which release we will have this function ? Thanks

It does not appear as though anyone has signed up to build this yet, so no plans as of yet

(There is SCM integration with GitLab but it appears CI is not implemented yet. The SCM integration should provide a good starting point though.)

There can be two ways to do this:
(1) Write a GitLabBuildCollector - need the API end points and can be started with copying the JenkinsCollector.
(2) POST to Hygieia API from gitlab build: /api/build with a request body like this:
{         "number" : "52",         "buildUrl" : "http://localhost:8082/job/NewPipe/52/",         "jobName" : "NewPipe",         "buildStatus" : "Success",         "startTime" : NumberLong(1482263151065),         "jobUrl" : "http://localhost:8082/job/NewPipe/",         "instanceUrl" : "http://localhost:8082/",         "niceName" : "TestJenkins",         "endTime" : NumberLong(1482263152117),         "duration" : 1052,         "codeRepos" : [              {                 "url" : "https://github.com/owner/TestRepo",                 "branch" : "refs/remotes/origin/master",                 "type" : "GIT"             }         ],         "sourceChangeSet" : [              {                 "scmRevisionNumber" : "128f124ce1d90acafe0934ebea8d7bca54dcdbe6",                 "scmCommitLog" : "commit 5",                 "scmAuthor" : "Tapabrata.Pal",                 "scmCommitTimestamp" : NumberLong(1482262975000),                 "numberOfChanges" : 1             },              {                 "scmRevisionNumber" : "2a8c540a0cb477571eded1359ff80d2f7a7bd911",                 "scmCommitLog" : "commit 6",                 "scmAuthor" : "Tapabrata.Pal",                 "scmCommitTimestamp" : NumberLong(1482262990000),                 "numberOfChanges" : 1             },              {                 "scmRevisionNumber" : "1a49aa6426efecb18b18aaea23014722f38e2708",                 "scmCommitLog" : "commit 7",                 "scmAuthor" : "Tapabrata.Pal",                 "scmCommitTimestamp" : NumberLong(1482263005000),                 "numberOfChanges" : 1             }         ]     }

@tabladrum Thanks. From my point of view after a quick glance on the Gitlab api ( as well as Gitlab ci api ). Is that possible ?

On UI we have the possibility to set the project ( as what we did in Gitlab collector for code repo)
Synchronize the data with Build -> each git lab build ( somehow we could select the corresponding data source coming from the Gitlab ci api )
The deploy then could be able to chose the stage/phase from gitlab ci

hey guys, did anyone make this work? If so would be great if you could share with the community :)

@olsib We found it quite flexible with the usage of API, so now I am using the option (2)

Hello
I have a interest in this same integration, yet it sounds like this might be stalled.

Same here


Deserialize discounted jets.

Current jets include 32-bit arithmetic and SHA-256 compression.

ACK. Ran all tests with valgrind; all passed, no errors.
I notice in this PR the distinction between application-specific primitives and jets is basically removed. Does this match how you think about things (and how I should think about things?)

Logically jets and primitives are still distinct, but for the C implementation that distinction is immaterial.  The main difference is in how their Merkle roots are defined, but for the C implementation, the Merkle roots are just taken as given.


Recreate Poller with continuation_token requires'str'

azure-ai-documentintelligence
1.0.0b3 (but tested also b1)
windows
3.11.4

Describe the bug
I am trying to create a LROPoller object starting from a continuation_token received from a DocumentIntelligenceClient.begin_analyze_document operation. However when I try to create the LROPoller using the token i get the following error
An error occurred: argument should be a bytes-like object or ASCII string, not 'method'
To Reproduce
 from azure.ai.documentintelligence import DocumentIntelligenceClient
 from azure.core.credentials import AzureKeyCredential

document_analysis_client = DocumentIntelligenceClient(
    endpoint=endpoint, credential=AzureKeyCredential(key), api_version=api_version
)

with open(doc_path, "rb") as pdf_file:
    poller = document_analysis_client.begin_analyze_document(
        analyze_request=pdf_file,
        content_type="application/octet-stream",
        model_id="prebuilt-layout",
        locale=language_locale)
    ct = poller.continuation_token

    new_poller = document_analysis_client.begin_analyze_document(
        model_id="prebuilt-layout",
        continuation_token = ct)
    x = new_poller.result()

Expected behavior
I need to extract the continuation token, save it and be able to access the poller object so that the extracted information can be accessed in a different environment
Additional context
This s needed so that i can start the extraction operation in a AWS Lambda, save the continuation token and then recreat the LROPoller object and poll the object with a step function.

Hi @jacopo-m , changing this line
ct = poller.continuation_token

to
ct = poller.continuation_token()

will do the trick :)

/unresolve

I tried before submitting the issue but still getting an error. With the following code
with open(doc_path, "rb") as pdf_file:
        poller = document_analysis_client.begin_analyze_document(
            analyze_request=pdf_file,
            content_type="application/octet-stream",
            model_id="prebuilt-layout",
            locale=language_locale,
        )
        ct = poller.continuation_token()

I get this error
return base64.b64encode(pickle.dumps(self._initial_response)).decode("ascii")                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: cannot pickle '_io.BufferedReader' object

@kashifkhan seems like the issue was related to how I was serving the PDF to Doc Intelligence. In the code below I added a '.read()' to the pdf_file variable and the continuation_token is indeed created and working like a charm :)
Thank you.
    with open(doc_path, "rb") as pdf_file:
        poller = document_analysis_client.begin_analyze_document(
            analyze_request=pdf_file.read(),
            content_type="application/octet-stream",
            model_id="prebuilt-layout",
            locale=language_locale,
            pages=specific_pages,
        )
        ct = poller.continuation_token()

        new_poller = document_analysis_client.begin_analyze_document(
            model_id="prebuilt-layout",
            continuation_token = ct)
        print(new_poller.status())
        data = new_poller.result()


Upgrade protoc version to v3.14.0 to keep one with dapr/dapr

Is your feature request related to a problem? Please describe.
In repo dapr/dapr, the version of protoc is v<IP_ADDRESS>.
In repo dapr/go-sdk, the version of protoc is v3.11.2.
I have to switch protoc version for these two projects (and also for java sdk)
Describe the solution you'd like
In all the repo, we should use the same version of protoc. Since v3.14.0 is uesd in dapr/dapr, we need to upgrade other repo to this version.

Thanks, closed with #141


How to unload driver

how do I unload the driver ?

cringe alert, zero the driver and change the return address on the stack to go back to usermode.
this can be done by calculating the stack size and "deallocating" an entire stack frame so to speak.
Keep in mind this only zeros the driver, doesn't "free the driver". need a 2 hop rop for that.
stinker.

ExFreePool ftw

yep. but if you can zero the memory first and then rop back to ExFreePool(WtihTag).

BSOD appears after setting DriverUnload Router


Does not allow multiprocessing Pool

import numpy as np
import pandas as pd
import tablespoon as tbsp
from multiprocessing import Pool

# pull and clean data
# columns must have the columns "ds" and "y"
# this time series is at the daily level. the seasonality is 7 days.
def pred_things(df):
    sn = tbsp.Snaive()
    df_pred = sn.predict(df, horizon=10, frequency="D", lag=7, uncertainty_samples=8000)
    return df_pred

df_ca = (
    pd.read_csv("https://storage.googleapis.com/data_xvzf/m5_state_sales.csv")
    .query("state_id == 'CA'")
    .rename(columns={"date": "ds", "sales": "y"})
)
df_tx = (
    pd.read_csv("https://storage.googleapis.com/data_xvzf/m5_state_sales.csv")
    .query("state_id == 'TX'")
    .rename(columns={"date": "ds", "sales": "y"})
)
list_df = [df_ca, df_tx]
# this works
list(map(pred_things, list_df))
# this does not
with Pool() as P:
    parallel_prod = list(P.map(pred_things, list_df))

print(parallel_prod)

#12 closed


settings: Deduplicate show and hide spinner functions.

Factors out the dialog_widget.show_dialog_spinner, dialog_widget.hide_dialog_spinner and
user_profile.show_button_spinner, user_profile.hide_button_spinner into the common
loading.ts module with names show_spinner() and hide_spinner().
They take in a JQuery button object as the argument on which the spinner has to be shown.

// loading.ts
export function show_spinner($button: JQuery): void {
    // ...
}

export function hide_spinner($button: JQuery): void {
    // ...
}

Replaced the function invocations in different modules accordingly.
Fixes: #26691

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Removed the "blocked" tag -- CZO Discussion

@ecxtacy does this address the feedback in https://github.com/zulip/zulip/pull/27210, the previous PR for this issue?

Yes, I looked at the feedback. Sahil had pointed out a bug here, I've investigated its details and put up a topic for it on CZO, since it is not a newly introduced one and exists in the main branch itself.
I've kept the loading.show_button_spinner and rest of the show and hide functions separate as Sahil told here.
Regarding a common spinner which alya mentioned here, Vlad had to give a look at it.

@timabbott I'm not sure what the state is here, but looks like you're reviewing? Please feel free to change the review label as appropriate.

@sayamsamal can you review this one?

Sorry for the late review @ecxtacy, I'll keep a track of this PR moving on and try for quick feedback. That being said, I have left you some feedback above, be sure to check those out.

Thanks for the detailed review ! I'll address the points you mentioned. 😊👍

@ecxtacy Do you have any updates on the progress of addressing the feedback? Feel free to ask over at CZO in case you are stuck.

@sayamsamal can I take this up as it seems to be inactive for long?

Sure @shuklamaneesh23, you can go ahead with working on this one.

@shuklamaneesh23  I have assigned you to the original issue. Please make sure to follow the feedback and give the author of this PR the credits wherever applicable.

thanks @sayamsamal ,i will start working on this.


Results.zip now sent to project path rather than working directory. Also, small changes to app.py to make in functional

identifier[0] was in cloud and was caused by misuse of get_body_arguments.

Oh right, and I already fixed that. Sorry 👍


Axis array summation

Hi all,
we group 2 have chosen axis array summation as our matrix operation.

Thanks for letting us know.


[Map] Reset the search filters

@leosoaivan noticed that search filters don't clear when you close a pop-up.
We want to rewrite filter.jsx to be a functional component and follow one of these patterns of which we can discuss the pros and cons in the comments below.

@kalimar I'd like to give this a shot. Can you assign me?

Woot! Go for it!

@kalimar I just started this - I was able to change Filter from a class-based component to a functional component, as requested.
Here's a link to this component on my fork for your reference: https://github.com/neckenth/terrastories/blob/neckenth/364/clear-filters-upon-close/app/javascript/components/Filter.jsx
Would love to discuss your recommendation for the pattern you'd like to follow for clearing the filters.

I'll get on this issue :)

@kalimar I gave this a shot and opened a PR for my solution. If you want to handle component state in a different way, please let me know.

@neckenth thank you. Sorry I couldn't be a little more proactive there. I'll review the PR today. Your help is much appreciated.


Emissive texture does not create a visible difference

Two models, one with emissive set and the other without, look identical.

If I use Occlusion instead of Emissive, I can see the occlusion texture.
Using the same UV cords for both basecolortexture and emissive does not make emissive viewable

Model 4 is just a basecolortexture
Model 5 is the same basecolortexture, but with an emissive texture set for the left side of the model
Samples.zip

Taking a look...

Turns out the emissive factor would also have to be defined.  If not, it defaults to [0,0,0], which effectively makes the texture not render:
https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#material
To verify, I added an "emissiveFactor" parameter to the glTF file and set the values to 1 for the materials.


generate snakecase style variable in go from snakecase db field returning.

Input:
create table if not exists Servers(
    server_name varchar,
    cost_monthly numeric not null default 0
);

-- name: AddServer :one
insert into servers (
    server_name,
    cost_monthly
) values (
    $1, $2
) returning server_name;

Output:
// Code generated by sqlc. DO NOT EDIT.
// source: query.sql

package db

import (
	"context"
	"database/sql"
)

const addServer = `-- name: AddServer :one
insert into servers (
    server_name,
    cost_monthly
) values (
    $1, $2
) returning server_name
`

type AddServerParams struct {
	ServerName  sql.NullString
	CostMonthly string
}

func (q *Queries) AddServer(ctx context.Context, arg AddServerParams) (sql.NullString, error) {
	row := q.db.QueryRowContext(ctx, addServer, arg.ServerName, arg.CostMonthly)
	var server_name sql.NullString
	err := row.Scan(&server_name)
	return server_name, err
}

Should the server_name variable in go code be serverName for go idioms? Or something config I missed? sqlc playground example.

Since these variables are only referenced inside a function and never exposed, I think this is a low priority issue. That said, I believe that these variables might cause linter failures. If that's the case, we can change the format.

Yes, it causes linter failures in Goland IDE.

No, we should keep the first letter uppercase for public access, otherwise how could a caller outside db package construct arg varable?

@digitive Please re-read the issue. This isn't about changing the the field name in the Params struct, it's about changing the case of an internal variable name that is never exposed to the caller.


progressive web app changes for lighthouse 100% score

The project has done great work to create a progressive web app - however if you scaffold an app and deploy it "as is" you score low on the lighthouse test from Google.  Why not make it awesome from the start!  I know people have to change these files to make the app their own, but we should give them the best possible start. (of course they need to enable the service worker too).

I needed to:

add two images and tweak the manifest.json file
add a robots.txt file
tweak the index.html file to add <meta name="description" content="Web site created using create-react-app">

That's it!  BOOM 100%!

This looks great. Can you post the lighthouse score before these changes for comparison?

Do you mind running the images through  tiny png?

I already ran PNG Crush on the images but happy to run them through tiny png to see what else we can squeeze out.
Also happy to get a “before” image of the lighthouse score. It will take me a day or two.

OK, I ran tiny png on the images. I missed the typescript template since I don't use it but it's fixed now.
Files:

Lighthouse Report 1 (base case)
Lighthouse Report 2 (just enabled the service worker)
Lighthouse Report 3 (with suggested changes)

Lighthouse Report 3.pdf
Lighthouse Report 2.pdf
Lighthouse Report 1.pdf

Hi @dstroot, I'm sorry it's been a long time. Are you still interested in getting this in? If so, let me know and we can try to get it into the next release.

If this is open to be completed. I can take a look?

@dscanlan, that sounds great. Let's give @dstroot a few more days to respond, if not, it would be great if you could pick this up and we could aim for 3.2.

Sorry all for the delay in responding.  I'd be happy if @dscanlan picks this up.  I am in a new role and I don't have the cycles to take this over the finish line at this time.

Thanks for your original PR and for getting back to us @dstroot. Closing in favor of #7482.


Test case:[test_keep_alive_timeout.py] In the file,  a new TCP connection was not created after the  'keep alive timeout'

@hramezani Hi，Test case:test_keep_alive_timeout.py  In the file, "test_keep_alive_client_timeout() "  and  "test_keep_alive_server_timeout()"
Method ， a new TCP connection was not created after the  'keep alive timeout'.
Or is it where I understand it wrong?

warnings: (See the green box section, please!)

Code snippet
Related code, please see test_keep_alive_timeout.py
Expected behavior
Call "test_keep_alive_client_timeout() "  and  "test_keep_alive_server_timeout()"
Method , a new TCP connection was created after the 'keep alive timeout'
Environment:

OS: macOS 10.13
Version :  sanic==0.8.3, aiohttp==3.4.4

Hi @luochenxi, I just fix the lint problem for this file. unfortunately, I have no idea about your question.

嗨@luochenxi，我只修复了这个文件的lint问题。不幸的是，我不知道你的问题。

Ok, Thanks!

@ashleysommer @yunstanford  Hi，Can you help me with this question?

@luochenxi
Here is my understanding of test_keep_alive_timeout.py(if something wrong, just blame me):
To verify server side and client side will not create a new TCP connection, the ReuseableTCPConnector() use an attribute old_proto to store the protocol of the first request. Once the second request is created, ReuseableTCPConnector will compare old_proto with protocol of new request. And, if it is not the same protocol, ReuseableTCPConnector will raise an exception(see L22-L24).
https://github.com/huge-success/sanic/blob/4efd450b324c3e379eed4e8e6ae075e972917400/tests/test_keep_alive_timeout.py#L18-L27
So, does test_keep_alive_client_timeout() and test_keep_alive_server_timeout() create new TCP connection?
My answer is yes, they both create a new TCP connection. These two test cases actually catch an exception raised by ReuseableTCPConnector.connect(). This means the first request and the second request comes from different TCP connections and the old_proto is different from new_conn._protocol.
And, about those warnings, it caused by the test case test_keep_alive_server_timeout(). In this case, the server side closes the connection first. This made the aiohttp.client(used by client side) throw some warnings.

@chenjr0719  Good！ Thanks for your guidance。


Add missing test in components (geometry and animation)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.91%. Comparing base (efc157e) to head (4d059dc).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   78.80%   78.91%   +0.11%
==========================================
  Files         201      201
  Lines       29426    29440      +14
  Branches      228      230       +2
==========================================
+ Hits        23188    23234      +46
+ Misses       6178     6146      -32
  Partials       60       60

Components
Coverage Δ

core
87.84% <100.00%> (ø)

engine
95.97% <ø> (ø)

components
78.72% <100.00%> (+0.12%)
:arrow_up:

graphikio
67.95% <ø> (ø)


house-keeping: file location changed

house-keeping

script location changed
sub-folder removed
create a new sub-folder called data but its not version controlled. It stays on local drive

No conflict with the base branch. Okay to merge.


good job bro!

I can't help but give you a compliment！ You code is juuuust easy to read and without all that whistle and bustle that everybody else use in this field. It is greate for the community! greate work it is

excellent work! except that models defined in common.py fixed the feature size.