Better HN
topnewbestaskshowjobs
Log inSign up

stettberger

170 karma · joined Jan 5, 2011 (15y ago) · 29 submissions

Submissions

1.

Java2k – Probabilistic Programming Language(p-nand-q.com ↗)

3 points · by stettberger · 1y ago · discuss

comment 2y ago · link · parent

I had quite some fun implementing this at a very lovely lake in Sweden, while my colleagues were attending GPCE.

3.

Show HN: Notebook – A PGF/TikZ LaTeX Package for Custom Note-Taking Templates(github.com ↗)

3 points · by stettberger · 2y ago · discuss

comment 2y ago · link · parent

Sure that is directly possible without further tinkering:

\notebookpage{todo={[bottom,draw]3},fill dotted,paginate}

This will create a dotted page with 3x2 todo notes at the bottom. The todo fields are surrounded by a box (draw), and the page is paginated.

comment 2y ago · link · parent

You would not believe it, but I just created (this week) a Latex TikZ library that helps me to create templates / journal inserts for the use case of handwritten notes. Although I believe in DIN A5 paper, it might be useful for someone:

https://github.com/stettberger/notebook

6.

Advent(2): Let the Children Speak Up(osg.tuhh.de ↗)

1 points · by stettberger · 3y ago · discuss

7.

Advent(2): Workbench Management (Dec 4)(osg.tuhh.de ↗)

2 points · by stettberger · 3y ago · discuss

8.

Advent(2): A Map to Persitence (Dec 3)(osg.tuhh.de ↗)

2 points · by stettberger · 3y ago · discuss

9.

System-Call Advent(2)-02: Clone a Chimera(osg.tuhh.de ↗)

3 points · by stettberger · 3y ago · discuss

10.

Advent(2)-01: The cat on the tip of the iceberg(osg.tuhh.de ↗)

2 points · by stettberger · 3y ago · discuss

comment 3y ago · link · parent

And I won't tell you whether the material is required to pass the exam or not!

12.

Advent(2) – The System-Call Advent Calendar(osg.tuhh.de ↗)

3 points · by stettberger · 3y ago · discuss

comment 6y ago · link · parent

That is very cool! Do you have a link to that implementation? I would be very interested in the problems that arise when you want to provide a rock solid implementation of this.

comment 6y ago · link · parent

Hi! Author of DynamicScope<T> here.

Regarding threads: It is correct that the current version of the template has a problem with multi-threaded programs. However, as adding 'thread_local' to the global variable is sufficient to solve the problem, I did not mention this in the original post. However, I updated the blog post in this direction. Furthermore, I added a (run-time) check that ensures that you use DynamicScope<T> only with thread_local.

Regarding Lambdas: I don't think there is a problem here. Dynamically scoped variables promise to return that value that is the most currenly bound in the current execution context. As the resolution is done on dereferencing, this is the exact behavior that DynamicScope<T> provides. This means that a lambda does not (lexically) catch the value of the dynamically-scope variable at definition time, but at the execution time of the lambda.

15.

Dynamic Scoping in C++(blog.dokucode.de ↗)

33 points · by stettberger · 6y ago · 62 comments

16.

Show HN: RT.js - Real-Time Scheduling of Preemptable Threads in JavaScript(github.com ↗)

2 points · by stettberger · 6y ago · discuss

17.

Show HN: Git externals that work like SVN externals(github.com ↗)

2 points · by stettberger · 7y ago · discuss

18.

Show HN: Haskell Package Integer.IsPositive(hackage.haskell.org ↗)

2 points · by stettberger · 10y ago · discuss

19.

BSD /etc/malloc.conf: Use symlinked filename as config(openbsd.org ↗)

3 points · by stettberger · 10y ago · discuss

20.

Chess written in Bash(github.com ↗)

3 points · by stettberger · 11y ago · discuss

comment 12y ago · link · parent

Sweden, Too much time, Masterthesis was submitted.

comment 12y ago · link · parent

I already considered that, but until now i did not implement many peripheral devices. But when implemented those, it should be possible. But at the moment i'm rather thinking of an VHDL netlist emulator in TeX.

comment 12y ago · link · parent

The dataref package is intended to be useful (and it acutally is). Avremu was only a long trip in sweden without internet, an editor and a reference manual.

comment 12y ago · link · parent

This is true, but largly in TeX and only Parts of it in LaTeX is still LaTeX. But you're right, I did use only a few rudimentary features.

25.

Show HN: Avremu – An 8-Bit Microcontroller in Pure LaTeX(gitlab.brokenpipe.de ↗)

122 points · by stettberger · 12y ago · 18 comments

26.

LaTeX: dataref -- reference symbolic data points(github.com ↗)

1 points · by stettberger · 12y ago · discuss

comment 15y ago · link · parent

Next step is a Ringworld?

comment 15y ago · link · parent

Hm, yeah Regular Expressions are great, but they are also fragile and slow. The generator will, from what I se only generate very strict regexes, that will break if the input differs just a little bit.

comment 15y ago · link · parent

Unsupported OS... Right....