Hacker Newsnew | past | comments | ask | show | jobs | submit | lucasoshiro's commentslogin

> 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.


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).

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.


> Fundamentally, I do not debug off git history.

I'm really sorry. Using bisect and log -S saved hours of code debugging


> 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


I'd like a DE/theme that aims to do what the Win2k shell did. File explorer, basic window management, app switching, app launching. Back before every single UI widget had to integrate 47 types of OS feature-of-this-year's-product-cycle functionality.

Chicago95 isn't far off looks-wise. Something slightly more polished than Xfce, but way less than the behemoth that KDE is. I really feel like the modern basic desktop UI was pretty close to complete in 2002-2005, and the moment we tried to make your contacts list available for use in every single application we fell onto a slippery slope from which we have never recovered.


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.


Other difference (actually, more like a consequence of what you said) is that Git keeps reflogs for branches but not for tags


> 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.


A surprisingly large amount of devs, do the work to record data into a VCS (probably because they are told to by colleagues or superiors), but never seem to use them. Then they tell you that generating proper commits isn't all that important. Well, that's because they never actually use the VCS. By my book, only generating commits isn't really using a VCS, that is the information generation part, you also need to do queries on the collected data, otherwise yes it would be quite useless.


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


I think they somewhat do care about the history, but only as a backup and list of older versions and as bunch of potential merge bases. But they do not care about the history as in the evolution and causality. It really depends on what you see as the history, so it is a manifestation of a somewhat philosophical problem.


> They're all using it, all the time, for everything

Do you know someone? Using Firefox nowadays is itself a "super-online bubble"


Clojure seems to be pretty strong. At least here in Brazil, several companies here use it as their main programming language


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: