HNHacker News
TopNewBestAskShowJobs

rtb

751 karma · joined February 20, 2013

submissionscomments
rtb··on How to parse text for a DSL at compile time? (C++)
It is, in lots of languages. It is usually called "compile time macros" or "macros".

In lots of languages the macros run in the language itself, for example in Lisp, Scala or Nim.

In C++, compile time macros are run in two separate languages: 1 the "pre-processor" and 2 "C++ templates"

rtb··on The Attention Economy and the Net (1997)
Previous thread from the time of posting: https://news.ycombinator.com/item?id=119295
rtb··on Show HN: Unmodified Java Swing apps in any browser, fully client side
The JVM plugin will only run signed applets these days, which costs at least $200 or so.

Presumably this will allow people who have legacy unsigned applets a way out?

rtb··on Ask HN: Why no stable binary kernel interface for drivers?
This is addressed in the docs, at "stable_api_nonsense.txt": https://github.com/torvalds/linux/blob/master/Documentation/...

(You might disagree with that doc, but if so you should address its arguments directly.)

rtb··on What if the Bitcoin bubble bursts?
By that definition, your first comment was a meaningless tautology. If a "reasonable" fee is one that causes a transaction to be accepted, then your first comment can be rewritten as:

"as long as the transaction [will be confirmed within several days], you can be pretty sure that it will be confirmed eventually".

rtb··on Ask HN: What are you working on?
Sounds interesting. Do you have a website or blog where I can look for updates?
rtb··on Brands need to fire adtech
Exactly. They extract money by addicting people and taking advantage of them. It should be criminal.
rtb··on Don’t Discriminate Against Mutants Like Me
ELIZA, is that you?

Because a single-payer health system (like the NHS) largely prevents this discrimination.

rtb··on Anthony Bourdain on not having debt
> People always say this

Americans always say this.

rtb··on Problems with Kotlin
I think it's a joke. https://en.wikipedia.org/wiki/Poe's_law
rtb··on Troubled covert agency responsible for trucking nuclear bombs across America
> I'm really not sure why we're still alive.

Anthropic principle / many-worlds interpretation? All the outcomes in which these accidents lead to nuclear war are no longer observable ;-)

rtb··on What the death of the CRT display technology means for classic arcade machines
Not in practice. To completely simulate the CRT refresh, you'd need to flash each pixel separately along the electron gun path. If your LCD has 1,000,000 pixels, you'd need 1,000,000 times faster refresh rate to do that.
rtb··on An ex-cop's remorse
I've never seen "coöperator" spelled with a diaeresis before. Apparently it's a New Yorker house style: http://www.newyorker.com/culture/culture-desk/the-curse-of-t...
rtb··on Forged rail tickets sold on 'dark web', BBC investigation reveals
Does anyone know anything about the magstrip data? Is it signed in some way that they can't forge?
rtb··on Purposes, Concepts, Misfits, and a Redesign of Git
I used to do that with SVN. What a pain in the ass.

Git's version is miles better.

rtb··on Patent troll tales: Lee Cheng, Newegg
I haven't checked the stats, but I don't think that there's less litigation in the US compared to other western countries, so if that was the aim it seems to have failed.
rtb··on Patent troll tales: Lee Cheng, Newegg
Me too.

https://en.wikipedia.org/wiki/English_rule_(attorney%27s_fee...

> "Nearly every Western democracy other than the United States follows the English rule."

Does anyone know why the US decided on this system? It seems obviously unfair.

rtb··on Park.io – automating tasks to make $125k per month
> This guy built a million dollar business in a year providing a service that people want to pay for... I say "Congrats!"

More like, this guy built a million dollar business that arbitrages the DNS renewal system by squatting desirable names that he has no plans to use, then rent-seeking from those who do want to use the names. This is not a value-creating enterprise, but a zero-sum trader making money by taking it from other people.

I say "why don't you take that ingenuity and use it for something productive."

rtb··on Singapore Airlines Won’t Extend Lease on First Airbus A380 Jet
> The A380’s size has become its disadvantage as airlines prefer relatively smaller planes such as the Airbus A350 and rival Boeing Co.’s 787 Dreamliner that can fly nonstop to their ultimate destinations, bypassing major hubs such as London Heathrow and Singapore’s Changi Airport.

(Range seems odd to me as a factor, as Wikipedia thinks the Dreamliner and the A380 have the same max range.)

rtb··on The End of Reflection
Just get a dumb phone. I don't have a smartphone because I'm sure I'd fall into the same trap.

It's occasionally difficult, but usually just freeing.

rtb··on Barack Obama: Why we must rethink solitary confinement
It's a very religious idea that "the justice system ought to be about meting justice", particularly a Protestant / Christian idea. The very phrase "meting out justice" is a biblical one.

Secular societies are more interested in the outcomes than the moral righteousness of the system.

rtb··on What a ball pen tells us about China’s manufacturing weakness
https://en.wikipedia.org/wiki/Ballpoint_pen -- Wikipedia suggests that the ball point pen was first invented in the late 19th century, but that they didn't catch on until after WWII because they need "modern chemistry and precision manufacturing capabilities", which sounds consistent with the claims in this article.
rtb··on China Cracks Down on Politically Incorrect Maps
[citation needed]
rtb··on How to Protect Yourself from NSA Attacks on 1024-bit DH
... but clients can guard against weak server-side DHE by rejecting DHE ciphersuites. So I think the GP was correct that this diagnostic should be updated.
rtb··on Why Homejoy Failed and the Future of the On-Demand Economy
Exactly. Or maybe no commission at all on repeat bookings? Then there's no pressure for the relationship to jump the walled garden and you keep the customer on the site to come to you first for future searches.
rtb··on Why Homejoy Failed and the Future of the On-Demand Economy
25% of the wages? Sounds like they were just greedy as much as anything else. Of course the customers are going to be looking to cut out the middleman as soon as possible with that kind of commission.
rtb··on If you've nothing to hide, you've got nothing to fear
> bringing a gun to a knife fight

I'm so glad I live in the UK where both criminals and self-defence is mostly knife based.

I think the American style of "bringing a gun to a knife fight" just escalates everything.

You think you need a gun in order to kill a would-be assailant. The OP says he used a knife to scare them off. I know which I prefer.

rtb··on Are you a Greek company Blocked by capital controls?
What is actually being proposed here? Is this a charity effort? A vulture capital fund that wants equity? Something in between?
rtb··on Liquid Breathing
In babies, I would guess that some of the amniotic fluid is also absorbed into the blood stream. Both that and evaporation seem much less likely to work with perfluorocarbons.
rtb··on Liquid Breathing
How would you return to breathing normal air after having your lungs flooded with this liquid?
← PreviousPage 3 of 5Next →