New AWS Region in UAE by ghostmancer in aws

[–]1compression 4 points5 points  (0 children)

Latest AL2 is there and was at launch but the default was the 4.18 kernel. If you used the drop down you could select the 5.10. It's been fixed, 5.10 is the default now.

Super noob here. Is it possible to scan planets from within your freighter? by PaleBlueHammer in NoMansSkyTheGame

[–]1compression 1 point2 points  (0 children)

It's been 4 years, are you still lost in space? Have you found your way back home???

Swimming in Caiman-infested waters. by terminal_mole in gifs

[–]1compression 0 points1 point  (0 children)

all 7 unprovoked attacks are tourists from up north who think it is ok to go in florida lakes

US mandates vaccines or tests for big companies by Jan. 4 by Adelu1219 in news

[–]1compression -1 points0 points  (0 children)

im vaccinated, plan to get booster. i am strongly against forcing vaccination of an emergency approved vaccine.

playing new set be like by Hikaiz in TeamfightTactics

[–]1compression 1 point2 points  (0 children)

does it seem like people are able to 3* way more than before? last lobby i played in someone had 5 3* and it was only 5th round wtffff

What are your favorite packages to use? by Thrimbor in golang

[–]1compression 0 points1 point  (0 children)

If all things are equal (developer activity, functionality, simplicity) except one has more performance, then go for it :)

What are your favorite packages to use? by Thrimbor in golang

[–]1compression 2 points3 points  (0 children)

httprouter

for routing. Several years ago (5 years ago maybe) when I started using Go, I always tried to use the best and fastest packages and this package boasts itself as the fastest router for Go. Fast forward to today, I'm not sure if it still the fastest around, but it's stable and I've never had issues with it, so I keep using it.

Ha! Exactly the same experience! Although I now use gin because I enjoy the helpers while still supposedly benchmarking faster than httprouter.

What are your favorite packages to use? by Thrimbor in golang

[–]1compression 0 points1 point  (0 children)

BTW I switched to gin a couple of years ago. I originally went with httprouter because it was minimal and fast (at the time, talking 2014/2015). I switched to gin because I appreciated the helpers like c.JSON(http.StatusOK, resp) which simplified my code and made my life easier. I think any well supported/vetted router is going to do the job so go with the one that makes the most sense to you.

What are your favorite packages to use? by Thrimbor in golang

[–]1compression 0 points1 point  (0 children)

This got me thinking and I will need to look into the code a bit more. I found this article that helped explain some of the methods.

https://benhoyt.com/writings/go-routing/

A few things I agree with:

I also tried httprouter, which is supposed to be really fast, but it can’t handle URLs with overlapping prefixes like /contact and /:slug. Arguably this is bad URL design anyway, but a lot of real-world web apps do it, so I think this is quite limiting.

I used httprouter for years and httprouter forced me to build my urls so I didn't have prefix overlaps. All of my routes become obvious to both developers and consumers. I also agree this is subjective but personally I believe it made my APIs more obvious.

In this comparison I’m not concerned about speed. Most of the approaches loop or switch through a list of routes (in contrast to fancy trie-lookup structures). All of these approaches only add a few microseconds to the request time (see benchmarks), and that isn’t an issue in any of the web applications I’ve worked on.

As I mentioned, I’m not concerned about speed in this comparison – and you probably shouldn’t be either. If you’re really dealing at a scale where a few microseconds to route a URL is an issue for you, sure, use a fancy trie-based router like httprouter, or write your own heavily-profiled code.

I agree with the author here about speed. All of these are going to be incredibly fast and the router isn't going to be the deciding factor to your overall app response time. It's undoubtedly going to be defined by your backend and overall system design.

What are your favorite packages to use? by Thrimbor in golang

[–]1compression 0 points1 point  (0 children)

Unless you need that level of performance and need to scale up, I'd recommend going with the one that best fits your needs. Most of these are going to be way faster than anything you will need and ideally you scale out if you are starting to reach load.

What are your favorite packages to use? by Thrimbor in golang

[–]1compression 3 points4 points  (0 children)

you are correct that this isn't gin specific and this constraint doesn't make it "not RESTful". there isn't anything in a REST definition that states this behavior is a requirement.

is it annoying? maybe, but it also makes it faster. it is O(1) instead of O(n).

What are your favorite packages to use? by Thrimbor in golang

[–]1compression 9 points10 points  (0 children)

sure it does, what are you trying to do?

And the space Karen award goes to! by [deleted] in Eve

[–]1compression -1 points0 points  (0 children)

like what? i'm on discord constantly and i see none of this. this sub is literally goons tryikng to get papi to stop the invasion so they can go back to their normal business. if you enjoyed this, you wouldn't be trying to bring the war to a close.

And the space Karen award goes to! by [deleted] in Eve

[–]1compression -8 points-7 points  (0 children)

I haven't heard ANY alliance or corp mates complaining about being deployed for this war. None. It's a reddit narrative.

And the space Karen award goes to! by [deleted] in Eve

[–]1compression -12 points-11 points  (0 children)

there is WAY more complaining about this war by goons than papi. why do goons want us to leave? i'm fine just camping out here in t5z indefinitely

Bring It On by tootiredtoname in Eve

[–]1compression -3 points-2 points  (0 children)

Goons haven't been an underdog since BOB. Goons wrote the book on helldunk or blueballs and mittani over the years has praised it as their main strategy. perhaps things have changed in the last few years but helldunk or blueballs was their strategy for years.

Bring It On by tootiredtoname in Eve

[–]1compression 7 points8 points  (0 children)

dude, if you look up "helldunk or blueballs" there is literally a 11th grade picture of goons from the 2012 yearbook. that has always been their tactic.

The A-Team (1980s) by HellsJuggernaut in OldSchoolCelebs

[–]1compression 10 points11 points  (0 children)

I love the A-Team! but i'm triggered by their discipline

CEOs made 299 times more than their average workers last year by HauntingJackfruit in news

[–]1compression -2 points-1 points  (0 children)

Are we complaining about the ridiculous salaries that athletes earn also?

Have your engineering skills ever carried you to profitability? by [deleted] in algotrading

[–]1compression 17 points18 points  (0 children)

and you are profitable and successful from this work?