HNHacker News
TopNewBestAskShowJobs

rubashov

781 karma · joined May 24, 2010

submissionscomments
rubashov··on The genesis of the perfect programming language
I don't know about the "One True" language, but it seems clear that people are casting about for the next generation successor to C and C++; that is to say a fast, compiled, statically typed language incorporating the lessons of the last 25 years and dropping various baggage. It's what the whole D/rust/go thing is about.

D is really great. The terseness, modeling power, and general ease of writing it correctly the first time seem to obviate the need for higher level languages, for me.

rubashov··on The genesis of the perfect programming language
The gdc compiler sticks the D front end over gcc, so cross compiling is the same as with gcc/mingw, to the best of my understanding. LDC is another compiler that uses the LLVM backend and it might support cross compiling, I don't know.

Setting up a virtualbox and building from that is pretty easy these days. And you need to test the executables somewhere anyway.

D will be perfectly portable by default, just as with modern C++. If you use the standard library it will compile and run everywhere.

rubashov··on I'm Giving Up Reading for a Year
I don't find this as quite a ridiculous idea as the satire presumably assumes.

Reading, after a certain age, diverts the mind too much from its creative pursuits. Any man who reads too much and uses his own brain too little falls into lazy habits of thinking. --Albert Einstein

rubashov··on South Korean military starts iPhone ban in its major buildings, permits Android
I have heard that Apple campuses and information are highly compartmentalized, almost along DoD lines. Badge access systems heavily restrict who can go where. I'm curious what their policy is on carrying devices into access controlled areas.
rubashov··on Call for a global Immigration Reform
"Imaginary" lines that people fight and die over. Are you really this deluded? Nations exist. People bound together by the land and cultural and genetic heritage is a real thing.

Unsurprisingly many people with strong ties to their nation don't see the net benefit of making it especially easy for rootless cosmopolitans to crash in. After all, you can't count on them in a tight spot. They have no loyalty.

rubashov··on Japanese Conveys Information More Slowly Than Other Languages
I remember seeing some mention that English has by far more words than most languages.

Saying "Ontology recapitulates phylogeny" in other languages is allegedly hard.

rubashov··on Andrei Alexandrescu: Generic Programming Galore Using D
Bit of a stretch to call it a "conversion". He and Walter Bright simply set out to fix the glaring problems with C++ after long experience with it.
rubashov··on Skinny fat founder strips for launch of startup
Long distance running is not especially good for health or the heart. Marathon running and long distance cycling are actually quite bad for the heart. There's a ton of stuff out there now about disturbing rates of sclerosis in marathon runners.

http://www.arthurdevany.com/articles/20091028

Running 5Ks (not crazy distances) is surely a lot better than doing nothing, but I don't think there's any evidence it's better for you than other pursuits. Olympic lifters have excellent blood profiles and body composition, for example. Probably true of squash players.

Running is popular because it requires zero athletic ability and no equipment.

rubashov··on Skinny fat founder strips for launch of startup
Running is not a good way to get low body fat such as in the picture. To get that ripped, lean look you actually want to avoid aerobic exercise and stressing the glycogen system.

Intermittent fasting (only eat once or twice a day) and relatively intense, infrequent strength training (some olympic lifts twice a week) is the way to go. See leangains.com

rubashov··on Go: Severe memory problems on 32bit Linux
> The Phobos standard library is quite unfinished indeed

How so? I think it's got pretty much what belongs in the standard library.

rubashov··on Why nations fail
These hard to prove theories, such as Jared Diamond's and in the reviewed book, exist in large part to counter the highly convincing and data driven eugenic theories. The eugenic and IQ based theories are politically unacceptable. "A Farewell to Alms" and "IQ and the Wealth of Nations" lay out very convincing and heavily researched cases that explain different national economies very well. The explanations are just not PC.
rubashov··on Warren Buffett: Why stocks beat gold and bonds
> everyone rushes

Who is rushing to buy gold? I'd be surprised if more than 1% of households have meaningful gold exposure.

rubashov··on Rich Dad Poor Dad... Worst Personal Finance Book of All Time?
Yeah, he even goes on about compromised health. After a couple of his big scores he looked around the celebratory dinner table and realized how the preceding three years had badly aged people.
rubashov··on The dumbphone strikes back
What is the smallest, thinnest dumbphone on the market? I want a very, very small phone for voice and SMS and that's it.
rubashov··on How to travel around the world for a year.
Well, yes, if you've never traveled at all, and especially never traveled outside the west, I would guess that's rather eye-opening.

I'm addressing the people who endlessly hit up new places and try to pretend it means something. It's just novelty seeking, as best I can tell, which is to some extent a trait of immaturity.

rubashov··on How to travel around the world for a year.
I contend that mostly what you're getting out of your three days or three months somewhere is a blast of novelty. It's not making you any smarter or better, which is what a lot of people try to claim.
rubashov··on How to travel around the world for a year.
I've traveled a fair amount and I don't get the degree of fascination. It's essentially a form of entertainment.

I've learned more about almost any place from books and media than just passing through, seeing the sites, and meeting some people. "Traveling" is really not as enlightening as people try to pretend. Living somewhere a couple years is another matter.

rubashov··on This Is Why You Don't Go to the Gym
> wants to start working out but doesn't know anything yet?

What's there to really know? The average person just looking to be healthy doesn't need a gym or any instruction. Buy a $3 jump rope. Jump over it 4,000 times every couple days. Do some pushups, pullups, and situps on the other days. 20 minutes (at most) and done.

"The Gym" as used by most people is a way to create the illusion of effort. "Hey, I'm spending six hours a week there and using big expensive machines, so I must be getting something done." It's just a waste for most people, who'd be better served by a jump rope in their driveway.

I use a gym because I lift and have no space, but if I had a garage I'd set up my own power-rack. All the machines at "the gym" are idiotic. You only need a barbell, a bench, and a rack.

rubashov··on Web programs written in C++ are no big deal
This plus something for disk persistence is totally sufficient for writing web apps in C++:

http://cgi.sourceforge.net/

rubashov··on Being recruited in the USA
> this thinking that can kill science and startups

If an industry does not employ the native people in a country, or only enriches a clique of owners, then who cares if it leaves? In any case, this line of argument is malarkey. There is no evidence of restrictive immigration driving away business. Typically you just get an industry with higher capital investments and higher wages.

rubashov··on Being recruited in the USA
We have very high unemployment. Also, the national identity and cohesion is swamped by a far too large influx of foreigners. There should be an immigration moratorium. Essentially zero people should be let in until there is robust job growth.

There should be a much longer moratorium on granting foreigners citizenship. Immigration rates are far too high and on a course to create serious overpopulation problems in north america. https://www.numbersusa.com/content/

rubashov··on Why do C++ folks make things so complicated?
The complicated parts of boost where this is what you end up doing are really more like libraries for library writers. You'd almost certainly wrap something like Boost.Geometry for your specific needs. It's made with flexibility as the goal. So it's really not the problem you're presenting. The alternative is dozens of different half-baked libraries for specific use cases.
rubashov··on Why do C++ folks make things so complicated?
Tip: don't be a glib, smug prick on a date.

Please enunciate why something like asio is evil. You review the documentation and examples and the outlined primary use cases "just work". But you can dive in and do really complicated things.

rubashov··on Why do C++ folks make things so complicated?
That's how any API is used 90% of the time.
rubashov··on Why do C++ folks make things so complicated?
> Most of Boost is a horrible templated mess.

Are you just saying you find the implementation distasteful? I don't find using the templated boost stuff problematic. Most of the time you just cargo cult examples from the documentation and all's good, but then you have great flexibility should you need it.

rubashov··on Gearman, an open source framework for distributed processing
What was your problem with it? I have tried to use Condor for a couple things recently and was annoyed enough by it I concluded Gearman was probably the better approach, though I haven't used Gearman.

For the record, Condor probably works fine for its primary use case, which is long running single threaded processes on Unix that eat an input file and spit out an output file before terminating. I was trying to use it to have a bunch of processes on Windows that also occasionally write to a database. Was also trying to tag "slots" on specific machines to use certain installed dependencies. I advise against trying to use Condor and Windows, or on trying to use any of its advertised advanced features beyond the basic "standard" or "universe" model. Have had no end of trouble with the "stored credentials" feature that lets you run a process under a specific account.

rubashov··on What we learned about running our startup in 2011
How do you justify locating in center city philadelphia with all the taxes and the dysfunction of the city government when you can be 12 minutes away in conshohocken to avoid them?
rubashov··on The Fat Trap: Our Bodies Are Fighting Against Us
The genetic component has to do with susceptibility to overeating, though. It's not some magic "metabolism" setting as is most commonly claimed.
rubashov··on The Fat Trap: Our Bodies Are Fighting Against Us
I do find it interesting that over the same period the obesity epidemic developed standards of public dress, and arguably behavior, deteriorated badly. People got fat at the same time flipflops and cheesy t-shirts became suitable public attire. Pure coincidence?

Everybody wants to write about the biological science of the obesity epidemic, but it's pretty hard to argue that people nowadays are just less disciplined in various respects.

rubashov··on The Fat Trap: Our Bodies Are Fighting Against Us
I thought the article wasn't very good. It goes on at length with the only takeaway being that fat people have a very hard time maintaining weight loss and we're not sure why.
← PreviousPage 3 of 12Next →