|
akadajet posted:if you want usable unix on the desktop you really only have one choice truth!
|
# ? Feb 22, 2018 02:23 |
|
|
# ? Apr 28, 2024 21:37 |
|
Linux with kvm + gpu passthrough for MacOS
|
# ? Feb 22, 2018 02:31 |
|
If I wanted bloatware for an operating system I'd use Windows.
|
# ? Feb 22, 2018 02:33 |
|
The new MacBook Pros are the dumbest things. The keyboards are terrible and only having USB-C ports is aggravating as all hell. I tried it and went straight back to win10.
|
# ? Feb 22, 2018 03:14 |
IDK my arch + kde setup works great for me, and doesn't really require much janitoring other than running pacman -Syu every so often. Mac OS has given me worse breakage on updates (admittedly this is usually the fault of app developers) and Windows is way slower (especially at boot). Plus, after some configuration, I think KDE is just as aesthetically pleasing and arguably more functional than either OS X or windows. I wouldn't recommend it for my mom, but for me it is very needs suiting.
|
|
# ? Feb 22, 2018 03:23 |
|
hopefully no one is recommending desktop linux to your mom
|
# ? Feb 22, 2018 03:25 |
|
kde is many things but aesthetically pleasing isn't one of them gnome looks pretty but probably isn't as useful as kde
|
# ? Feb 22, 2018 03:39 |
|
Sapozhnik posted:kde is many things but aesthetically pleasing isn't one of them i am satisfied if each kde release merely strives for less ugly
|
# ? Feb 22, 2018 03:56 |
|
gnome 3 is actually decent but would be so much better if all the ui elements weren't huge
|
# ? Feb 22, 2018 04:59 |
|
for all those linux tablets
|
# ? Feb 22, 2018 05:31 |
|
Gazpacho posted:the other day I wanted to run tomcat on port 80, knowing that you should never give the cat root privileges. I know how to proxy it behind apache but that's kind of clumsy, I shouldn't have to use two http servers to serve one site It's mainly because tomcat isn't a good server for static files and HTTP/2 is good. Tomcat's docs are straight up: quote:HTTP/2 connectors use non-blocking I/O, only utilising a container thread from the thread pool when there is data to read and write. However, because the Servlet API is fundamentally blocking, each HTTP/2 stream requires a dedicated container thread for the duration of that stream.
|
# ? Feb 22, 2018 05:35 |
|
tomcat's been on port 8080 long before HTTP/2 was around, because the developers know that it isn't desirable to automatically grant root privs to every servlet in a container
|
# ? Feb 22, 2018 05:44 |
|
MrMoo posted:It's mainly because tomcat isn't a good server for static files tomcat serves static content faster than apache
|
# ? Feb 22, 2018 05:44 |
|
pram posted:for all those linux tablets RIP nokia
|
# ? Feb 22, 2018 05:57 |
|
wtf tomcat is like made to be proxied u dunce
|
# ? Feb 22, 2018 06:21 |
|
it's you, you're the xzibit joke itt
|
# ? Feb 22, 2018 06:42 |
|
MrMoo posted:It's mainly because tomcat isn't a good server
|
# ? Feb 22, 2018 08:07 |
|
Notorious b.s.d. posted:tomcat serves static content faster than apache
|
# ? Feb 22, 2018 08:40 |
Notorious b.s.d. posted:hopefully no one is recommending desktop linux to your mom Lol my dad has actually recommended it for her, but I think it's a bad idea in her case. She's pretty computer literate, but I don't think she has used a command line since the 90s and that's still occasionally necessary on desktop Linux (although IMO that's getting a lot better). More importantly she needs Microsoft Publisher for her current job. Right now she uses Mac OS and (understandably) complains that Publisher doesn't quite work right, and I imagine whatever Publisher knock-off that Libre Office has to offer would be even worse.
|
|
# ? Feb 22, 2018 08:56 |
|
the dude that made overwatch work in wine takes over wine-staging, nice! https://www.winehq.org/pipermail/wine-devel/2018-February/123080.html
|
# ? Feb 22, 2018 09:15 |
|
and kde is very aesthetically pleasing, but people can't be found alive saying anything remotely positive in this subforum
|
# ? Feb 22, 2018 09:19 |
|
the 'your operating system is positively outstanding sir' subforum certainly lost its way somewhere over the years
|
# ? Feb 22, 2018 10:14 |
|
a shame, really
|
# ? Feb 22, 2018 10:16 |
|
Cybernetic Vermin posted:the 'your operating system is positively outstanding sir' subforum certainly lost its way somewhere over the years lol
|
# ? Feb 22, 2018 10:24 |
|
Cybernetic Vermin posted:'your operating system is positively outstanding sir' mods,
|
# ? Feb 22, 2018 13:27 |
Cybernetic Vermin posted:the 'your operating system is positively outstanding sir' subforum certainly lost its way somewhere over the years
|
|
# ? Feb 22, 2018 13:51 |
|
pram posted:wtf tomcat is like made to be proxied u dunce you might be working on a dumpster fire if nginx/varnish/haproxy/etc arent somewhere in your stack
|
# ? Feb 22, 2018 14:11 |
|
pram posted:wtf tomcat is like made to be proxied u dunce that is the normal configuration, but it is not because tomcat is bad at serving static content. it is ridiculously fast at that task.
|
# ? Feb 22, 2018 15:36 |
|
MrMoo posted:It's mainly because tomcat isn't a good server for static files and HTTP/2 is good. Tomcat's docs are straight up: one request per thread is totally normal and fine and sane. tomcat is extremely good at serving static content. The reason you proxy tomcat is mostly for load balancing purposes or if you have static content being hosted by a separate system that you are combining with tomcat. There are design reasons you might not want to deploy static content with tomcat, but there are not technical reasons to avoid it.
|
# ? Feb 22, 2018 15:43 |
|
Helicity posted:you might be working on a dumpster fire if nginx/varnish/haproxy/etc arent somewhere in your stack
|
# ? Feb 22, 2018 16:45 |
|
Notorious b.s.d. posted:that is the normal configuration, but it is not because tomcat is bad at serving static content. it is ridiculously fast at that task. this is strange to me because i specifically remember setting up a connection over some custom protocol that was designed to allow tomcat to proxy requests for static content through httpd. the tomcat docs even recommended this configuration. DONT THREAD ON ME fucked around with this message at 16:49 on Feb 22, 2018 |
# ? Feb 22, 2018 16:46 |
|
your mom should probably be using chomeos
|
# ? Feb 22, 2018 17:06 |
|
MALE SHOEGAZE posted:this is strange to me because i specifically remember setting up a connection over some custom protocol that was designed to allow tomcat to proxy requests for static content through httpd. the tomcat docs even recommended this configuration. It's probably stuff with Sendfile support. It appears modern Tomcat has two connectors which support fast file transfer, an APR connector which presumably tells HTTPD to send the file on Tomcat's behalf, and a NIO connector which underneath uses sendfile to reduce memory copies between the filesystem and the network stack. Shaggar posted:one request per thread is totally normal and fine and sane. Only in a HTTP 1.1 world, there are detailed scenarios by team SPDY that an asynchronous design resolves. Most obvious is the artificial head of line blocking with cached content behind non-cached content.
|
# ? Feb 22, 2018 17:37 |
|
Gazpacho posted:lol folks im just setting up a quick dev utility server with a couple JSPs ok but why tho you have a specific problem you want solved, why do you think jsps are the tool that will do it if you want a java web application then make it free standing with an old timey "public static void main(String[] args) {" at the beginning and embed jetty into it. "servlet containers" don't solve any problems, they just reimplement a lovely operating system on top of your existing perfectly good one. i've already quoted a post describing how to pass a socket on a privileged port from systemd to embedded jetty within a non-privileged process. as a bonus you can even do a zero-downtime redeploy and restart with this mechanism in place. putting a reverse proxy in front of your web application has all sorts of benefits. chiefly the ability to run more than one application in a single url namespace. but they'll also handle ssl termination for you (you don't want to deal with java's weird crappy ssl stack and proprietary certificate file formats), write request logs, serve static content.
|
# ? Feb 22, 2018 18:44 |
|
the most important thing is to make sure that your webapp does not fail to reimplement everything imaginable, it is a matter of gentlemanly understanding among engineers that we mustn't permit web dev, whether server or client-side, to go the way of other arenas of development of the past, where useful long-standing abstractions, platforms and libraries were established such that suddenly not every person who tried to copy-paste some code off of the web would make 6.5 figgies. ideally your main function should not start jetty directly, start with your own page templating code, and have that code launch random pieces of jetty as the pages get built, to ensure a proper level of apparent sophistication
|
# ? Feb 22, 2018 18:50 |
|
u wanna apply to do my job after i quit?
|
# ? Feb 22, 2018 18:51 |
|
buddy i'm trying to answer your question about how to do your job why you trying to sass me lol
|
# ? Feb 22, 2018 19:35 |
|
JSPs + Tomcat are, like PHP + Apache, handy for hacking up a quick page with computations inside, that can be deployed just by dumping a file somewhere. That is what I require in my current task. not some jetty service that depends on a grab-bag of frameworks to make up what web containers already provide, and has to be lovingly configured before it will work. i don't need zero-downtime, or multiple applications on the server, or SSL and I don't know why you're assuming that I would
|
# ? Feb 22, 2018 19:58 |
|
Gazpacho posted:i don't need zero-downtime, or multiple applications on the server, or SSL and I don't know why you're assuming that I would youre saying you want to run tomcat on port 80 and the answer is that http proxies are good and can do that, and you get a shitload of other benefits that you may or may not need at the moment. throwing nginx in front of something in 2018 isnt remotely as inflammatory as init or distro discussions - its just something most web developers do regardless of stack counterpoint if its just a lovely little admin app that doesnt deserve much thought, leave it on 8080 and dont think about it not being on port 80
|
# ? Feb 22, 2018 20:11 |
|
|
# ? Apr 28, 2024 21:37 |
|
corp. firewall i mean gee it's as if by being here where the app will be used i have some asymmetric knowledge not available to the internet at large
|
# ? Feb 22, 2018 20:18 |