Hacker Newsnew | past | comments | ask | show | jobs | submit | Calashle0202's commentslogin

Never heard of the project, but looks good. Good to see they are making efforts to change the license.

Curious, who/when would you use caddy? If I were to be building and deploying microservices with the likes of Gin, Mux, etc.. would I have a use for this library? Or is this primarily for those wanting to serve static html pages? Still trying to get a foot hold on what my tool kit is going to consist of to build my software product.


I've used caddy in places where I needed nginx but wanted end to end ssl and didn't want to deal with local letsencrypt cronjobs.

But caddy is also pretty cool to use as a development web server as well.


I’m planning on using Caddy to provide bring-your-own-domain handling for a project I’m working on. Your user points their domain to your caddy server and it sets up https automatically - including the certificate - during the first request

https://caddyserver.com/docs/automatic-https#on-demand

Obviously not what it’s limited to, but that’s it’s selling feature for me


Caddy is a webserver and can be used for static or dynamic sites in any stack. It's primary popular feature was easy and automatic SSL via LetsEncrypt integration.

You can look at the features list to see more: https://caddyserver.com/features


I use Caddy (the compiled product) as the reverse proxy and automagic SSL certificate manager for all of my personal sites.

I do not use Caddy (the code) as a library.


While working through your experience with Rust, would you mind writing down (doesn't have to be more than a couple of words and maybe a code snippet) diagnostic errors that were hard to understand or that were misleading? That feedback is invaluable in making rustc friendlier.


The worst part isn't when the game launches and does poorly, but during development.

Most devs are passionate gamers themselves, and even if our own priduct doesn't turn out great, doesn't mean we don't know what makes a good game. So most of us know that the product we're working on isn't gonna be a GOTY.

There's a few stages to it, similar to the stages of grief:

    Denial: "If I pull extra hours, I can fix this feature. We can turn this around."

    Anger: Frustration and anger that's usually directed towards upper management ("why did we have to make this decision? why don't we have enough staff? why are we launching in three months?"

    Acceptance: "Whatever, you can't always bat 1000. As long as my job is secure after all this, I'm fine."
And worst of all, apathy, where the passion you once had has been sapped from you, and what you thought was a dream job, has turned into just another routine motion you go through.


While you can still edit, please use a different style for your quotes. Using code formatting makes them a pain to read. Just make them cursive with the star characters. Thanks! :)


It's mysterious that people think this (fixed width for anything other than a short code listing) is a rational formatting decision on HN. Does anyone use a wide enough screen to accommodate that "anger" line above?


It would fit fine on my 4k monitor, but it still gets wrapped in a box with scrollbar so that I can only see the first 2/3 of it.


If you use that formatting, you need to keep your lines short. I make sure to keep my lines short when I use this style.

It's not a great way of formatting, but there's not a lot of options here.


Looks okay in lynx :)


One of HN design principles is that usability is irrelevant because people come here for the community and minimizing software development effort is a point of pride.

People use the code identuse there is no way to create a blockquote


As GP said:

Just make them cursive with the star characters.

That's a block quote!


For even further clarity, I like the very prescient '>' in combination with italics:

> this is a block quote right here

It's very clearly a distinct block


In a sense, this is right back to the original problem, because there is no natural beginning to lines in prose.

> This line looks fine.

> How about this line? It's quite a bit longer so it may wrap around to the beginning of the line, depending on screen size and other factors... where would one place additional ">"s?


I think it makes sense just to wrap it. The block ends when the contiguous text ends, no?

> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non sagittis sapien. Fusce ut lacinia ligula. In accumsan efficitur eros, ac ullamcorper mauris. Fusce consequat, magna id lobortis convallis, ante nibh tristique dui, sed laoreet elit tellus non augue. Pellentesque a vulputate mauris. Donec ac nunc venenatis, ultrices nibh nec, congue urna. Duis justo leo, auctor ac tempor at, faucibus id felis. Cras et neque in dui commodo faucibus eget eu erat. Donec tempus sapien felis, ac tristique est dapibus ac. Donec sed suscipit velit. Praesent leo ante, volutpat nec aliquam ac, tempor eu magna. In blandit purus a enim molestie posuere. Sed suscipit suscipit nulla a pharetra. Vivamus fringilla id neque accumsan sollicitudin. Nulla rhoncus fermentum lorem eget iaculis.

Though you might use multiple '>' for multiple paragraphs, eg:

> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus non sagittis sapien. Fusce ut lacinia ligula. In accumsan efficitur eros, ac ullamcorper mauris. Fusce consequat, magna id lobortis convallis, ante nibh tristique dui, sed laoreet elit tellus non augue. Pellentesque a vulputate mauris. Donec ac nunc venenatis, ultrices nibh nec, congue urna. Duis justo leo, auctor ac tempor at, faucibus id felis. Cras et neque in dui commodo faucibus eget eu erat. Donec tempus sapien felis, ac tristique est dapibus ac. Donec sed suscipit velit. Praesent leo ante, volutpat nec aliquam ac, tempor eu magna. In blandit purus a enim molestie posuere. Sed suscipit suscipit nulla a pharetra. Vivamus fringilla id neque accumsan sollicitudin. Nulla rhoncus fermentum lorem eget iaculis.

> Vivamus cursus mi diam, a euismod augue tincidunt quis. Ut et arcu feugiat turpis luctus dignissim. Morbi ornare, leo ut porttitor euismod, leo urna suscipit neque, ut lacinia metus velit ut ipsum. Duis ac lorem interdum, congue magna sit amet, accumsan odio. Nam eu tempus metus. Praesent venenatis tortor lacinia dapibus blandit. Mauris semper odio in faucibus feugiat. Praesent id nibh nulla. Phasellus fringilla risus vitae lacus sollicitudin, et pharetra odio ullamcorper. Phasellus at lacus in nulla egestas maximus a eu libero. Nulla sodales nulla vitae ipsum laoreet varius. Donec quis gravida erat.


Using asterisks makes the text italicized, not cursive.


Why is this the top comment? It's literally just a copy and paste of one of the linked Reddit comments (and badly formatted to boot).


Woa, have people started stealing top comments and crossposting them to farm karma?


Yep. This is probably the third or so time that I've seen a comment stolen from a related reddit thread get posted on HN by a new account and get called out. Who knows how often it happens and no-one notices.


nothng new... about as old as the web


Seems reasonable to flag it--new account, straight-up copy and paste even including "priduct", karma farming, no good can come of it.


know that the product we're working on isn't gonna be a GOTY

Is there more than one game of the year? Is it more important to get the adulation from critics or from gamers (I guess measure in sales?). Or do gamers really listen to critics?


Yes, everyone and their grandmother can be a critic and there's about an equal amount of GOTY's

however, I took that more as an indication that they know the game wont be well received, rather than literally not beeing GOTY


I know, but, that's not what I'm saying. There's being well received by critics (GOTY) vs well received by gamers (sales, I suppose). These aren't always the same the other media like film, tv, music, etc.

What's really more important to a game studio? That their customers like them or meaningless praise from game critics (which, as you suggest might not have the best credentials).


you want both, and they're usually quite correlated. Having a low score on Metacritic is a pretty good indicator that your game will not sell.


My experience is that developers are generally very well aware of all the issues mentioned in reviews and player feedback, but might not be prepared for how those are weighed against the good points.


He's gonna get a shareholder lawsuit if he isn't careful


Very nice work! I am not sure what method of analysis would be the most appropriate, but the sequence matrix deserves a closer look. You mention the possibility of one side being preferentially followed by another one, but you only investigate the simple case of the two sides being equal (preference for the diagonal). However, the correlation could be less obvious, such as one side being followed by its opposite, or by an adjacent one.


So how come SpaceX employees don't revolt over the use of their rockets for military payloads?

Elon Musk is literally out there launching a satellite surveillance network to help the military spy on the entire planet, meanwhile Microsoft employees are getting hung up on a headset that will maybe improve their aim, or maybe lead to fewer deaths in the field.

Besides that, was there ever a time where Microsoft wasn't selling their services to the U.S. military? It's hard to resist a contract from the world's largest employer.


> So how come SpaceX employees don't revolt over the use of their rockets for military payloads?

Vonce ze rockets are up, who cares vhere zey come down? Zat's not my department, says Wernher von^W^W SpaceX employee #4512.


Well, to be fair, if you apply for a job at an orbital rocket company without realizing who is going to be paying for your services, you’re probably not bright enough to actually make the cut.


Ugh, your point is that if workers of one company don't mind building weapons, the workers of another company should also shut up and build weapons?


Yet again the "achilles heal" of mass transit it exposed. Uber and Lyft work because they go where I want to go and when I want to go at a reasonable price.

Busses are not full of people who want to ride the bus, they are full of people who must ride the bus.

No amount of taxation will ever change that.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: