Option for whether or not System ENV values are overwritten or preserved

The System.put_env/1 call is pretty heavy-handed.  It would be nice to allow an option to control whether values in an .env would overwrite existing ENV values or not.  I'm thinking of use cases as straight-forward as this:
An .env has some values like:
LOG_LEVEL=warn
# other values...

and then you want to override a value, so you supply the value in the command, e.g.
LOG_LEVEL=debug iex -S mix
# or
LOG_LEVEL=debug _build/myapp

In both cases, the expectation is that the supplied ENV value would override anything already exported to the system.
Perhaps this option could be made available to the Dotenv.load functions, e.g.
Dotenv.load(".env", overwrite: true)

I think the default behavior would be to not overwrite existing values.

Could you explain the use case behind this? In what scenario would this be helpful to you?
I'm a fan of following the ruby dotenv implementation which assumes that the vars in .env should overwrite any previous values based on the load order of dotenv. This makes intuitive sense to me, but I'm curious to learn more about an alternative take.


Slow startup

When opening VS Code, it takes 10-20s for VS Code to allow me to run a build task, or run a command plugin.
I'd like it to optimally be under 5s.
When opening the build tasks list (CMD+SHIFT+B) it does not list the tasks before the loading is complete, and it won't update the tasks list when the loading is complete, so I have to keep opening the build tasks list until it finally shows the build tasks.
I'd be fine with being able to immediately queueing a build task, but having to wait 10-20s before the build task starts so the extension startup and the package loading the complete.
The same goes for testing. The testing tab does now show up until the package loading is complete (I think it also requires a build? or at least it used to).

Can you check to see how long swift package describe takes to run in your project.

@adam-fowler to be clear I've noticed this on both big and small projects so I don't think it's related to project size.
First run on a bunch of different projects, it takes 1-1.5s. Next runs 0.5s or less, maybe 0.3s on avg.

I ask because for a while Soto was taking 15 seconds to run that command. The other thing to check is how long all your other extensions take to load. If you disable everything but the swift extension does it still take as long?
When you bring up the build task list VSCode will attempt to activate any extension that might include a build task.

> Developer: Show Running Extensions will show each extensions startup time.
I did notice that the initial swift -print-target-info takes upwards of 4.5s during extension activation, which is odd to me since running that command on the command line takes only ~150ms. Not sure how to account for the difference yet.


Update proto submodule

This is adding:

loiter time to MissionItems
recording time to CameraStatus
get/set RTL altitude
get/set RTL after mission
mission folder on camera

Oh, it's Swift, that's why :smile:


net: Add a DevicePort implementation

This is a WIP attempt at adding a DevicePort implementation to Manticore.
This implementation varies greatly from the current HostPort implementation, which is why I'm sending a draft PR to see what others think.
The current HostPort implementation seems a little complex and I don't think it will integrate well into libtock-rs and the Tock runtime. For example the HostPort receive() function is blocking, while libtock-rs is non-blocking.
The DevicePort implementation is more geared towards integration with libtock-rs and the Tock ecosystem. I wanted to get feedback on the idea before I spend too much time writing documentation, tests and functionality.

Thanks for the feedback.
I haven't looked too hard into how this would all integrate into Manticore. I wanted to get some early feedback before I spent too much time on this design. I was worried either it has to match HostPort or you had already started working on it, and I didn't want to waste too much time on it if that is the case.
Although libtock-rs is async, the yield calls could easily be used to make the calls blocking, so a blocking API will work.
I was picturing a single PA RoT with multiple AC RoTs being able to send multiple requests at once. Let's say that some AC RoTs are very slow it seems a shame to stall the entire process waiting on them. Like you mention though, the PA RoT might be too limited to be able to handle this situation anyway, so it might not be beneficial though.
As for the loop, we could make a blocking call maybe allowing both? I'll keep digging and see what seems to work.

I pushed an update that more closely matches the current HostPort but should also be a little more libtock-rs friendly.

I have marked this as ready to review. I have an integration with libtock-rs that is able to query and decode AC firmware version via MCTP.

Apparently I forgot to look at this, sorry! I'll TAL after the holidays. In the future, if I don't reply, please make sure to hit the little "recycle" button in the reviewers list, so that I don't miss things. (Or, ping me on Slack et. al.)

Ping! I don't see a recycle button to click.

Ping! I don't see a recycle button to click.

I have addressed some comments and replied to others.

I have addressed some comments and replied to others.

Ok, should be good to go now.

Ok, should be good to go now.


Add ability to search apps from the MAS via name

Addresses part of #9 by adding the ability to search for apps from the MAS via name. Currently the app id and the name will be printed.

Please run script/sort within the repository and commit the changes

@argon Addressed your comments let me know if there is more to do

I made a few more comments. Sorry I didn't add these earlier, only had time for a quick look yesterday.

@argon Pushed new adjustments. Hope it's now a bit more to the style you prefer.

Looks good to me, thanks for making those changes. :+1:


[5.0] SILGen: Borrow the base of accessor LValueComponents.

The same base value is necessary to invoke other accessors as part of the same access, but we would end up consuming it as part of materializing the base value for calls into nonmutating setters.
Fixes SR-8990 | rdar://problem/45274900.

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - cc43799f5f5ed4fb2265131aaca0867618b44c18

Build failed
Swift Test OS X Platform
Git Sha - cc43799f5f5ed4fb2265131aaca0867618b44c18

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - cc43799f5f5ed4fb2265131aaca0867618b44c18

Build failed
Swift Test OS X Platform
Git Sha - cc43799f5f5ed4fb2265131aaca0867618b44c18

This PR was open before the final swift-5.0-branch was cut.  If this was in master as of November 16, 2018, then this change was pulled into the final re-branching of Swift 5.  Closing as this PR was opened against an older version of this branch.  If this change should be pulled in, please open a new PR.


added  MHA link

as per user report #9084, so i added  new  link  of MHA https://mha.azurewebsites.net/  this new link is included in below article
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/anti-spam-message-headers?view=o365-worldwide

@MSFTTracyP Please merge this PR. Thanks


Update DRAFT_functional plant indicators_wetland.Rmd

corrected some typos and formatting issues directly in the file

This one should be done before #44


thirteenth fail

Hopefully resolved with https://github.com/ZhengPeiRu21/mod-playerbots/commit/16ef20cd3e23aa38d4c373ff6a0fe991199ff69b


Simplify readme by pointing to online doc

Avoid duplicate instructions and will ease future maintenance of the installation doc. (Readme will probably not change anymore.)
This is much like what has been done for scikit-decide.

lgtm


[docs][material-ui] Revise the Paper component docs

[x] I have followed (at least) the PR section of the contributing guide.

This PR revises the Paper component documentation content. I'm one of those Material UI users who probably have questioned themselves on why using this component vs. the Box, or really any other container-like component, for virtually everything if following Material Design isn't a desired thing. Through a recent docs-feedback entry mentioning this, I realize the docs didn't answer this... so, this is an attempt to flesh this out a bit for readers.
https://deploy-preview-38841--material-ui.netlify.app/material-ui/react-paper/

While we're here, should we talk about starting to apply consistent structure and formatting to all of the Material UI Component docs? #35158 We could go ahead and start applying the same basic format that we've established in the latest drafts of the Joy UI docs. Or do you think that's beyond the scope of this PR?

@samuelsycamore I'd be happy to start now! I wondered if I could have done it already but wasn't sure. Seems like we're good to get started, then? 😬

Might as well! I had put that umbrella issue on hold to focus on Base and Joy, but it seems like the content revisions for Base are coming to an end.
Try applying the basic header structure and formatting from the Joy docs and see what happens! This is a short and sweet doc so it should be pretty simple, and I think it will make for a much better experience.

@samuelsycamore Added the formatting, let me know what you think about it!

Hey @danilo-leal ! I started reviewing but quickly realized it would be easier for me to just push some changes myself. Hope you don't mind!
Here's what I did:

revised description and introduction
moved "When to use" section into a :::success callout up top
dropped the "Basic usage" header
added the component import
moved Elevation and Variants to Customization section and tweaked the demos
documented the square prop
added Anatomy section

Let me know what you think! Nothing is set in stone here—still feeling out how the patterns translate.


Source must be equal to target in main file

Hello,
It can interesting to have an option to allow the possibility to have, in main translation file, source field to be equal to target.
For example, if I set a translation in Angular, then I launch your script, the source tag is correctly set but not the target

Hi @masartbenji
Not sure if I did understand what you want to achieve. You'd like a translation file where source and target are equal? E.g. a messages.en.xlf (assuming the texts in your templates are English). This could be done by using the configuration option sourceLanguageTargetFile. Would this solve the issue? (In case not, a more concrete example would be appreciated :) )

Hello @daniel-sc
It's fine, I used the old version of the library, but now I updated library and it works fine.
Best regards.


XIVY-11980 generalize tree data handling

some basic unit tests would be great for this utility functions :)


support multi gpu training used and strict versioning

It supports multi-GPU training. Of course,Trained weights work on a single GPU.
Now some versioning needs to be tighter. For that reason, we provide the exact version of the documentation and requirements.txt

Close once and split the pull-request


Dependency updates

Updated all gem dependencies for:

src/sam/layers
src/gems/** (bumped all gem versions and pushed to RubyGems)
src/lambdas/layers/baseline

Updated all JS dependencies for:

src/landing_page

Deployed updated dependencies to stg and all looks ok. Merging so I can deploy to prod


We should enable aggregates that can match several address blocks

#196 contains some work for this one

#199 it is now

Solved in commit 44e74ac by Petri. Thank you!


no height and width in response

I just installed the new version but when choosing the photo from the library response does not have width and height. Do I need to specify some options?

Are you surreeeee you're on the latest version? response.width & response.height are there for me. You don't need to specify options.
npm install react-native-image-picker@latest --save

You are right it works!!!
Thank you so very much
I just had *returnBase64Image *option passed and with that requested the
response did not have the dimensions
ᐧ
On Mon, Nov 2, 2015 at 4:58 PM, Marc Shilling<EMAIL_ADDRESS>wrote:

Are you surreeeee you're on the latest version? response.width &
response.height are there for me. You don't need to specify options.
npm install react-native-image-picker@latest --save
—
Reply to this email directly or view it on GitHub
https://github.com/marcshilling/react-native-image-picker/issues/47#issuecomment-153082642
.

--
Ellen Katsnelson
Lead Developer

@pgmemk cool. Just FYI though, returnBase64Image is no longer an option. I refactored the options recently...check the README for the updated usage.


Deletion of doors and interior walls gets applied as 2 separate state changes

Should be a single state change, single undo etc.

Fixed in 0.9.0.


Added get_terms helper function

Added a helper function to get a list of available terms, useful when adding a select picker for a term or a group of terms
the function can take a string or an array like:
get_terms( 'category' );
get_terms( array( 'category', 'post_tag' ) );

Looks good!
Merging. :+1:


Speedup when staying on sleep mode for a while?

I can't confirm this but I left my game on sleep mode and when I opened it, an animation was running like twice as fast. Can anyone else test if love.timer.getDelta() gets bugged like this?

I belive this is a "normal" behavior of love itself.
On your pc if you hold the window down for a while, the game will stop updating it's draw call and once you release the window, the game will speed for for a second.
Your best bet is to limit dt at the start of your love.update function like this :
''' lua
dt = dt >  1/20 and 1/20 or dt
'''
This will set dt to a minimum of 1/20 seconds.

Yeah, I know this is old, but do what Ranguna suggested. I usually do:
dt = math.min(1/60, dt)


Supporting ca attribute in ssl config

Pull Request Test Coverage Report for Build 3865

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 89.052%

Files with Coverage Reduction
New Missed Lines
%

core/express-commons/src/ExpressApp.js
2
92.73%

Totals

Change from base Build 3860:
-0.02%

Covered Lines:
9210

Relevant Lines:
9983

💛  - Coveralls


Error when completing Write([]byte) writer functions in GO

When programming in golang, whenever I use the Write([]byte) function of the Writer interface I guess this error:
Error executing vim.schedule lua callback: ...er/start/lsp_signature.nvim/lua/lsp_signature_helper.lua:399: malformed pattern (missing ']')

Here is a video of when it happens:
https://user-images.githubusercontent.com/8743306/142300931-7c48fda4-d60c-486f-b1b8-075a888e2a46.mov
And here is the log output:
  documentation = "Write writes the data to the connection as part of an HTTP reply.\n\nIf WriteHeader has not yet been called, Write calls\nWriteHeader(http.StatusOK) before writing the dat
a. If the Header\ndoes not contain a Content-Type line, Write adds a Content-Type set\nto the result of passing the initial 512 bytes of written data to\nDetectContentType. Additionally, if
the total size of all written\ndata is under a few KB and there are no Flush calls, the\nContent-Length header is added automatically.\n\nDepending on the HTTP protocol version and the clien
t, calling\nWrite or WriteHeader may prevent future reads on the\nRequest.Body. For HTTP/1.x requests, handlers should read any\nneeded request body data before writing the response. Once th
e\nheaders have been flushed (due to either an explicit Flusher.Flush\ncall or writing enough data to trigger a flush), the request body\nmay be unavailable. For HTTP/2 requests, the Go HTTP
 server permits\nhandlers to continue to read the request body while concurrently\nwriting the response. However, such behavior may not be supported\nby all HTTP/2 clients. Handlers should r
ead before writing if\npossible to maximize compatibility.\n",
  label = "Write([]byte) (int, error)",
  parameters = { {
      label = "[]byte"
    } }
}
 |3: 0
שׁ ...er/start/lsp_signature.nvim/lua/lsp_signature_helper.lua:144 |1: func |2: Write([]byte) (int, error) |3: {
  label = "[]byte"
}
שׁ ...ck/packer/start/lsp_signature.nvim/lua/lsp_signature.lua:230 |1: md lines trim |2: { "```go", "Write([]byte) (int, error)", "```", "Write writes the data to the connection as part of an
 HTTP reply.", "", "If WriteHeader has not yet been called, Write calls", "WriteHeader(http.StatusOK) before writing the data. If the Header", "does not contain a Content-Type line, Write ad
ds a Content-Type set", "to the result of passing the initial 512 bytes of written data to", "DetectContentType. Additionally, if the total size of all written", "data is under a few KB and
there are no Flush calls, the", "Content-Length header is added automatically.", "", "Depending on the HTTP protocol version and the client, calling", "Write or WriteHeader may prevent futur
e reads on the", "Request.Body. For HTTP/1.x requests, handlers should read any", "needed request body data before writing the response. Once the", "headers have been flushed (due to either
an explicit Flusher.Flush", "call or writing enough data to trigger a flush), the request body", "may be unavailable. For HTTP/2 requests, the Go HTTP server permits", "handlers to continue
to read the request body while concurrently", "writing the response. However, such behavior may not be supported", "by all HTTP/2 clients. Handlers should read before writing if", "possible
to maximize compatibility." }
שׁ ...ck/packer/start/lsp_signature.nvim/lua/lsp_signature.lua:253 |1: label: |2: Write([]byte) (int, error) |3: 0 |4: 1 |5: 0 |6: {
  documentation = "Write writes the data to the connection as part of an HTTP reply.\n\nIf WriteHeader has not yet been called, Write calls\nWriteHeader(http.StatusOK) before writing the dat
a. If the Header\ndoes not contain a Content-Type line, Write adds a Content-Type set\nto the result of passing the initial 512 bytes of written data to\nDetectContentType. Additionally, if
the total size of all written\ndata is under a few KB and there are no Flush calls, the\nContent-Length header is added automatically.\n\nDepending on the HTTP protocol version and the clien
t, calling\nWrite or WriteHeader may prevent future reads on the\nRequest.Body. For HTTP/1.x requests, handlers should read any\nneeded request body data before writing the response. Once th
e\nheaders have been flushed (due to either an explicit Flusher.Flush\ncall or writing enough data to trigger a flush), the request body\nmay be unavailable. For HTTP/2 requests, the Go HTTP
 server permits\nhandlers to continue to read the request body while concurrently\nwriting the response. However, such behavior may not be supported\nby all HTTP/2 clients. Handlers should r
ead before writing if\npossible to maximize compatibility.\n",
  label = "Write([]byte) (int, error)",
  parameters = { {
      label = "[]byte"
    } }
}
שׁ ...er/start/lsp_signature.nvim/lua/lsp_signature_helper.lua:398 |1: line_to_cursor / arg |2:         w.Write(s |3: .*Write([]byte)
Error executing vim.schedule lua callback: ...er/start/lsp_signature.nvim/lua/lsp_signature_helper.lua:399: malformed pattern (missing ']')
שׁ ...ck/packer/start/lsp_signature.nvim/lua/lsp_signature.lua:458 |1: Insert leave cleanup
שׁ ...er/start/lsp_signature.nvim/lua/lsp_signature_helper.lua:285 |1: cleanup vt |2: 23

The line numbers are off in the log because I added a log statement:

so that the error is originally on line 398:
local function_on_line = line_to_cursor:match('.*' .. function_name)

Strange, I can not reproduce
Do you use latest nvim 0.6.x ? what is you lua version?

Is 0.6.x the recommended version for this plugin?

I pushed a fix for it. Hope it works

Works perfectly now, thanks!!


EN-3324 Simplify the laptop script

Goes along with https://github.com/Recombine/recombine-migrations/pull/610
Add docker toolbox suite
Remove cloning the repos - that's easy enough for each dev to do themselves

👍


publish readme.md

the npm readme is out of date because it isn't being copied to the published directory used by ng-packagr.
Can see there's no readme in the latest version<EMAIL_ADDRESS>this is also why it isn't available on https://preview.npmjs.com/package/@ngx-translate/core

I use something like https://github.com/TypeCtrl/ngx-headroom/blob/master/build.ts in my libs

Fixed, thanks!


PartialSimpleIdealGasMedium uses different offsets in BaseProperties and in specifidInternalEnergy

Reported by otter on 27 Jun 2014 15:53 UTC
When simulating the test model ModelicaTest.Media.TestAllProperties.SimpleAir an error occurs. The reason are different offsets in the medium model.
In PartialSimpleIdealGasMedium.BaseProperties:
h = specificEnthalpy_pTX(p,T, X);  // = cp_const*(T - T0);
u = h - R*T; // = (cp_const - R)*T - cp_const*T0

In PartialSimpleIdealGasMedium.specificInternalEnergy:
u = (cp_const - R)*(T - T0);
    // = (cp_const - R)*T - cp_const*T0 - (cp_const - R)*T0

Therefore in the first case the offset is
cp_const*T0
and in the second case it is
(cp_const - R)*T0

Migrated-From: https://trac.modelica.org/Modelica/ticket/1530

Comment by hubertus on 27 Jun 2014 21:43 UTC
Fixed in rtunk in 7ed004ce62b9c700e95b0bcba7c512ee7e94c4ec. Fixed by setting u = h - R*(T-T0) in BaseProperties.

Comment by hubertus on 27 Jun 2014 21:52 UTC
fixed in MSL 3.2.1 branch as well, closing !#1350

Changelog modified by hubertus on 27 Jun 2014 21:52 UTC
Fixed ticket #1350, wrong offset for u in PartialSimpleIdealGasMedium.

Comment by hnaderan on 5 Dec 2014 14:56 UTC
The issued fix is incorrect. The correct thermodynamic definition of enthalpy is:
h = u + p*v
which for ideal gas becomes:
h = u + R*T
anonymousor if calculating internal energy from enthalpy:
u = h - R*T
So the previous equation in BaseProperties was correct and the one in specificInternalEnergyshould have been changed to:
u = cp_const*(T - T0) - R*T
This will set the internal energy and enthalpy references correctly. In its current form, both internal energy and enthalpy are zero at T0 which is wrong. Also for temperatures less than T0 the internal energy will become greater than enthalpy which is also wrong in thermodynamics.

Comment by hubertus on 5 Dec 2014 15:09 UTC
I don't think that the comment above is necessarily correct, and it may all be about a different use of terms between "Ideal Gas" and "Perfect Gas". In the references that I know,

the enthalpy for an ideal gas can have an arbitrary reference temperature
the internal energy, relativ to that reference, can be greater than the enthalpy.

This is consistent with how the much more complex NASA ideal gas is implemented, where the reference temperature can be set to either 0 K or 25 Deg Celsius.
What the commenter writes may however be true for a "Perfect Gas", I'd have to check that, and typically a "Perfect Gas" has a constant cp. This is however not consistent in the literature and a model with a constant cp is also referred to as an "ideal gas".

Comment by hnaderan on 6 Dec 2014 18:50 UTC
Enthalpy and internal energy are two thermodynamic properties. The definition of enthalpy is:
h = u + p * v
This holds true for every substance, ideal gas, perfect gas or whatever else. Since p and v are both always positive, at any thermodynamic state h is always greater than u regardless of the material model or the reference state.
I mentioned this as an obvious indication for the incorrect formula used in the specificInternalEnergy function. Actually, I stumbled on this bug in a more complex model which I was getting nonphysical results and by creating a simple benchmark test case, I became confident that internal energy calculation was wrong. Indeed reading the code revealed the incorrect formula. If you like, I can send the test case to you.
Further reading down the code, the formula for calculation of specificHelholtzEnergy function is also incorrect. It says:
f := (cp_const - R_gas)*(state.T - T0) - state.T*specificEntropy(state);
which the first term on the right hand side is inconsistent with the enthalpy reference taken at T0. I have changed my version of this function to:
f := specificInternalEnergy(state) - state.T*specificEntropy(state);
This way, the fix to the specificInternalEnergy does not have to be duplicated here.
H.Naderan
Assistant professor
Mechanical Engineering Department
Amirkabir University of Technology

Comment by otter on 6 Jan 2015 18:56 UTC
Replying to [comment:4 hubertus]:

I don't think that the comment above is necessarily correct, and it may all be about a different use of terms between "Ideal Gas" and "Perfect Gas". In the references that I know,

the enthalpy for an ideal gas can have an arbitrary reference temperature
the internal energy, relativ to that reference, can be greater than the enthalpy.

This is consistent with how the much more complex NASA ideal gas is implemented, where the reference temperature can be set to either 0 K or 25 Deg Celsius.
What the commenter writes may however be true for a "Perfect Gas", I'd have to check that, and typically a "Perfect Gas" has a constant cp. This is however not consistent in the literature and a model with a constant cp is also referred to as an "ideal gas".

In SingleGasNasa the following equations are present:
h = IdealGases.Common.Functions.h_T(data,state.T);
u = IdealGases.Common.Functions.h_T(data,state.T) - data.R*state.T;

I did not find the place where the reference temperature is set. But independently of the reference point (assuming that the same "data" is used), then it follows from the above equations:
u = h - data.R*state.T
# h - state.p/d

Therefore, also for the NASA medium the equation h = u + p*v holds, as it should be.
My conclusion: The medium should be fixed as proposed in the ticket.

Comment by hubertus on 6 Jan 2015 21:08 UTC
Fixed in trunk (cc794bacce3ac4d91d19f9872b318691b8300183) and 3.2.1 maintenance (7eca10b4188a1fd845896d6b3bdefde51febc039).

Comment by mwetter on 9 Jan 2015 16:56 UTC
cc794bacce3ac4d91d19f9872b318691b8300183 on the trunk and 7eca10b4188a1fd845896d6b3bdefde51febc039 on maintenance/3.1/Modelica/Media/package.mo are wrong.
The line 6690 is currently
u := cp_const*(T - T0) - R*T;

but should be
u := cp_const*(state.T - T0) - R*state.T;

as there is no variable T in scope.

Modified by mwetter on 9 Jan 2015 16:57 UTC

Comment by hubertus on 13 Jan 2015 19:28 UTC
Fixed in 6c57d814dfff7415901ca51be929ec6b276a1adb and bd6149095603368483fb942b25f12db4010f1ba8.

Comment by efredriksson on 19 Feb 2015 13:20 UTC
After commit cc794bacce3ac4d91d19f9872b318691b8300183 and 6c57d814dfff7415901ca51be929ec6b276a1adb the test ModelicaTest.Media.TestAllProperties.SimpleAir is broken (Dymola and JModelic.org tested).

Modified by beutlich on 4 Mar 2015 21:40 UTC

Comment by hubertus on 22 Jun 2015 14:27 UTC
This has been fixed for some in trunk (8e5c1bf91e8a0222b1b73b02062f0cc4ea8b9564), and has only not been closed because it was not merged to the 3.2.1.

Comment by hubertus on 22 Jun 2015 15:00 UTC
Fixed in the release branch 3.2.1 in 84000601efc8b6900f1b42123930cb5ebe1baf74


Link "virtual machine" and  "cloud computing"

Link to the virtual machine in the glossary when reading about it and Modify the documentation by adding a link to cloud computing to understand the example given in a better way.
Signed-off-by: KiranSatyaRaj<EMAIL_ADDRESS>

@iamNoah1 I've approved the suggestions and committed the changes, Hope it is able to merge now.


Update workflows to voc4cat-tool 0.8.4

The job failure here is expected. v0.8.4 fixes exactly this.


Transform exercises in Stack projects - Phase 5 - Creating the final documentation

Transform exercises in Stack projects #185.
Phase 5 - Creating the final documentation
Rewrite ./README.md
Rewrite ./SETUP.md
Rewrite ./INSTALLATION.md
Rewrite ./TESTS.md

Seems good, :+1:


Add "Getting Started - Software" guide

Add a written guide for first-time software installation
Include a shell script to automate most of that first-time software
installation (Linux / macOS only)
Test that shell script

Looking for feedback on the docs quality, making sure that its easy
to read, and that it includes all of the dependencies and tools.

Checks for first-time-setup.sh passed in CI. I transitioned the test to a cron job, instead of running them on every PR / commit, since they run slower (need to download toolchains, build tools, build all code). Could use a dependency cache to avoid the crate download, but lets consider that if the cron job doesn't work out.

Checks for first-time-setup.sh passed in CI. I transitioned the test to a cron job, instead of running them on every PR / commit, since they run slower (need to download toolchains, build tools, build all code). Could use a dependency cache to avoid the crate download, but lets consider that if the cron job doesn't work out.

Consider this getting started documentation for #23.

Consider this getting started documentation for #23.


460 ts connect definition

Description
It is bugfix linked with https://github.com/rofrischmann/fela/pull/461
Example
see fela/packages/example-typescript
cd fela/packages/example-typescript
npm start
Project must be starting without compilation errors
Versioning

Major
example-typescript
Minor
Patch
fela
Checklist
Quality Assurance

You can also run yarn run check to run all 4 commands at once.

[ ] The code was formatted using Prettier (yarn run format)
[ ] The code has no linting errors (yarn run lint)
[ ] All tests are passing (yarn run test)
[ ] There are no flow-type errors (yarn run flow)

Changes
If one of the following checks doesn't make sense due to the type of PR, just check them.

[ ] Tests have been added/updated
[ ] Documentation has been added/updated
[ ] My changes have proper flow-types

Can you please check all the checkboxes as soon as you're done? Then I know when the PR is ready :)

I thought for a long time which syntax to choose for typing the names of classes that will be connected to the component (interface, enumeration or set of string constants). As a result, I decided to follow the example react-redux and chose the interface. Now I'm ready for the pull regest to be merged.

Thanks for your effort! I will merge and release today =)


New Component Types

As a:
Fabrikate user
I want:
To use various templating tools to create components (i.e. Kustomize, Jsonnet) instead of just helm.
So that:
I can reuse already existing templates/resources/tooling.
Describe the solution you'd like:
Implement more component types or make it generic enough to define own types (i.e. plugins).
Describe alternatives you've considered:
Run other tool first to generate components of type "static".
Additional context:
This would open Fabrikate up to be used with other tooling.

We'd love pull requests for this (either for Kustomize or Jsonnet).  Largely the implementation of this should follow the approach that is used for Helm.  Feel free to reach out to me if anyone wants to undertake this.


Tesseract 4.0 single block recognize bug

Hello!

When we try to recognize the picture above through a new tesseract 4.0, we have the following output

Via 3.04

Dots wrong recognized :

Common input :

For testing
https://drive.google.com/file/d/0B0K3HIAIMTpMS3lGZXkteXo2Sjg/view?usp=sharing

I also noticed that the new LSTM recognizer in Tesseract 4 tries to detect characters even in very small elements of the image. In our case, a dot was "recognized" as a P, and indeed it resembled that character at a very high zoom level. Maybe @theraysmith can better explain that effect.

Maybe a tesseract has a minimum character size setting?

https://groups.google.com/g/tesseract-ocr/c/eVVrKz8T07w suggest using textord_min_xheight e.g.tesseract i772.png - -l rus --psm 6 -c textord_min_xheight=35:
О ПОСТАНОВКЕ НА УЧЕТ РОССИЙСКОЙ ОРГАНИЗАЦИИ В НАЛОГОВОМ
ОРГАНЕ ПО МЕСТУ НАХОЖДЕНИЯ НА ТЕРРИТОРИИ ‚°
РОССИЙСКОЙ ФЕДЕРАЦИИ


Check the types of tuple elements, and if there are no managed types then use one command move

fixed


Update to recent redis-commands

Pull Request check-list
Please make sure to review and check all of these items:

[x] Does npm test pass with this change (including linting)?
[x] Is the new or changed code fully tested?
[x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
This includes commands from Redis 5.0, including streams-related API.

This fixes #1351(which is valid), btw.

@ford-prefect thanks a lot for your contribution!

@ford-prefect thankyou!


Token unsealing via libcall

This is a (hopefully correct) subset of the overly-ambitious #91.  It gives us a fast-path for unsealing tokens without a full cross-compartment call and enables the use of static ocaps without needing the allocator compartment.  However, the allocator, if present, is in the same trust domain as the token unsealer: they share the same hardware sealing capability, and, as David points out, the allocator can, in principle, change the software type of any ocap to which it has access.  Future work might correct the deficiencies of #91, but this PR is, hopefully, a useful, self-contained subset.
This PR introduces a minor performance delta for the test suite, which is a somewhat unrealistically heavy user of the malloc API.  Using b4b6204e as a baseline, the release test suite compiles to a 104810 bytes in .text and 2872 bytes in .data and runs in...
Test runner: Allocator finished in 4779117 cycles
Test runner: All tests finished in 5182625 cycles

After this PR, that's 105504 bytes in .text (+ 694 or 0.7%) and 2896 in .data (+ 24 or 0.8%) and runs...
Test runner: Allocator finished in 4803030 cycles
Test runner: All tests finished in 5203722 cycles

That is, the release test suite takes 21097 additional cycles to run, 23913 of which are in the allocator test (that is, the rest of the test suite is, on average, faster), for a 0.4% slowdown.

The code size changes look pretty large.  Can you compare the allocator code + data to the allocator and the new library's code + data?  A 694 byte increase looks huge.  The allocator is currently 7712 bytes of code and 48 bytes of data, so that's a 9% increase in size.

Sure, drilling down a bit... relative to 69a1baf9a025ae126a71c3e1a852fd08acd02fb6, I see:
--- tmp/pre.txt 2023-07-12 17:08:43.633510649 +0100
+++ tmp/post.txt        2023-07-12 17:08:02.943460021 +0100
@@ -1,8 +1,9 @@
    text           data     bss     dec     hex filename
   10208            232      64   10504    2908 tests/build.sail/cheriot/cheriot/release/allocator_test.compartment
      30             32       0      62      3e tests/build.sail/cheriot/cheriot/release/ccompile_test.compartment
-   8348            256      40    8644    21c4 tests/build.sail/cheriot/cheriot/release/cherimcu.allocator.compartment
+   8212            260      40    8512    2140 tests/build.sail/cheriot/cheriot/release/cherimcu.allocator.compartment
     462             32      20     514     202 tests/build.sail/cheriot/cheriot/release/cherimcu.software_revoker.compartment
+     94             48       0     142      8e tests/build.sail/cheriot/cheriot/release/cheriot.ocap_fast_paths.compartment
    2513             84       0    2597     a25 tests/build.sail/cheriot/cheriot/release/compartment_calls_inner.compartment
    1259             56       0    1315     523 tests/build.sail/cheriot/cheriot/release/compartment_calls_inner_with_handler.compartment
    2165            128       0    2293     8f5 tests/build.sail/cheriot/cheriot/release/compartment_calls_test.compartment
@@ -10,14 +11,14 @@
    3556             64       0    3620     e24 tests/build.sail/cheriot/cheriot/release/crash_recovery_outer.compartment
    5000             72       4    5076    13d4 tests/build.sail/cheriot/cheriot/release/crash_recovery_test.compartment
    5729            124       4    5857    16e1 tests/build.sail/cheriot/cheriot/release/futex_test.compartment
-   5689            232      88    6009    1779 tests/build.sail/cheriot/cheriot/release/locks_test.compartment
-  11227            296     120   11643    2d7b tests/build.sail/cheriot/cheriot/release/multiwaiter_test.compartment
+   5649            232      88    5969    1751 tests/build.sail/cheriot/cheriot/release/locks_test.compartment
+  11157            296     120   11573    2d35 tests/build.sail/cheriot/cheriot/release/multiwaiter_test.compartment
    3417            144      16    3577     df9 tests/build.sail/cheriot/cheriot/release/queue_test.compartment
    2091             56      16    2163     873 tests/build.sail/cheriot/cheriot/release/stack_integrity_thread.compartment
    3485            128       1    3614     e1e tests/build.sail/cheriot/cheriot/release/stack_test.compartment
-   4390            100       0    4490    118a tests/build.sail/cheriot/cheriot/release/static_sealing_inner.compartment
+   4380            100       0    4480    1180 tests/build.sail/cheriot/cheriot/release/static_sealing_inner.compartment
      70             68       0     138      8a tests/build.sail/cheriot/cheriot/release/static_sealing_test.compartment
    3496           1480      32    5008    1390 tests/build.sail/cheriot/cheriot/release/test_runner.compartment
    9108            316     632   10056    2748 tests/build.sail/cheriot/cheriot/release/test-suite.scheduler.compartment
    1408             32     288    1728     6c0 tests/build.sail/cheriot/cheriot/release/thread_pool.compartment
-   5175            208      40    5423    152f tests/build.sail/cheriot/cheriot/release/thread_pool_test.compartment
+   5165            208      40    5413    1525 tests/build.sail/cheriot/cheriot/release/thread_pool_test.compartment
- 106194    2872     701  109767   1acc7 tests/build.sail/cheriot/cheriot/release/test-suite
+ 107016    2896     701  110613   1b015 tests/build.sail/cheriot/cheriot/release/test-suite

Ah ha:
- 66 .loader_code                                  00001f50 80018dd0 TEXT
- 67 .loader_data                                  00000048 8001ad20 DATA
+ 67 .loader_code                                  00002300 80018d20 TEXT
+ 68 .loader_data                                  00000048 8001b020 DATA

That's a gain of 944 bytes in .loader_code.  Drilling down further:

"Introduce notion of privileged libraries" makes .loader_code 0x21e0 bytes long, an increase of 656 bytes.
"Allow setSealingKey to refine permissions" makes it 0x2260 (128 more bytes)
"Move token unseal to new privileged library" makes it 0x2300 (160 more bytes)

All of those seem significantly larger than I'd expect, and I'm not sure what's going on there.

I'm happy to clean up the loader later.  I think the extra 'oh, but is it a library?' checks are probably bloating the code a bit, we can probably reduce it.  At around 8.5 KiB, the loader is still small in comparison to most heaps, so is fine.

Don't forget to squash before merging.


Add version manifest hash and version details hash to version_manifest.json

Fixes #4
Also for consistency (otherwise updating would unexpected stuff):

Put two manifests to their correct location
rename b1.9-pre4-1440 to b1.9-pre4-201110131440

The idea of version_manifest.json was to be compatible with the https://piston-meta.mojang.com/mc/game/version_manifest.json format.
Are there any launchers or tools which accept custom manifests, but require the sha1? It's normally only found in https://piston-meta.mojang.com/mc/game/version_manifest_v2.json
detailsHash shouldn't be a thing. Tools consuming mc-versions should not cache based on it (either use HTTP caching headers when pulling from GitHub pages or, better, clone the repository), so it wouldn't have a use.
I'm not a big fan of adding 2000 lines to a file that changes every commit. (git has to store every version)

The idea of version_manifest.json was to be compatible with the https://piston-meta.mojang.com/mc/game/version_manifest.json format.

I see. I was thinking of the v2 manifest from mojang, you mentioned, which contains these hashes.

Are there any launchers or tools which accept custom manifests, but require the sha1? It's normally only found in https://piston-meta.mojang.com/mc/game/version_manifest_v2.json

I'm not aware of any launcher which requires this, but it would make detecting stale information (and verifying integrity) a lot easier. In my particular case, the tool would be gitcraft.

detailsHash shouldn't be a thing. Tools consuming mc-versions should not cache based on it (either use HTTP caching headers when pulling from GitHub pages or, better, clone the repository), so it wouldn't have a use.
I'm not a big fan of adding 2000 lines to a file that changes every commit. (git has to store every version)

Should this PR be continued with only the sha1 field? Otherwise, I'd just close it then. Nevertheless, thanks for the response.


Add test for Artax.

The changed PHP version installs PHPUnit 6 now, which makes Guzzle5 tests fail.

Okey. thanks!

@Nyholm I think #32 is better, it keeps executing the tests with the lower version for all adapters except Artax.


incorrect z-index on component s-sticky

Chrome Version: 74.0.3729.169（64-bit）

It is fixed already. Thanks.


feat(transactional): adds supports propagation mode

Adds the "SUPPORTS" propagation mode (inspired by Spring "SUPPORTS" transaction propagation behavior).

I deliberately left this option out, but maybe you can enlighten me. How is it different to not decorating the method at all?


refine existing types

I've looked through the Student App at how the response data was used and refined existing type definitions based on that.
Types I reviewed

Behaviour
Activity
Homework
Detentions
Timetable
Attendance
Rewards
Badges

Thanks :)


[TEST] Test test_invalid_backup_target_nfs is failing on daily CI

What's the test to develop? Please describe
Test is failing with below error on daily CI.
AssertionError: Failed to update resource: b'{"type":"error","links":{},"code":"Invalid","message":"admission webhook \\"validator.harvesterhci.io\\" denied the request: NFS path must follow: nfs://server:/path/ format","status":422,"type":"error"}\n'

Let's check the next CI result, if that passes, we can close this. thanks @lanfon72


Fix ECS registration token issue

In clustering environment, the ECS registration token is stored in the database, and the token will be deleted from the database once it is used.
Say node1 generates a token, then the only way that node 2 and 3 can know this token is to grab the token from the database, because oEQ uses Guava cache which does not support being shared among instances.
According to the guava cache api, refreshing the cache will call the CacheLoader's load method, and this method is where reading the token from the database was implemented before. Therefore, each node is able to know the token is the token is available

Travis failed because this branch was created before we merged the ASC fix branch into Develop.

Heya @PenghaiZhang
I'm not sure this is the right approach. As it means whenever we use the the cache in a clustered environment first it's going to read from the DB again? That then voids the value of the cache.
I thought oEQ has it's own messaging protocol, so that ideally if new data is added then the other nodes can be signalled to refresh their cache at the point. So, here when a new registration token is created a message should be trigged. And once a token is removed, then another message should trigger to evict.
Let's discuss.

I just had a look at ReplicatedCache and I think the problem might be in the get -
    public synchronized Optional<V> get(@NonNull String key) {
      checkNotNull(key);

      LoadingCache<String, Optional<ExpiringValue<V>>> c =
          cache.getIfPresent(CurrentInstitution.get());
      if (c != null) {
         ...
      }

The getIfPresent means that the per institution cache is never actually checked at all if it hasn't been created yet, thus never even going to the db at all. I reckon it would work if it was changed to plain get and remove the null check.

I just had a look at ReplicatedCache and I think the problem might be in the get -
    public synchronized Optional<V> get(@NonNull String key) {
      checkNotNull(key);

      LoadingCache<String, Optional<ExpiringValue<V>>> c =
          cache.getIfPresent(CurrentInstitution.get());
      if (c != null) {
         ...
      }

The getIfPresent means that the per institution cache is never actually checked at all if it hasn't been created yet, thus never even going to the db at all. I reckon it would work if it was changed to plain get and remove the null check.

Thanks Jolse! I will try your suggestion now.


Add tutorial on ECR EKS integration

Due to recent interest, I created a small sample to demonstrate the integration between EKS and ECR and its pitfalls (mainly the possibility of failure to resolve localhost.localstack.cloud).
It is a small example, with the necessary explanation at the beginning, with a small sample to demonstrate (nothing special, just creating a pod up to the point where the image is pulled) afterwards, using awscli. With the correct configuration of EXTERNAL_HOSTNAME, any IaC tool should work as well though.

Error in linting seems to be caused by https://github.com/gaurav-nelson/github-action-markdown-link-check/issues/132 which was caused by https://github.blog/2022-04-12-git-security-vulnerability-announced/ .

Awesome, thanks for adding this sample @dfangl ! 💯
Linter check is still failing - is that something we can look into in a follow-up PR @HarshCasper ?

I will fix that or migrate it to an alternative if this persists.


BUG: Addresses with multiple names throw error

Test: 4395 E Kit Fox Ln, Post Falls, ID 83854

Hi @toms3t, I'm new to the code base. A quick grep for "address" on repo listed many candidates. However, I felt changes are required at only zillow_api.py and views.py files. Could you please provide more information?

@suprithIUB Most of the logic now resides in the set_zillow_url method in the Zillow_api.py file. We've improved the logic now to include more variations of address types but I'm sure there are some that we haven't accounted for. Feel free to test multiple types of addresses and let me know what you find.


Apply localization to specific series

Hi,
I have a basic OHLC chart with volume data. I'd like to apply a custom price formatter for the candles only and not the volume. If I follow this demo the price is formatted both for volume and OHLC candles. How can I just format the CandleSeries ?
Thanks,

Hi!
it seems that we need to have a separate formatter for each data series.

See custom price format or associated test case.

I don't seem to be able to get it to work with a CandleStickSeries.

It'll be available in 1.1 version.


projection expression

with #242 ProjectionExpression will be introduces also for query and scan. During the PR review reviewing the following things popped up:

[x] we should use the metadata with resolveAttributeNames to fix an issue where attributes with renamed properties are not correctly mapped
[x] return a new type where the exec... call returns Partial<T> @simonmumenthaler any concerns?
[x] support Array<keyof T> for argument type to have better type support

:tada: This issue has been resolved in version 5.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


How to train on the coco-stuff datasets?

I want to train on the COCO-Stuff dataset. How can I do that

Please follow this setup instruction and run python main.py train --config-path configs/cocostuff164k.yaml.
A pre-trained model is also available.


onAdFailedToLoad: 3 (Android)

When i run the app using a real AdUnitId that message appear. Banner o Interstitial, its the same.
But using the TestUnitID this error does not happend.
Whats mean the error 3, why and how can i fix that?

it is not actully an error but it means that there is no ad to load it will load when its available


yourls_allow_duplicate_longurls where to set it to allow

I have spent like 3 hours searching the web, I know I've seen it somewhere.
But I cannot find it.
The links to the old pages that talked about it are not there anymore.
Can someone point me to where I can see how to allow duplicate long yourls?
Technical details

YOURLS version:  v 1.7.1
PHP version: 5.6.28

File: user/config-sample.php
/** Allow multiple short URLs for a same long URL
 ** Set to true to have only one pair of shortURL/longURL (default YOURLS behavior)
 ** Set to false to allow multiple short URLs pointing to the same long URL (bit.ly behavior) */
define( 'YOURLS_UNIQUE_URLS', true );
Set it to false.

Thanks @gmolop! 👌


Merging from josemedina/fork to branch in Azure

Adding several templates that enable the execution of NLP accelerator using AzureML SDKv2:

Connect-to-workspace.yml
create-compute.yml
install-aml-cli.yml
install az-cli.yml
register-environments.yml
run-pipeline.yml

Files to be updated with additional SDKv2 (.py) execution.

Closing to open new pull request


there is no source code for Replication

I have seen your amazing work, can you please upload your source to replicate the results? thanks :)

Hi @wild10, I am glad you read about our work. The source code should be up by this weekend. Apologies for the delay!

The code has been added to the repo. Closing this now.


fixes #878 made LogIT handle delayed tx close()

I had to move some code from outside of try block inside it.  So, ignoring white space makes the diffs smaller.


Add metric around failed Store endpoints from Query node

Is your proposal related to a problem?
We have a use case where we'd like to alert/monitor on Store instances that a given Query node can't reach (either because it went down, has a network failure, etc). I see entries in the log for these failures but no metrics that represent that. I noticed there is a metric for DNS lookups though so maybe this could be an easy extension to that?
Example log statement I am referring to
 level=warn ts=2021-04-29T21:03:20.75684565Z caller=storeset.go:458 component=storeset msg="update of store node failed" err="getting metadata: fetching store info from test.net:10901: rpc error: code = DeadlineExceeded desc = context deadline exceeded" address=test.net:10901

Describe the solution you'd like
A metric available at /metrics that shows a up style metric whether this endpoint can be reached or not
Describe alternatives you've considered
Additional context
Happy to work on this if someone could point me in the right direction. Thanks!

This was discussed during some meetings, so I think this is something which can be useful for more people.

Ok, not knowing the inner workings that well, my thought was to mark the store endpoint "up" on first connection (when it successfully is added to the store list) and flip it 0 when it gets removed. In my log example, that store endpoint doesn't show up on the stores page anymore.
I think I'm ok ignoring cases of network blips where a single or handful of queries fail. The grpc metrics should handle that I believe.

Opened a draft PR for this #4169 if folks can take look and give me feedback. Thanks!


Error: aerender.exe failed to render the output into the file due to an unknown reason

Describe the bug
Somewhere down the line nexrender stopped working and it seems to be impossible to restore it to a working state anymore. I tried installing it through NPM and tried using the binaries. I also tried reinstalling AE en AME. Resetting both apps and Creative Cloud.
This command:
./nexrender-cli-macos "{\"template\":{\"src\":\"file:/$PWD/project.aep\",\"composition\":\"1x1\", \"outputModule\": \"molo loco video\", \"outputExt\":\"mp4\"}}"

Gives the following output:
> starting nexrender-cli
using automatically determined directory of After Effects installation:
 - /Applications/Adobe After Effects 2024/aerender
checking After Effects command line renderer patch...
command line patch already is in place
[9GA8ksi4rln7kjrfZnK8f] setting up job...
[9GA8ksi4rln7kjrfZnK8f] working directory is: /var/folders/k0/8trjf08x68jcqpc51p3970m00000gn/T/nexrender/9GA8ksi4rln7kjrfZnK8f
[9GA8ksi4rln7kjrfZnK8f] applying predownload actions...
[9GA8ksi4rln7kjrfZnK8f] downloading assets...
[9GA8ksi4rln7kjrfZnK8f] applying postdownload actions...
[9GA8ksi4rln7kjrfZnK8f] applying prerender actions...
[9GA8ksi4rln7kjrfZnK8f] running script assemble...
[9GA8ksi4rln7kjrfZnK8f] rendering job...
[9GA8ksi4rln7kjrfZnK8f] setting aerender log path to project folder: /var/folders/k0/8trjf08x68jcqpc51p3970m00000gn/T/nexrender/9GA8ksi4rln7kjrfZnK8f/aerender.log
catching the error internally
[9GA8ksi4rln7kjrfZnK8f] cleaning up...
> job rendering failed
Error: aerender.exe failed to render the output into the file due to an unknown reason
    at ChildProcess.<anonymous> (/snapshot/nexrender/packages/nexrender-core/src/tasks/render.js)
    at ChildProcess.emit (node:events:537:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:537:28)
    at Pipe.<anonymous> (node:net:747:14)

But when I run this command everything works:
 /Applications/Adobe\ After\ Effects\ 2024/aerender -project "$PWD/project.aep" -comp "1x1"  -OMtemplate "molo loco video" -output "$PWD/result.mp4"

I get this output:
aerender version 24.5x52
PROGRESS: Launching After Effects...
PROGRESS: Adding specified comp to Render Queue
PROGRESS:  12/08/2024 12:39:16 CEST: Starting composition “1x1”.

PROGRESS:  Render Settings: Best Settings
PROGRESS:  Quality: Best
PROGRESS:  Resolution: Full
PROGRESS:  Size: 1920 x 1080
PROGRESS:  Proxy Use: Use No Proxies
PROGRESS:  Effects: Current Settings
PROGRESS:  Disk Cache: Read Only
PROGRESS:  Color Depth: Current Settings
PROGRESS:  Frame Blending: On for Checked Layers
PROGRESS:  Field Render: Off
PROGRESS:  Pulldown: Off
PROGRESS:  Motion Blur: On for Checked Layers
PROGRESS:  Solos: Current Settings
PROGRESS:  Time Span: Work Area
PROGRESS:  Start: 0;00;00;00
PROGRESS:  End: 0;00;29;29
PROGRESS:  Duration: 0;00;30;00
PROGRESS:  Frame Rate: 29,97 (comp)
PROGRESS:  Guide Layers: All Off
PROGRESS:  Skip Existing Files: Off
PROGRESS:
PROGRESS:  Output Module: molo loco video
PROGRESS:  Output To: /Users/jjdenhertog/Documents/Projects/molo-render/patch/result.mp4
PROGRESS:  Format: H.264
PROGRESS:  Output Info: VBR, Target 15,00 Mbps
PROGRESS:  Include: Project Link
PROGRESS:  Output Audio: On (if comp has audio)
PROGRESS:  Channels: RGB
PROGRESS:  Depth: Millions of Colors
PROGRESS:  Color: Premultiplied
PROGRESS:  Resize: -
PROGRESS:  Crop: -
PROGRESS:  Final Size: 1920 x 1080
PROGRESS:  Profile: -
PROGRESS:  Post-Render Action: None
PROGRESS:
PROGRESS:  0;00;00;00 (1): 0 Seconds

Information about environment

Which version of nexrender are you using?
1.53.1

What kind of the setup do you have? (server+worker or cli)
CLI

Are you using pre-built binaries or globally installed npm packages?
Tested with both

Which kind (and version) of operating system you are running it in?
Apple M1 Max
14.1.1 (23B81)

Any additional information that might be helpful
There are no logs created from AE. So it feels like the aerender process is never executed.

I have been debugging this line in render.js
instance.on('close', (code) =>

And found by adding the signal that it's crashing on a SIGILL signal. And found with some more research that it seems to be opening the aerender binary using Rosetta. And that gives the error "illegal instructions: 4".
I can reproduce it by opening Terminal in Rosetta and running this command which was previously working:
 /Applications/Adobe\ After\ Effects\ 2024/aerender -project "$PWD/project.aep" -comp "1x1"  -OMtemplate "molo loco video" -output "$PWD/result.mp4"

Now (in Rosetta) it gives this output:
Illegal instruction: 4

So my question is, how can I make sure that the command that is spawned in render.js is not using Rosetta?

Alright, I managed to solve the issue myself. So for anyone running into the same issue.
It was caused by Node running under Rosette. I originally installed the node versions while running Terminal in Rosetta. As a result the Node version was also running in Rosetta.
This command returned x64 rather than arm64.
node -e 'console.log(process.arch)'

I reinstalled the node version while running the terminal in Rosetta and everything worked like a charm.

Makes sense! Thanks for sharing the resolution, it could be very helpful to others! :)


[vk] Wrong file timestamp

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
Some formats are saved from VK.com with a wrong date.
For example, https://vk.com/video-214113807_456239495 has the date 2023-12-05.
 yt-dlp https://vk.com/video-214113807_456239495 -f dash_webm-2+dash_webm-3 saves file with the date 2014-01-01
 yt-dlp https://vk.com/video-214113807_456239495 saves file with the current date.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://vk.com/video-214113807_456239495', '-f', 'dash_webm-2+dash_webm-3']
[debug] User config "/home/tkzv/yt-dlp.conf": ['--alias', 'tg', '--write-info-json -o "%(channel)s[%(id)s].%(ext)s"', '--alias', 'yt', '--proxy socks5h://<IP_ADDRESS>:9050']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [f43387142] (pip)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-5.15.32-gentoo-r1-x86_64-AMD_FX-tm-8300_Eight-Core_Processor-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg 6.1.1 (fdk,setts), ffprobe 6.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-3021.03.16, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.3, urllib3-2.2.1, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[vk] Extracting URL: https://vk.com/video-214113807_456239495
[vk] -214113807_456239495: Downloading JSON metadata
[vk] -214113807_456239495: Downloading MPD manifest
[vk] -214113807_456239495: Downloading MPD manifest
[vk] -214113807_456239495: Downloading m3u8 information
[debug] Sort order given by extractor: res, source
[debug] Formats sorted by: hasvid, ie_pref, res, source, lang, quality, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, id
[info] -214113807_456239495: Downloading 1 format(s): dash_webm-2+dash_webm-3
[debug] Invoking http downloader on "https://vkvd365.okcdn.ru/?expires=1728967231840&srcIp=<IP_ADDRESS>&pr=40&srcAg=CHROME&ms=<IP_ADDRESS>&type=1&sig=Bx3uHVyqfkU&ct=21&urls=<IP_ADDRESS>&clientType=13&appId=512000384397&id=5813258947249"
[download] Destination: Трейлер ГТА 6 [-214113807_456239495].fdash_webm-2.webm
[download] 100% of    3.43MiB in 00:00:00 at 10.67MiB/s
[debug] Invoking http downloader on "https://vkvd365.okcdn.ru/?expires=1728967231840&srcIp=<IP_ADDRESS>&pr=40&srcAg=CHROME&ms=<IP_ADDRESS>&type=4&sig=zXokvDSXyXw&ct=22&urls=<IP_ADDRESS>&clientType=13&appId=512000384397&id=5813258947249"
[download] Destination: Трейлер ГТА 6 [-214113807_456239495].fdash_webm-3.webm
[download] 100% of  381.93KiB in 00:00:00 at 8.23MiB/s
[Merger] Merging formats into "Трейлер ГТА 6 [-214113807_456239495].webm"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:Трейлер ГТА 6 [-214113807_456239495].fdash_webm-2.webm' -i 'file:Трейлер ГТА 6 [-214113807_456239495].fdash_webm-3.webm' -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart 'file:Трейлер ГТА 6 [-214113807_456239495].temp.webm'
Deleting original file Трейлер ГТА 6 [-214113807_456239495].fdash_webm-3.webm (pass -k to keep)
Deleting original file Трейлер ГТА 6 [-214113807_456239495].fdash_webm-2.webm (pass -k to keep)

[debug] Command-line config: ['-vU', 'https://vk.com/video-214113807_456239495']
[debug] User config "/home/tkzv/yt-dlp.conf": ['--alias', 'tg', '--write-info-json -o "%(channel)s[%(id)s].%(ext)s"', '--alias', 'yt', '--proxy socks5h://<IP_ADDRESS>:9050']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [f43387142] (pip)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-5.15.32-gentoo-r1-x86_64-AMD_FX-tm-8300_Eight-Core_Processor-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg 6.1.1 (fdk,setts), ffprobe 6.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-3021.03.16, mutagen-1.47.0, requests-2.32.3, sqlite3-3.45.3, urllib3-2.2.1, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds)
[vk] Extracting URL: https://vk.com/video-214113807_456239495
[vk] -214113807_456239495: Downloading JSON metadata
[vk] -214113807_456239495: Downloading MPD manifest
[vk] -214113807_456239495: Downloading MPD manifest
[vk] -214113807_456239495: Downloading m3u8 information
[debug] Sort order given by extractor: res, source
[debug] Formats sorted by: hasvid, ie_pref, res, source, lang, quality, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] -214113807_456239495: Downloading 1 format(s): url360
[debug] Invoking http downloader on "https://vkvd365.okcdn.ru/?srcIp=<IP_ADDRESS>&pr=40&expires=1729167218639&srcAg=CHROME&fromCache=1&ms=<IP_ADDRESS>&type=1&sig=ml7t_11Ghe4&ct=0&urls=<IP_ADDRESS>&clientType=13&appId=512000384397&id=5813258947249"
[download] Destination: Трейлер ГТА 6 [-214113807_456239495].mp4
[download] 100% of    6.22MiB in 00:00:00 at 10.75MiB/s

The upload_date is correct:
$ yt-dlp --print upload_date 'https://vk.com/video-214113807_456239495'
20231204

You must be referring to the file's modified time set after download. This is based on the server's modified time. There is a feature request to expand --mtime to use values such as upload_date and a plugin that can do the same

The upload_date is correct:
$ yt-dlp --print upload_date 'https://vk.com/video-214113807_456239495'
20231204

You must be referring to the file's modified time set after download. This is based on the server's modified time. There is a feature request to expand --mtime to use values such as upload_date and a plugin that can do the same

Where does it get the mtime for WebM format? From the headers of media file URLs formats.3.url and formats.16.url ? Do you mean that the server reports the date for all WebM URLs as 2014-01-01 01:00:00 UTC? What is the field name to display this time with --print?
Thanks for the links.

Where does it get the mtime for WebM format?

From the oldest last-modified header value

Do you mean that the server reports the date for all WebM URLs as 2014-01-01 01:00:00 UTC?

yes

What is the field name to display this time with --print?

There isn't one


Markdown source should not be in _site

After adding this plugin I noticed that the markdown source was also still in _site/foo.md, right there with _site/foo.html. I'd expect only to find the HTML version.

@FokkeZB can you explain a bit more about what you did, what you'd expect, and what happened? Since this plugin only uses Jekyll's native static_files, _site/* should be excluded by default.

What I mean is that for Markdown files that include front matter, you'll only find the generated HTML file in _site. With this plugin you'll find both the .html and original .md there.

Gotcha. Good catch. That was partially a purposeful design decision, in case you wanted the raw .md output (to make it a non-breaking change when activated by default on GitHub Pages).
is there a reason you wouldn't want the raw markdown outputted, other that cleanliness?

No, just cleanliness and consistency

+1 for not wanting source files in the output directory.  Jekyll doesn't put the source files in the output directory normally, so I'm not sure why this plugin should.

so I'm not sure why this plugin should.

If I had a foo.md file with no front matter before (published as raw markdown), and then activate this plugin, I would have a foo.html file, as expected, but I'd also still have the foo.md file, to avoid breaking the existing site. An example would be the contributor coventant site. If we removed the original file, there'd be no way to publish raw Markdown (for tutorials, client-side rendering, etc.).

@benbalter good point, but of course enabling this plugin is conscious choice. If we'd allow people to add to the blacklist then they could still enable the plugin and excluded any files they'd like to ignore. This would have the additional benefit that it wouldn't generate the unwanted .html file either.

but of course enabling this plugin is conscious choice.

On GitHub Pages, it's activated by default (to mirror the experience of publishing Markdown files elsewhere on GitHub).

This would have the additional benefit that it wouldn't generate the unwanted .html file either.

For me, it comes down to potential harm. If I had a file that was being published, and all of a sudden it's not published, that could break my site. If all of a sudden another file is published (that's not linked anywhere), it feels less philosophically pure, to be sure, but it's pragmatic (unless I'm missing the downside of publishing the extra file).

On GitHub Pages, it's activated by default

OK, so then indeed it should leave .md there by default. So perhaps add an option to not do that?

So perhaps add an option to not do that?

👍 Glad to help review a pull request if anyone's interested in working on this.

+1 that I now understand why the current behavior is the correct default.  (The contributor covenant site helps make that clear).  I'll try working on a PR to add an option.

Fixed by #9.


EC parameter error when run ./launchClient.sh

I got 'EC parameter error' when I run the ./launchClient.sh
I'm using ubuntu 14.04 and I installed all dependencies as described in section 1 of
'https://github.com/Microsoft/malmo/blob/master/doc/install_linux.md'.
The problem was solved after I installed openjdk-8-jdk instead of openjdk-7-jdk as follows
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac
(from https://askubuntu.com/questions/464755/how-to-install-openjdk-8-on-14-04-lts)
I'm posting this because someone might get same error:)

Thanks for this @gliese581gg!
I've re-opened this as a reminder to myself to fix up our integrated build process, which is suffering the same problem.


usm: sharedlibraries: Change BPF_LRU_MAP to BPF_HASH_MAP

What does this PR do?
Replaces BPF_LRU_MAP with BPF_HASH_MAP in Native-TLS.
Motivation
eBPF LRU is an unstable datastore that can evict items even when the map is not full or nearly full, and once eviction happens, it can remove many entries from the map, which can bring inaccuracies for our monitoring capabilities.
Describe how you validated your changes

Possible Drawbacks / Trade-offs
Additional Notes

https://datadoghq.atlassian.net/browse/USMON-1384

/merge


fix(ingest/bigquery): Hide timer from report

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Closing as changes performed by another commit


Decoupling SerializationHelper and ImageProcessing

What a drag :) But this is for the greater good :D

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14826/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14826/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14826/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14826/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14826/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14826/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14826/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14826/merge#BCU1XR#0

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14826/merge/testResults/webgpuplaywright/index.html

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14826/merge/testResults/webgl2playwright/index.html


Add support for adding CSI volumes as Additional Volumes

Description
This PR adds the capability to add CSI volumes as AdditionalVolumes in the OpenSearch cluster
Issues Resolved
Closes https://github.com/opensearch-project/opensearch-k8s-operator/issues/275
Check List

[x] Commits are signed per the DCO using --signoff
[x] Unittest added for the new/changed functionality and all unit tests are successful
[x] Customer-visible features documented
[x] No linter warnings (make lint)

If CRDs are changed:

[x] CRD YAMLs updated (make manifests) and also copied into the helm chart
[x] Changes to CRDs documented

Please refer to the PR guidelines before submitting this pull request.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Thanks for the feedback @swoehrl-mw .
I completed the checklist items regarding CRD changes.


Orange Pi 3 LTS

Hi, I installed this lib on my Orange Pi 3 LTS and for instance  when I used example code blink_led.py I changed setboard to GPIO.PI3 and code worked witout error but also without impact on GPIO, when I used lib from this https://github.com/orangepi-xunlong/wiringOP and used bash or C, all working properly, Could you help and write what I can do to setup GPIO with Python on Orange Pi 3 LTS?

Simply put it compiles, but it does not work.

Simply put it compiles, but it does not work, same issue on PC2

Maybe it can help you,  for my Orange Pi 3 LTS I use a Python program that runs C threads, I installed this lib https://github.com/orangepi-xunlong/wiringOP and I am using C to control GPIO but there https://3kinvention.pl/kurs-django-robot-3/ is written (in Polish but you can easy translate to English) how to write function in python to control GPIO (with a not too high frequency) based on these libraries for C

Tnx, I'm ussing wiringPi for manual testing, but
I've moved to OPi.GPIO 0.53, that library still has official support. It does not differ that much from OrangePi.GPIO, so you might easily switch any code that you have typed with little to no hustle.
Simply use the following as reference:
https://github.com/rm-hull/OPi.GPIO/blob/master/orangepi/pi3.py
https://github.com/rm-hull/OPi.GPIO/blob/master/OPi/GPIO.py
I've used it for gpio and hw pwm (no soft). Haven't checked to see if it has anything more complex like eg. I2c, uart, spi etc. implemented though.
Use this for non root access
https://github.com/beagleboard/customizations/tree/master/etc/udev/rules.d
Hope this helps you out.


⚠ ClamAV has degraded performance

In 9fbbf0b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 49 ms

Resolved: ClamAV performance has improved in f083a67.


ADBDEV-4935-9: Fix possible segfault during parsing OptimizerConfig

When parsing OptimizerConfig from DXL, if the order of the elements in the
OptimizerConfig block does not match the expected order, we may end up with an
element of the wrong type, which will lead to a null pointer dereference.
This patch adds an assert to the dynamic_cast result.

LGTM


Dropdown shadow in less variable

The box shadow is hardcode, so adjusting/removing the shadow isn't possible. Therefore, the dropdown shadow should be in a less variable.

Can you add the missing semicolon so that it builds? Then I'd be happy to merge this

I'm sorry! I just added the semicolon. Thanks for merging!

Coverage remained the same at 83.19% when pulling 1e661031adeb218bbbf4990941c3841cdd6cf74b on stephanvierkant:master into 9ac1f557649c5de9e1c005be317e94c253754da5 on brianreavis:master.

Coverage remained the same at 83.19% when pulling 1e661031adeb218bbbf4990941c3841cdd6cf74b on stephanvierkant:master into 9ac1f557649c5de9e1c005be317e94c253754da5 on brianreavis:master.


Strange coloring and hover on first line

Sorry if I'm filling this in the wrong place
On https://insiders.vscode.dev/github/joaomoreno/aoc2021, with: Python, Pylance and vscode-pyodide

This might just be a bug for https://github.com/joyceerhl/vscode-pyolite.
The hover on the first line of the second cell talks about the first line of the first cell. 🤔

This is so random, I can find no reason to it.
Here's insiders (left) vs stable (right). Notice the highlights on the second cell of each page. Furthermore, notice the coloring on the second cell on stable (right).

@joaomoreno do you have the Pylance extension installed and what happens if you disable it? I remember some semantic highlighting tokenization issues that the Jupyter team was working to resolve.

Disabling Pylance fixes it, but of course it also removes all smart Python functionality.

The bug is all cells have semantic features (hover, word highlighting) based on the contents of the first cell.


Minor fixes for bkcharts based plots

While we want to replace the BoxWhisker plot in bokeh soon this PR addresses some current issues with it, which are causing errors in some user guides.

Happy to merge when the tests pass.

Ready to merge.


Remove inaccurate TEE verbiage and improve intro.

Signed-off-by: dcmiddle<EMAIL_ADDRESS>

Got a verbal from Shawn.


[bug] not parsing enemy heroes properly

Highly suspect analytics events. Needs further investigation

Not sure how this event was even triggered without time, and only occasionally. Very confusing.

Well, I finally heard a "buy detection" for the first time so I guess that's cool. The analytics don't seem to be working though. There should be at least one per game coached (so ~6 total today instead of only 2), and the "heroes" should be populated.

Remove the console logs when we figure out what is wrong...

Seems better now.


iOS 9: Progress view doesn't work

To reproduce it - just try to load web page under iOS 9.
UIProgressView instance is hidden, so UX is bad while user waiting for the web content.
I guess this is because of something weird issue with KVO-ing 'estimatedProgress' property on WKWebView. Note that fake progress view also doesn't work with UIWebView.

I am not able to recreate this. The progress view is working as best that I can tell. How does it work for you in the example project?

Hello @dfmuir.
I'm running demo example on iOS 9.1 - everything works great.
Thanks
Will try to figure it out how can I break it in my project :)


Add database functions that are needed for basic GUI

Basic functions needed:

Name of the database
Names of all Tables
Getting all infos of a specific table

@vyshnav-vinod what else do you think is needed? Also thinking about a new struct for a table so we can save the infos and linkings to other tables etc. in that struct.

These sounds about right!!

You can start on this and assign me what to do as well :)

@vyshnav-vinod i think we have the basic functions to create an API and a GUI. So we can close this issue and create a new one if we find ideas. What do you think?

@soerenlemke we still have to get the row values right? Right now we have only get columns


Got orc::ParseError "bad read in nextBuffer" when using SearchArgument with nested struct

Below is the code to reproduce the issue, it works when removing the empty struct column "col2" or writing small number of rows or changing the value to "rand() % 100"
Am I doing anything wrong?
on version 1.7.2
Code
  WriterOptions options;
  auto stream = writeLocalFile("orc_file_test");
  MemoryPool* pool = getDefaultPool();
  std::unique_ptr<Type> type(Type::buildTypeFromString(
      "struct<col0:struct<col1:int>,col2:struct<col3:int>>"));

  size_t num = 50000;
  std::unique_ptr<Writer> writer = createWriter(*type, stream.get(), options);

  std::unique_ptr<ColumnVectorBatch> batch = writer->createRowBatch(num);
  StructVectorBatch* structBatch =
      dynamic_cast<StructVectorBatch*>(batch.get());
  StructVectorBatch* structBatch2 =
      dynamic_cast<StructVectorBatch*>(structBatch->fields[0]);
  LongVectorBatch* intBatch =
      dynamic_cast<LongVectorBatch*>(structBatch2->fields[0]);

  StructVectorBatch* structBatch3 =
      dynamic_cast<StructVectorBatch*>(structBatch->fields[1]);
  LongVectorBatch* intBatch2 =
      dynamic_cast<LongVectorBatch*>(structBatch3->fields[0]);

  structBatch->numElements = num;
  structBatch2->numElements = num;

  structBatch3->numElements = num;
  structBatch3->hasNulls = true;

  for (int64_t i = 0; i < num; ++i) {
    intBatch->data.data()[i] = rand() % 150000;
    intBatch->notNull[i] = 1;

    intBatch2->notNull[i] = 0;
    intBatch2->hasNulls = true;

    structBatch3->notNull[i] = 0;
  }
  intBatch->hasNulls = false;

  writer->add(*batch);
  writer->close();

  ReaderOptions readOptions;
  readOptions.setMemoryPool(*getDefaultPool());
  auto reader = createReader(readLocalFile("orc_file_test"), readOptions);
  orc::RowReaderOptions rowOptions;
  rowOptions.searchArgument(
      SearchArgumentFactory::newBuilder()
          ->startAnd()
          .equals(2, PredicateDataType::LONG, Literal((int64_t)5))
          .end()
          .build());
  std::unique_ptr<RowReader> rowReader = reader->createRowReader(rowOptions);

  batch = rowReader->createRowBatch(num);
  structBatch = dynamic_cast<StructVectorBatch*>(batch.get());
  structBatch2 = dynamic_cast<StructVectorBatch*>(structBatch->fields[0]);
  intBatch = dynamic_cast<LongVectorBatch*>(structBatch2->fields[0]);

  structBatch3 = dynamic_cast<StructVectorBatch*>(structBatch->fields[1]);

  while (rowReader->next(*batch)) {
    for (size_t i = 0; i < batch->numElements; i++) {

    }
  }

Stack trace:
terminate called after throwing an instance of 'orc::ParseError'
  what():  bad read in nextBuffer
*** Aborted at<PHONE_NUMBER> (Unix time, try 'date -d @1666816640') ***
*** Signal 6 (SIGABRT) (0x2035c0002b7ad) received by PID 178093 (pthread TID 0x7ffb12545a80) (linux TID 178093) (maybe from PID 178093, UID 131932) (code: -6), stack trace: ***
    @<PHONE_NUMBER>000000 (unknown)
    @<PHONE_NUMBER>09c9d3 __GI___pthread_kill
    @<PHONE_NUMBER>0444ec __GI_raise
    @<PHONE_NUMBER>02c432 __GI_abort
    @<PHONE_NUMBER>0a3fd4 __gnu_cxx::__verbose_terminate_handler()
    @<PHONE_NUMBER>0a1b39 __cxxabiv1::__terminate(void (*)())
    @<PHONE_NUMBER>0a1ba4 std::terminate()
    @<PHONE_NUMBER>0a1e6f __cxa_throw
    @<PHONE_NUMBER>efcd55 __cxa_throw
    @<PHONE_NUMBER>5b676c orc::BooleanRleDecoderImpl::seek(orc::PositionProvider&)
                       /home/engshare/third-party2/apache-orc/1.7.2/src/orc/c++/src/ByteRLE.cc:526
    @<PHONE_NUMBER>5af711 orc::IntegerColumnReader::seekToRowGroup(std::unordered_map<unsigned long, orc::PositionProvider, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, orc::PositionProvider> > >&)
                       /home/engshare/third-party2/apache-orc/1.7.2/src/orc/c++/src/ColumnReader.cc:120
    @<PHONE_NUMBER>5af67f orc::StructColumnReader::seekToRowGroup(std::unordered_map<unsigned long, orc::PositionProvider, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, orc::PositionProvider> > >&)
                       /home/engshare/third-party2/apache-orc/1.7.2/src/orc/c++/src/ColumnReader.cc:965
    @<PHONE_NUMBER>5af67f orc::StructColumnReader::seekToRowGroup(std::unordered_map<unsigned long, orc::PositionProvider, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, orc::PositionProvider> > >&)
                       /home/engshare/third-party2/apache-orc/1.7.2/src/orc/c++/src/ColumnReader.cc:965
    @<PHONE_NUMBER>598179 orc::RowReaderImpl::seekToRowGroup(unsigned int)
                       /home/engshare/third-party2/apache-orc/1.7.2/src/orc/c++/src/Reader.cc:440
    @<PHONE_NUMBER>59d700 orc::RowReaderImpl::startNextStripe()
                       /home/engshare/third-party2/apache-orc/1.7.2/src/orc/c++/src/Reader.cc:1037
    @<PHONE_NUMBER>59daf4 orc::RowReaderImpl::next(orc::ColumnVectorBatch&)
                       /home/engshare/third-party2/apache-orc/1.7.2/src/orc/c++/src/Reader.cc:1055
    @<PHONE_NUMBER>fba9bc main
    @<PHONE_NUMBER>02c656 __libc_start_call_main
    @<PHONE_NUMBER>02c717 __libc_start_main_alias_2
    @<PHONE_NUMBER>fb2780 _start

Thank you for reporting, @jnwan .

I have reproduced the issue. The root cause is that the reader tried to read col3 (w/ columnId = 4) which does not have any stream (both PRESENT and DATA streams all have ZERO length as listed below). The parent of col3 is col2 (w/ columnId = 3) whose values are all null, which means the reader should stop reading at col2 w/o touching col3.
Rows: 50000
Compression: ZLIB
Compression size: 65536
Calendar: Julian/Gregorian
Type: struct<col0:struct<col1:int>,col2:struct<col3:int>>

Stripe Statistics:
  Stripe 1:
    Column 0: count: 50000 hasNull: false
    Column 1: count: 50000 hasNull: false
    Column 2: count: 50000 hasNull: false min: 0 max: 149992 sum:<PHONE_NUMBER>
    Column 3: count: 0 hasNull: true
    Column 4: count: 0 hasNull: true sum: 0

File Statistics:
  Column 0: count: 50000 hasNull: false
  Column 1: count: 50000 hasNull: false
  Column 2: count: 50000 hasNull: false min: 0 max: 149992 sum:<PHONE_NUMBER>
  Column 3: count: 0 hasNull: true
  Column 4: count: 0 hasNull: true sum: 0

Stripes:
  Stripe: offset: 3 data: 129019 rows: 50000 tail: 68 index: 216
    Stream: column 0 section ROW_INDEX start: 3 length 17
    Stream: column 1 section ROW_INDEX start: 20 length 17
    Stream: column 2 section ROW_INDEX start: 37 length 122
    Stream: column 3 section ROW_INDEX start: 159 length 35
    Stream: column 4 section ROW_INDEX start: 194 length 25
    Stream: column 2 section DATA start: 219 length 129007
    Stream: column 3 section PRESENT start: 129226 length 12
    Stream: column 4 section PRESENT start: 129238 length 0
    Stream: column 4 section DATA start: 129238 length 0
    Encoding column 0: DIRECT
    Encoding column 1: DIRECT
    Encoding column 2: DIRECT_V2
    Encoding column 3: DIRECT
    Encoding column 4: DIRECT_V2

I will file a JIRA and fix it shortly.

ColumnReader needs to fix this bug by processing for cases where data stream does not exist.

Thank you so much, @wgtmac !

I create a new JIRA [https://issues.apache.org/jira/browse/ORC-1304]

I create a new JIRA.

I create a new issue in Jira.

@wgtmac has explained the root cause well. Just want to reemphasize that same issue happens on other complicated columns, like map, empty map will also get "bad read in nextBuffer" error.

@wgtmac has explained the root cause well. Just want to reemphasize that same issue happens on other complicated columns, like map, empty map will also get "bad read in nextBuffer" error.

This issue has been fixed into the main branch. Please have a try and let us know if there is any issue. Thanks @jnwan !

Verified the issue got fixed! Thank you!


Is it possible to create allure report using this template?

Hi Tally Barak,
First of all big thanks for this template!!
I took a clone of this and trying to generate allure report but no luck. I’ve tried the below link
https://github.com/allure-framework/allure-js/blob/master/packages/allure-cucumberjs/README.md
For me “allure-results” folder is getting generated, but it’s empty. So I was confused if there is something wrong at my end or if such integration itself is not in place as of now.
Could you please help me generate allure report?
Regards,
Ali Khan.

Hello,
Maybe you need to uncomment the line 19 from https://github.com/Tallyb/cucumber-playwright/blob/master/cucumber.mjs
As explained in the documentation, only one output format is possible
The last reporter/formatter found on the cucumber-js command-line wins:

Thanks


Improve exception handling during _basic_login()

Both versions of EvohomeClient should behave consistently when handling requests exceptions and when producing error/warning messages, providing useful feedback where possible.
One core issue is that raise_for_exception() does not include response.text (or the JSON equivalent) - this is by design.
Another issue is that the RESTful API is undocumented, so we should be mindful that responses may not be as expected from (say) a review of OAuth documentation..
Basic approach:
a) catch all authentication/authorization/session expiry errors & attempt to transparently fall back to re-authenticate (access_token -> refresh_token -> user credentials),  raiseing only if that fails (e.g. bad user credentials)
b) catch all HTTPErrors to test if they have a response (usu. JSON), and subsequently raise them, including that message
c) (blindly) raise anything else - using raise_for_exception()
Raising a ValueError or a KeyError is not consistent with that, but these exist a final checks of validity.

OK, I have put a custom exception, AuthenticationError, back in:
try:
    response.raise_for_status()
except requests.HTTPError:
    msg = "Unable to obtain an Access Token"
    if response.text:
        msg = msg + ", hint: " + response.text
    raise AuthenticationError(msg)

This is a simple solution, that shows both the requests.exceptions.HTTPError (without modification), and the consequence "Unable to obtain an Access Token", and a hint (usu. response.text):
Traceback (most recent call last):
  File "/home/dbonnes/home-assistant/venv/lib/python3.6/site-packages/evohomeclient2/__init__.py", line 146, in _obtain_access_token
    response.raise_for_status()
  File "/home/dbonnes/home-assistant/venv/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://tccna.honeywell.com/Auth/OAuth/Token

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/dbonnes/home-assistant/venv/lib/python3.6/site-packages/evohomeclient2/__init__.py", line 198, in user_account
    response = requests.get(url, headers=self._headers())
  File "/home/dbonnes/home-assistant/venv/lib/python3.6/site-packages/evohomeclient2/__init__.py", line 87, in _headers
    self._basic_login()
  File "/home/dbonnes/home-assistant/venv/lib/python3.6/site-packages/evohomeclient2/__init__.py", line 111, in _basic_login
    self._obtain_access_token(credentials)
  File "/home/dbonnes/home-assistant/venv/lib/python3.6/site-packages/evohomeclient2/__init__.py", line 152, in _obtain_access_token
    raise AuthenticationError(msg)
evohomeclient2.AuthenticationError: Unable to obtain an Access Token, hint: {"error":"invalid_grant"}

I also got rid of the rather unsatisfactory ValueError, KeyError in favour of AuthenticationError (in a architecturally identical way):
except KeyError:
    raise AuthenticationError("Unable to obtain an Access Token, hint: " + response_json)
except ValueError:
    raise AuthenticationError("Unable to obtain an Access Token, hint: " + response.text)

This code runs without error in my testbed (using Home Assistant).


CsrParAssembler::assemble_pattern significantly slower than CsrAssembler::assemble_pattern on a single thread

Benchmarks showed ~30-70% overhead for the parallel variant with RAYON_NUM_THREADS=1. The discrepancy seems to be primarily related to rayon, since some preliminary investigation showed that replacing e.g. into_par_iter with into_iter accounts for most of the overhead. Further overhead could be removed by using atomic locks (though this requires more thought for efficiently handling the multi-threaded case).

Update: Chucking all the code into a rayon::scope(|_| {} closure seems to remove a significant part of the overhead (but not all). This suggests that the switch between main thread and the rayon thread for the iterator might be the culprit, perhaps because the cache of the rayon thread will be "cold" compared to using the main thread all the way.


Add support for numeric constants.

Can we add some tests to validate for each float type?

Can we add some tests to validate for each float type?

Yes. Also fixed my crappy impl.

Minor changes to allow cargo fmt to parse and format the custom macro syntax.


RuntimeError: "weight lm_head.weight does not exist" When Loading qwen2-0.5B-Instruct

I'm experiencing an issue when loading the qwen2-0.5B-Instruct model with the TGI library. The error message thrown is "RuntimeError: weight lm_head.weight does not exist".
I suspect this might be due to the 'safetensors' file not preserving the 'tied' parameter. It seems that this can be avoided by untying 'lm_head' and 'embed_tokens' before invoking 'model.save_pretrained()'.
Interestingly, this problem doesn't occur with larger qwen models such as the 7B or 72B versions. I'm wondering if this is an expected behavior or an unintended bug.
I'm using the latest official image: ghcr.io/huggingface/text-generation-inference:2.2.0.
Traceback:
2024-08-07T16:32:00.053201Z  INFO shard-manager: text_generation_launcher: Starting shard rank=0

    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
> File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 231, in serve_inner
    model = get_model(
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/__init__.py", line 953, in get_model
    return FlashCausalLM(
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 898, in __init__
    model = model_class(prefix, config, weights)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_qwen2_modeling.py", line 344, in __init__
    self.lm_head = SpeculativeHead.load(
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/layers/speculative.py", line 40, in load
    lm_head = TensorParallelHead.load(config, prefix, weights)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/layers/tensor_parallel.py", line 67, in load
    weight = weights.get_tensor(f"{prefix}.weight")
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py", line 212, in get_tensor
    filename, tensor_name = self.get_filename(tensor_name)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py", line 193, in get_filename
    raise RuntimeError(f"weight {tensor_name} does not exist")
RuntimeError: weight lm_head.weight does not exist

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 231, in serve_inner
    model = get_model(

  File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)

  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 231, in serve_inner
    model = get_model(

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/__init__.py", line 953, in get_model
    return FlashCausalLM(

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 898, in __init__
    model = model_class(prefix, config, weights)

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_qwen2_modeling.py", line 344, in __init__
    self.lm_head = SpeculativeHead.load(

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/layers/speculative.py", line 40, in load
    lm_head = TensorParallelHead.load(config, prefix, weights)

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/layers/tensor_parallel.py", line 67, in load
    weight = weights.get_tensor(f"{prefix}.weight")

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py", line 212, in get_tensor
    filename, tensor_name = self.get_filename(tensor_name)

  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py", line 193, in get_filename
    raise RuntimeError(f"weight {tensor_name} does not exist")

RuntimeError: weight lm_head.weight does not exist
 rank=0
2024-08-07T16:32:05.257583Z ERROR text_generation_launcher: Shard 0 failed to start
2024-08-07T16:32:05.257616Z  INFO text_generation_launcher: Shutting down shards
Error: ShardCannotStart```

Hi @boyang-nlp 👋
Thanks for reporting this!
I think we're a bit constrained on bandwidth at the moment but hopefully I can take a look this next week. If in the meantime you have time to dig deeper with possible solutions, please feel to post here 👍

Absolutely! No rush on your end, take the time you need. I'll keep looking for solutions and update you. Thanks! 👍

@ErikKaum Absolutely! No rush on your end, take the time you need. I'll keep looking for solutions and update you. Thanks! 👍