HNHacker News
TopNewBestAskShowJobs

escherize

875 karma · joined January 21, 2013

escherize.com
submissionscomments
escherize··on Clojure Newbie Guide (2015)
With cider and clojure-refactor mode, you can hotload a dependency without restarting the repl. It is kind of brittle but when it's working hot damn is it good.
escherize··on Frame-Based Editing [pdf]
Yeah, it's a pretty good idea. I've been using lisp and expand-region[1] and it just makes this frame-based editing dream come alive.

I've just recorded a video where I'll refactor some code for fun. This code adds two arrays one has strings in it like ["1" "2" "3"] the other has numbers like [1 2 3].

Video: https://s3.us-east-2.amazonaws.com/photoblobs/2017-06-22_003...

I do have a couple typos / mis-compiles but that's sort of par for the course. Hope you enjoy!

[1] - https://github.com/magnars/expand-region.el

escherize··on Startup Recruitment for Founders
A wise move to write a guide like this as content marketing. The key market for rocketshp appears to be early stage founders. This is a problem faced by that segment for sure.
escherize··on The Decline of Imgur on Reddit and the Rise of Reddit's Native Image Hosting
For image hosting I use an s3 bucket with MonoSnap (a free program). You can configure Monosnap to record an area of your screen as a gif/mpeg or capture your screen, or you can drop files onto its tray icon, and it will upload the file to s3, and copy a shortened link to your clipboard. For most images it takes about a second. It's been very helpful for me. (http://take.ms/BBVGW)
escherize··on Competitive Programming Curriculum
> The main focus is on getting the solution as quickly as possible with no regard for the code quality or maintenance.

That sounds like a startup to me.

escherize··on Why Python Is Not My Favorite Language (2016)
While you're right the article is unbalanced -- I think it's acceptable when judging "not favorite".
escherize··on Pistol sights
You don't have a pool do you?
escherize··on Teachers must ditch 'neuromyth' of learning styles, say scientists
I'd argue the purpose of school as we know it (Prussian model) is to indoctrinate the students to bow to authority, and diminish trust in peers.

In which case you'd expect (student-lead) learning outside of school would be superior, as you mentioned.

escherize··on Readable Clojure
Must say I prefer or for this, and consider differentiating false and nil to usually be a code smell:

    (or a b c)
escherize··on Readable Clojure
That works for maps and many things, but I've had good use on other types of forms. Really a big fan of align-regxp.
escherize··on UK survey of 14-24-year-olds indicates social networks harm mental health
It's entirely possible smcl hired those girls to go to Prauge and act that way so that he could tell you not to jump to conclusions. Please don't jump to conclusions.
escherize··on Little Lisp interpreter
I'm unclear about function invocation here... FTA:

    A function invocation. This comprises a list where the first element
    is the function and the rest of the elements are the arguments. first
    takes one argument, (1 2), and returns 1.
My problem is, the same way in every lisp I've seen, (1 2) qualifies as a function invocation. I'm not sure how the interpreter would know not to invoke 1 on 2, in these examples:

    (1 2)
or

    (first (1 2))
escherize··on HOCON – Human-Optimized Config Object Notation
It's current year. Why haven't the rest of you realized that commas should be whitespace?
escherize··on More than 800 startups sign letter objecting to plans to kill net neutrality
If nutrition facts regulations went away tomorrow, I suspect the market would enforce their existence anyway.

I think consumers want to know what is in the food they're eating, so you would get many startups who study what makes something healthy, or finding cheaper ways to list calories and ingredients, instead of listening to the government telling you about the food pyramid etc.

Even if customers deem it too expensive to pay for the nutrition facts, then how do you or others gain the right to intervene in a voluntary act between two people?

escherize··on Introducing TJSON: Tagged JSON with Rich Types
Edn seems like a better solution here. Not o ly is the tagging more straightforward (wow not embedded in a string?), But you can write your own tags for custom types.
escherize··on Gut Driven Development
Sounds like the choice paralysis discussed here yesterday: https://news.ycombinator.com/item?id=14102937
escherize··on Renting a Dog
> He's deliberately targeting people at a highly emotional point, to rope them into a exploitative contract.

I assume you mean it's exploitative on the customer? If two parties voluntarily enter an exchange, who are you to say that it's exploitative? I'm genuinely curious.

escherize··on Foolproof HTML
About the gif at the bottom of the page, where a div is swapped in place with an html sister node...

That's 100% possible to do in Emacs, while editing plain html, using smartparens-strict-mode. Basically it treats the HTML like lisp code, so by "autobalancing parens" the editor lets you swap-sexps, which would perform the same transformation as the drag and drop in the editor, but much quicker and easier (as long as u can invest in learning the keys.)!

Of course with Hiccup[0] or Reagent[1] code in Clojure/script, it's perfectly possible too. The same keybindings even.

[0] http://hiccup.space [1] http://cljsfiddle.com

(I'm the author of those little projects)

escherize··on Foolproof HTML
Exactly!

I already mentioned it in this thread but, check out http://hiccup.space to show people how great it works.

For more in depth examples see http://cljsfiddle.com

escherize··on Foolproof HTML
Yes! Check out a site I made to show the world: http://hiccup.space

Also if you're interested in a more interactive (i.e. can process data into html), check out http://cljsfiddle.com

escherize··on Ask HN: Who is hiring? (February 2017)
I'm a contractor at ROKT on the Clojure team, it's been a blast working with Sam and the rest of the folks at ROKT.
escherize··on Java Without If
Well, with sufficiently good spec definitions you can know (and generate examples of) exactly what is expected to be "in this map".

Oh, spec also serves as documentation!

Maybe you'll like more now. :)

escherize··on ClojureScript is the most-used functional language that compiles to JavaScript
For anyone wanting to see some live examples of ClojureScript in action, please checkout my project, http://cljsfiddle.com
escherize··on Choosing Functional Programming for Our Game
Here's a talk about it: https://www.youtube.com/watch?v=lql2yFXzKUs
escherize··on Ask HN: Best Monitor Around $300 for Dev Work?
I've used a tv as a monitor before, but it was tough because it lagged pretty badly (around 80ms from when something "happened" to when the monitor showed it). What is the input lag like on this?
escherize··on How to Use Clojure for Scripting
Spec instrumentation solves this perfectly for Clojure and ClojureScript. There's a price to pay, sure. Namely speccing your functions, but specs are defined for the functions in clojure.core.
escherize··on Interns in tech make more than workers in most occupations
By 'make' I'd like to point out that on average, workers in tech literally 'make more' (i.e produce more) value for their employers. Which is precisely why compensation is better.
escherize··on Rents are plunging in the most expensive U.S. markets
I've stayed at 2 of this guy's (Vic) properties. The first time was in the sunset in SF and it was pretty great. The cops did come bursting into our bedroom at midnight on a weeknight once, but besides that I have fond memories of it.

I also stayed at Vic's hacker house in San Mateo, where the stoner host and his buddy were often up to no good... One guy actually decided to stop paying rent, and exercise his tenant's rights. Basically things were going horribly there so I was able to convince my fellow tenants to split a 3 bedroom apartment near by.

I get that Vic takes care of the house that he lives in. It's just not the case for all of his properties.

escherize··on One year later
I persuaded Eevee to live stream while making some DOOM maps. It was very fun to watch.

Thanks Eevee! :)

escherize··on A small dive into, and rejection of, Elm
I think it's fixed, if anyone has any issues let me know:

http://gitlab.com/escherize/cljsfiddle

← PreviousPage 3 of 12Next →