HackerTrans
TopNewTrendsCommentsPastAskShowJobs

lucasoshiro

899 karmajoined hace 3 años

Submissions

Show HN: Using Haskell to play music on 3D printer motors (2020)

lucasoshiro.github.io
12 points·by lucasoshiro·el mes pasado·2 comments

Show HN: Module adding Layer-3 protocols SV and GOOSE to ns-3 network simulator

github.com
2 points·by lucasoshiro·el mes pasado·0 comments

Using the first and the last version of Torvalds's Git

lucasoshiro.github.io
1 points·by lucasoshiro·hace 3 meses·0 comments

Braille generator for 3D printing written in OpenSCAD

thingiverse.com
1 points·by lucasoshiro·hace 10 meses·0 comments

comments

lucasoshiro
·hace 4 horas·discuss
I know this only because I'm an emacs user. Outside that niche .el is an obscure file extension, so, no, it's not that obvious
lucasoshiro
·hace 7 horas·discuss
tbh I never cared about bibtex features from Zotero... Having a interface where I can place and organize pdfs, filter them by author and have everything syncronized between my tablet and my computer is what really makes me use it.

If this kind of feature could be replaced by txt files I probably would be using it, but, no...
lucasoshiro
·hace 22 días·discuss
> Browser based is not opposite to being local

Technically no, but in that sense everything cloud-based is local in some machine.

I wouldn't consider it "local" if I need to run a web server (!), "upload" if I want to open file or "download" to save it locally. This is client-server approach where both my machine acts as both client and server.
lucasoshiro
·hace 23 días·discuss
Really nice!

Do you have plans to release it for desktop (maybe using Electron)? One of my main complains about tools like Tinkercad is that they are browser-based, and it's easier/faster to have everything local. That's one of the reasons that I moved to OpenSCAD
lucasoshiro
·el mes pasado·discuss
Thanks!
lucasoshiro
·hace 2 meses·discuss
I always remap Caps Lock to Ctrl. I understand that Caps Lock needed to be next to Shift in typewriters, but in computers it seems like it is wasting a key in the home row for only be used sometimes for screaming (which can be done by holding shift...)
lucasoshiro
·hace 2 meses·discuss
> The only hard part about vim is to be forced to strecth the finger up to Escape

I still don't understand why people keep mentioning this, ctrl-c works as well to go back to the normal mode.

> windows you just have to edit (create?) a registry key

Or use Powertoys, which I don't know why it isn't a setting.

(saying as a Mac, Linux and Emacs user, although I still use Vim in the terminal)
lucasoshiro
·hace 3 meses·discuss
Not everything needs to be "needed".
lucasoshiro
·hace 4 meses·discuss
Yeah. It's hard to express and understand nested structures in a natural language yet they are easy in high-level programming languages. E.g. "the dog of first son of my neighbour" vs "me.neighbour.sons[0].dog", "sunny and hot, or rainy but not cold" vs "(sunny && hot) || (rainy && !cold)".

In the past maths were expressed using natural language, the math language exists because natural language isn't clear enough.
lucasoshiro
·hace 5 meses·discuss
> Are university computer labs with desktop computers still a thing?

Of course, people shouldn't be forced to bring or even have a laptop powerful enough for using during the classes or finishing their tasks.
lucasoshiro
·hace 6 meses·discuss
Actually, the Git data model supports empty directories, however, the index doesn't since it only maps names to files but not to directories. You can even create a commit with a root directory using --allow-empty, and it will use the hardcoded empty tree object (4b825dc642cb6eb9a060e54bf8d69288fbee4904).
lucasoshiro
·hace 6 meses·discuss
Since the first time that I saw this here in HN I've been sharing it with several people around me. This including CS students, CS professors and non-technical people who only asked "how does a computer work?". I only say "just type 'cpu.land' and read that". This is one of the best things that I've found here.
lucasoshiro
·hace 6 meses·discuss
> Fundamentally, I do not debug off git history.

I'm really sorry. Using bisect and log -S saved hours of code debugging
lucasoshiro
·hace 6 meses·discuss
> Now, if someone wants to recreate win95

You can try Chicago95 [1], but it's only a XFCE theme. If you want more than a theme, there's SerenityOS [2] but it isn't suitable for daily use (yet)

[1] https://github.com/grassmunk/Chicago95 [2] https://github.com/SerenityOS/serenity
lucasoshiro
·hace 6 meses·discuss
Cool! But the title made me think that "cigarette smoke effect" made me think that it was about health issues, and I clicked because I was curious about how shaders could be related to that.
lucasoshiro
·hace 7 meses·discuss
Other difference (actually, more like a consequence of what you said) is that Git keeps reflogs for branches but not for tags
lucasoshiro
·hace 7 meses·discuss
Agreed. If they don't care about the history, they don't need a vcs. There's no point in keeping a history if the history isn't helpful
lucasoshiro
·hace 7 meses·discuss
> Maybe consider putting your energy into a good documentation inside the repository.

Commit messages are documentation.

If you have a good commit history you don't need write tons of documents explaining each decision. The history will contain everything that you need, including: when and who changed the code, what was the code change and why the code exists. You have a good interface for retrieving that documentation (git log, perhaps with -S, -G, --grep, -L and some pathspecs) without needing to maintain extra infrastructure for that and without being cluttered over time (it will be mostly hidden unless you actively search that). You also don't need to remember to update the documents, you are forced to do that after each commit.

And that's not a hack, Git was made for that.
lucasoshiro
·hace 8 meses·discuss
> They're all using it, all the time, for everything

Do you know someone? Using Firefox nowadays is itself a "super-online bubble"
lucasoshiro
·hace 8 meses·discuss
Clojure seems to be pretty strong. At least here in Brazil, several companies here use it as their main programming language