profile
viewpoint
Fahrzin Hemmati fahhem Applied Intuition applied.co Interested in joining? Contact me at fh@

fahhem/pebble-cpp 20

Pebble, but with C++

dmangame/dmanai 11

AIs for dmangame

fahhem/g13 5

python libusb driver for the G13

fahhem/MZD-AIO 2

Desktop app for AIO

fahhem/bazel_rules_pex 1

Python PEX rules for Bazel

fahhem/django-git 1

A simple gitweb replacement built with Django

fahhem/django-jack 1

Jack and the Beanstalkd. Webapp for basic work queue administration.

fahhem/django-pipeline 1

Pipeline is an asset packaging library for Django.

fahhem/httpagentparser 1

Python HTTP Agent Parser

AppliedIntuition/subpar 0

Subpar is a utility for creating self-contained python executables. It is designed to work well with Bazel.

delete branch fahhem/rules_pip

delete branch : patch-2

delete time in 25 days

delete branch fahhem/n8n

delete branch : fahhem/fix/aws4types

delete time in 25 days

PR closed fahhem/n8n

Downgrade @types/aws4 to ~1.5.1

@types/aws4 updated to 1.11.1 and it breaks all the AWS nodes significantly

+5276 -1433

0 comment

182 changed files

fahhem

pr closed time in 25 days

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha 76bd867e89876d903a17e431282c652c49533bde

typo in --override flag

view details

push time in 25 days

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha 5b7cf8dad47597b8f91dbcaebfbbbefa4a46c4e4

buildifier

view details

push time in 25 days

Pull request review commentali5h/rules_pip

Allow replacing pip dependencies with targets

 local_repository(     path = "..", ) +http_archive(+    name = "pytz",+    build_file_content = """+py_library(+    name = "pkg",+    srcs = glob(["*.py"]),+    data = glob(["zoneinfo/*"]),+    visibility = ["//visibility:public"],+    imports = ["."],+)+""",+    sha256 = "acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326",+    strip_prefix = "pytz-2021.3/pytz",+    urls = ["https://files.pythonhosted.org/packages/e3/8e/1cde9d002f48a940b9d9d38820aaf444b229450c0854bdf15305ce4a3d1a/pytz-2021.3.tar.gz"],+)+ load("@com_github_ali5h_rules_pip//:defs.bzl", "pip_import")  pip_import(     name = "piptool_deps_tests_3",     timeout = 1200,     compile = False,     python_interpreter = "python3.8",+    replace_requirements = {

good idea, thanks!

fahhem

comment created time in 25 days

PullRequestReviewEvent

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha 593ae0f2c2b69e110759d64b171a1a1e56079c8f

rename replace_requirement => override

view details

push time in 25 days

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha fafb0bbe71278fe719453259b62687a8c45eb86e

blackify too

view details

push time in a month

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha a04bbcf91f75db689194ae30a956d8dfb2d25fb7

buildifier

view details

push time in a month

delete branch fahhem/rules_pip

delete branch : patch-1

delete time in a month

pull request commentali5h/rules_pip

Allow replacing pip dependencies with targets

I added an example (and test)

fahhem

comment created time in a month

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha a94b818744813637553db3365bdb89ea6ee142a2

Add example

view details

push time in a month

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha ade3762154464fd8dc0edbf06d550f0e6bdbd072

black

view details

push time in 2 months

PR opened ali5h/rules_pip

Allow replacing pip dependencies with targets

Certain packages require patches for their C++ extensions to work with bazel, or just in general for extra features. rules_pip can add a mechanism for applying patches and/or replacing BUILD files for dependencies, but I think it's best to allow users to use bazel's existing mechanisms and just defer to that.

Normally, users can just pull in a python package from pypi manually and use that, but if it's a dependency of another package, then rules_pip also pulls it in and risks multiple versions of the same dependency (or the same version but included from two paths).

+40 -3

0 comment

3 changed files

pr created time in 2 months

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha f2182f2a5a95f72ef0219e2f707b8ef264867ced

Update whl.py

view details

push time in 2 months

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha 17c8857e5d8326c4f266bd11b2478d77c39b1b05

Update piptool.py

view details

push time in 2 months

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha 5224830b469e8dfcdbb4a3fdbc77f0a051395aa9

Allow replacing pip dependencies with targets This allows pulling them in via the WORKSPACE and applying patches

view details

push time in 2 months

PR opened ali5h/rules_pip

Expose distinfo files

This allows exposing things like entry_points.txt, which distutils uses to automatically find new commands (such as bdist_wheel)

+6 -0

0 comment

1 changed file

pr created time in 2 months

push eventfahhem/rules_pip

Fahrzin Hemmati

commit sha 67136938e2b5c5a969b593737044482317216bb3

Expose distinfo files This allows exposing things like `entry_points.txt`, which distutils uses to automatically find new commands (such as bdist_wheel).

view details

push time in 2 months

issue commentTinder/bazel-diff

OutOfMemory Error when constructing hashes

Do you have individual files that are very large? #97 decreased the memory footprint for us by 15x, so I'd have to see what your memory usage is now. Can you run the jar with a larger heap and see what you need? Run it with -Xmx1g -Xms1g to give it 1 GB of heap

kyle-hiller-nh

comment created time in 2 months

create barnchAppliedIntuition/interview-code-review

branch : master

created branch time in 2 months

created repositoryAppliedIntuition/interview-code-review

A sample of code to review, looking for ways to fix and improve it

created time in 2 months

pull request commentTinder/bazel-diff

Don't store file contents to lazy-calculate digests

That was quick! How hard is it to get another release?

fahhem

comment created time in 2 months

delete branch fahhem/bazel-diff

delete branch : fahhem/memdecrease

delete time in 2 months

PR opened Tinder/bazel-diff

Don't store file contents to lazy-calculate digests

Closes #97

+13 -11

0 comment

1 changed file

pr created time in 2 months

PR opened fahhem/bazel-diff

Don't store file contents to lazy-calculate digests

Closes #97

+13 -11

0 comment

1 changed file

pr created time in 2 months

create barnchfahhem/bazel-diff

branch : fahhem/memdecrease

created branch time in 2 months

fork fahhem/bazel-diff

Performs Bazel Target Diffing between two revisions in Git, allowing for Test Target Selection and Selective Building

fork in 2 months

more