~qeef

~qeef/damn-project

Last active 11 days ago

~qeef/mapathoner

Last active 19 days ago

~qeef/wschat

Last active 3 months ago

~qeef/bcar

Last active 4 months ago

~qeef/click-building

Last active 4 months ago
View more

Recent activity

Re: build docker image directly from sr.ht 14 days ago

From Jiri Vlasak to ~sircmpwn/sr.ht-discuss

Thanks guys.

> Unfortunately, Docker assumes every HTTPS git URL ends with ".git", 

Thanks for pointing me out! I found the issue where it's discussed [1].

> which Sourcehut does not support.

I just renamed `my-repository` to `my-repository.git`. Ugly hack from [1] but
it works.

> You can use the SSH clone URL, but (unless this has changed recently)

It didn't changed and I don't want to use that. (It works for me locally but

build docker image directly from sr.ht 14 days ago

From Jiri Vlasak to ~sircmpwn/sr.ht-discuss

Hello,

I do have a beginner question. Is it possible to build a docker image directly
from the sr.ht? If so, how?

I do:

    $ docker build -t www https://git.sr.ht/~qeef/damn-www

That returns the error:

    Sending build context to Docker daemon  17.41kBs://git.sr.ht/~qeef/damn-www 15.59kB
    Error response from daemon: Dockerfile parse error line 1: unknown instruction: <!DOCTYPE

[PATCH v3 5/5] Add is parking slot on right? function 4 months ago

From Jiri Vlasak to ~qeef/bcar

---
 src/pslot.rs | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/src/pslot.rs b/src/pslot.rs
index e24fc37..c13c2cd 100644
--- a/src/pslot.rs
+++ b/src/pslot.rs
@@ -110,4 +110,24 @@ impl PSlot {
        ).sqrt();
        d1 < d2
    }

    /// Return if the parking slot is on the right side.
[message trimmed]

[PATCH v3 4/5] Add parking slot parallel? getter 4 months ago

From Jiri Vlasak to ~qeef/bcar

---
 src/pslot.rs | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/src/pslot.rs b/src/pslot.rs
index dd69053..e24fc37 100644
--- a/src/pslot.rs
+++ b/src/pslot.rs
@@ -87,4 +87,27 @@ impl PSlot {
        (self.border[3].y - self.border[0].y)
        .atan2(self.border[3].x - self.border[0].x)
    }

    /// Return if the parking slot is parallel.
[message trimmed]

[PATCH v3 3/5] Add parking slot heading getter 4 months ago

From Jiri Vlasak to ~qeef/bcar

---
 src/pslot.rs | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/src/pslot.rs b/src/pslot.rs
index cf3e7c3..dd69053 100644
--- a/src/pslot.rs
+++ b/src/pslot.rs
@@ -70,4 +70,21 @@ impl PSlot {
    pub fn default() -> PSlot {
        PSlot::new_phwl(Point::default(), 0.0, 1.0, 2.0)
    }

    /// Return the heading of the parking slot.
[message trimmed]

[PATCH v3 2/5] Refactor constructors 4 months ago

From Jiri Vlasak to ~qeef/bcar

---
 src/pslot.rs | 43 +++++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 14 deletions(-)

diff --git a/src/pslot.rs b/src/pslot.rs
index 55a167c..cf3e7c3 100644
--- a/src/pslot.rs
+++ b/src/pslot.rs
@@ -9,12 +9,16 @@ use crate::geometry::Point;
/// ========
///
/// ```
/// let p1 = bcar::Point::new(0.0, 0.0);
/// let p2 = bcar::Point::new(0.0, -1.0);
[message trimmed]

[PATCH v3 1/5] Add parking slot skeleton 4 months ago

From Jiri Vlasak to ~qeef/bcar

---
In this patchset version, there are additional computations to the
parking slot type (PSlot).

 src/lib.rs   |  3 +++
 src/pslot.rs | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)
 create mode 100644 src/pslot.rs

diff --git a/src/lib.rs b/src/lib.rs
index dc3cb87..3b018b6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,6 +11,9 @@ pub use crate::properties::Size;
[message trimmed]

[PATCH 2/2] Refactor constructors 4 months ago

From Jiri Vlasak to ~qeef/bcar

---
 src/pslot.rs | 43 +++++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 14 deletions(-)

diff --git a/src/pslot.rs b/src/pslot.rs
index 5f3426d..ac02656 100644
--- a/src/pslot.rs
+++ b/src/pslot.rs
@@ -9,12 +9,16 @@ use crate::geometry::Point;
/// ========
///
/// ```
/// let p1 = bcar::Point::new(0.0, 0.0);
/// let p2 = bcar::Point::new(0.0, -1.0);
[message trimmed]

[PATCH 1/2] Add parking slot skeleton 4 months ago

From Jiri Vlasak to ~qeef/bcar

---
 src/lib.rs   |  3 +++
 src/pslot.rs | 37 +++++++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)
 create mode 100644 src/pslot.rs

diff --git a/src/lib.rs b/src/lib.rs
index dc3cb87..3b018b6 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -11,6 +11,9 @@ pub use crate::properties::Size;
mod bcar;
pub use crate::bcar::BCar;

[message trimmed]