TonyLozano's recent activity
-
Comment on The massive US port strike has begun: 'We are prepared to fight as long as necessary' in ~transport
-
Comment on What's your recommended survival crafting game to play solo? in ~games
TonyLozano Dope. I am tempted to set up a new server.Dope. I am tempted to set up a new server.
-
Comment on What's your recommended survival crafting game to play solo? in ~games
TonyLozano Blightfall was pretty great but back when I played the "endgame" idea of cleansing the whole world with an airship and making a mobile chunk cleaning tool was completely broken and that really...Blightfall was pretty great but back when I played the "endgame" idea of cleansing the whole world with an airship and making a mobile chunk cleaning tool was completely broken and that really killed it for me.
Is there a "real" endgame now?
-
Comment on What have you been eating, drinking, and cooking? in ~food
TonyLozano (edited )Link ParentTry swapping the BBQ sauce and bun for salsa and tortillas! Then you're making carnitas for tacos. Add some shredded cabbage for fiber and crunch.Try swapping the BBQ sauce and bun for salsa and tortillas! Then you're making carnitas for tacos. Add some shredded cabbage for fiber and crunch.
-
Comment on What are your thoughts on the second season of Vinland Saga? in ~anime
TonyLozano At first the pacing will bother you, but eventually you see its quite intentional. I really liked it honestly, but it might not be for everyone.At first the pacing will bother you, but eventually you see its quite intentional. I really liked it honestly, but it might not be for everyone.
-
Comment on Bags and backpacks! What do you look for, what do you use? in ~life.style
TonyLozano Check out Go Ruck's options. They have great small daily packs. Ignore all the tacticool branding if its not your thing, the packs are solid and will last a lifetime.Check out Go Ruck's options. They have great small daily packs. Ignore all the tacticool branding if its not your thing, the packs are solid and will last a lifetime.
-
Comment on What is the most recent game to really impress you? in ~games
TonyLozano It is also an incredible value, a lot of replay-ability, decent co-op (the lag is a bit annoying though). Small price.It is also an incredible value, a lot of replay-ability, decent co-op (the lag is a bit annoying though). Small price.
-
Comment on Team of Swedish engineers has finally developed the first crash test dummy designed on the body of the average woman in ~engineering
TonyLozano Yeah, I was also reminded of this TED talk: The Myth of AverageYeah, I was also reminded of this TED talk: The Myth of Average
-
Comment on Harden your Linux server using SSH keys (and turn off password auth) in ~comp
TonyLozano Same, though usually I add in Fail2ban. Using ed25519 for your keys is also easy and better. For serious business, you need to fiddle with the ciphers and stuff too, that's where...Same, though usually I add in Fail2ban.
Using ed25519 for your keys is also easy and better.
For serious business, you need to fiddle with the ciphers and stuff too, that's where https://github.com/jtesta/ssh-audit/ comes in. https://www.sshaudit.com/hardening_guides.html
-
Comment on I need career advice in ~life
TonyLozano Make sure to check your years experience vs salary at something like levels.fyi. The right answer might be looking for an entirely different opportunity that would give you benefits, quality of...Make sure to check your years experience vs salary at something like levels.fyi. The right answer might be looking for an entirely different opportunity that would give you benefits, quality of life, and pay. Development is a hot market, you can have your cake and get paid too.
-
Comment on What games have you been playing, and what's your opinion on them? in ~games
TonyLozano Satisfactory I broke my normal rule of not buying early access games with this one, and so far its been a blast. There are still some bugs, especially visual ones and stuff with vehicles, but...Satisfactory
I broke my normal rule of not buying early access games with this one, and so far its been a blast. There are still some bugs, especially visual ones and stuff with vehicles, but overall its been immensely enjoyable. Nothing like hard crashes or corrupted saves. The factory building aspect is great, very similar to factorio but without the jank of inserters to think of. Resources don't deplete, which is nice, but to expand you have to explore. I think the game needs better / faster travel options though, too much time is spent running / driving / tubing around and while "hypercube cannons" are fast they are arguably a bug and dangerous.
Shing!
Got this game from a Humble Bundle. It was ok, but using both joysticks on an xbox controller AND using buttons was annoying. I would avoid this game.
Yoku's Island express
Boy was this a great little 8-10 hour game! Its a fusion of platformers and pinball, with cute artwork and decent music. You play as a dung beetle postman trying to save the island. The mechanics are solid and the pinball action 'feels' good. Some of the puzzles to get the special ending are annoying but the core game is just a good time.
-
Comment on Python Loops for JSON in ~comp
TonyLozano also fun tip, the requests library will handle the json parsing for you when the HTTP response's content type is application/json, like this: import requests response =...also fun tip, the requests library will handle the json parsing for you when the HTTP response's content type is
application/json
, like this:import requests response = requests.get("https://ergast.com/api/f1/2022/driverStandings.json") driver_standings = response.json()["MRData"]["StandingsTable"]["StandingsLists"][0]["DriverStandings"]
-
Comment on Python Loops for JSON in ~comp
TonyLozano So I think the problem is on the line data = json.loads(data.content)["MRData"]["StandingsTable"]["StandingsLists"][0]["DriverStandings"][0] You only grab a single driver at the end when you wrote...So I think the problem is on the line
data = json.loads(data.content)["MRData"]["StandingsTable"]["StandingsLists"][0]["DriverStandings"][0]
You only grab a single driver at the end when you wrote
[0]
.Here is a version that loops over the standings.
import json import requests as requests data = requests.get("https://ergast.com/api/f1/2022/driverStandings.json") driver_standings = json.loads(data.content)["MRData"]["StandingsTable"]["StandingsLists"][0]["DriverStandings"] string_segments = [] for driver in driver_standings: name = driver["Driver"]["code"] position = driver["positionText"].zfill(2) points = driver["points"] string_segments.append(f'\x0306\x02{name}\x0303[{position}, {points}]') print(", ".join(string_segments))
Output:
?06?VER?03[01, 125], ?06?LEC?03[02, 116], ?06?PER?03[03, 110], ?06?RUS?03[04, 84], ?06?SAI?03[05, 83], ?06?HAM?03[06, 50], ?06?NOR?03[07, 48], ?06?BOT?03[08, 40], ?06?OCO?03[09, 30], ?06?MAG?03[10, 15], ?06?RIC?03[11, 11], ?06?TSU?03[12, 11], ?06?ALO?03[13, 10], ?06?GAS?03[14, 6], ?06?VET?03[15, 5], ?06?ALB?03[16, 3], ?06?STR?03[17, 2], ?06?ZHO?03[18, 1], ?06?MSC?03[19, 0], ?06?HUL?03[20, 0], ?06?LAT?03[21, 0]
Not sure what you are doing with the
\x0306
stuff, but I left it in. Output without that:VER [01, 125], LEC [02, 116], PER [03, 110], RUS [04, 84], SAI [05, 83], HAM [06, 50], NOR [07, 48], BOT [08, 40], OCO [09, 30], MAG [10, 15], RIC [11, 11], TSU [12, 11], ALO [13, 10], GAS [14, 6], VET [15, 5], ALB [16, 3], STR [17, 2], ZHO [18, 1], MSC [19, 0], HUL [20, 0], LAT [21, 0]
-
Comment on <deleted topic> in ~health
TonyLozano I knew everything in this article before I read it. I am still extremely over weight. This article gave no advice on how to actually lose weight other than "eat less". The deck is completely...I knew everything in this article before I read it. I am still extremely over weight. This article gave no advice on how to actually lose weight other than "eat less". The deck is completely stacked against us. Every restaurant, every grocery store, every fast food, and every source of stress, is constantly pushing us and tricking us to eat more. I know what the problems are, but feel powerless in the face of it to actually do anything.
This article is the equivalent of a politician talking about all the problems while failing to provide any tangible plan for a solution. Its good information, I give it that, but how does society take this information and put it into action to increase health? That's the hard part. That's the risky part.
-
Comment on Vega Strike (an open source space trading and combat game) releases 0.8.0 in ~games
TonyLozano Whoa, blast from the past here. I had no idea Vega Strike was still under development.Whoa, blast from the past here. I had no idea Vega Strike was still under development.
-
Comment on Stop saying print journalism is dead. Sixty magazines launched during this crazy year in ~news
TonyLozano How many print magazines subsist entirely off of people who can't be bothered to attempt the arcane and Kafkaesque process of canceling their subscription?How many print magazines subsist entirely off of people who can't be bothered to attempt the arcane and Kafkaesque process of canceling their subscription?
-
Comment on What have you been eating, drinking, and cooking? in ~food
TonyLozano My wife and I keep buying a whole head of cabbage to make some fish tacos, and throwing away 3/4 of it because we never figure out how to eat the rest. So this time I made "southern" fried cabbage...My wife and I keep buying a whole head of cabbage to make some fish tacos, and throwing away 3/4 of it because we never figure out how to eat the rest. So this time I made "southern" fried cabbage with the leftovers. Recipe's abound online, but its kind of a leftover "whatever you got" meal, like fried rice.
I ended up using chicken apple sausage, red pepper, shallot, onion, garlic, and of course cabbage as the base. I spiced it up with chili powder, cumin, and plenty of salt, fried it in 1/4 stick of butter and some olive oil. It came out pretty good for a healthish way to finish off the cabbage.
-
Comment on Organisations that do important/meaningful work? in ~life
TonyLozano I currently work at Flatiron and I think our overall mission is pretty amazing. It feels good that our software isn't about "engagement" - we want medical professionals to spend as little time in...I currently work at Flatiron and I think our overall mission is pretty amazing. It feels good that our software isn't about "engagement" - we want medical professionals to spend as little time in the software as possible while still having the software provide value. A lot of the tech is mundane (though a small amount of it is very cutting edge too), but the mission is what keeps me going.
-
Comment on Looking for recommendations for half-hour shows in ~tv
TonyLozano I wouldn't call The Good Place light hearted. Its an extremely dark comedy if you think about it.I wouldn't call The Good Place light hearted. Its an extremely dark comedy if you think about it.
-
Comment on Fry’s Electronics is shutting its doors for good in ~tech
TonyLozano There is also no Microcenter in the Phoenix metro area. Its kind of sad that there is no where to buy PC parts in person anymore in the valley.There is also no Microcenter in the Phoenix metro area. Its kind of sad that there is no where to buy PC parts in person anymore in the valley.
Pay is an issue for sure. The ask for a complete ban on automation is ludicrous though; you can't hold back technological progress.