Better HN
topnewbestaskshowjobs
Log inSign up

laowantong

48 karma · joined Aug 29, 2020 (6y ago) · 28 submissions

Submissions

1.

The AI Scientist Generates Its First Peer-Reviewed Scientific Publication(sakana.ai ↗)

1 points · by laowantong · 1y ago · discuss

comment 1y ago · link · parent

A great addition to a field where there aren't many offerings: SQL Island (https://sql-island.informatik.uni-kl.de) and SQL Murder Mystery (https://mystery.knightlab.com) come to mind. The mechanism of SQL Noir is close to that of the latter, i.e., an undirected, essentially standalone adventure. I myself am working on SQLab, a SQL game engine that allows you to augment an arbitrary base with exercises on that base to produce directed, standalone adventures: https://github.com/laowantong/sqlab. You download a dump of the database (currently MySQL, SQLite, Postgres), and can play under any administrator interface. On the same page there's a link to the long police investigation I designed for my (French) students. If you're a teacher or researcher in the field, the principles of SQLab are explained here: https://arxiv.org/abs/2410.16120.

3.

Let AI name your files to fit the contents(riffo.ai ↗)

4 points · by laowantong · 1y ago · 2 comments

4.

Suspicious sale of Melania Trump's NFT (2022)(vice.com ↗)

3 points · by laowantong · 1y ago · 1 comment

comment 1y ago · link · parent

A goldmine of Logo exercises, where the goal would be to write the shortest program for a given drawing. All of them could be classified by Kolmogorov complexity.

6.

Brain Drain: David vs. Goliath(stackoverflow.blog ↗)

1 points · by laowantong · 2y ago · discuss

7.

Lean (Proof Assistant)(en.wikipedia.org ↗)

2 points · by laowantong · 2y ago · discuss

comment 2y ago · link · parent

At beginner level, there is SQL Island https://sql-island.informatik.uni-kl.de, with versions in German, English and French.

9.

Guano Islands Act(fr.wikipedia.org ↗)

2 points · by laowantong · 2y ago · discuss

comment 2y ago · link · parent

As an Airbnb host, I have done this sort of thing for my guests and my own usage, but with a "flat" structure: a simple, searchable inventory (https://maisonrougevernet.fr/inventaire) which doubles as technical documentation for some items (with optionally links to PDFs, videos, etc.).

comment 3y ago · link · parent

Warning: French-flavored ERD, aka Merise MCD.

Text-to-diagram tools are great, but often make the user struggle with the automatic layout (e.g. Graphviz).

Mocodo adopts a mixed approach to the layout problem : diagram-as-text, but the line breaks and the order of the nodes (entities and relationships) are used as positional hints. The resulting layout is constrained to an invisible grid corresponding to a left-to-right and top-to-down reading of the source.

Moreover, since there are relatively few possible grid positions, automatically rearranging the layout becomes an assignment problem, which can be solved by a simple b&b algorithm.

Obviously, this wouldn't scale, but this is just a teaching tool that I use to present small ERDs to my students.

You may test it at https://mocodo.net. Click the turning arrows to draw the diagram and the shuffle symbol to rearrange it randomly.

12.

Mocodo, a grid-constrained text-to-ERD tool(mocodo.net ↗)

3 points · by laowantong · 3y ago · 1 comment

comment 3y ago · link · parent

My own tool adopts a mixed approach to the layout problem : diagram-as-text, but the line breaks and the order of the boxes (entities and relations) are used as position hints. The resulting layout is constrained to an invisible grid corresponding to a left-to-right and top-to-down reading of the source.

Moreover, since there are relatively few possible grid positions, automatically rearranging the layout becomes an assignment problem, which can be solved by a simple b&b algorithm.

Obviously, this wouldn't scale, but this is just a teaching tool that I use to present small ERDs to my students.

You may test it at https://mocodo.net. Click the turning arrows symbol to draw the diagram and the shuffle symbol to rearrange it randomly.

Warning: French-flavored ERD, aka Merise MCD.

comment 4y ago · link · parent

Tag and recommend Python exercises based on algorithmic features

15.

Paroxython 0.7.0(github.com ↗)

1 points · by laowantong · 4y ago · 1 comment

16.

An open-source online reverse dictionary(github.com ↗)

1 points · by laowantong · 4y ago · discuss

17.

Jason Padgett(en.wikipedia.org ↗)

2 points · by laowantong · 5y ago · discuss

18.

How Social Media Is Speeding Up Zhengzhou Flooding Rescue Efforts(whatsonweibo.com ↗)

1 points · by laowantong · 5y ago · discuss

19.

The End of Pestilence(quillette.com ↗)

2 points · by laowantong · 5y ago · discuss

20.

Working Oneself to Death in China(whatsonweibo.com ↗)

44 points · by laowantong · 5y ago · 14 comments

21.

On the lack of innovation in the last 20 years(quillette.com ↗)

10 points · by laowantong · 5y ago · 3 comments

comment 6y ago · link · parent

I've been teaching programming with Python at various levels for the last 15 years. Over time, the exercises, examples, algorithmic patterns I accumulated for these courses became so numerous that I started to have trouble finding my way around: which ones to present in which course, in which order, at which time, and with which expected benefits?

I developed a tool to help me answer these questions, and more generally to rethink the structure and content of my curriculum. After a few years of tinkering with a rough implementation of these ideas, I decided to rewrite it from scratch with the hope of making it useful to my colleagues, and anyone facing the same issues: this is how Paroxython was born.

How can you use it? In a preliminary step, you make it tag your collection of educational Python programs. Then, whenever you want, based on the things your students already know, the concepts you intend to make them discover or practice, and those you wish to introduce later (or never), it recommends you a list of programs roughly ordered by increasing learning costs.

23.

Show HN: Tag and filter your database of Python algorithms(github.com ↗)

1 points · by laowantong · 6y ago · 1 comment

comment 6y ago · link · parent

I've been teaching programming with Python at various levels for the last 15 years. Over time, the exercises, examples, algorithmic patterns I accumulated for these courses became so numerous that I started to have trouble finding my way around: which ones to present in which course, in which order, at which time, and with which expected benefits? I developed a tool to help me answer these questions, and more generally to rethink the structure and content of my curriculum. After a few years of tinkering with a rough implementation of these ideas, I decided to rewrite it from scratch with the hope of making it useful to my colleagues, and anyone facing the same issues: this is how Paroxython was born. How can you use it? In a preliminary step, you make it tag your collection of educational Python programs. Then, whenever you want, based on the things your students already know, the concepts you intend to make them discover or practice, and those you wish to introduce later (or never), it recommends you a list of programs roughly ordered by increasing learning costs.

25.

Show HN: Filter Python programs by algorithmic features(github.com ↗)

2 points · by laowantong · 6y ago · 1 comment

26.

“Structural pattern matching” for Python, part 1(lwn.net ↗)

2 points · by laowantong · 6y ago · discuss

comment 6y ago · link · parent

I've been teaching programming with Python at various levels for the last 15 years. Over time, the exercises, examples, algorithmic patterns I accumulated for these courses became so numerous that I started to have trouble finding my way around: which ones to present in which course, in which order, at which time, and with which expected benefits?

I developed a tool to help me answer these questions, and more generally to rethink the structure and content of my curriculum. After a few years of tinkering with a rough implementation of these ideas, I decided to rewrite it from scratch with the hope of making it useful to my colleagues, and anyone facing the same issues: this is how Paroxython was born.

How can you use it? In a preliminary step, you make it tag your collection of educational Python programs. Then, whenever you want, based on the things your students already know, the concepts you intend to make them discover or practice, and those you wish to introduce later (or never), it recommends you a list of programs roughly ordered by increasing learning costs.

To all of you who are going back to school in, and despite, these difficult times, I wish you a year filled with beautiful human and pedagogical experiences.

28.

Show HN: Paroxython - recommend Python exercises based on algorithmic features(github.com ↗)

4 points · by laowantong · 6y ago · 1 comment