HNHacker News
TopNewBestAskShowJobs

signaru

471 karma · joined March 3, 2020

submissionscomments
signaru··on Developer wrote 25k lines of Neovim plugin code using phone and touchscreen
If it would be less trouble (because of customs and other external factors), and assuming it can help, maybe a phone keyboard can also be considered? An OTG cable plus a normal USB keyboard might also be a solution if portability is not a requirement.
signaru··on Vintage digicams aren't just a fad. They're an artistic statement
While I gladly embrace the shift to solid state, I find the mechanical engineering in old electronic devices, cameras in particular, quite fascinating.
signaru··on Monocle: Optics Library for Scala
The name, monocle, also further misleads those expecting the physics topic. They actually have a nice logo with a lens and the lambda symbol which is often the symbol used for wavelength.
signaru··on Why don't you move abroad?
Entrepreneurship sure may be difficult as a whole. However, some difficulties are not really necessary. For me, it's a matter of seeing the end goal and removing as much obstacles as possible to get there faster (optimizing for time). I see the need to have a proper job or chase funding as additional obstacles if you are abroad.
signaru··on Why don't you move abroad?
Opportunities that require big risks is also another factor. My academic acquaintances abroad may be doing well financially and travel-wise, but they all have to live their foreign bosses' ambitions despite being very bright people. It's far easier to take crazier entrepreneurial risks with the safety nets in one's own home-country.
signaru··on Visual Basic 6 IDE recreated in C#
Having built both desktop-native and browser-based apps, I think there is an efficiency in doing the widget layouts textually via code/markup once you get over the learning curve. I believe Qt and wxWidgets also have automatic layout features, but doing this on top of C++ maybe makes the experience less smooth. So far form designers in Visual Studio require manual pixel layouting, which becomes tedious as the GUI evolves to be more complex. This is great for beginners as dragging and dropping controls is so easy to learn. But as soon as you have a dozen or so controls, you start to notice the time spent manually dragging/aligning/sizing that is absent in markup-based or procedurally generated GUIs that do the layout calculations for you.
signaru··on A Student's Guide to Writing with ChatGPT
It gets worst when these users/students run to others when the AI generated code doesn't work. Or with colleagues who think they already "wrote" the initial essay then pass it for others to edit and contribute. In such cases it is usually better to rewrite from scratch and tell them their initial work is not useful at all and not worth spending time improving upon.
signaru··on Ask HN: What would you preserve if the internet were to go down tomorrow?
My personal/work files for which the physical media of origin no longer exists. Source codes, mine and of others that I care about. Compilers. Lots of books and Wikipedia.
signaru··on Ask HN: How to Learn 'To Think'?
Build/make something. Preferably something new to you and preferably on your own as much as possible (even if you're following someone else's instructions).
signaru··on Stop Designing Your Web Application for Millions of Users When You Dont Have 100
This also applies when calculating losses from paying third party services.
signaru··on Exercise May Be the Most Potent Medical Intervention Ever Known
I think there are evolutionary arguments for it, besides avoiding sickness:

* Generally, the opposite sex is physically attracted to fit individuals.

* Finding food prior to agriculture or paying others.

* As for sugar, I'm not so sure, but maybe the plant's benefits also have to be considered (e.g. propagating seeds through fruits).

signaru··on Ask HN: Could early 80s computers have had better software given today's CS?
Maybe cheating a bit if we allow compilers to run on more powerful machines, different from where the program will run. It could be possible to utilize more modern or "ergonomic" programming languages or rely on convenient libraries (assuming they are also efficiently coded). Programming languages in the 80s would not be as fun as what we have today partly because they were designed for limited hardware and partly because there's not a lot of other languages to learn from yet. IDEs, tooling and libraries have also come a long way.

Knowledge access is also something that has improved significantly. Programmers back then may not have had all the information that could have improved their work.

signaru··on Free Text-to-Speech App with natural voices
I believe Audible is already using non human speakers as well and just making up names for the narrators. I can tell since sometimes pronunciations are wrong and sound similar to TTS mistakes.
signaru··on Writing a C Compiler: Build a Real Programming Language from Scratch
Have read the first few chapters and it expects that you either read the accompanying source code or implement your own and pass the tests. The pseudo code presented in the book often look like function calls with the inner details not there in the book. Furthermore, as already pointed out in another comment, the available implementation is in OCaml, which is probably not something many C programmers have experience with.

Nevertheless, I think I'm learning more from this book than most other books I've tried before that are far more theoretical or abstract. I'm still eager to reach the chapter on implementing C types. I think it's a good book, but it requires more effort than something like Crafting Interpreters or Writing a Compiler/Interpreter in Go, while also covering topics not in those books.

signaru··on Foobar2000
I use Audacious on Ubuntu as I can almost get the same UI configuration as foobar2000, tabs of playlists which can be made on the fly or from saved files. A music player app is something I always use on the background, so all the fancy visualizations or album art are not so useful for me. It's also sad that the default music player on Ubuntu (Mate) doesn't have a volume control out of the box.
signaru··on Railroading the Pascal Language
It might be fun to look at the last few chapter's of Wirth's "Algorithms + Data Structures = Programs" for a deep dive and similar looking diagrams.
signaru··on Crafting Interpreters
Thorsten Ball's books are the closest thing to Crafting Interpreters. Not just by topic, but also with how the code is presented. By far these are among the few books I know that take the effort to guide the reader to programming something complex from scratch, while also being testable as the program grows. This means that previously presented code changes along the way as new features are added.

A lot of other "code yourself" books, on the other hand, simply slice already finished codebases, and there's no way to test a simpler incomplete version of the program unless the reader makes extra effort and go beyond what is presented in the book.

While there is a lot of overlapping topics in Nystrom's and Ball's books, there are also enough differences to learn something new from the other. Ball's books uses the same parser and AST as front ends to both tree-walking and VM interpreter. CI, on the other hand, skips the AST for the VM interpreter, and also teaches extra topics like implementing garbage collection, dictionaries/hashtables and class-based OOP.

signaru··on Ask HN: Do AI-generated images ruin technical posts for anyone else?
I find memes to be more annoying as the meme stock images are far less likely to be relevant and to add any value. AI generated images, on the other hand, are sometimes used to illustrate something useful. Given a choice, I would personally still prefer non AI images though as I appreciate the effort and the "personal touch".
signaru··on Python with Braces
begin/end might be more familiar. Some languages don't even have the equivalent of (Pascal's) "begin" since other keywords are already associated with starting a block.
signaru··on Python with Braces
Maybe no longer true today, but with the right tools, C# and VB.NET used to be auto translatable from each other and IL can be decompiled to either.
signaru··on NexDock turns your smartphone into a laptop
Sometimes I still find the need to write a lot on a phone and it's thumb typing in a touch mobile device that frustrates me the most. I believe a good add-on keyboard, preferably just as portable as the phone, would have more use cases than a hollow laptop that can be just as big (and similarly less convenient) as a normal laptop.
signaru··on Is anyone interested in a better Hacker News?
I would be interested with an ability to temporarily filter (show only from / hide from) shared links from a specified domain or see all posts of the same type (e.g. Ask HN, Tell HN). But without having to be a full blown search.
signaru··on Ask HN: How to find a new job when I'm not good at networking?
If you have time, blog or share code. If things work well, you could get audiences, but there is much less socializing. Writing also helps in becoming more articulate when opportunities for conversations arrive.
signaru··on Google Sheets ported its calculation worker from JavaScript to WasmGC
Yes, unfortunately. I hope though that LLM's reliance on training data would at least give human writers an advantage when it comes to novel content such as new tech.
signaru··on Google Sheets ported its calculation worker from JavaScript to WasmGC
I'm actually biased towards older articles, given the rise of SEO oriented writing, and now, LLM generated content. Standing against the test of time should be a badge of honor. But readers like me may be the minority.
signaru··on Diffractive Chocolate
I feel weird about edible artwork. Do I buy it for food or do I buy it as a piece of art? How many of it would I ever buy? Then there's also the added costs to both sides. It might be very niche.
signaru··on Free Quality SoundFonts (Sf2)
For those who want to broaden their options and are not really constrained to only using SF2, the SFZ format has a similar purpose and there are many free instruments as they are easy to create (a text markup referring to the, typically WAV, audio files as is). Plogue sforzando [0] (freeware) is my favorite plugin for SFZ files. I learned about SFZ via an orchestra set called the Sonatina Symphonic Orchestra [1,2].

[0] https://www.plogue.com/products/sforzando.html

[1] https://sso.mattiaswestlund.net/

[2] https://musical-artifacts.com/artifacts/81?class=related-lin...

signaru··on L(O*62).ONG: Make your URL longer
Or the site itself [https://smolsite.zip].
signaru··on L(O*62).ONG: Make your URL longer
It is possible use "recursion" to create a 20kb long URL, which would be blocked by HN for being too long. Some browsers might not support it though.
signaru··on wxHexEditor — a Free Hex Editor / Disk Editor for Huge Files or Devices
When working with non text file formats (e.g. coding a parser or file generator) hex editors are convenient for checking that data are where they're expected to be, finding out where they are otherwise, or checking what values they have. Even compressed file formats have header information that can be inspected if you have the format's specification.
Page 1 of 10Next →