Better HN
topnewbestaskshowjobs
Log inSign up

bkovitz

830 karma · joined Apr 29, 2008 (18y ago) · 285 submissions

Ben Kovitz. I'm at http://mypage.iu.edu/~bkovitz/ 'at' indiana 'dot' ee dee you.
Submissions

comment 10mo ago · link · parent

Thanks for explaining why you made Rust--! I figured it was just whimsical play, and I find it delightful. I'm especially delighted to hear that it wasn't even hard to disable the borrow checker.

I hope you will answer the question here from @dataflow about whether, without the borrow checker, compiler optimizations will emit incorrect code. Did you have to make further modifications to disable those optimizations?

comment 1y ago · link · parent

> Your editor can’t help you out as you write it.

Must not be a vim user.

3.

Is there any term in software engineering more ambiguous than "software design"?(old.reddit.com ↗)

2 points · by bkovitz · 1y ago · 2 comments

4.

Port graphs: What would Rich Hickey do?(groups.google.com ↗)

1 points · by bkovitz · 8y ago · discuss

comment 9y ago · link · parent

Google Translate is not good for this sort of thing, since it has no clue what words mean or why they're used. Vide: https://latin.stackexchange.com/a/4352/118

comment 16y ago · link · parent

Funny that you mention this. The inspiration for submitting this question was my frustration with teaching while in grad school. Each of my four semesters so far, I've taught or assistant-taught a class. Each time, it consumed my mind, to the point where I found it difficult to think about anything else. My subconscious creativity was all spent on things like: how do I get the students to see X, how do I convince the prof not to obscure X, what would be a good homework assignment, how can I set up the homework so I can grade it super-efficiently.

I thought I'd get a lot more out of grad school if I financed it by working at a job that requires no thought or creativity. Ideally, my subconscious creative churning could continue while working at the job, and stay focused on my research. (Doing good teaching in grad school goes completely unrewarded.)

And then I thought, well, why bother with grad school at all, if what I want to do is learn interesting stuff and do research? If I had a subsistence-level job that didn't suck out my brains, I could pretty much spend every waking moment either letting the subconscious creative process run, or actually building stuff, researching stuff, and writing papers.

comment 16y ago · link · parent

It seems strange that there have (so far) been so few ideas that leverage the high productivity that ought to be possible with technology and the highly interconnected economy. (So far, day-trading is the only one like that.)

How could one be very productive for only a few hours a week--enough to genuinely earn US$24,000 a year?

Is it Timothy Ferris or nothing? Has anyone gotten his "Four-Hour Work Week" to work?

comment 16y ago · link · parent

Unarmed security guard.

Some friends of mine long ago have done this. I don't know what the money is like these days (does anyone here know?), but I expect it's bad. The advantage is: you actually get to work on your laptop or notebook or whatever you like most of the time. Mostly what a security guard does is let truckers sign in when they make deliveries. Between deliveries, all you need to do is be there.

Has anyone here tried this?

comment 16y ago · link · parent

Interesting that you don't need a lot of winning bets to make a living. What about losing bets, though? Isn't this a pretty high-risk way to make a living? Also, doesn't it require a fair amount of capital to get started?

10.

What's the easiest way to make a living?

11 points · by bkovitz · 16y ago · 16 comments

comment 16y ago · link · parent

I always thought management looked like a job I'd hate. Now I'm completely sure.

comment 16y ago · link · parent

Doing nothing seems so counterintuitive a solution that people almost never seem to consider it. Lately, I've been seeing this in college. "What, the students are making mistakes and asking questions? I'd better lecture more and write longer explanations in the assignments."

I imagine that a politician who ran on a platform of, "I'm going to do nothing: these kinds of pains are how an economy gets back into adjustment," would have a hard time getting votes. But, I've never been to Japan, and indeed, in the U.S., such a platform would not make you an instant laughingstock.

comment 16y ago · link · parent

An excerpt, describing the fragmentation of managers' time:

Folklore: The Manager is a reflective, systematic planner. The evidence on this issue is overwhelming, but not a shred of it supports this statement.

Fact: Study after study has shows that managers work at an unrelenting pace, that their activities are characterized by brevity, variety, and discontinuity, and that they are strongly oriented to actions and dislike reflective activities.

Consider this evidence:

- Half the activities engaged in by the five chief executives of my study lasted less than nine minutes, and only 10% exceeded one hour.

- A study of 56 U.S. foremen found that they averaged 583 activities per eight-hour shift, an average of 1 every 48 seconds.

comment 16y ago · link · parent

I wonder if we're having a Violent Agreement.

I'm not saying that you have to consciously play status ("decide to play"). I'm saying that when you interact with someone else, you are playing a certain level of status in relation to them, whether you are aware of it or not.

Engaging in some phony behavior will, of course, make people perceive you as a phony, with all the loss of respect that that entails. Respect, of course, is a big part of status. When you don't respect someone, you tend to play higher status toward them.

15.

What managers really do(uu.edu ↗)

13 points · by bkovitz · 16y ago · 5 comments

comment 16y ago · link · parent

Actually, status (as described on that page) is something you play, moment to moment. You are giving off a signal of "don't come near me, I bite" or "don't bite me, I'm not worth the trouble" or something somewhere in between, every second that you interact in person with someone else. Unlike stupid tricks like "mirroring", giving off status signals is not something you can stop doing. What you can do, though, is become more aware of it, better able to modulate it. Socially adept people are very good at varying their status moment by moment. For many of them, it's probably not even conscious.

The main reason an actor needs to learn about status is to be able to make scenes realistic. When the characters don't have a status relationship, a scene looks wooden and fake.

BTW, playing high status is not necessarily better. People who relentlessly play high status in every situation are commonly called "assholes". (Usually behind their backs.)

comment 16y ago · link · parent

Wow, so this is where this new influx of traffic to my wiki came from!

comment 17y ago · link · parent

I would say maybe 20% (for me).

Now that I'm back in college, this time assistant-teaching as well as taking grad-level classes and sneaking in time for research, I am more amazed than ever by how wasteful the academic world is. They chop up your day into many context-switches (one of the worst things a knowledge-worker can do), they focus on lectures and exams instead of mentoring and experiences that bring about learning, they require useless courses, they emphasize grades relentlessly (known to decrease learning), and they present material out of context (so it's hard to retain or apply).

I think good teaching can be done in the academic world (I have seen some), and of course it's the place to go to do scientific research. But overall, the academic world is just not very good at what it does (except arguing about minutiae and winning research grants and endowments). The basis of its strong market position is subsidies and prestige. It's ripe for competition from savvy entrepreneurs.

comment 17y ago · link · parent

I also dropped out of high school. I just stopped showing up, and spent my days writing code. Way better education than classes.

About truant officers: One day, walking along the sidewalk at 10:00 a.m. or so, I saw a truant officer walking along the sidewalk, too, in the opposite direction. He spotted a different teenager, also walking along, and arrested him. I think the truant officers ignored me for two reasons: because I didn't look like a truant, and because I lived near a college campus. I didn't have a computer of my own, so I went to the college campus and wrote code there every day. I probably looked like a "precocious" college student (I was 15, and probably appeared 13).

BTW, I never saw any difficulty later in life due to dropping out of high school. I've never seen anyone look at anyone's grades on a résumé or job application, never had anyone give a damn about my lack of credentials.

And now I'm a Ph.D. student.

comment 17y ago · link · parent

Thanks to all for the many informed and detailed replies!

I am now assistant-teaching a college course in low-level computer programming. It's an excellent course: the students reprogram a children's toy robot that uses the ARM processor. http://www.amazon.com/Little-Tikes-Giggles-Remote-Control/dp... They're getting up to speed very quickly on how to get hardware to actually do stuff.

Yes, I actually left Silicon Valley to do grad school. I haven't given up the principle of "do real stuff, see real results", though. I'm looking to design a couple fairly small homework assignments consisting of optimizing some ARM code. I want the examples to be real. Now mulling over which to do...

comment 17y ago · link · parent

Testify!

15 years ago, I did Intel-style assembly--and loved it even with all its clumsiness. But I just dove into ARM a few weeks ago, and am loving it even more. Such sweet pleasure to code so close to such a beautiful and simple machine!

comment 17y ago · link · parent

Thanks! Especially for the numbers. I had not even heard of RTL simulation before. Wow, extremely cool.

23.

Ask HN: What is hand-coded assembly language used for these days?

32 points · by bkovitz · 17y ago · 58 comments

comment 17y ago · link · parent

The first rule of programming is indeed "don't program". But that's not because buying off-the-shelf code makes you more productive than writing code yourself. It's because software solutions are usually worse than manual solutions.

Here's a typical example, one I just ran into today. For a course, I need to enter some data into some system that stores grades. It doesn't just store grades, though, it tries to calculate grades--by various rules and heuristics, which you are likely to misunderstand. They have written a lot of code for the import process, to, you know, take the burden off the poor teacher, by calculating the grades.

Of course, it's such a pain, and so error-prone, the much easier solution would be to just make a spreadsheet containing the grades and upload it, and have the program do nothing but display the results or whatever actually needs to be done. That would remove 95% of the code written for this thing. And make it work better.

Another one, which I ran into a few weeks ago. I needed to add a class. The professor needed to approve it. The software was so confusing, the prof couldn't figure it out (he is a world-renowned professor of computer science, BTW). After a couple weeks of this, I finally got a sheet of paper and had him sign it. I brought that sheet to the expert in operating the mysterious System, and that finally got the job done.

Some software does obviously help the university run better. Every line of code after that makes it run worse.

comment 17y ago · link · parent

"tangible"?

comment 17y ago · link · parent

Thanks, Val. From http://www.petersons.com/collegeprofiles/Profile.aspx?inunid..., it looks like Gallatin only does master's degrees, but this shows that someone has been exploring in this direction.

comment 17y ago · link · parent

Well, obviously there are. I had that when I was an employee a few times. A friend of mine is studying organ in a master's program. She practices organ 2-4 hours a day, early every morning. She spends a month or two (or more) getting good at a really hard piece, really getting to know it, mastering it. I envy the day-to-day continuity that she has. Other stuff during the day is OK, like easy classes, but not something else that occupies the subconscious "workspace".

Could that day-to-day continuity be achieved in a scientific/mathematical grad program? In a solo business?

comment 17y ago · link · parent

Here's another idea: Instead of getting good at context-switching, are there ways to set up your life so you get to stay focused (and still pay the rent)?

comment 17y ago · link · parent

You know, I think you've pegged it. Keeping it in my head is probably the main factor.

I write down lots of thoughts and tiny tasks in a notebook as I'm working, and check off the tasks as I go, but that's not really setting up for context-switching. When I'm writing code, I'm following inspiration: playing out the idea in my head, or rather, using the act of writing code to cause the idea to become clarified and completed. While ramping up and while coding, the idea is taking shape.

Maintaining notes designed to enable context-switching sounds like something I could try. This is probably the key. This would enable working in smaller chunks of time, too.

Weird: Right at this moment, the thought terrifies me. I wonder if I'd have to completely change my creative process to make such notes.

Hmm.

12345
10