@fedora

Страница 1481 из 2988
Tobias?
21.01.2018
10:42:51
run caddy in a dir and it will serve it as downloadable content in seconds.

Le Schyken
21.01.2018
10:43:45
We could make a book about how to avoid SELinux throwing fits ?

Might actually be useful

Google
Barrel
21.01.2018
10:44:13


Le Schyken
21.01.2018
10:47:05
The reality of it is, despite the incredible usefullness and importance of SELinux, that it's still not quite general user grade experience software. The fact that we consistently see the question of how to disable or remove it proves that.

I just learned to live with it, beat it into submission myself (configuring it and anything it complains about). But for typical users, it's likely not worth that effort.

Daniel
21.01.2018
10:48:44
Anyway I think its pretty polished, hadnt a single warning on the latest releases

Le Schyken
21.01.2018
10:49:04
Anyway I think its pretty polished, hadnt a single warning on the latest releases
It's definitely a LOT better than what I've seen and heard about in the past!

And it's ever-improving, so I don't doubt it's on its way :D

Daniel
21.01.2018
10:49:30
For sure!

Tobias?
21.01.2018
10:49:41
Or want to run a little apache server to quickly grab stuff locally and are too lazy to setup FTP Or anything
So: Create a file named Caddyfile in that dir with the contents: localhost:8080 gzip browse log access.log second, run caddy in that directory.

Tobias?
21.01.2018
10:50:18
That will instaserve the directory with a neat default template and searchable.

Also runs on windows.

Zero selinux fits.

Barrel
21.01.2018
10:50:33
"Has anyone ever viewed audit.log? Does that not make you cry?"

Google
Barrel
21.01.2018
10:50:36
lul

Barrel
21.01.2018
10:51:22
Oooh, that seeems simple

Tobias?
21.01.2018
10:51:39


If you are behind a domain you can also https it, it will auto-get letsencrypt certificates.

Barrel
21.01.2018
10:52:49
So, as insecure as this is, I could in theory have it grab from my home directory?

Chris
21.01.2018
10:52:52
And it's got all kinds of helpful plugins

Tobias?
21.01.2018
10:52:57
I opened it in my Downloads/ folder

And i can download from it what i'm happy to - you might want to bind to 0.0.0.0:8080 and open the port in firewalld tough

Chris
21.01.2018
10:53:35
It's super easy to use. Not near as fast as Nginx, but 100x easier to configure

Tobias?
21.01.2018
10:53:44
Then you can access it from other pcs too

Sid
21.01.2018
10:54:18
Chris
21.01.2018
10:54:29
And written in golang which, while not my favorite language, I still prefer over a million plus lines of C++

Chris
21.01.2018
10:55:09
I'm not it's biggest fan, but it's definitely not the worst

Google
Barrel
21.01.2018
10:55:32
Some of my friends are Go nerds and I am just a pleb for it :P

Tobias?
21.01.2018
10:55:37
I'm not it's biggest fan, but it's definitely not the worst
https://gist.github.com/enricofoltran/10b4a980cd07cb02836f70a4ab3e72d7

An entire webserver in 129 lines

Barrel
21.01.2018
10:55:48
Tobias?
21.01.2018
10:56:01
You could replace healthz() with serveFile() too

and add 15 more lines to pass to cgi scripts

Chris
21.01.2018
10:57:22
An entire webserver in 129 lines
I could do that in Crystal probably in under 80 tbh. Fucking love that language

Tobias?
21.01.2018
10:57:57
I could do that in Crystal probably in under 80 tbh. Fucking love that language
But as expressive, fast, multi-system, embedded-ready and readable as go?

Chris
21.01.2018
10:58:37
But as expressive, fast, multi-system, embedded-ready and readable as go?
More readable actually. Not quite as portable yet though, Crystal is still in development.

Crystal is basically a strongly typed, compiled Ruby

And it's a lot faster than Go in most cases

Tobias?
21.01.2018
10:59:45
Oh damn no, i'll stick to {} and a language with google behind it trying to scratch just a little bit more performance optimisation posible with every new release

Tobias?
21.01.2018
11:00:04
And it's a lot faster than Go in most cases
If it compiles back to ruby i heavily doubt that. Unless its ruby-inspired and compiles to c.

Chris
21.01.2018
11:00:38
If it compiles back to ruby i heavily doubt that. Unless its ruby-inspired and compiles to c.
Neither. It's ruby inspired but uses LLVM to compile to native code

It comes very close to matching the performance of C

I know the Ruby syntax isn't everyone's cup of tea, but I find it a lot more readable and easier to understand than C syntax

Tobias?
21.01.2018
11:02:30
It comes very close to matching the performance of C
Eh, go fasthttp has an easy time keeping up with crystal.

And ontop of that having a language is nice but look how much go has been optimizized for automation and web tasks- its a json eating machine.

Chris
21.01.2018
11:04:07
My main gripe with go is that it looks too much like C, and it forces you to have all of your go projects in a certain directory with a specific structure. I don't like having it mess with how I organize my projects.

Google
Tobias?
21.01.2018
11:04:39
Do you want to have all files two dirs above for some reason?

Note that that is possible.

Chris
21.01.2018
11:05:23
How does it force you to?
I just have a specific way I organize my projects. Personal, client, forked, etc.

Tobias?
21.01.2018
11:05:31
Go isnt stopping you from doing so.



Admin
ERROR: S client not available

Tobias?
21.01.2018
11:06:03


Barrel
21.01.2018
11:06:09
bnet? Botnet? :D

Tobias?
21.01.2018
11:06:22
bnet? Botnet? :D
bot network thingies

i didnt want to name it botnet outright

Its a lib for my telegram bot to download and recognize common links

Barrel
21.01.2018
11:06:59
i didnt want to name it botnet outright
If this is your work machine I could imagine your work just being like, "Why do you have a project called botnet?"

Chris
21.01.2018
11:07:13
Also that package importing annoys the crap out of me. I kinda understand why they do it that way, but eww

Tobias?
21.01.2018
11:07:29
Magically import all files and hope it doesnt break?

Google
Chris
21.01.2018
11:08:00
Have a separate file where you list dependencies like most other languages do

And then have a short name that you can import with instead of the full GitHub path

Tobias?
21.01.2018
11:08:49
Have a separate file where you list dependencies like most other languages do
But this way you always know which libs are used in every file and you have no problems with duplicate namespaces or namings.

Chris
21.01.2018
11:10:16
Extra work though. I'm just not a fan of the way it was designed. I'd still use it for some projects, but I prefer other languages

About the only thing I really think it got right was concurrency

That it does very well

Tobias?
21.01.2018
11:11:09
I think it got everything right, from structs to code to general layout to performance.

Chris
21.01.2018
11:11:52
Oh and the way it handles unmarshalling data

I haven't seen another language do that as well

Le Schyken
21.01.2018
11:19:57
Oh my gosh, tap to click is disabled by default. :/

Also, I think the Princeton mirror is down

Not sure where to report that, or if it's useful :)

Kohane
21.01.2018
11:25:13
The reality of it is, despite the incredible usefullness and importance of SELinux, that it's still not quite general user grade experience software. The fact that we consistently see the question of how to disable or remove it proves that.
I used to disable. Now I don't do it just because that bloody thing stopped annoying me. But for many years it was the very first thing I did on a fresh install: disabling SELinux.

Павел
21.01.2018
11:29:14
Hi guys! When I switch in console mode, I can see russian symbols just using command "font fontname". But when I set this font in /etc/vconsole.conf after reboot it doesn't work. Does anyone know why?

Mikhail
21.01.2018
11:30:13
Tablet is now on Fedora, but I need to fix hardware problems, lots of things didn't work(all of theese things were glitchy in win10 so it's not linux problem)

Something strange with wifi

It works, it founds networks but it cannot connect them

If insecure, it just don't connects or asks for password again if the network is secure

What do you think it might be?

Networkmanager/wicd says it cannot get ip adress

Tobias?
21.01.2018
11:50:44
what does dmesg repot?`

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