luismarques

Joined 13 years ago

Karma
157
Submissions
24
Member since
Jul 26
www.luismarques.eu
View on Hacker News

Recent submissions

Comment · 6 years ago
It's just exposes a UART (serial port) to USB device. With the right driver you'll get a serial port (ttyUSB, COM port, etc.) in your OS/
Comment · 6 years ago
It also happened to me. It was a Firefox compatibility issue, it played with Chrome.
Comment · 8 years ago
This will come in handy. Thanks!
Comment · 8 years ago
Author here. Ask me anything. Feedback also welcome.
Comment · 10 years ago
If you want to check how this idea is taken to way more sophisticated levels than this, then check out D's ranges and algorithms. This article only covers the equivalent of input iterators / ranges. You can also find in D sophisticated ways to deal with the last part of the article, regarding how to ascertain the different capabilities of your range/type, in ways that go beyond the traditional type system and OOP concepts.

edit: (also, D's lazy keyword, which performs the transformation described in the article automatically)

Comment · 11 years ago
I think he meant that the decoding latency is 1 cycle, not that per 1 cycle the core can only decode one instruction.

That is, each baby takes 9 cycles to form, but per 9 cycles the population can have more than one baby.

Comment · 11 years ago
I used to use D for larger tasks and Python for quicker ones, like processing some text file and so on. One day I realized that I prefered using D even for those smaller tasks, where quick and dirty solutions would do. One thing that helped was that the standard algorithms (from the std.algorithm module) are really useful and compose very well, once you get to know them, and allow solving those kinds of tasks both quickly and efficiently.
Comment · 11 years ago
Try programming with (std.)ranges and (std.)algorithm's. It's something completely refreshing, replacing a mess of loopy code with a clean pipeline of algorithms. The lazy nature of the standard algorithms and the clean syntax you get with the UFCS feature produce some really neat results. Even if you end up not using D any further, it can change your view of programming.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton