HNHacker News
TopNewBestAskShowJobs

markus2012

169 karma · joined April 9, 2012

submissionscomments
markus2012··on Drug Goes from $13.50 a Tablet to $750, Overnight
This. I used to buy breakfast from a small food place. The 21-ish cashier lady always gave me a nice 'good morning' and a smile.

She wasn't there one morning and I asked where she was. She died - something to do with her kidneys and she didn't have health insurance.

Now the US gets to statistically ignore her death and claim it provides excellent health care to its citizens?

markus2012··on Rust in 2016
Can't you think of it as still being scoped - just more fine grained? Pieces of structs can be borrow checked (what you are using) instead of the whole struct?
markus2012··on “It’s done, there is no way back. We tried, we failed”
I don't think it's lame.

It sounds like they are living through a train-wreck moving in slow motion that will last a few months - and perhaps much longer.

markus2012··on How Does Voxel Quest Work Now?
Impatiently waiting for an engine + API docs that I can download and play with. :-)
markus2012··on OpenWrt switches to musl by default, replacing uClibc
Rust also has experimental support for MUSL as of April:

https://github.com/rust-lang/rust/pull/24777

markus2012··on Coping with context-switching madness
You're the first developer I've heard of that says they like context switches.
markus2012··on What is C in practice?
Fyi Rust has solved this problem; the compiler forbids the use of undefined variables. Compile error example:

    let x;
    println!("x:{}", x);
markus2012··on Mario running in Unreal Engine 4 [video]
Incredible:

- all the environment assets were taken from the Unreal marketplace

- all the character actions were scripted using blueprints only

markus2012··on Ark – A modern systems programming language
Rust provides a good solution to C++ legacy cruft, complexity, undefined behavior, data races and provides some nice new language features like ADTs, traits, etc. I find it ties the language feature together with a beautiful and well thought out syntax.

Still, because of tooling, direct C++ interop and familiarity we would have stuck with C++. The killer feature that elevates Rust above everything else - and made us switch - is the borrow checker.

markus2012··on Voxel Quest Fluid Dynamics and New Rendering Method
Looking forward to playing with the API and building my own worlds/demos/games :-)

I'm hoping your license terms let folks initially play with it for free like the UT4/Unity licenses.

markus2012··on Asmttpd – Web server for Linux written in amd64 assembly
benchmarks?

:-)

markus2012··on The first news article ever written about Apple
Quote from the KiloBaud article:

"What You Get for $666.66" heh ... really Steve? ... :-)

markus2012··on OpenSSL Audit
Well, anything is possible because ... human ingenuity.

However, Rust currently statically links in jemalloc - even when building a dynamic shared library. There is no easy way around it.

(because someone might ask: rustc -C prefer-dynamic dynamically links everything except jemalloc)

Having said that, I hope jemalloc gets linked externally soon so my code doesn't have to pay the memory penalty in each of my memory-constrained threads.

markus2012··on Atom Shell: Cross-platform desktop application shell
Interesting!

FYI atom-shell seems to work better with node v0.11 than node-webkit if you're trying to build little admin/maintenance utilities that need sudo.

node-webkit gets in the way of the sudo working.

markus2012··on Vim.js – JavaScript port of Vim
It's unreasonable and unfair for you to assume I have any expectation for Vim.js to work with the version of Chrome I listed.

I was merely providing feedback / datapoint.

markus2012··on Vim.js – JavaScript port of Vim
It did not work well in Chrome: 36.0.1985.49 beta C-f, C-b didn't even work.

I then gave it a shot in Firefox nightly and it seemed to work really well. This brings me joy.

I don't like to edit forms/documents on the web; it's a constant struggle against my muscle memory. Vim.js could be the start of something that could change that. Well done!

markus2012··on Native scrolling and iTerm2
Thank you for posting that. I can now use my mouse wheel on my mac to scroll through documents in vim.

I can also SSH into a Linux box from my mac and the mouse wheel works in the same way.

markus2012··on Algebraic and calculus concepts may be better way to introduce children to math
Wrt imaginary numbers, just a thought: capacitance and inductance in an AC circuit.

I don't know what age group you're targeting but I found solving problems in this space gave me a great intuition for imaginary numbers; I found it quite interesting too. Heck, AC circuits are great real-world playgrounds for differential and integral equations - Laplace transforms too.

I've been fretting about how to help my kids get a better understanding of math for years. I've been bouncing between too simple and overly complicated for too long. :-(

I think I'm just going to mandate they spend some amount of time per week using Mathematica and going through some introductory book. At least they will taking baby steps in a direction better than youtube. Grumble...

So I've been fretting on which book. Any suggestions? Heh heh...

markus2012··on The Facebook Comment That Ruined a Life
Little to no prospects: right, because punishment doesn't stop when you leave prison. Punishment continues until the day you die: you can't get a good job because virtually no one will hire an ex-con.
markus2012··on How startups can compete with big company perks
Well, just for a moment I think I would have smiled to myself if I had packaged it up as a jpg and 'shipped' it. You can't stop me... :-)
markus2012··on Lua Fun: A high-performance functional programming library designed for LuaJIT
In case you skipped the article it contains this nugget:

Take this example containing functional composition and higher-order functions:

reduce(operator.add, 0, map(function(x) return x^2 end, range(n)))

LUA converts this into 10 lines of assembler (2 jumps). Also, the LUA compiler is directly generating SSE.

Anyone have any good benchmarks comparing simple functional examples in LUA with Clojure or Common Lisp?

markus2012··on Typhoon Haiyan kills 10,000 in Philippines
'Adds net positive emotional entertainment value' ???

Seriously, WFT?

markus2012··on Show HN: YinYang, a usable live programming language
I edit and re-edit code in my vim Clojure REPL all the time.
markus2012··on NSA critics Ilija Trojanov: German writer must not enter the U.S.
You'll find the same computer system in use no matter where you try to enter.

If the computer says, 'deny' you're done.

markus2012··on Asynchronous Error Handling
There is a problem with relying on setImmediate() in your channel implementation:

1. httpGet...

2. setImmediate() in a tight loop using 100% CPU until httpGet() returns

...

I'd rather not burn ~100% CPU for what could be a couple of seconds waiting for a slow web server (even if we're nicely burning it).

markus2012··on JavaScript Isn't Scheme
Holy smoke...

I started posting on Usenet ~1989. I've seen a number of flame fests that I considered epic but this moved the bar exponentially.

markus2012··on What's next Google? Dropping SMTP support?
1. Google creates a service and gives it away for free.

2. Most alternative providers of the service die. The only ones that still provide the service must also give it away for free and leverage the service in some other way.

3. Google kills service.

Someone might try to fill the void, but why would they? Google might just provide the service again for free.

I wonder how much of the economy has been lost by giving away services for free. There's something wrong with the model where you can give something away for free so you can learn more about them to serve ads.

I remember a time when a certain government would buy a factory in another country, decrease prices to destroy all of the local competition and then lay off all of the factory workers and shut the factory down.

Interesting times for companies like Google.

markus2012··on TraceGL: JavaScript code flow visualisation in WebGL
Good citizenship = giving away your hard work for free?

Good grief.

markus2012··on VA Medical Appointment Scheduling Contest – $9M in prizes
From the website under Judging - section b:

<quote> Judges will determine the number and amount of monetary prizes. Judges may determine that no prize will be awarded. </quote>

I've created a web-based calendaring and scheduling system that integrates with a number of cloud services including google calendar. It also works offline and provides a solid foundation for a lot of what they are asking for.

I'm passionate about calendaring and scheduling, and I've been heavily involved in this space for a long time. However, I just can't bring myself to task switch to this and risk 4 months of evenings and weekends when a judge could determine that no prize is to be awarded - or award some small pittance.

In my spare time I'm building a new product to spawn a new division in the fortune company I'm working for. My chances for providing a good stable life for my wife and children are far better at my current employer.

It saddens me to pass on this.

markus2012··on Simple Sabotage Field Manual (1944)
<quote>... creating an unpleasant situation among one's fellow workers, engaging in bickering, or displaying surliness or stupidity.</quote>

OMG... our company is under siege!

← PreviousPage 2 of 3Next →