profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/akash-akya/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Akash Hiremath akash-akya @gojek 127.0.0.1

akash-akya/exile 68

Alternative to ports for running external programs. It provides back-pressure, non-blocking io, and solves port related issues

akash-akya/ex_cmd 9

ExCmd is an Elixir library to run and communicate with external programs with backpressure.

akash-akya/eglot-flycheck-adaptor 8

Replaces flymake with flycheck for eglot diagnostics

akash-akya/emacs-flymake-cursor 6

Show flymake errors in minibuffer. Works with Emacs >=26

akash-akya/ex_mustache 3

Efficient Mustache templates for Elixir

akash-akya/dmenu-unicode 1

Unicode with ligature (glyphs) support for dmenu using Pango library.

akash-akya/external_display_watcher 1

Mac OS command-line utility to watch for external display connectivity

akash-akya/json-schema-diff 1

fork of https://bitbucket.org/atlassian/json-schema-diff

delete branch akash-akya/vix

delete branch : vips-blob

delete time in 3 days

push eventakash-akya/vix

akash-akya

commit sha 0e22322afd5341e2be850a753cad1734ab1b7909

Support VipsBlob & VipsRefString

view details

akash-akya

commit sha b90e7bf541e6e3bbfef821cc20ede284b37874b4

Add tests for vips_blob and vips_ref_string

view details

Akash Hiremath

commit sha dae00d4a8a5400afacc9105243f12d9a6a5e00ee

Merge pull request #17 from akash-akya/vips-blob Add support for VipsBlob & VipsRefString

view details

push time in 3 days

issue closedakash-akya/vix

Convert reference to binary data (header_value)

Thanks for building this library, amazing work! I'm not an experienced libvips user so apologies if this is a very naive question. I'm aiming to decode the "exif-data" chunk of an image.

iex> Image.header_value img, "exif-data"
{:ok, #Reference<0.2004606776.2701787139.175100>}

If there a way to convert the reference to the underlying binary data? I know I can:

iex> Image.header_value_as_string img, "exif-data"
{:ok,
 "RXhpZgAASUkqAAgAAAAF.....
}

I assume I can then decode_base64 back to the binary blob but that seems more conversion work than necessary.

Is there any way to return the underlying binary blob for a header field?

closed time in 3 days

kipcole9

PR merged akash-akya/vix

Add support for VipsBlob & VipsRefString

Fixes #16

+387 -103

0 comment

15 changed files

akash-akya

pr closed time in 3 days

PR opened akash-akya/vix

Add support for VipsBlob & VipsRefString

Fixes #16

+387 -103

0 comment

15 changed files

pr created time in 3 days

issue commentakash-akya/vix

Convert reference to binary data (header_value)

Nice! I'll close the issue once the change is merged.

Are you open to PRs to add some additional functions like vips_image_remove() and vips_image_set()?

Yes, all kinds of contributions are welcome

kipcole9

comment created time in 3 days

push eventakash-akya/vix

akash-akya

commit sha b90e7bf541e6e3bbfef821cc20ede284b37874b4

Add tests for vips_blob and vips_ref_string

view details

push time in 3 days

push eventakash-akya/vix

akash-akya

commit sha baa47c07a193cc0eacb7e763b3985cbe0bf7e224

Add tests for vips_blob and vips_ref_string

view details

push time in 3 days

issue commentakash-akya/vix

Convert reference to binary data (header_value)

I see. Agree that current output is noisy. Probably this is relevant: https://github.com/kleisauke/net-vips/issues/74#issuecomment-622465228

If possible, can you try https://github.com/akash-akya/vix/tree/vips-blob branch for the getting the blob as binary?

Tried this

Mix.install([
  {:vix, git: "git@github.com:akash-akya/vix.git", branch: "vips-blob" }
])

{:ok, img} = Vix.Vips.Image.new_from_file("~/Downloads/Canon_DIGITAL_IXUS_400.jpg")
{:ok, exif_data} = Vix.Vips.Image.header_value(img, "exif-data")
File.write!("exif.dat", exif_data)
kipcole9

comment created time in 3 days

push eventakash-akya/vix

akash-akya

commit sha 0e22322afd5341e2be850a753cad1734ab1b7909

Support VipsBlob & VipsRefString

view details

push time in 3 days

create barnchakash-akya/vix

branch : vips-blob

created branch time in 3 days

issue commentakash-akya/vix

Convert reference to binary data (header_value)

Hi @kipcole9, thanks for the complements :)

Agree with you. I think just returning the binary blob for Image.header_value makes more sense. Currently, I don't see the need to return ref. I will make changes.

Just curious, you want to just fetch the exif-data blob and parse it outside? I'm asking because you can get parsed exif data fields directly (it uses libexif).

{:ok, field_names} = Vix.Vips.Image.header_field_names(img)

field_names
|> Enum.filter(&String.starts_with?(&1, "exif-if"))
|> Enum.map(fn field_name -> 
  {:ok, value} = Vix.Vips.Image.header_value(img, field_name)
  IO.puts(field_name <> " = " <> value)
end)

I'm not an experienced libvips user so apologies if this is a very naive question

No need, I'm beginner to libvips too :)

kipcole9

comment created time in 3 days

push eventakash-akya/vix

akash-akya

commit sha 37a5b392fd6c20d1439b54a45c6b1b16bad8bf47

Update readme

view details

push time in 4 days

push eventakash-akya/vix

akash-akya

commit sha 92af354e93ca9fd190799250e71fc7b74c71352f

Add Picture Language notebook

view details

push time in 10 days

push eventakash-akya/vix

akash-akya

commit sha 202f66c9b8aa12df2a0ea0efeeab112d31799473

Add Picture Language notebook

view details

push time in 10 days

push eventakash-akya/vix

akash-akya

commit sha 9f294f826e7508fd88c3a389ffb77de4a7bf01bf

Add intro livebook

view details

akash-akya

commit sha d726f84466ac885c77be03d488356c19eebd6852

Add Picture Language notebook

view details

push time in 10 days

push eventakash-akya/vix

akash-akya

commit sha 9cc66c4f70880fce27543caa2b199f2dbd9c5b1f

Update readme

view details

akash-akya

commit sha 6d62aefd5b714ddacceb937cf7f706182e0e0662

Add intro livebook

view details

push time in 10 days

push eventakash-akya/vix

akash-akya

commit sha e2372a9a68242e1b84ca8b367eccb6faa93b739f

Update readme

view details

push time in 10 days

push eventakash-akya/vix

akash-akya

commit sha 9a67380681e4eabf01a3c102f84a9fb5ff094f37

Correct NIF mode

view details

akash-akya

commit sha 1179f508c0ea1a5198bf12de4541e42be4730eb1

Update readme

view details

push time in 10 days

created tagakash-akya/vix

tagv0.5.0

Elixir extension for vips

created time in 17 days

release akash-akya/vix

v0.5.0

released time in 17 days

push eventakash-akya/vix

akash-akya

commit sha 3d82eeda915455cb9b1a0ce8eb06bda964b30d8c

Bump ex_doc

view details

akash-akya

commit sha 1ecc4a546211d995c3cfa62b3931dc0a7af95778

Bump to v0.5.0

view details

push time in 17 days

created tagakash-akya/off_broadway_redis_stream

tagv0.2.0

A Broadway producer for Redis Stream

created time in 18 days

release akash-akya/off_broadway_redis_stream

v0.2.0

released time in 18 days

push eventakash-akya/off_broadway_redis_stream

akash-akya

commit sha 3e2294939486aa9788cb32dcafc885c1d915d647

Bump to v0.2.0

view details

push time in 18 days

delete branch akash-akya/off_broadway_redis_stream

delete branch : dependabot/hex/redix-1.1.4

delete time in 18 days

push eventakash-akya/off_broadway_redis_stream

dependabot[bot]

commit sha 63d191bb694d8a5c88f18e0bbe33d3a5a0e26bce

Bump redix from 0.10.4 to 1.1.4 Bumps [redix](https://github.com/whatyouhide/redix) from 0.10.4 to 1.1.4. - [Release notes](https://github.com/whatyouhide/redix/releases) - [Changelog](https://github.com/whatyouhide/redix/blob/main/CHANGELOG.md) - [Commits](https://github.com/whatyouhide/redix/compare/v0.10.4...v1.1.4) --- updated-dependencies: - dependency-name: redix dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>

view details

Akash Hiremath

commit sha 695d814ffd45dd51a00131e60e21eb6ef1c3694f

Merge pull request #7 from akash-akya/dependabot/hex/redix-1.1.4 Bump redix from 0.10.4 to 1.1.4

view details

push time in 18 days

PR merged akash-akya/off_broadway_redis_stream

Bump redix from 0.10.4 to 1.1.4 dependencies

Bumps redix from 0.10.4 to 1.1.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/whatyouhide/redix/blob/main/CHANGELOG.md">redix's changelog</a>.</em></p> <blockquote> <h2>v1.1.4</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Support version 1.0 and over for the Telemetry dependency.</li> </ul> <h2>v1.1.3</h2> <h3>Bug fixes and improvements</h3> <ul> <li>The <code>.formatter.exs</code> file included in this repo had some filesystem permission problems. This version fixes those.</li> </ul> <h2>v1.1.2</h2> <p>Version v1.1.1 was accidentally published with local code (from the maintainer's machine) in it instead of the code from the main Git branch. We're all humans! Version v1.1.1 has been retired.</p> <h2>v1.1.1</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Version v1.1.0 started using ACLs and issuing <code>AUTH <username> <password></code> when a username was provided (either via options or via URI). This broke previous documented behavior, where Redix used to ignore usernames. With this bug fix, Redix now falls back to <code>AUTH <password></code> if <code>AUTH <username> <password></code> fails because of the wrong number of arguments, which indicates a version of Redis earlier than verison 6 (when ACLs were introduced).</li> </ul> <h2>v1.1.0</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Improve handling of databases in URIs.</li> <li>Add support for <a href="https://redis.io/topics/acl">ACL</a>, introduced in Redis 6.</li> </ul> <h2>v1.0.0</h2> <p>No bug fixes or improvements. Just enough years passed for this to become 1.0.0!</p> <h2>v0.11.2</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Fix a connection process crash that would very rarely happen when connecting to sentinel nodes with the wrong password or wrong database would fail to due a TCP/SSL connection issue.</li> </ul> <h2>v0.11.1</h2> <h3>Bug fixes and improvements</h3> <ul> <li>Allow <code>nil</code> as a valid value for the <code>:password</code> start option again. v0.11.0 broke this feature.</li> </ul> <h2>v0.11.0</h2> <h3>Breaking changes</h3> <ul> <li>Use the new Telemetry event conventions for pipeline-related events. The new events are <code>[:redix, :pipeline, :start]</code> and <code>[:redix, :pipeline, :stop]</code>. They both have new measurements associated with them.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/whatyouhide/redix/commit/d7e04ea3dba030db8c52fa661d40569bc450e3fa"><code>d7e04ea</code></a> Release v1.1.4</li> <li><a href="https://github.com/whatyouhide/redix/commit/355b184b8ae584b3167fa7a439346f2b10f79f93"><code>355b184</code></a> Support Telemetry 1.0 (<a href="https://github-redirect.dependabot.com/whatyouhide/redix/issues/207">#207</a>)</li> <li><a href="https://github.com/whatyouhide/redix/commit/f816ab372d116f0c6eeba28e7d7b7dbbdca03fbf"><code>f816ab3</code></a> Update mix.exs version shown in the README (<a href="https://github-redirect.dependabot.com/whatyouhide/redix/issues/205">#205</a>)</li> <li><a href="https://github.com/whatyouhide/redix/commit/7e12573bc81c74cceddec13930560c6834d2dfef"><code>7e12573</code></a> Release v1.1.3</li> <li><a href="https://github.com/whatyouhide/redix/commit/04cc216b9f96c7ab9cbe7f99b5348e3dd3a13881"><code>04cc216</code></a> Use Redis 5 for no ACL on CI (<a href="https://github-redirect.dependabot.com/whatyouhide/redix/issues/200">#200</a>)</li> <li><a href="https://github.com/whatyouhide/redix/commit/c0c2473ee15de83c53bbb2ae9e2be8dbf18da9e0"><code>c0c2473</code></a> Release v1.1.2</li> <li><a href="https://github.com/whatyouhide/redix/commit/e03984139008c0c5ee7d4b2bb1eb86d98086e226"><code>e039841</code></a> Unlock unused dependencies</li> <li><a href="https://github.com/whatyouhide/redix/commit/940727156301be30739a9c8bec3a489703007a5d"><code>9407271</code></a> Finally fix stateful property-based testing</li> <li><a href="https://github.com/whatyouhide/redix/commit/93d312c095a76595f39ed55a652ce752e9ff1679"><code>93d312c</code></a> Release v1.1.1</li> <li><a href="https://github.com/whatyouhide/redix/commit/39f23597cacae19916647caf430732486a61437b"><code>39f2359</code></a> Fall back to no ACL if Redis doesn't support it</li> <li>Additional commits viewable in <a href="https://github.com/whatyouhide/redix/compare/v0.10.4...v1.1.4">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

+2 -2

0 comment

1 changed file

dependabot[bot]

pr closed time in 18 days

delete branch akash-akya/off_broadway_redis_stream

delete branch : dependabot/hex/mox-1.0.0

delete time in 18 days