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

What I used to recommend to my sofware engineering classes is that instead of putting large files (media etc) into Git, put them into the artifact repository (Artifactory or something like it). That lets you for instance publish it as a snapshot dependency that the build system will automatically fetch for you, but control how much history of it you keep and only require your colleagues to fetch the latest version. Even better, a simple clean of their build system cache will free up the space used by old versions on their machines.


People like storing everything in git because it significantly simplifies configuration management. A build can be cleanly linked to a git hash instead of being a hash and a bunch of artifacts versions especially if you vendor your dependencies in your source control and completely stop using an artifact repository.

With a good build system using a shared cache, it makes for a very pleasant development environment.


This has its own issues. Now you need to provision additional credentials into your CI/CD and to your developers.

Commits become multi-step, as you need to first commit the artifacts to get their artifact IDs to put in the repo. You can automate that via git hooks, but then you're back at where you started: git-lfs.


Do you teach CI/CD systems architecture in your classes? Because I am finding that is what the junior engineers that we have hired seem to be missing.

Tying it all in with GitLab, Artifactory, CodeSonar, Anchore etc


I think the OP refers to assets that truly belong in Git because they are source code but large, like 3d models.

Release artifacts like a .exe would NOT belong in Git because it is not source code.


I get it, I understood. I was forking the conversation for a sec


Yes


It sounds like a submodule... But certainly if the problem could be solved with a submodule, people would have found out long ago. Git's submodules also support shallow-cloning already [1]. I can only guess what the issues are with large files since I didn't face it myself - I deal with pure source code most of the times. I'm interested to know why it would be a bad idea to do that, just in case. The caveats pointed out in the second SO answer don't seem to be a big deal.

[1] https://stackoverflow.com/questions/2144406/how-to-make-shal...


It sounds different to me - a regular git submodule would keep all history, unlike a file storage with occasional snapshotting.


I set this as part of a Scala programming assignment for my second year undergraduate class at UNE (Australia) last term. However, during the working a square is not Queen | Eliminated but Set[Queen | NotQueen]

Largely so from a programming perspective it becomes a simplified version of Einstein's Riddle that I showed the class, doing in a similar way.

https://theintelligentbook.com/willscala/#/decks/einsteinPro...

Where at each step, you're just eliminating one or more possibilities from a cell that starts out containing all of them.

Queens has fewer rules to code, making it more amenable for students.


thanks for saying this, that is how I play this game usually, and I was confused by TFA going with backtracking/guessing a next attempt, when constraint propagation seems easier, I thought I was missing something.


I wonder whether future generations will be ingrained with a Truman Show fear that maybe only the few thousand people they meet are real and everything else is generated background noise.


I already get this when I look at e.g. youtube comments.


I've never really understood the problems he had getting the Hitchhiker movie made - all the articles around before it came out talked about having to revise the script to make sense to an American audience (and the eventual movie ended up with a strangely different plot with a villain), but the original radio series is pretty much a road movie, which is almost an American trope.


Adams himself changed the plot in every version of HHGG, from radio play to book to computer game to movie. I think it shows how little he was attached to the details of his fictional universe. Personally, I like the plot of the movie a lot, especially the invention of the point-of-view gun


I think the special effects were a problem at the time - Zaphod's heads never really looked good.


Sometimes. Foals are born (almost) able to walk. There are occasions where evolution baked the model into the genes.


Yeah that example came to my mind too.

I suspect there may be trade off undergoing evolutionary selection here, where for some organisms a behaviour is more important from the offset, it's worth encoding more of the behaviour into genes, at what cost I wonder?

It's also possible there is some other mechanism going on at an embryonic stage, a kind of pre-training.

I suspect some of the division is also defined by how complex the task is, or how sensitive the model is to it's own neurons (kind of like PNN). I don't have a well rounded argument, but my instinct is that encoding or pre-training walking is far easier than seeing. Not to mention basic quadrupedal walking/standing is far easier than bipedal, they can learn the more complex coordinated movements after.


We use ARM. Because then we can lean on some things (e.g. the ARMlite simulator) UK schools built for A-levels.


That's a similar approach to the one I use for teaching git. First the sim, then the CLI.

https://theintelligentbook.com/supercollaborative/#/challeng...

(Albeit I made mine simulate how things like VS Code look while you're doing it a bit more)


The more obvious one is that Orion's standing on his head.


Are you talking about the constellation we call "The Pot"?


Djulpan's upside down? !

It'll sink.


We do sometimes have an informal "Christmas in July". Which is a little odd, since 6 months on from Christmas would be June.


Sorry to see them go. I used them with students and they were always very helpful.


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

Search: