Hacker News new | past | comments | ask | show | jobs | submit | tess0r's comments login

I've been working for a software development agency in the past and one of my clients back then was (a different) mid-sized logistics company :)

For us (including the client) the following approach worked great and I'd recommend to give it a try

* hire an agency (or freelancers) to work on (requirements, architecture, design, implementation) your special software - make sure the code is yours legally and you can bring it to another software shop or internal whenever you want * you get bootstrapping important decisions done by someone with experience. because hiring the first employee for that task is hard and risky * you can transition to in house from there, if you're happy with the solution or decide to stay at that agency longer - you're very flexible * Having good and maintained software as a base, start hiring. Build your team and gradually take over development. You don't have to go in-house fully, just so much that it makes sense.

Back then we bootstrapped custom software for that logistics company and gradually migrated it over to their team - even helped them hiring a team in the first place. Over time we lost them as a client (because they happily worked on their software now) but got many more clients since they recommended us highly. So it's a win-win situation.


q


Author of wasmex[1] here (an elixir package which allows runnung WASM).

Next to the mentioned wasmtime, wasm3, and wamr, there is also wasmer[2] I would add to the list of capable WASM runtimes.

The great things these runtimes offer are how easy they are to integrate into other programming languages environments. E.g. with wasmex you could easily run WASM from your elixir application (or with wasmer from ruby[3] or many other languages if you want).

Imagine building shopify, but without needing to invent your own template language for customers to extend their shop-template[4]. They could provide a WASM extension API where shop-owners could let sandboxed WASM files render their shop. This would let allow shop-owners to write templates in their favorite language instead of e.g. liquid and still be secure.

[1] https://github.com/tessi/wasmex/ [2] https://github.com/wasmerio/wasmer [3] https://rubygems.org/gems/wasmer [4] https://github.com/Shopify/liquid


I agree. I've written an interpreter in rust [1] and input handling, esp for numbers, was really annoying.

I guess the best reference for implementing new interpreters is npiet and testing all example images.

[1] https://github.com/tessi/rpiet


Cool, I haven't seen your interpreter! I'll have to give it a read through.

npiet is good, and I use its examples for testing, but FYI it diverges from the spec in how it handles whitespace. According to DMM, if the cursor enters a loop entirely within whitespace, the program should terminate. Currently, npiet doesn't have a cycle-detection algorithm so it hangs.

One of these days I'll get around to making my test infrastructure and polishing up my tests... but I've recently had some weird thoughts about a place&route algorithm to replace my existing Piet backend and that's more interesting. First step, design a router that creates right-hand-rule paths through whitespace? What am I even doing with my life...


I implemented my interpreter with the goal to learn some rust. So please let me know should you find things to improve :)

I remember a point in development when I implemented whitespace handling and cycles therein. I thought I had implemented the spec but some example programs did not run properly. Maybe that was because of the divergence in the spec vs. npiet you mentioned. Since my main goal was to learn rust I just made the example programs work and did not double check the spec again. Will look into it again when I find some time :)


One of these days we’ll need to get IEEE to formalize a standard.


good point. will make it a gif! :D


Ulam sprials are super interesting. I developed a visualization (and some explanation) once just to understand the problem a little better. Maybe this sparks some interest in someone :)

https://tessi.github.io/walking-the-ulam-spiral/


I stole my wifes sewing machine foot-pedal for a similar project recently https://github.com/tessi/programming_paddle (code there is hacky, don't jude ;))

It's an interesting and easy project to start soldering/arduino-fiddling. Parts can be purchased with approx. $25.

In comparison to the pedal used in the vim clutch, the sewing machine pedal has the advantage of not only having an on/off state, but returning the pedal-pressure (so half-ressed and all sorts of combos are possible).

Currently, I use it for sublime-text shortcuts (cmp+p on half-press and cmd+shift+p on deep-press) or for debugging (ctrl+d to continue code execution).

edit: typo


This remembers me of "primetime" a "clock" which draws a green bar every time the timestamp is a prime.

https://tessi.github.io/primetime

Did it in my student years, looks awful today, but I was proud back then ;)

edit:

I just remembered that you can give it a timestamp to display (instead of just displaying the current time). Unix Time 1,500M would be

https://tessi.github.io/primetime/?t=1500000000

and is (obviously) not a prime number.


> looks awful today

I don't know what you don't like about it but I think not only that it looks great, but also to me that's a design that's got character.


* the green lines are somehow weirdly blurred (for god know what reason)

* it's hard to notice that the current timestamp is the most right (white or green) bar. Would be nice to have the current time in the center.

* It's hard to get the concept without explanation (at first glance people just see weird green bars moving).

But then, I never meant to make a perfectly polished clock. It's good for a quick experiment.


That's oddly compelling to watch. And there's that human urge to try and see a pattern in the prime groupings.


You can fiddle with the displayed time (by editing the url) -- it's fun to see that (very) early timestamps have much greater chance to be a prime number.

Also, sometimes, you can find "twin primes". https://tessi.github.io/primetime/?t=1500000000 has such a twin-pair in the center of the screen (the twins are 1499999927 and 1499999929).


I was interested when 10^n events would happen and ran in a nice litte bug. I like to believe that this marks the end of all times: https://tessi.github.io/primetime/?t=10000000000000


Javascript's maximum date is Sat, 13 Sep 275760 (=8640000000000), so you've actually gone some ~43,000 years past the end of all time.


A quick shell version:

   while true; do if test $(factor $(date +%s) | wc -w) = 2; then echo -n '|'; else echo -n ' '; fi; sleep 1; done


You can also just watch what the prime factorisation of the current time is like this:

    watch -n 1 'date +%s | factor'


one of those projects is feelSpace[1] which is a belt with vibrators giving you either a new compass sense, or tells you where to go (as a navigation system).

[1] https://www.indiegogo.com/projects/feelspace-follow-your-gut...


In 1996 I was prototyping a belt with piezo transducers spaced around it with each doubling as emitters and receivers for a crude ultrasonic distance, and then each would vibrate at a higher frequency the closer the object came.

Nicknamed 'batbelt' in-house.

I dropped it after looking into insurance requirements and ADA compliance.


Did you get it to work? What was the sensation like?


Yes, and I used a Basic Stamp, and replaced it with a PIC chip later on. I had several normal issues: ignoring very close objects like your arms swinging when you walk; short postives; timing issues with getting the whole array working, since I was trying to triple use piezo transducers as emitter/receiver/vibrator. Other than those issues, it was not too refined due to the limitations of the transducers, speed of the 8-bit chips I was using, and you had to wear it within proximity of your body, but then not cover it up.

Before I ditched the idea, I was going to put the vibrator belt as a second belt worn under the clothing, but there was no Bluetooth or WiFi or easily accessible way of going wireless between the belts in a practical fashion.

I had my neighbor, blind man who had a guide dog, trial it. He was a great guy, and helped me quite a bit to 'see' past my vision biases. Unfortunately, he passed away. He used to work for the IRS, and we would joke about me getting my deductions past him! He did like what I had accomplished, but many blind people do not have the money for something that is not subsidized, and then you get caught up in the compliance insurance issues. Not sure if that has changed much nowadays.

It was a great maker project before the 'maker' movement. Too bad there was no startup, or crowd-funding web sites back then!


Thanks for the link. I have wanted one of these belts for years! But I can't believe how expensive it is.


Whilst a commercial offering is probably quite expensive, it strikes me as the sort of thing you could do quite cheaply and easily with an arduino.

I've actually been collecting the vibration motors from disposable electric toothbrushes to build my own belt; as they were designed to run form a single AA battery powering them should be easy.


Yes I've seen more open and DIY solutions. I was just hoping for a commercial version that I could buy off the shelf.


I find it quite expensive too. I guess the price is fair if you include the research they did, plus the prototyping, manufacturing and company overhead.

I've tried a prototype version of this belt once (for a couple of hours), it worked surprisingly well. But integrating the vibrations as a "new sense" into your brain (so that your subconscious can use it) takes at least some days.


I am one of the devs in the pictures. We often have measurable improvements -- the shark hat (meant for performance improvements) is obvious. Results are shown in our performance monitoring tools.

The impact of our rainbow-hat (meant to enhance the codebase, contribute to some open-source projects we use, do what you think makes the world a better place) is harder to put on a graph. But we could count code metrics, documentation, merged features in OOS projects etc. We don't do that , though.

What we do is talking about what we did with our hat time after each sprint when choosing the new hat-wearers.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: