HNHacker News
TopNewBestAskShowJobs

ryanmk

18 karma · joined April 7, 2014

submissionscomments
ryanmk··on The cure for procrastination? Forgive yourself
I've plugged this before, but this is something that has really, actually, worked for me: beeminder.com
ryanmk··on Superheroes a 'cultural catastrophe', says comics guru Alan Moore (2014)
Dude sounds like he's stuck in his own head.
ryanmk··on Yet Another Language Speed Test – Counting Primes
I tried using locals, and there was no change to the time. Using a boolean return value for isPrime shaved off two seconds.
ryanmk··on Yet Another Language Speed Test – Counting Primes
Thanks, using % did the trick.
ryanmk··on Yet Another Language Speed Test – Counting Primes
I've placed my port here: https://gist.github.com/anonymous/ce176d7ab4f6b7b1ba91

If you see anything wrong with it, or odd, feel free to share.

I'm still investigating what is happening to make the run so slow, so if you can find something wrong in my code, that would help.

ryanmk··on Yet Another Language Speed Test – Counting Primes
It would be nice to see the numbers, in addition to the graph.

I did a straight port of C to lua, and ran it with luajit.

The C code ran in 49.901s.

The luajit code ran in 14m16.547s.

C code was compiled with -02 -std=c11 -lm (version 4.8.1, mingw).

luajit.exe was 2.0.3, static build, using VS2012 x64

ryanmk··on Can C++ become your new scripting language?
I use lua for most scripting. A big reason for this is that the entire lua environment is in lua.exe. This allows for me to distribute scripts easily without having to include a C++ installer with them.
ryanmk··on Ask HN: Which book are you reading these days?
Love Ted Chiang!
ryanmk··on Nobody Ever Gets Credit for Fixing Problems That Never Happened (2001) [pdf]
Isn't that called a "paycheck"?
ryanmk··on Io language
I agree with the parent. Upon encountering the page, my first feeling is that this is one of THOSE landing pages.

Of course, I know this is just me bringing my biases to the thing, but that's the way it is.

ryanmk··on Profile of Ted Chiang: The Perfectionist
I'd like to see what his take would be on a Groundhog's Day scenario.
ryanmk··on Announcing LTS Haskell 1.0
The website doesn't say what LTS haskell is. A curated set of packages? Of what?
ryanmk··on Ask HN: How do you stay motivated to work on side projects?
I use Beeminder.com to stay motivated. They have githun integration, which helps.
ryanmk··on Yehuda Katz and Steve Klabnik Are Joining the Rust Core Team
Bandwagon hopping is a Good Thing.

Furthermore, if you continue to bring something to the bandwagon, people will continue asking you to join them.

ryanmk··on NASA: We're sending humans to Mars
You don't think they'll put humans on Mars within this century? Really? That's not a conservative statement. A conservative statement is, yea we'll probably get to Mars this century, but maybe not in the next 20 years.
ryanmk··on The State of JavaScript in 2015
I'm glad I read this article. I just started experimenting with javascript for web development, and I've encountered so many Named Swords.
ryanmk··on Introducing Spider 0.1
I'm intrigued by your comment that being forced to do a lot with a little is powerful. Do you have any arguments or evidence for that you could point me to?
ryanmk··on An FPGA Is an Impoverished Accelerator
It sounds like he doesn't think the level of abstraction offered is high enough. If you are using an FPGA as a general purpose device, and not for prototyping, then a higher level of abstraction would be helpful. Otherwise, if you are prototyping, you may want a lower level of abstraction that may offer a closer approximation to your end goal.
ryanmk··on Ask HN: Can we talk about Linux vs. OS/X?
I see Android as the future of the linux desktop.
ryanmk··on RTX2010 – Radiation-hardened stack machine microprocessor
There's also GreenArrays GA144, which has 144 forth machines on a single microprocessor.

http://www.greenarraychips.com/

ryanmk··on 2014 Fields Medals announced
So she just appeared in her current form out of nowhere with no causes and conditions?
ryanmk··on Psychedelic mushrooms put your brain in a “waking dream,” study finds
See this study from Johns Hopkins:

http://www.heffter.org/research-jhus.htm

takeaway: Psilocybin may have a long-term anxiolytic effect.

ryanmk··on Raspberry Pi Compute Module
Can other computer-on-modules in a SODIMM package be used in the Compute Module IO Board they are developing?

I've searched online, and I think the boards that the SODIMM modules are plugged-in to are called "base-boards" or "carrier-boards". In general, are these kinds of boards generic in nature, so that you can mix-and-match modules with different carrier-boards, as long as they all use the SODIMM package?