HNHacker News
TopNewBestAskShowJobs

henrikeh

807 karma · joined April 20, 2012

Contact: heh@optoceutics.com
submissionscomments
henrikeh··on Programming language notation is a barrier to entry
This post touches upon a subject that I really wish was more adopted: having alternate syntaxes for the sake of _clarity_. Syntax "bread" to the syntax sugar.

For example, regular expressions and date strings can be written in a nice and compact form, but how nice would it be write `Not(DigitalCharacter)` instead of `\D`? Or `TwoDigitYear` and `FourDigitYear` instead of `y` and `Y`. The same convenience exists in short and long command line flags; and optional named parameters in function calls.

henrikeh··on Why books don't work (2019)
I don’t see how this is an argument for how “books don’t work”. The author’s point seems to be that books don’t support learning, because books are static and can’t adapt to the thinking and working process of the reader/student. Something more is needed to “learn”.

This implies that the purpose of books is to “teach”, but is that so? Books at best “inform”. It is up to the reader to bring the framework for learning, be it the class setting, a study group or just experience enough to self-study.

henrikeh··on Goodreads’ reign over the world of book talk might be coming to an end
Goodreads does have that. It is called lists: https://www.goodreads.com/list?ref=nav_brws_lists
henrikeh··on Introduction to Ada
For those not familiar with Ada and bit representations, the compiler is exploiting the fact that types in Ada can have constraints that limit their size.

T1 is a type of integer ranging from 16 to 19 (inclusive). Thus, it can only be four distinct values (16, 17, 18, 19). Two bits is enough to represent these four distinct values and thus the binary representation of the type (in record R) can be reduced to 2 bits.

henrikeh··on Essential Coding Theory [pdf]
A lot of the notation in coding theory is drawn from set theory, like ∈ (set membership). Which, more specifically are you confused about?
henrikeh··on System UIcons – icons designed for products, no attribution
That is clever for sure, but the comment replied to referred to not understanding the symbols, despite being able to see them.
henrikeh··on The History, Status, and Future of FPGAs
And you do the same in VHDL and Verilog. And like in Chisel, you have to manually pipeline it and you can exactly control where registers are used and how resources are reused.

You could build something HLS like using Scala/JVM and Chisel, but Chisel itself is much closer to traditional HDLs.

https://en.m.wikipedia.org/wiki/High-level_synthesis

henrikeh··on We Need a Yelp for Doctoral Programs
The schedule a call when you found someone you can talk to.

Of course you lose something when physical presence is impossible, but in my experience you can always find someone who is happy to write, chat or call.

henrikeh··on The History, Status, and Future of FPGAs
Chisel is not a HSL. Chisel is much closer to VHDL and Verilog, since the hardware is directly described.
henrikeh··on We Need a Yelp for Doctoral Programs
You don’t have to bribe them... you can just write to them.
henrikeh··on What's New in Lua 5.4
It really isn’t. It’s just a way of communicating the problem domain in the language.

Maybe you should try it before passing judgement.

henrikeh··on What's New in Lua 5.4
I primarily work in 1-indexed languages, but I think everyone is missing the forest from the trees in this discussion: indexing should be selectable by the programmer.

One or zero indexing is a question about domain and communication. In signal processing, it is quite normal to need a negative index (autocorrelations f.x.). Ada (and I believe Pascal and Julia) has supported for specifying the indexing type, which can then be selected to match the problem domain.

henrikeh··on LibreOffice: The Next Five Years
Alt-key shortcuts work on the ribbon and search is build in as alt+Q (at least in Excel and Word). I use both daily.
henrikeh··on LibreOffice: The Next Five Years
> but they were fully committed (apparently having done ANY user testing)

It is a little hard to parse what you mean, but Microsoft did a quite substantial amount of research leading up to the ribbon. A quick search on the net will lead you to summaries of it.

henrikeh··on Zettlr – FOSS markdown editor for personal knowledge management and publishing
How do you generate flashcards from LibreOffice and what do you mean with “no modification”?
henrikeh··on Ask HN: What are some good resources to learn how electricity works?
There is no reason to be so absolute about it. I'm not saying it is a bad book or that you should read "Field and Wave Electromagnetics" before you ever dare touch a multimeter.

As an example of my reasoning. AoE and the Arduino starter kit cost roughly the same in my country. They are of course not comparable, but I'd would definitely recommend the latter to someone completely new to electronics, exactly because the latter gives the tools for experimenting.

henrikeh··on Ask HN: What are some good resources to learn how electricity works?
I just want to weigh in and say that fantastic as _The Art of Electronics_ is, it is _not_ geared for learning about electricity and electric circuits. The first 13-ish pages (3rd edition) deals with electricity and then quickly moves on to signals, electronics and everything else needed to _develop_ electronic systems.
henrikeh··on How the Nintendo Switch prevents downgrades by irreparably blowing its own fuses
One common use case of the fuses is to prevent attack vectors which downgrade software to a vulnerable version. Using the OTP fuses older versions can be prevented from running to some extend.
henrikeh··on Does Tweeting Improve Citations? One-Year Results from a Randomized Trial
> This is the state of science in a lot fields unfortunately. Many reviewers skim the paper, put in a thinly veiled complaint about why their own paper was not cited, and don't bother with the code.

Excuse me. Is this your actual experience or the meme that everybody is simply repeating?

In the admittedly few papers I have published, the reviewers’ feedback has been a net positive I wouldn’t be without.

Also, the general focus on code in science here on HN is so incredibly myopic and narrow minded. Code for research are not high-profile software projects. They are a piece in the toolbox used to solve a problem. Some grow to become larger projects, some fulfill their purpose and stay fixed in time.

henrikeh··on Ultra-dense optical data transmission over standard fibre with a single chip
And just to elaborate a bit further: Forward error correction is the coding (as in information coding) principle of how to enable error correction. The error correction still happens at the receiving end and it is aided by the redundancy introduced by FEC.
henrikeh··on Ultra-dense optical data transmission over standard fibre with a single chip
Yes. At least a general trend of increasing the demonstrated transmission rates year after year.

In the past five to ten years, there has however been a discussion of wether this can continue and if we hit upon the speculate “capacity crunch“ – aka reaching the operational fiber capacity. This is all considering a single fiber strand.

The limit to the rate through the fiber is not well understood and a quite active research area. Previously, the “limit” has been broken by technology shifts, such as coherent transmission, different amplifier technology, more advanced signal processing. The big question is what the next big shift will be. Combs, as presented in the article are a promising direction.

henrikeh··on Math-as-Code (2015)
Proper mathematical notation is absolutely for the input. Maybe not integrals and sums (which are a bit unclear), but fractions, powers and the more specialized notation is quite nice for readability.
henrikeh··on Zettelkasten note-taking in 10 minutes
You are not browsing the notes at “random”. You read your notes because you are working on something and what to see how your collection of notes might help you.

It takes effort to support this workflow. Notes have to be self-contained and of a somewhat permanent relevance. You don’t put raw reading and meeting notes there.

henrikeh··on Zettelkasten note-taking in 10 minutes
Yes, you could easily create a Zettelkasten in a single file. Or with pen and paper.

The gist is focused and self-contained notes, linked together to form structure and connections. A personal wiki with attention of recontextualization.

henrikeh··on Zettelkasten note-taking in 10 minutes
What more do you want?

Zettelkasten is very simple and that is the point: You create small and connected notes. This constraint turns out to be useful for research and writing for some people.

There is no trick or secret to it.

henrikeh··on Stop Taking Regular Notes; Use a Zettelkasten Instead
I think your skepticism and concern is well placed -- the output is what matters. But I'm a little confused about one aspect: what is it that you perceive as "complicated" and "complex" in this? Genuinely curious and not meant to be snarky.
henrikeh··on Do I need to go to university?
It reads a little like your are misunderstanding what is meant by “paid to go to university”. Danish citizens receive a grant called “SU” (Statens uddannelsesstøtte), which basically is a payment from the government for being enrolled in education. It is meant to be spend on food, rent, living, books etc

https://en.m.wikipedia.org/wiki/Student_loans_in_Denmark

henrikeh··on Have you ever asked yourself “how did research get done before LateX?”
Word is the preferred format in many fields.

In my field, Word is preferred for conference submissions, because the tight page limits (2-3 pages) is easier to work with in a WYSIWYG editor.

henrikeh··on SpaceX's Starship SN4 prototype fires rocket engine for first time
> Compare with steel where you can just hire a bunch of welders and build the damn thing out in the open.

I don't really know anything about welding nor about the forces acting on a rocket, but I remember reading that the effort in welding the Saturn V rocket was a feat in itself. It took a long time to train the workforce to perform the welds and extensive inspection was needed.

Does anyone know if this applies to this rocket too? Has welding progressed (or simply kept the skill alive)?

Edit: To anyone interested. The excellent book, Stages to Saturn, covered this (and everything else) in quite some detail.

henrikeh··on Emacs: The most successful malleable system
Doesn’t that argument just indicate that web browsers are in fact more widely used and “successful”?
← PreviousPage 4 of 9Next →