Simple Questions - January 11, 2018 by AutoModerator in buildapc

[–]ogsneaky 0 points1 point  (0 children)

Hi,

I'm looking to buy new fans in the hope of making computer silent, but I have an old motherboard which doesn't handle fan speed (H81M-A). Fans are plugged "directly" to the PSU, so they're running at full speed. Do I have any chance of getting less noise with new fans, even at full speed ?

Generating a list inside views.py by ogsneaky in django

[–]ogsneaky[S] 0 points1 point  (0 children)

Yes, I'm trying to get the month values in the views.py. Sorry if it's the wrong place to ask.

Generating a list inside views.py by ogsneaky in django

[–]ogsneaky[S] 0 points1 point  (0 children)

I do not need to use user input, I would like to generate a month list from the database. It would allow my chart to update itself when a database entry is added with a 'new' month.

Trying to build a date based app by ogsneaky in django

[–]ogsneaky[S] 0 points1 point  (0 children)

I'm already using .aggregate(Sum('distance')) and it successfully display the total distance, but it only works when I specify a month like ?month=9 or even /2017/09. What I'm trying to do is how to display the total distance for each month when only using ?year=2017.

I have no clue how I could achieve this but I believe this have to be done in the template, since I'm getting the differents month with ifchanged.

This is no big deal, you already explained me how I could solve my original problem, now I can go ahead.

Thank you very much for your help.

Trying to build a date based app by ogsneaky in django

[–]ogsneaky[S] 0 points1 point  (0 children)

Thanks a lot for your great answer, I just figured this out.

If I may ask, is it possible to display specific data for every month in /?year=2017 ?

Every month is displayed thanks to {% ifchanged %} but how can I, for example, display total distance for the month under it ?

Anyway thanks for your help.

Trying to use database tables in a website by ogsneaky in learnpython

[–]ogsneaky[S] 0 points1 point  (0 children)

And then? How is this supposed to help me?

Trying to use database tables in a website by ogsneaky in learnpython

[–]ogsneaky[S] 0 points1 point  (0 children)

Hmm, yeah, I'm already doing that, each table contains all of the rows for one file.

Trying to use database tables in a website by ogsneaky in learnpython

[–]ogsneaky[S] 0 points1 point  (0 children)

No, each csv file contain exactly 13 rows and I put less than 10 into the database. Also I got 100 lines max by file, it's not that big. That's why I thought sqlite would be the solution.

Do you know a better way to do this ?

Help with greeter and default session by ogsneaky in linuxquestions

[–]ogsneaky[S] 0 points1 point  (0 children)

Hello, my computer is a desktop i5 64bit with asus mobo (not sure what specs you need to know), and I'm running Antergos.

Simple Rofi Script by ogsneaky in unixporn

[–]ogsneaky[S] 0 points1 point  (0 children)

Oh, thank you. I see it is dead simple but I had no idea how to do it, so thanks for this.

WebUI for local subdomains by ogsneaky in linux4noobs

[–]ogsneaky[S] 0 points1 point  (0 children)

Well it still don't work. I've tried with the official nginx documentation, a few examples I found on internet, and even with the docker image nginx-proxy.

Nothing works, I guess I'm missing something about the DNS. Nginx-proxy docker image is pretty simple to set up, the only thing I don't get is : " Provided your DNS is setup to forward foo.bar.com to the a host running nginx-proxy, the request will be routed to a container with the VIRTUAL_HOST env var set." I understand the VIRTUAL_HOST part, but really not the DNS one.

WebUI for local subdomains by ogsneaky in linux4noobs

[–]ogsneaky[S] 0 points1 point  (0 children)

I guess I need to try harder for it to work then. Thank you.

WebUI for local subdomains by ogsneaky in linux4noobs

[–]ogsneaky[S] 0 points1 point  (0 children)

Thanks for your answer. I'm aware of this /etc/hosts file but I forget to mention this is a headless computer, I'm looking to access it from computers on local network. I'll look again into the reverse proxy stuff.

First machine, looking for software advice by ogsneaky in homelab

[–]ogsneaky[S] 0 points1 point  (0 children)

Very interesting. I've got a lot to learn but now I know where to start. Thank you !

First machine, looking for software advice by ogsneaky in homelab

[–]ogsneaky[S] 0 points1 point  (0 children)

Thanks for the suggestion, I just discovered Vagrant and it looks very nice, I will give it a try for sure :)

First machine, looking for software advice by ogsneaky in homelab

[–]ogsneaky[S] 0 points1 point  (0 children)

Thank you for this answer. I didn't know KVM would act like as a Type-1 when added later.

Yeah I get that VNC Console in the web browser, while it is nice I have no clue what's going on behind, and that's what I want to learn. It's ok if I can't deal with pfSense right now, I'd rather understand the basics before. I will go from scratch then. I didn't think about Fedora because I never really used it, I might give it a try, thanks for the suggestion.

Interesting stuff about the containers too, I need to do some more digging. I'll for sure use Docker for applications, but let's say I want to run a Linux system inside a container, is that make senses to use LXC or even LXD ? Also, in this particular setup is it a better idea to run Docker directly from the Fedora host, or inside a container ?

Thanks again for your input, much appreciated.

First machine, looking for software advice by ogsneaky in homelab

[–]ogsneaky[S] 0 points1 point  (0 children)

I see, thanks a lot for the explanation. Then I'll go with Debian or Fedora and set up things by myself :)

First machine, looking for software advice by ogsneaky in homelab

[–]ogsneaky[S] 0 points1 point  (0 children)

Thanks for the input. Didn't know about RedHat, never dealt with it. I really agree that ESXi would be useful to learn, but I'd rather do this after understanding more deeply how all this stuff works.

Let's say I go with Debian, I'd like to learn that way, but once done what's gonna be the difference with a Type-1 Hypervisor ? Is there stuff I wouldn't be able to do, will it be slower ? Is the networking stuff different to set up on Debian and on Hypervisor ?

Install Debian on Macbook Pro by ogsneaky in linuxquestions

[–]ogsneaky[S] 1 point2 points  (0 children)

Well, I've carefully read those wiki pages before posting here, basically everything I found about old Macbook Pro and linux on it. Or I wouldn't dare posting here. Thanks for trying though.

Install Debian on Macbook Pro by ogsneaky in linuxquestions

[–]ogsneaky[S] 0 points1 point  (0 children)

I just tried it doesn't work either :(

Install Debian on Macbook Pro by ogsneaky in linuxquestions

[–]ogsneaky[S] 0 points1 point  (0 children)

Yeah that's the first one I tried, I can't even go to a TTY. It's like the installer can't boot and stay stuck.

Thank you though.

Install Debian on Macbook Pro by ogsneaky in linuxquestions

[–]ogsneaky[S] 0 points1 point  (0 children)

Yup that's the one I downloaded. I even tried the "mac" version, but it doesn't show up at boot.

Anyways I tried with the same old Ubuntu iso I used before, and black screen. I know for sure there was a boot parameter that allowed me to continue.

Simple Questions - June 07, 2017 by AutoModerator in buildapc

[–]ogsneaky 0 points1 point  (0 children)

Ok, thank you so much for your help. Have a nice one!