@fedora

Страница 776 из 2988
Ghazwan Aliesh
05.06.2017
20:44:37
Eh... No... Not at all.
Flask give u the freedom to do thing in ur way, and usually in your first 5 years your way is terrible :)

Python has objects, for example.
I'm not comparing the languages, I'm talking about the result of using flask and plain php

Ahmed
05.06.2017
20:45:21
Yes, but Python is better designed. Much, much better.

But yes, obviously, you can write shit code.

Google
Ahmed
05.06.2017
20:45:45
But to be honest, you can also write shit code in frameworks

Ghazwan Aliesh
05.06.2017
20:46:16
There is no comparison, especially python3 where everything is object just like java

But to be honest, you can also write shit code in frameworks
The possibility of writing shit code in framework is far less than doing that without framework, only huge companies with armies of experienced programmers like google Reddit and quora write project in python without framework.

Michał
05.06.2017
20:51:15
and it's not true about what you've said about writing without a framework, many companies create their own inhouse frameworks, so you can say they don't use any framework at all

Ghazwan Aliesh
05.06.2017
20:52:41
the possibility of writing bad code in a framework is smaller, as you're practically forced to write in one way by the framework authors
Yes framework force u to write on its way, except flask in python (don't know if there any one like flask in other languages)

Michał
05.06.2017
20:53:18
Yes framework force u to write on its way, except flask in python (don't know if there any one like flask in other languages)
Flask is more like a microframework on which you build upon, there are many like it, like Sinatra for Ruby

Michał
05.06.2017
20:54:29
Yes but they gave smart programmer not failure like me;)
sometimes rewriting django from the ground up doesn't mean people who are doing it are smart... ;)

Ghazwan Aliesh
05.06.2017
20:58:58
sometimes rewriting django from the ground up doesn't mean people who are doing it are smart... ;)
At least they know what they are doing, u know they have to deal with security issues on their own, doing that be beginner-intermediate is insane IMHO

Abadi
06.06.2017
01:07:13
how can open nw.pak

(■_■¬)
06.06.2017
01:30:04
Hey folks! Is Telegram Desktop from RPMFusion crashing on Calls? I'm using Fedora 25 with GNOME Shell under Wayland, it used to work before. :/

I have telegram-desktop-1.1.2-1.fc25.x86_64

Google
Igor
06.06.2017
07:56:36
update to 1.1.7

pedro
06.06.2017
08:59:03
good morning, beautiful mofos!

???

wenrui
06.06.2017
10:39:27




It's really terrible, I had waited for nearly two hours but cannot boot after upgrade

after I ran sudo dnf system-upgrade reboot (I forgot the exact name) , It was stuck at Reached target System Update....

And I deleted the quiet option before boot again, It output the dmesg informations

Who knows why it occured, and what should I do to deal with it?

Zamir
06.06.2017
10:47:34
hi, can you point out which version are you updating from, and which version to update to?

wenrui
06.06.2017
10:48:13
from 24 to 25

Tobias?
06.06.2017
10:48:21
You... mount your windows c drive at the actual root with /C?

What in the world did you smoke

wenrui
06.06.2017
10:48:45
yes...

Tobias?
06.06.2017
10:49:08
... dont.

/mnt

wenrui
06.06.2017
10:49:17
What in the world did you smoke
I cannot understand it

Tobias?
06.06.2017
10:49:21
/mnt/c atleast

I cannot understand it
when it says reached target system update press ctrl-alt-f3

this should open a terminal where you can login

Google
Tobias?
06.06.2017
10:50:14
allowing you to do dmesg and journalctl -xe

wenrui
06.06.2017
10:50:15
You said to mount ntfs part on directory under /mnt?

Tobias?
06.06.2017
10:50:29
You said to mount ntfs part on directory under /mnt?
Ideally only mount it when absolutely needed.

ntfs drivers are highly beta still and will not work well especially if your windows uses hybrid shutdown

writing may actually kill an ntfs drive from linux

wenrui
06.06.2017
10:51:21
I can enter tty but cannot sent command

Tobias?
06.06.2017
10:51:46
screenshot

wenrui
06.06.2017
10:51:52


it quit just after i log in

Tobias?
06.06.2017
10:52:28
Authentication failure = wrong username/password

Your keyboard layout may have changed to english in this mode

type your password in the username field (and delete after) to see

wenrui
06.06.2017
10:53:54
I did enter the right name and passwd, but I can enter root

Tobias?
06.06.2017
10:54:23
again, check if your password is the same because it maybe changed keyboard layouts

wenrui
06.06.2017
10:55:03
my passwd was all numbers

Tobias?
06.06.2017
10:55:05
oh and try user and root login, depending if you have a root password

else you can now try to boot using the rescue entry in grub

wenrui
06.06.2017
10:55:41
yes, i.have

Tobias?
06.06.2017
10:56:02
and?

wenrui
06.06.2017
10:56:32
it can enter root normally

Google
wenrui
06.06.2017
10:56:46
but i can't enter user

Tobias?
06.06.2017
10:57:16
you dont need your user

wenrui
06.06.2017
10:57:26
yes

Tobias?
06.06.2017
10:57:28
you should do all this as root now to fix the upgrade

in rescue you can get to root?

journalctl -b -1

Admin
ERROR: S client not available

Tobias?
06.06.2017
10:57:47
scroll to the end

wenrui
06.06.2017
10:59:15
not rescue, i entered tty



what should i do then?

that photo was what i got after journalctl -b -1 and scroll to the end @Wolfshappen

pedro
06.06.2017
11:08:20
well if you have a partition for /home, /boot and /, maybe it's better to make a frsh install

wenrui
06.06.2017
11:12:50
all of the things was under / partition

pedro
06.06.2017
11:13:43
all of the things was under / partition
thats where "programs" are installed

usually a user is more concerned with data

its easier to reinstall than to recover data, dont u think?

;)

wenrui
06.06.2017
11:14:32
and what should i do?

pedro
06.06.2017
11:14:44
just told you

Google
pedro
06.06.2017
11:14:45
;)

jsut options,

but there's a lot more wise people in the room than me

wenrui
06.06.2017
11:15:30
.......

but if i reinstall, my own data will lose, isn't it?

do i need network during install that after reboot? i had ran dnf --releasever=25 system-upgrade upgrade and downloaded all things it listed

Michał
06.06.2017
11:18:58
but if i reinstall, my own data will lose, isn't it?
It's possible. I would recommend to run a livecd/liveusb now and copy all data so you will have a backup in worst case.

also @lwr1242 I don't know how comfortable you are with editing config files, and I am not sure if it's the case as I can't see the exact errors in your photos, but maybe try to remove anything what is not necessary from your /etc/fstab

wenrui
06.06.2017
11:20:36
but i do not have enough space to store these?

i only set three ntfs partitions auto mount in it

Michał
06.06.2017
11:23:09
if you have your data on a separate partitions, then I think you're safe unless you use automatic partitioning or manually select to delete those partitions (but keep in mind, that I am not giving you any guarantees here) ?

wenrui
06.06.2017
11:23:57


Michał
06.06.2017
11:26:49
my suggestion is to try to comment out all but the first non-commented out entry (so, all windows entries) and see if it works

remember - you're doing it on your own risk, even though it should be safe

pedro
06.06.2017
11:28:20
wenrui
06.06.2017
11:30:08
i noted these ntfs items and reboot, and i got many failed?

Michał
06.06.2017
11:30:49
then I guess the problem is somewhere else, I think you've got no other option than dig through logs and try to find what exactly failed... ;)

wenrui
06.06.2017
11:32:35
many items, like login and host name service

Страница 776 из 2988