PetitPrince's recent activity

  1. Comment on What programming/technical projects have you been working on? in ~comp

    PetitPrince
    Link
    I've been working on a private video sharing site for some time now, and it's getting into shape nicely. The goal is to share some of my 300GB of martial arts videos (examination, workshop,...

    I've been working on a private video sharing site for some time now, and it's getting into shape nicely.

    The goal is to share some of my 300GB of martial arts videos (examination, workshop, etc...) with my dojo mates (30-ish users) , and put some access control and tagging capabilities on top of it.

    I had some vague experience in web dev (mostly front end, mostly leftovers from teenage experimentations), so everything I used was pretty new for me. I learned a lot.

    Here's the tech stack I ended up with:

    • Django as a CMS. It's "battery included" and there's tons of documentation on it. On top of it, I added Taggit for rudimentary tags and Django REST framework to communicate with other services (see below). Most of the page rendering is server side, and I use Bulma as a CSS framework. It's friction-less for my basic usage.
    • Hosted on a DigitalOcean Ubuntu droplet. Again everyone and their grandmothers use this and there's tons of documentations (including guide on how to install Django + Nginx + Gunicorn). I also get to learn how to admin my own Linux box, so it's a plus.
    • The whole thing revolve around Mux.com, which is a video converter and hosting service. It seems legit and the founder even engage with comments on HN (it's his second video SaaS; apparently he sold the first one). On a first prototype I used Amazon VOD solution, but this proved to be far too overkill, complicated and pricey for what I wanted (the sucker spun a load balancer that I had no usage of, resulting in unwanted bills :( ). The service require an URL as in input, so I used...
    • Backblaze B2 as backup host They recently added a S3 compatibility layer on top of their hosting stuff, so I can theoretically swap it with something else if need be.
    • I upload and send the REST request to the various web services with a custom Python+Qt app. It's a bit of a mess since it's the first time since uni I wrote a proper GUI app but it's less mystifying than I remember it was. I initially used PyQt but then switched to the more official PySide2 / "Qt for Python" for dubious reason (what if I wanted to sell my stuff ? even though I doubt this will ever happen). There's some gotcha (different signals, some typecasting that are not present), but the code is mostly compatible.

    I feel I need to up my testing / continuous integration game (currently there's none), but I find difficult to write tests when I have a poor grasp of the domain like it's the case here, and I don't find testing tiny function for testing sake very useful. Now that the project is sufficiently shippable (I'm opening the site to 2 trusted users at first, before releasing to the other 30ish persons), I can probably focus some hours on writing tests. I'm not sure on how to begin though, since Django is a careful but deep sandwich of classes (that helps with the ease of programming and magic, but it's a bit more difficult to grasp). I'm sure there's some documentation somewhere, anyway.

    Also: I'd like to use some deployment tools to automate some admin stuff (database dump, application update), but they all seems way overkill for my usage. I don't think I need with several layers of configuration and virtualization just to do a pg_dump mydatabase, git pull and python manage.py migrate. My test server runs locally, and I don't need a staging server. I feel I'm in the sour spot where I'd like to have some automation going, but don't need or want super enterprisey scalable solutions. Probably some bash script would be sufficient ?

    Anyway, it has been an valuable journey, and it will probably help understand some with my day job better (I do mostly configurations and server-side scripting for a lab management software; and it's (sadly?) a Java shop).

    6 votes
  2. Comment on Who are your favourite game developers? in ~games

    PetitPrince
    Link Parent
    As other said, compared to Zachtornic games, it's much more freeform . Let me have a similar argument to the one describe by /u/TheJorro (it's an incremental game) because I think it's a good one...

    As other said, compared to Zachtornic games, it's much more freeform . Let me have a similar argument to the one describe by /u/TheJorro (it's an incremental game) because I think it's a good one :

    Factorio is so good because most of the moment-to-moment objectives are born from your own action. By solving one problem, you end up potentially creating one or more of them later on.

    But it's part of the game, and even though your base is ugly it works and you can now reliably produce "logistic science pack" for your research center. Now, the next step would be to research some "production science pack" and... wait, since when do I need some stones to produce it ? I'll have split the stone supply line of my concrete factory to my general purpose assembly machine, but that means I need to make some tunnel because I don't have enough space for that due to the way the iron supply line is going and I don't want to mix them in the conveyor betl. Etc...

    And so it's "crack for (software) engineer" because it somewhat use the same circuits and logics that are used when software engineering work. The same trade-off between ease to build, extensibility, and scope, the same "quick fix" that gets back to you later on, the same building style / paradigm (small independent units ? big central manager ? I-don't-care-and-I-fix-as-I-go ?).

    4 votes
  3. Comment on I'm looking for anime shows with a lot of depth in ~anime

    PetitPrince
    Link
    I'm not sure what you mean by "engage with the media" but here some of my takes, assuming you meant "thinking about stuff" : Ghost in the Shell Stand Alone Complex discusses a lot of societal and...

    I'm not sure what you mean by "engage with the media" but here some of my takes, assuming you meant "thinking about stuff" :

    Ghost in the Shell Stand Alone Complex discusses a lot of societal and philosophical issues, all within a framework of a police procedural.

    In particular, the title refer to memetic imitation, and 4chan and reddit weren't even an idea when the show was first released.


    The Melancholy of Suzumiya Haruhi is a intelligent deconstruction/reconstruction of the anime tropes of the naughties (or anime in general).

    3 votes
  4. Comment on Iceland hit by thousands of quakes and threat of volcanic eruption – the island nation has experienced increased seismic activity in the past month in ~science

    PetitPrince
    Link
    An Icelandic volcanic eruption similar to the last one would be on par with the general awfulness of 2020. On the plus side, "Grimsvotn" is way easier to pronounce than "Eyjafjallajökull" for the...

    An Icelandic volcanic eruption similar to the last one would be on par with the general awfulness of 2020. On the plus side, "Grimsvotn" is way easier to pronounce than "Eyjafjallajökull" for the non-initiated.

    7 votes
  5. Comment on What games have you been playing, and what's your opinion on them? in ~games

    PetitPrince
    Link Parent
    Have played both: mostly yes. SMB characters have in general a bigger momentum though. And Celeste has a better narrative than SMB, but it doesn't diminish gameplay.

    Have played both: mostly yes. SMB characters have in general a bigger momentum though. And Celeste has a better narrative than SMB, but it doesn't diminish gameplay.

    3 votes
  6. Comment on Paper and interactive demo: Immersive Light Field Video with a Layered Mesh Representation in ~science

    PetitPrince
    Link Parent
    Thanks for noticing the typo! Sometime SwiftKey is overzealous.

    Thanks for noticing the typo! Sometime SwiftKey is overzealous.

    1 vote
  7. Comment on Paper and interactive demo: Immersive Light Field Video with a Layered Mesh Representation in ~science

    PetitPrince
    (edited )
    Link
    This is a paper and the associated materials (explanatory video, interactive demo) of a 2020 SIGGRAPH paper around light fields. In particular, they show how to distribute usable (i.e. without a...

    This is a paper and the associated materials (explanatory video, interactive demo) of a 2020 SIGGRAPH paper around light fields. In particular, they show how to distribute usable (i.e. without a monster computer) light field video, which blows my mind.

    For those uninitiated with light fields (and to the limit of my understanding), it supercharges the concept of photography by capturing not only the intensity of light but also the direction. The early application were the lytro camera that let you refocus a picture, which I find gimmicky and not that useful/impressive.

    A more impressive demo was Welcome to Light fields, a Steam demo which made my jaw drop. This presents some sort of "VR photo" in which you can move you head and change the angle of view of the scene (within a sphere of roughly a meter in diameter).

    In this paper, they show the same but with FRAKING VR VIDEO, and without the need to have a beefy gaming rig (the demo works in a browser of my laptop).

    3 votes
  8. Comment on What games have you been playing, and what's your opinion on them? in ~games

    PetitPrince
    Link Parent
    The development those boss battles was outsourced from Eidos Montréal ; that explains why they're so out of touch if the main game (if your style of play is stealth /talk).

    The development those boss battles was outsourced from Eidos Montréal ; that explains why they're so out of touch if the main game (if your style of play is stealth /talk).

    5 votes
  9. Comment on Star Wars: Squadrons is a $40 dogfighting game with cross-play, single-player, no microtransactions in ~games

    PetitPrince
    Link
    Also: playable in VR "in entirety". Colour me interested !

    Also: playable in VR "in entirety". Colour me interested !

    3 votes
  10. Comment on Wholesome Direct - A showcase of over 50 "cute and cozy" indie games in ~games

    PetitPrince
    Link Parent
    Not on this list, but I find A Short Hike exceptionally relaxing and wholesome.

    Not on this list, but I find A Short Hike exceptionally relaxing and wholesome.

    3 votes
  11. Comment on What appliance or technology remained largely the same in the last fifty years? in ~talk

    PetitPrince
    Link
    I believe non-stick pan are largely the same, and so are most stuff in the kitchen.

    I believe non-stick pan are largely the same, and so are most stuff in the kitchen.

    4 votes
  12. Comment on Haven't gamed on a PC for 10 years. Built a gaming rig. What games do I install? in ~games

    PetitPrince
    Link Parent
    It's Metal Gear Solid 2 in the sky, but you can ignore/skip the plot. Oh and the soundtrack is phenomenal !

    I'm not going to lie; I've had Ace Combat 7 in my wishlist for a long time because an air combat arcade game wrapped around a melodrama is super appealing to me. I honestly don't know what's holding me back.

    It's Metal Gear Solid 2 in the sky, but you can ignore/skip the plot. Oh and the soundtrack is phenomenal !

  13. Comment on Haven't gamed on a PC for 10 years. Built a gaming rig. What games do I install? in ~games

    PetitPrince
    Link Parent
    I wish I had devices that supported that ! But I think that for the vast majority of games, a good game is a good game, regardless of the framerate (as long as it is stable).

    I wish I had devices that supported that !

    But I think that for the vast majority of games, a good game is a good game, regardless of the framerate (as long as it is stable).

    2 votes
  14. Comment on Haven't gamed on a PC for 10 years. Built a gaming rig. What games do I install? in ~games

    PetitPrince
    Link Parent
    In the context of virtual reality, there's definitely a different in comfort. In a of general gaming, this shouldn't change how you enjoy the game except if you play competitively.

    Can anyone honestly tell the difference between 60fps and 100fps?

    In the context of virtual reality, there's definitely a different in comfort. In a of general gaming, this shouldn't change how you enjoy the game except if you play competitively.

    3 votes
  15. Comment on Anime: Where to start? in ~anime

    PetitPrince
    Link Parent
    Ah, I was thinking about the trap-like browsing-behavior as exemplified by the XKCD comic instead of the literary-analyse-any-and-everything. For reference: https://xkcd.com/609/

    Ah, I was thinking about the trap-like browsing-behavior as exemplified by the XKCD comic instead of the literary-analyse-any-and-everything. For reference: https://xkcd.com/609/

    2 votes
  16. Comment on Haven't gamed on a PC for 10 years. Built a gaming rig. What games do I install? in ~games

    PetitPrince
    Link
    My recommendations are not necessarily PC-centric, but they're still damn good games. And I like more the Japanese school of video games (whatever that means... I just find that I generally like...

    My recommendations are not necessarily PC-centric, but they're still damn good games. And I like more the Japanese school of video games (whatever that means... I just find that I generally like them). You will certainly need to plug your PS4 gamepad to your gaming ring.

    • Devil May Cry V: hi-octane brawler with a deep combo system. Still approachable for newcomers, just now that the game is meant to be cleared several times (not for the story, but for the game system mastery).
    • Nier: Automata: on the surface, another brawler with also some weird Japanese fetish (seriously, blindfolded maids with swords ?). But in reality, a really enjoyable plot and a introductory course to existentialism philosophy.
    • Ace Combat 7: for better or worse, Top Gun was a defining movie in my childhood, and Ace Combat 7 is perhaps the perfect avatar of that movie in video game format. Somehow the fate of a whole war rest on the shoulders of some ace pilots, and your the biggest of them.
    • Control : I generally like what Remedy do, even if their games doesn't leave me with a lasting memory. You may have heard of Max Payne. This game is somewhat similar (third person shooter with special powers), but the setting is quite interesting (basically: SCP the game). Note that this game is full of eye-candy as well.

    Don't forget the indies !

    Here are some whose support span throughout most of the 2010s, and hence are rich with content.

    • The Binding of Isaac: top-down dungeon crawler with a horrific/disturbing setting. Trailblazer of the "roguelite" genre (= game with procedural level and permadeath) in the early 2010s (first version in 2011), it had numerous expensions/remake/DLC. With nearly 570 hours on that game, it is my most played game on Steam. I've since quit without that much withdrawal syndrome, but there's another DLC in the making....
    • Terraria: Minecraft in 2D with a more pronounced exploration side. A very recent (as in: last week) patch overhauled nearly all parts of the game. I played through all version (even the first in 2011) with my girlfriend and we still have a blast playing it.
    • Factorio: a survival game where you play as a lone engineer in a foreign (hostile?) world, and where you quickly learn to automate as much of your crafting as possible. Described by some as "hardcore crack for engineers", I think it should be sold with a warning. It still under active development but with a 1.0 release scheduled for this year (development has started in 2012).
    6 votes
  17. Comment on What's the last piece of technology that truly impressed you? in ~tech

    PetitPrince
    (edited )
    Link
    I was recently in the market for a new micro SD card. Holy cow, how can they cram this much data into a size this small with a price this low ?

    I was recently in the market for a new micro SD card. Holy cow, how can they cram this much data into a size this small with a price this low ?

    22 votes
  18. Comment on What games have you been playing, and what's your opinion on them? in ~games

    PetitPrince
    Link Parent
    Ah! Good to know;I only briefly tested with mine and Alyx and thought it was OK.

    Ah! Good to know;I only briefly tested with mine and Alyx and thought it was OK.

    1 vote
  19. Comment on What games have you been playing, and what's your opinion on them? in ~games

    PetitPrince
    Link Parent
    It has been recently made super easy thanks to the Link USB2 compatibility. 0. Buy a USB-A <-> USB-C adapter if your computer don't already have an USB-C port (alternatively, a USB-C Launch the...

    SideQuest/Link functionality to reconnect the headset to all my PC games.

    It has been recently made super easy thanks to the Link USB2 compatibility.
    0. Buy a USB-A <-> USB-C adapter if your computer don't already have an USB-C port (alternatively, a USB-C

    1. Launch the Oculus app on your PC
    2. Enable Link in the settings if your Quest
    3. Plug in any USB-C cable to your Quest and your computer
    4. Confirm entering in Link mode in your Quest
    5. Enjoy PCVR and your old library :).
    2 votes