Better HN
topnewbestaskshowjobs
Log inSign up

macmac

1,894 karma · joined Dec 21, 2007 (18y ago) · 745 submissions

Submissions

comment 8y ago · link · parent

"The Box" is a great book. If anyone is into podcasts I can recommend this Omega Tau episode http://omegataupodcast.net/146-container-shipping/ Full disclosure: I am one of the persons being interviewed.

comment 8y ago · link · parent

I think what baffles the mind is, that a state law is required to ensure this in the land of the free. How did things evolve to a state where this is necessary?

comment 8y ago · link · parent

Surprising that they do not address the issue of derivative works for instance in relation to the EPL. The documentation correctly states that modifications to EPLed code must be made available. But it is also the case that any work that in itself is a derivative work of EPLed code must also be licensed under the EPL.

comment 8y ago · link · parent

I would look to Clojure / ClojureScript. Suggest you start here https://www.braveclojure.com/foreword/ and when you feel fairly comfortable you can proceed to https://github.com/metosin/compojure-api for a solid approach to building a web API.

215.

The Power of Clojure: Debugging(cambium.consulting ↗)

2 points · by macmac · 8y ago · discuss

comment 8y ago · link · parent

This strikes me as pretty arrogant coming from a company who has - arguably - already lost one race to Tesla, at least from a technical perspective.

comment 8y ago · link · parent

Because parse is a embedded DSL you have access to all of rebol/red which lets you easily generate/interpret code. As an example here is a BF interpreter: https://gist.github.com/dockimbel/7713170

comment 8y ago · link · parent

Quoting from the red docs:

  So, in short, what is Parse? It is an embedded DSL (we 
  call them "dialects" in the Rebol world) for parsing 
  input series using grammar rules.

comment 8y ago · link · parent

I mean, how can you not love:

  expr:    [term ["+" | "-"] expr | term]
  term:    [factor ["*" | "/"] term | factor]
  factor:  [primary "**" factor | primary]
  primary: [some digit | "(" expr ")"]
  digit:   charset "0123456789"

220.

Ask HN: Rebol/Red parse is great. Has it been re-implemented in other languages?

15 points · by macmac · 8y ago · 9 comments

comment 9y ago · link · parent

Here you go: https://gist.github.com/chomy/003deea83b5a13ad1ee3

comment 9y ago · link · parent

That would very much depend on your goal. Do you just want credit, do you want to try to monetize the algorithm, or something else entirely?

comment 9y ago · link · parent

HTML as strings in the middle of your program - yuck! same applies to JSX by the way.

comment 9y ago · link · parent

I don't understand how this is possible in 2017. It is like they are reinventing PHP.

comment 9y ago · link · parent

What is he referring to with the "The photons stop acting like photons at 77Ghz we at least need the geeks on our side and start calling the BS out." comment?

comment 9y ago · link · parent

4 years since last commit and at version 0.0 - not likely to be relevant to that many.

comment 9y ago · link · parent

Musk is being very generous in his assessment.

comment 9y ago · link · parent

If you are interested in a really good counter example to your assertion you should look at Judge Alsup https://www.techdirt.com/articles/20170325/23492137003/judge...

comment 9y ago · link · parent

What is the best approach to guarding against crap like this on Linux, Ubuntu specifically?

comment 9y ago · link · parent

I would have more confidence in the list if they spelled ClojureScript correctly.

comment 9y ago · link · parent

Postgres' JSON support is very impressive.

comment 9y ago · link · parent

The turbines are produced by the Danish/Japanese company MHI Vestas Offshore Wind. The swept area of the blades is approx. 30% larger than the area of the London Eye ferris wheel.

comment 9y ago · link · parent

For inspiration for even more sophisticated solutions to this challenge it is probably worth looking at Haskell lenses and/or Clojure/Script's Specter.

comment 9y ago · link · parent

Why not just swallow your pride entirely and mention that the Closure Compiler is a Google product. Oh well, at least they link to it.

235.

Using Quality Views to Tackle Tech Debt Tesla(infoq.com ↗)

2 points · by macmac · 9y ago · discuss

comment 9y ago · link · parent

Does the existence of such jokes mean there is a "period shaming culture"?

comment 9y ago · link · parent

gitup looks neat, but unfortunately macOS only.

238.

Reinventing the Git Interface (2014)(tonsky.me ↗)

86 points · by macmac · 9y ago · 78 comments

comment 9y ago · link · parent

Link appears wrong. The linked issue is about UI as far as I can tell.

comment 9y ago · link · parent

If it was up to me they should fix the glitches first, it is super annoying.
1
789
25