HNHacker News
TopNewBestAskShowJobs

paedubucher

152 karma · joined October 5, 2018

submissionscomments
paedubucher··on Theo de Raadt 'Re: new: lang/zig'
Can somebody tell me why this is "[flagged]"? I don't get it...
paedubucher··on Theo de Raadt 'Re: new: lang/zig'
Theo often sounds like that if somebody is using "handwavy" arguments.
paedubucher··on Theo de Raadt 'Re: new: lang/zig'
The porter obviously just copied Zig's elevator-pitch from the website instead of describing Zig in his own words. The latter would be more helpful to the community.
paedubucher··on Ask HN: Linux:How to protect mp4 file from copying but being able opened to play
"unfortunately"

If you want DRM, go to Microsoft or Apple.

paedubucher··on Go generics proposal moves to “likely accept”
LISP doesn't... but Racket and Clojure are already less puristic.
paedubucher··on Go generics proposal moves to “likely accept”
Code generation requires an additional build step. One thing I like about Go is that it feels like a scripting language (go run).

I guess writing a numeric library, like Python's NumPy, is a lot more convenient using generics. But I've never tried...

paedubucher··on Go generics proposal moves to “likely accept”
It's interesting how "angle brackets vs. square brackets" is such an issue for many Go programmers commenting on the generics proposals (including earlier ones).

Maybe it is just revealing where those programmers are coming from. Java and C++? Angle brackets! Eiffel, Scala? Square brackets!

Are there any parser considerations (like <Foo <Bar>> being an issue in C++, afair), or is it just taste (or Scala vs. C++ background)?

paedubucher··on Software That Sucks Less
Please also consider looking at the other picture of the same conference: https://suckless.org/conferences/2017/

"But Hitler also started his movement in the Bierkeller!!!1" ;-)

paedubucher··on Software That Sucks Less
I've been using dwm since 2010 and and still don't consider changing that. I use st at home (qterminal at work). dwm in combination with dmenu, slstatus, and slock runs fast on every machine with minimal resources and doesn't waste a pixel of your screen.
paedubucher··on Software That Sucks Less
No, that's not common. I guess that their humor is beyond edgy for most people. A related page is cat-v.org, which contains similar edgy jokes (see "Herrensystem 9" http://glenda.cat-v.org/gallery/)
paedubucher··on Software That Sucks Less
Is plan9 a good name for an operating system? It's named after (arguably) the worst movie ever. It's even bad as a trash movie. Is the code quality of plan9 bad?
paedubucher··on Software That Sucks Less
I smirked a bit when I saw that picture, because the camo trousers and the bald heads look a bit edgy in that context. But hiking with torches is nothing strange here, at least not in Switzerland. We often do this in the winter, for example when walking to a Christmas dinner together with all the employees from the company.
paedubucher··on Ask HN: How many hours per day do you work?
After ~15 years in IT, I found a position where I can work with very few interruptions. I always thought that I'm unable to focus for the whole working day because of the many interruptions. However, I figured out that 4-5 hours of highly focused programming is the most I can do for work. But I'm also able to do private work before/after that, but for work-related projects, I'm done much earlier.
paedubucher··on Basic Printing on OpenBSD
By the way, I read it here: https://www.cs.princeton.edu/~bwk/memoir.html Possibly it isn't written "reverse form feed", but something the like.
paedubucher··on Basic Printing on OpenBSD
Thanks for pointing this out! rcctl was added for OpenBSD 5.7, the manpage says. Absolute OpenBSD 2nd edition is older than that.

I'll update accordingly!

paedubucher··on Basic Printing on OpenBSD
Reminds me a bit of the prank they played at AT&T by sending reverse form feeds to the printer, so that the victim had to insert the paper afresh.
paedubucher··on Basic Printing on OpenBSD
I recently also suffered through some horrors with Cups. A new version was released, and old drivers didn't work together with it. And the manufacturer (Samsung, which sold its printer business to HP) didn't provide updated drivers, of course. So I'm happy to have some reliable facility to at least print PostScript. But Cups is fine if you get a proper and current driver for your printer.
paedubucher··on File System Interfaces for Go – Draft Design
Maybe Ken Thompson and Rob Pike worked on those C++ APIs, too. They certainly don't like C++, but also had to used it, and created Go out of frustration.
paedubucher··on Alacritty v0.5
I still have issues that the font is bigger on my laptop screen than on my external screen. This is really annoying.
paedubucher··on The Four Quadrants of Conformism
I think the example with the soccer field is great. People think and speak differently if they know that there are taboos.
paedubucher··on Sort of handy
It's not the pipeline that falls apart, it's the formatting of data that is applied too early in the process. Report the sizes numerically in the same unit, sort them numerically, and then format the numbers in a human readable fashion.

`sort -h` is only needed because `du -h` is used in the first place. I admit that `du -h` comes in handy often, it is better not used for further processing.

Your proposed approach is not only more Unix-like, but also does not require bloated implementations of `du` and `sort` capable of parsing human-readable size indications.

paedubucher··on EA will be releasing the C&C Tiberian Dawn and Red Alert source code under GPL3
I'd rather play those two games using OpenRA. Releasing Tiberium Sun (> 20 years old) RedAlert 2 (also 20 years old) would be a great move that actually made a difference.
paedubucher··on How do I learn to think better? (2019)
Gary Kasparov was a chess grand master, and, obviously, not a great strategists. Vladimir Putin, on the other hand, is not known for his chess abilities.
paedubucher··on Effective C: An Introduction to Professional C Programming
My intention was really not putting pressure on the publisher as a buyer of this book. I rather wonder why certain books have an early access option and others don't.

I probably won't be able to read it before July, anyway, because I have to finish my bachelor's degree first. But I think it's not a bad time for a financial contribution to my favorite tech book publisher, so I already bought the book "blindly".

paedubucher··on Effective C: An Introduction to Professional C Programming
I think it would be a better fit for a C++ book.
paedubucher··on Effective C: An Introduction to Professional C Programming
> There is absolutely no reason why a website should be build with c, sry...

Please tell this Felix von Leitner (fefe.de, blog.fefe.de), and post his reply in this forum.

His blog software is written in C. It's one of the most frequented blog in German speaking countries and running on a single machine (AFAIK).

Of course, not everybody has the expertise to build something like a blog in C.

paedubucher··on Effective C: An Introduction to Professional C Programming
Thanks for the insight! I really appreciate when the authors interact with the community.

Many books nowadays, also from NoStarch, are released as early access books. Your book does not run under the early access program, or at least not yet.

Is this a decision made by you as an author? Or is the kind of book not really suited for early access? I could imagine that introductory books work well as early access books; readers could work through the first couple of chapters, while later chapters are still being written or refined.

Just curious...

paedubucher··on Effective C: An Introduction to Professional C Programming
Working through a technical book of any substance, as opposed to just reading or skimming it, will take dozens of hours, no matter how terse or verbose the style is.

The book is supposed to be around 270 pages, so verbosity probably won't be an issue.

I am right now working through "Python Crash Course" as an intermediate Python programmer. I very quickly read through chapters 1-8 so far and did all the exercises (rather simple ones), just to make sure that I'm not missing out anything on the basics. In the last couple of chapters, I actually picked up two or three pieces of knowledge I wasn't aware of. I spent around five to ten hours on this so far. This approach sounds terribly inefficient.

However, working through a beginner's book as an intermediate Python programmer, and only getting half a dozen of really new information out of it, gives me the confidence I need at this stage. So I don't consider it as a waste, but rather as an exercise in patience and repetition.

Why am I telling you all this? Because I think people overrate the monetary costs of books.

paedubucher··on Effective C: An Introduction to Professional C Programming
Nah, fuqit, I'll just buy it ;-)

NoStarch never let me down so far, and paying USD 60 (or 40, or whatever) is such a marginal difference for a book you're going to spends dozens of hours on.

paedubucher··on Effective C: An Introduction to Professional C Programming
Maybe the others here in the forum can tell me, why I should risk buying the pre-order (30% off), when I have no chance of reading a sample chapter yet. (I'm actually thinking of doing this, because I'm looking for a good second book on C after having worked through K&R before.)

When I see that Brian W. Kernighan releases a book, it's an instant buy for me.

← PreviousPage 2 of 3Next →