HNHacker News
TopNewBestAskShowJobs

agrafix

536 karma · joined May 11, 2014

Building Stripe Billing during the day, supportpage.io at night.
submissionscomments
agrafix··on Revisiting the principles of data-oriented programming
you can type check this in static languages too if the type system supports structural typing [0]

[0] https://en.wikipedia.org/wiki/Structural_type_system

agrafix··on Show HN: I rolled my own simple support / Helpdesk SaaS aimed at Indie Hackers
This is really cool, the missing functionality that I haven't added to https://supportpage.io/ yet :p
agrafix··on Faux Idempotency
Usually I’ve seen it defined as that the intended effect happens at most once. e.g. see https://developer.mozilla.org/en-US/docs/Glossary/Idempotent
agrafix··on Grobid: Machine learning for extracting information from scholarly documents
I wrote something similar a while ago https://github.com/agrafix/grabcite — I was surprised how far you could get with just heuristics. The nice thing is that many academic papers are also available with their LaTeX source which avoids a lot of the structure guessing from PDFs.
agrafix··on Voltswagen of America
Hmm did they release their April 1 joke too early by mistake?
agrafix··on Filling the Void of a Physical Whiteboard
Shameless plug: I’ve built https://board.new to help with ad-hoc collaborative whiteboarding. One thing I’ve found using more sophisticated tools was that folks spent too much time making it look nice vs discussing the content. Hence this tool that doesn’t distract with that.

That said, mermaid looks pretty nice —- going to try that out for my design documents once settled on an approach.

agrafix··on Typedefs
That’s cool — I’ve built something similar in the past: https://github.com/typed-wire/typed-wire
agrafix··on Witeboard
Shameless plug: we built https://board.new with “hold shift to draw” which makes drawing with a mouse much easier.
agrafix··on Show HN: Compile Ruby to C
It's certainly related -- not sure what kinds if specialisation the new ruby JIT does.
agrafix··on Show HN: Compile Ruby to C
I think it's possible, mostly didn't go down that route to keep things as simple as possible at first.
agrafix··on Ask HN: What collaborative whiteboard are you using?
We noticed that most whiteboarding apps out there over-focused on perfect diagrams, so a lot of time in meetings is lost due to rearranging boxes and arrows. Hence, we built https://letsboard.co - a very simple collaborative whiteboarding tool and are using it daily now.
agrafix··on Parsing JSON is a Minefield
One of the things that has bitten me before was the maximum allowed nesting depth - this was different in two implementations, so one rejected the payload while the other one parsed it fine :(
agrafix··on Lisp in fewer than 200 lines of C
This motivated me to hack together a Haskell implementation, but with a little better error handling :) https://github.com/agrafix/micro-lisp
agrafix··on A Large-Scale Study of Programming Languages and Code Quality in GitHub (2014)
The + operator is not an explicit numeric conversion. What numeric type is it converting to? In Python you can also combine two lists using the + operator.

Haskell for example requires to be explicit about this:

    y = (read "5" :: Int) + 5
agrafix··on Ask HN: What is the best way to spend my time as a 17-year-old who can code?
Write a browser game, put it online and play it with friends. At least that's what I did ( https://github.com/agrafix/managerslife ), it was very fun and rewarding, and I learned a lot!
agrafix··on HLearn: A Machine Learning Library for Haskell (2013) [pdf]
You can for example prevent "runtime" bugs due to combining layers/vectors/matrixes of the wrong dimensions.
agrafix··on Ask HN: How can I volunteer my software skills online?
If you're into functional programming (Haskell + PureScript), I know that UnionizeMe [1] is looking for volunteers.

[1] https://unionize.me/get-involved

agrafix··on Ask HN: Have you ever worked on a product that was killed by technical debt?
What was/is the product/company called if i may ask?
agrafix··on Domain-Specific Languages and Code Synthesis Using Haskell (2014)
Btw you can get "if then else" at AST level using RebindableSyntax [1], but pattern matching (case...) will still allow the end-user to "side step" this.

[1]: https://downloads.haskell.org/~ghc/8.0.1/docs/html/users_gui...

agrafix··on Ask HN: Hiring managers what would it take for you to reply to every applicant?
Many applications that we get do not meet the key requirements from the job posting and are very generic. If the applicant did not put any effort into the application - why should I? Maybe this process can be automated with some ML/NLP to check if the application (a) matches at least SOME requirements and (b) is not too generic but actually hand written to match your posting and company.
agrafix··on Elm is Wrong
I've made https://github.com/agrafix/purescript-apparch
agrafix··on Show HN: Are you trackable? An irrevocable persistent browser cookie
I could beat it by using a different browser (e.g. chrome vs firefox) on my machine.
agrafix··on Making Humans a Multiplanetary Species [video]
Came here to say the same thing, I was really hoping for some better questions like the ones in the "How to build the future" [1] interview...

[1] https://www.youtube.com/watch?v=tnBQmEqBCY0

agrafix··on Is your JavaScript function actually pure?
If you compare Haskell with JavaScript, all JavaScript functions would run in the `IO` monad because you can always (even implicitly as in the article) run an impure action even if everything else seems pure. In Haskell, if your function is not monadic, you can't "run" the monadic action. On the other hand, you don't see exceptions in Haskell's type signatures and you can throw them in pure code. Hm! ;-)
agrafix··on Static Website Generators
Hakyll supports anything that pandoc supports, so it does both org mode and markdown :-)
agrafix··on DDoS protection
My personal experience with Hetzner is also mixed, two of the four servers we had had disk failures a few months into the contract. Luckily you are only bound for a month. The other two servers on the other hand are great - a good price for powerful hardware and fast support.
agrafix··on Announcing BuckleScript 1.0
Pretty cool that BuckleScript works with Reason! :-)
agrafix··on Moving 12 years of email from GMail to FastMail
My private and my business emails run with FastMail and I am very happy with it! I also use the DNS for some smaller projects and it works like a charm. Thanks for that.
agrafix··on Why We Moved from Amazon Web Services to Google Cloud Platform
Same here, biggest reason to be in AWS is Postgres RDS which works like a charm!
agrafix··on Why is Python slow
It's very likely that this blog runs on a small VM (eg. the smallest DigitalOcean one) which not enough RAM. This results in mysql crashing. You could either setup a cache or add some swap as backup...
Page 1 of 2Next →