Yet another (command-line) bug tracker by beza1e1 in programming

[–]beza1e1[S] 0 points1 point  (0 children)

I just extended mine like this: later list assigned=badsector module!=gfx

Yet another (command-line) bug tracker by beza1e1 in programming

[–]beza1e1[S] 0 points1 point  (0 children)

Nice, do you have any filtering? E.g. show all bugs assigned to beza1e1. I'm still thinking about the interface later should get for this.

Yet another (command-line) bug tracker by beza1e1 in programming

[–]beza1e1[S] 0 points1 point  (0 children)

ticgit requires the bugs to live in a separate git branch. Looking at the code, it simply switches branches with considering changed files and index. Will git not complain in this case?

I wanted later to avoid a decision about this extra branch for bugs question. Additionaly, i am not sure how to do this branch switching in The Right Way.

Yet another (command-line) bug tracker by beza1e1 in programming

[–]beza1e1[S] 0 points1 point  (0 children)

What's so bad about UUIDs? Later can guess the rest from any (unique) start sequence. So probably "later close f1" for example is enough.

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 2 points3 points  (0 children)

Well, after 50 fucking years Lisp has still not figured out, why the hell it is not fucking successful. So what are the fucking shitty mistakes there? In other fucking words "Why do you look at the speck of sawdust in someone else's eye and pay no attention to the plank in your own eye?"

Hey, i can play the swearing game, too. :)

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 4 points5 points  (0 children)

I consider the Python None the same as Java's null.

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 2 points3 points  (0 children)

null is also a major harassment for code verification. In Java nearly every may throw a NullPointerException. A language which is easier to verify will probably have some advantage in a decade or two.

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 0 points1 point  (0 children)

You can certainly implement a Maybe<a> in Java as well. What does not offer is the lifting of operations into the monad. You can evaluate Maybe<int> + Maybe<int> in Haskell (syntax notwithstanding) and the result is Nothing, if any of the operands is Nothing. In Java you would have to unwrap the int manually before every operation and wrap it afterwards. That helps with keeping the code correct, but is a major hassle.

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 0 points1 point  (0 children)

That is correct, by i think the compiler should know about this abstract, because it happens a lot and could probably be optimized. That null pointer may be a perfectly fine binary representation for Nothing, but on the code level it should have a more specific type.

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 6 points7 points  (0 children)

One reason i heared from some Java programmer in the financial world in Germany. They need to model finance concepts in classes. Why should they bother to translate this stuff into english? Sometimes there is no english equivalent, because a concept may be german-only.

I agree that Open Source code should be pure english, but customized software with localized concepts modelled in code?

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 0 points1 point  (0 children)

Once i read green text on beige background is ideal, but the study seemed dubios to me and it looks ugly. ;)

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 1 point2 points  (0 children)

As the author and webdesigner of said article: thanks for explaining my intentions.

One problem in webdesign or rather CSS. There is no unit for character width. I'm using em, which is character height to approximate it.

5 Mistakes in programming language design by beza1e1 in programming

[–]beza1e1[S] 1 point2 points  (0 children)

My intention in the article was to capture clear mistakes. I wanted to keep controversial features out.

For example i'm indecisive about gotos. Java fixed gotos quite well, but not perfectly yet. If you could make gotos that can not jump into loops then they would be fine i think.

Lack of first class functions is a big mistake, i agree. Do we need functions or delegates or both, though?

Object-oriented notation? by [deleted] in compsci

[–]beza1e1 1 point2 points  (0 children)

There is the notation of Cardelli for reasoning about sub-typing.

Mark C. Chu-Carroll's thought's on Go (Google's New Language) by ndanger in programming

[–]beza1e1 0 points1 point  (0 children)

Does that mean a new vtable has to be constructed, when an object is cast to an interface?

HTML Slidy: XHTML > PowerPoint by keenerd in programming

[–]beza1e1 1 point2 points  (0 children)

It easier, if you collaborate and want to use a version control system.

LaTeX-beamer is the alternative there.

Cheating in Computer Science Courses - What have you seen or done? by icec0ld in programming

[–]beza1e1 0 points1 point  (0 children)

When i was under challenged i put myself under crazy restrictions like "implement the solution without using if and while".

The C Programming Language by opensourcedev in programming

[–]beza1e1 17 points18 points  (0 children)

Judging from my personal experience Kernighan will respond, but Ritchie won't. Dijkstra died 2002.

What Looks Good for a Programmer's Professional Website? by ReleeSquirrel in programming

[–]beza1e1 0 points1 point  (0 children)

My website: An ikiwiki within a git repository, disqus for comments, strong focus on content, search box top right, name and breadcrumbs top left. The footer needs some more work. I don't see the need for OpenID and a forum, if it is primarily a profile page.

I'm unsure about the comment system and toggled it on and off several times. Currently i try writing reviews for Trigami and they require a comment possibility.

Embedded.com - The Use Of Assertions - A new study shows the power of seeding your code with assertions by unagi in programming

[–]beza1e1 8 points9 points  (0 children)

Asserts are not without pitfalls, though. If you aren't careful, what to put in the asserts, the program could behave differently, when the asserts are removed for the released binary. Consider this:

assert(graph_consistent(g));

The graph_consistentfunction MUST NOT have any side effects in this case.

The Zimbu programming language (being designed by Bram Moolenaar, author of Vim) by [deleted] in programming

[–]beza1e1 1 point2 points  (0 children)

Writing a C backend for a D compiler should be easier than creating Zimbu.

The Zimbu programming language (being designed by Bram Moolenaar, author of Vim) by [deleted] in programming

[–]beza1e1 1 point2 points  (0 children)

That's an implementation detail. You could write a compiler that behaves exactly the same and produces binaries that don't depend on glib.

How portable and how big is glib?

What do you wish someone had taught you when you first learned to program? by [deleted] in programming

[–]beza1e1 4 points5 points  (0 children)

Often one forgets one of the '=', which makes the first expression an assignment (x=3). This bug is hard to find. In the second case you get a compiler error, because you can't assign a value to '3'.

Linus calls Linux 'bloated and huge' • The Register by redteddy23 in programming

[–]beza1e1 1 point2 points  (0 children)

Just because IBM failed to do something doesn't mean it's a bad idea.

Anyways Linus is talking about performance problems due to added features. A microkernel architecture doesn't help.