HNHacker News
TopNewBestAskShowJobs

signaru

471 karma · joined March 3, 2020

submissionscomments
signaru··on Academia's unspoken dark side [video]
Points discussed: publishers are parasites, labs are pyramid schemes, short unstable contracts, unpaid labor.
signaru··on GNU Octave 8.1
The one thing I miss from Matlab's IDE is the ability to properly rename variables. Octave lacks this (not sure about this new release) and I so far haven't found a Matlab/Octave LSP that can be used for other code editors.
signaru··on HackerFM – An AI Generated HN Podcast Using the New ChatGPT API
In case I missed it, I just wish it had a volume control.

I'm listening on a laptop and would rather not adjust the system volume and affect all other apps with sound.

Otherwise, the convenience of audio format makes it among the interesting uses of AI that I've seen.

signaru··on “Clean” code, horrible performance
Martin Fowler's "Refactoring" also has "Replace Conditional with Polymorphism". I like the intent of the book but I don't follow it 100%. Another part of that book that tripped me is where he calls the same function with the same argument multiple times instead of saving the result in a variable for reuse.
signaru··on Ask HN: Are people still using Pascal?
I have written several GUI apps and a virtual machine interpreter using FPC/Lazarus. It is great for cross platform GUIs and it compiles to standalone native code unlike C# (for a long time, before native AOT, which is still in development for Winforms). In my experience library dependencies are also more manageable, likely out of necessity since there's less temptation to just depend on off-the-shelf popular libraries which happens more often with C/C++. The Lazarus IDE has a builtin package manager for additional libraries and if you find what you need there, it will work smoothly. Unlike C/C++ it is also nice to have "interface" and "implementation" on the same file, making the project less cluttered. There are differences to learn, but that it is to be expected from a non C-family language.

On the other hand, I have pet peeves with the language that prevent me from using it for more ambitious projects:

FPC has no "inline" var declarations, and the community is even against it. My code is math heavy with many "transient" variables so the dedicated var section at the top of the function gets crowded quickly. Recent Delphi now has this, but costs have to be taken into account if you want to commercialize or deploy cross-platform. It seems that the real reason for this is to help the compiler be fast instead of helping the programmer.

Case insensitivity might be a minor thing, but it is there and you have to deal with it.

Then optionally dropping the parentheses for functions with no arguments hides the fact that you're calling a function which possibly does something else besides just reading a value.

signaru··on Online Lens/Optics Simulator
The optics chapter(s) within a general physics textbook would usually be a good place to begin without diving too much. My univ used Tipler, but other Univ Physics books would likely just be equally good.

Then after that, as already answered, Hecht to go further while still being within a "101" level.

signaru··on Communication as a critical business skill
Perhaps the kind of communication needs to be clarified. There is communication with your teammates that gets the actual work done. Then there's communication with "higher ups" or management or the general public where there are opportunities for stealing credit and/or manipulation.
signaru··on Scintilla is a free source code editing component with a permissive license
and Notepad++ itself sometimes gets bundled with other software.
signaru··on The Biggest Penguin That Ever Existed
It would have been nice if the artist drew a human alongside the penguins being compared.
signaru··on Let the Knife Speak: On José Rizal
I know some very bright Filipino scientists around EU, US. If they choose to go home, what awaits them there are rat races. There's no local industry that would respect their skill and advanced knowledge. Existing tech companies (mostly hardware/electronics/semiconductor) that matter are just outsourced branches of foreign companies in need of cheaper labor. Software companies don't create anything innovative or recognizable. Going back to the local academe means putting up with bureaucracies, seniority hierarchies and heavy teaching/admin workloads which would just drain whatever creativity they might have.
signaru··on Calmira Reborn – a Windows 9x-inspired shell for Windows 3.1
I searched that FreeDos can now somehow run Windows 3.1 [0], but the article only shows it on QEMU. FreeDos might be able to boot on a USB stick [1]. As for downloads, there's WinWorldPC where you could also find 16 bit Delphi 1.x.

[0] https://virtuallyfun.com/2021/07/27/freedos-running-windows-...

[1] http://wiki.freedos.org/wiki/index.php/How_to_Create_a_USB_B...

Edit: I deleted my previous dosbox answer as it missed the booting from USB part.

signaru··on The rise and fall of Lisp at the Jet Propulsion Lab (2002)
Unrelated, but I noticed the podcast's volume control applies the volume change on mouse release of the volume slider. It prevents adjusting the volume with audio feedback and you have to guess where the slider knob should be.
signaru··on The Python Paradox (2004)
Yes. I wanted to add how much have changed today, but wanted to keep it short. So just ended up putting "these days".
signaru··on The Python Paradox (2004)
> People don't learn Python because it will get them a job; they learn it because they genuinely like to program and aren't satisfied with the languages they already know.

At least in my area, these days there are many programmers who know Python because that's the only language they have been taught. And there are many job opportunities specifically looking for Python.

signaru··on Ask HN: Is Recursion Worth It?
I didn't take CS, but I don't know if there's a better way to build a parser or compiler without recursion. Prior to knowing that all my code just loop over linear arrays of data, so I thought the typical Fibonacci or factorial examples were so contrived. I hope pedagogical material should at least mention where recursions are used in real world programs.
signaru··on Wine 8.0
Wasn't NotepadQQ a supposed Linux alternative? (I'm normally fine with whatever default GUI text editor there is, so I'm not sure how it compares to Notepad++).
signaru··on Wine 8.0
If you're not using the latest distro (e.g. LTS) and don't want to compile programs from scratch, there are cases where it is easier to run the latest version of a program using the Windows version instead of the latest pre-compiled Linux binary due to requiring newer dependencies. Except for OpenGL issues that I haven't figured out yet, I found it easier to run the Windows Octave 7.3 on Ubuntu 22.04 with WINE.
signaru··on Companies hiring remote software engineers anywhere in the world
Another suggestion is to use the "tech"/skills or programming languages as a filter. Really helpful, and also understandable that majority of jobs would require the popular programming languages/tools.
signaru··on GNU Octave
I heard from a talk by Cleve Moler that hardware/engineering companies are the big customers (the likes of Honda).
signaru··on GNU Octave
In my past engineering university Matlab is popular. Students and staff get access to a network license and courses (non CS) are built around it. It is what older professors are used to and I don't see them shifting to a new language given how busy university professors are, and that Matlab just works. So outside the university, Octave is the path of least resistance for those not planning to purchase Matlab or get it by "other means".
signaru··on ReactOS
Or perhaps as an underlying OS for a game console with games that can also run on Windows PCs for a wider reach.
signaru··on New Sony Walkman music player
I agree, it is pretty niche and I belong to that niche. As a music nerd myself, it was dedicated storage and just being used to having music offline without the streaming services. The iPod nano was so tiny, that it felt like nothing is in my jacket's pocket. I do have some music on my phone, but it's photos that are mostly taking up its storage. I literally have gigabytes worth of music and also audiobooks that are several hundreds of megabytes each. Though I don't have data to support it, I'm also trying to conserve my phone's battery.
signaru··on Foundational knowledge is worth a thousand tools
The rule of thumb I often hear and that makes sense to me is to learn or familiarize "one level lower" than what you currently know. For example, advanced C/C++ programmers would occasionally explain stuff based on assembly. At the "higher levels", instead of treating functions and libraries as black boxes, try understanding the algorithms behind them. Even just learning general computer architecture without diving into the lower level details can help in understanding code.
signaru··on Ask HN: What's your favorite illustration in computer science?
While on the topic of FFT, the "butterfly diagram" sure is profound, although it takes me effort to wrap my head around it to make it a personal favorite in the same way that other illustrations make things click to me.
signaru··on Papers and patents are becoming less disruptive over time
I had worked in academe long enough to see many papers submitted simply out of pressure to finish the degree.
signaru··on Microfeatures I'd like to see in more languages
Matlab has the opposite where your syntactically valid but mysteriously non-working code suddenly has a large array.

EDIT: On the other hand, I think Matlab's array(end - number) indexing syntax is a good compromise of convenience and less error prone explicitness.

signaru··on The faker's guide to reading x86 assembly language
I'll guess practical compiler books that goes down to assembly would also be helpful, especially those for those with inclination to language implementations. So far, I haven't read any though, and hope rui314's book comes out some day.
signaru··on Bflat – a single ahead-of-time crosscompiler and runtime for C#
Awesome work! Any info about UI frameworks that are/might be supported?
signaru··on Why T-shaped people? (2018)
T-shaped is good, but preferably skills are organically acquired. In my previous work, the T-shaped mantra has been naively pushed and used as an excuse to put employees on all sorts of disjoint activities and trainings that took time away from the main deliverables. This caused people to leave. I instead prefer "JIT learning".
signaru··on SGCL: Real-time garbage collector for C++
When it can't be avoided there were (rare) times that I used #includes to split what would have been one long source file into multiple files. (2k lines is still within my 1 file threshold, but I generally aim for less than 1k lines). Interestingly, C# has partial classes which I have also rarely manually used (automatically generated for forms).
← PreviousPage 5 of 10Next →