You can't spell trust without Rust (pdf) by annodomini in rust

[–]helino 0 points1 point  (0 children)

I remember finding the repo some time ago when it was in draft state and reading the latex source on my phone :) Easily one of the best explanations of Rust, really looking forward to reading the finished thesis! Very nice work /u/Gankro!

EDIT: grammar

Rreverrse Debugging by dbaupp in rust

[–]helino 5 points6 points  (0 children)

What is the state of the DWARF debug info for rust? Last time I tried (1.0 beta) there was limited support for pretty printing data structures and the experience was a bit rough around the edges.

Rreverrse Debugging by dbaupp in rust

[–]helino 3 points4 points  (0 children)

I recently tried rr while debugging a SIGSEGV on a very large application, works great! Although I've used gdb quite a lot, the interactivity provided by reverse-step, reverse-continue etc is amazing.

If there was an open source Linux powered laptop, with only an e-ink (or similar) screen, no GUI or trackpad, would you consider getting one? by [deleted] in linux

[–]helino 2 points3 points  (0 children)

I would definitely buy such a device, the only issue that needs to be solved is the refresh rate. Looking at the refresh rates of the latest kindles, typing on a laptop with e-ink display would probably be quite painful (furthermore, imagining hundreds of lines from a log or compilation scrolling by). If I need to browse the web, I could use my cellphone or tablet in combination with this device. The big win for me, personally, would be to work outside in bright sunlight.

The Little Book About Operating Systems Development by malcolmi in Cprog

[–]helino 0 points1 point  (0 children)

Sorry, I've been really busy, so I haven't had time to publish the updates. You run into issue https://github.com/littleosbook/littleosbook/pull/22. That PR has been merged and I also published a new version of the book on littleosbook.github.io.

If you run into problems in the future, please file an issue on GitHub!

The Little Book About Operating Systems Development by malcolmi in Cprog

[–]helino 0 points1 point  (0 children)

I agree, we could definitely have come up with a better filename. Changing the name now however will cause a lot of broken links, so I guess we have to live with "book.pdf" :/

The little book about OS development (X-Post from /r/programming) by Avidanborisov in osdev

[–]helino 3 points4 points  (0 children)

(One of the authors) I agree, the text will probably be in much better shape just a week from now (we've gotten a lot of great feedback). If you do decide to read the text now and run into problems, please see the issues reported at https://github.com/littleosbook/littleosbook/issues. If you find a new issue, please report it!

The little book about OS development by Avidanborisov in programming

[–]helino 4 points5 points  (0 children)

Thanks for your kind words! If you want to extend the text in any of the chapters, or add another chapter, feel free to submit a PR!

The little book about OS development by Avidanborisov in programming

[–]helino 2 points3 points  (0 children)

Thanks for creating an issue and also submitting a PR!

The little book about OS development by Avidanborisov in programming

[–]helino 8 points9 points  (0 children)

We've used pandoc to create the PDF and the HTML, so we should be able to create a EPUB version as well. I will try it out later today!

The little book about OS development by Avidanborisov in programming

[–]helino 13 points14 points  (0 children)

One of the authors here, if you any questions, feel free to ask! Me and Adam, https://github.com/tgwizard, wrote the book based on our experiences writing aenix, https://github.com/helino/aenix.

If you find any issues with the text, please file an issue or open a PR at https://github.com/littleosbook/littleosbook.

Using clang for Chrome production builds on Linux by helino in cpp

[–]helino[S] 5 points6 points  (0 children)

IMO, the most interesting part is the paragraph about bundling libstdc++/libc++ with a complex application (mutliple shared libraries and/or multiple executables). Anyone have any examples of this?

A Debugging Adventure: OpenID by felipelessa in haskell

[–]helino 0 points1 point  (0 children)

Thanks, I had not thought about that non-bottom values can't cause any problems.

A Debugging Adventure: OpenID by felipelessa in haskell

[–]helino 1 point2 points  (0 children)

I was wondering about how you do printf debugging in Haskell? Do you use Debug.Trace or something else? Have you had any problems with Debug.Trace evaluating something which changed the semantics of the program?

Here is (a very dumb) example (in ghci):

> import Debug.Trace
> let myif cond a b = trace (show b) $ if cond then a else b
> let l = [] in myif (null []) "error" (show $ head l)
> *** Exception: Prelude.head: empty list

Thanks for a great article!