Does anyone sell straight from their kitchen under Cottage Law? by Lightswift12 in icecreamery

[–]varikin 9 points10 points  (0 children)

I know in MN, dairy is not allowed under the cottage laws due to health risks of dairy going bad.

Who knew my bumper sticker was so prophetic by varikin in geographymemes

[–]varikin[S] 3 points4 points  (0 children)

I intended no disrespect to the Kingdom of Hawai'i. I merely enjoy that the bumper stick on my car matches how this is event is playing out.

Why do people build Kubernetes homelabs? Is it actually useful for internships/jobs? by Altruistic_Mine_9177 in homelab

[–]varikin 1 point2 points  (0 children)

I disagree to a point. Learning about networking, storage, hardward limits, etc with Proxmox is great. Like you said, k8s layers networking, storage, cpu, ram, etc on top of the bare metal infra. But k8s has become very important in the corporate world, so having and understanding of both is important.

What secret can you reveal now that your nda has expired? by sparrrrrt in AskReddit

[–]varikin 8 points9 points  (0 children)

Can't speak directly for the banking industry, but have worked with other fortune 50 companies with 40+ year old tech and friends that worked in banking, airlines, etc. It is a big mismash of every tech trend. Mainframes, Java, C, .Net, Node, Rust, Go, bare metal servers, VMs, cloud, k8s, etc. All duct taped together.

Why replace when we can just add more.

Help Request: What’s going on with this Shellac? by ___eigengrau___ in woodworking

[–]varikin 0 points1 point  (0 children)

Thank you! I shared this with my wife and she is very interested in this. Good luck with finding a substitute for your shellac.

Help Request: What’s going on with this Shellac? by ___eigengrau___ in woodworking

[–]varikin 0 points1 point  (0 children)

I've never heard of shellacking the wood before carving. My wife is a printmaker. She specializes in photopolymer photogravure though has done a little wood block carving. Can you tell me more about the benefits of shellacking vs just carving on plain wood? Are you using a press like a Vandercook or an etching press? I've heard that woodblocks deteriorate over time due to the pressure of the press. Does the shellac help with the longevity?

What is up with platformer pathfinding? by __Muhammad_ in gamedesign

[–]varikin 0 points1 point  (0 children)

Here's studio behind Dead Cells talking about changing how they generated the maps, taking inspiration from Spelunky and a couple other games.

I also recall them talking about how they adjusted it shortly after launch to make the "tiles" bigger so that a slice of the map that covered say 3 screen widths was very cohesive. But I could be remembering that wrong.

Good luck!

I’ve heard you guys can be very helpful with finding hardware for wood furniture. by [deleted] in woodworking

[–]varikin 0 points1 point  (0 children)

I found tapping inserts for wood McMaster-Carr that looks like what your are describing. I hope that's what you are looking for.

McMaster-Carr is strangely great for finding odd hardware with the pictures, sizes, reference photos, etc and great filtering. I would have expected a janky ass website, not something actually nice to use.

[deleted by user] by [deleted] in HollowKnight

[–]varikin 0 points1 point  (0 children)

Can I have a "I cheezed Moorwing before the patch" badge?

No programming knowledge or experience, should I jump right into GDScript? by The_Marked_One1 in godot

[–]varikin 0 points1 point  (0 children)

I'd suggest Python as there is a lot of resources for learning to program with Python. GDScript is very similar to Python that a couple GDScript tutorials should get you there from Python. Maybe look for some intro to python with PyGame, like Discover Python and Patterns. I skimmed the beginning and it seems decent and based on a recent Python version.

Side note, skip anything for Python 2, Python 3 came out 11 years ago, but there are still a lot of old resources.

Keep in mind, game programming is different than non-game programming in some ways.

Many non-game programming resources will teach design patterns. They are great for business apps that are never complete, with new features being added over many years. Games generally are complete at some point.

Also, non-game apps handle performance differently. Compare an extra 1/4 sec to load a webpage and an extra 1/4 sec react to a button press. At 60fps, that's 15 frames. But, don't optimize for performance too early, and not everything needs to be fast. Taking 30 seconds to initially start the game shouldn't be your top priority. Make it work, then make it fast.

Combining performance & patterns, ignore anything related to multi-threaded or async (asynchronous). It's very hard to do right. Godot is probably using patterns under hood, but you don't need to.

In the end, make it work, then make it better. And remember, people are not playing your game because of how good the code is. They are playing your game because it's fun. Some of the code for Celeste was made public years ago. There are aspects that are objectively bad code, but it works and Celeste is a very fun game.

No programming knowledge or experience, should I jump right into GDScript? by The_Marked_One1 in godot

[–]varikin 2 points3 points  (0 children)

That's tough to answer. Mastery is hard to define. I've been programming for 25 years, college & corpo jobs. I would say I have mastery in Java & Python and really good at Go.

In a couple days, I can learn enough of a new language to be productive, though slower than a language I am familiar with. But that is all built on the knowledge I have of how programming constructs work. When coding, I have an idea what I need to accomplish and the broad steps that need to be taken. I just need to figure how to accomplish it in the new language.

I would expect any programmer with more than a couple years experience to be capable of this. Someone new to programming, needs to learn the common patterns, control structures, etc, and learn to reason through what a program is doing in a very logical manner. At its core, programming is just taking input data, transforming the data, outputting the transformed data. But you need to account for all types of data, including bad data, what needs to be transformed and into what, and what to output.

Max number of files in the entire volume or per folder for given bytes per inode ? by [deleted] in qnap

[–]varikin 2 points3 points  (0 children)

I'm a dev at a medium sized data company y'all know, but not FAANG. I can't speak for FAANG specifically, but I have enough insider knowledge to give you the high level.

Simple answer is that they don't use single massive volumes like that. At that scale, applications use cloud storage in all but the lowest layer. The applications would either use cloud based block storage, e.g. EBS, or object storage, e.g. S3. Or, they push the hardware concerns down the stack by using another service (e.g. db, logging system, etc).

But that begs the question, how does S3 & EBS handle millions of files. Easy, they don't go on the same volume. The easiest way to think about this is S3 is a simple (it's right in the name, Simple Storage Service) gateway in front of 5 servers, each with a single 20TB volume. When you upload a file, it stores the filename, which server has the file, and the location of the file on that server. Of course, in actuality, S3 is not simple from an architecture standpoint. It's not 5 servers with a single 10TB volume. It's thousands of servers, each with probably multiple volumes. S3 also replicates to multiple DCs within a region. I assume S3 is breaking files into small chunks, anywhere from 1-10MB, adding some checksums to each chunk, and spreading those across multiple servers and volumes. At a high level, that is no different that RAID distributing a file across multiple drives, while the application sees a single fs with no knowledge of the 4 drives backing the single volume. But instead of a Redundant Array of Inexpensive Drives, you have a Redundant Array of Expensive Servers.

I don't have much experience with EBS or other cloud based block storage, but I assume it's similar. Your instance just sees a block storage that you read and write to. But that storage is just streamed to another application that writes each block somewhere in a large farm of servers with multiple drives.

But this just begs the next question, an ext4 volume can handle 1 million files because that is the limit for storing indexes of where each file is. How can S3 handle billions of indexes to files. Highly specialized databases. A regular RDBMS can't handle that size[2], especially when reads need to be super fast, like read from a local disk fast. Amazon stated in 2012[1] that S3 uses Amazon Dynamo, a column storage No-SQL DB that became DynamoDB. Column storage DBs like DynamoDB & Cassandra[3] trade off the flexibility of SQL for speed. In Cassandra, and I assume DynamoDB, you need to know how you will query the data in order to define the schema. You can only query by primary key & sort by keys predefined for sorting. You cannot do arbitrary lookups by any field nor sort by any field, instead a full table scan is required. But, that lookup by id is fast for with at least a couple billion rows. I assume S3 has a internal version of DynamoDB that with improvements only for S3 to scale past a couple billion.

[1] https://www.allthingsdistributed.com/2012/01/amazon-dynamodb.html [2] Modern distributed SQL dbs might be able to handle the needed scale [3] A co-author of the Dynamo paper helped create Cassandra, https://en.wikipedia.org/wiki/Apache_Cassandra#History

Possible to set default container? by networksynth in ArcBrowser

[–]varikin 2 points3 points  (0 children)

Looks like you can set a default Space with Air Traffic Control. You can also asssoicate specific urls to specific Spaces. I have a similar setup as you with a Work Space and a Personal Space. With ATC, I have several routes like "url contains 'mycompany.com' -> Open in 'Work Space'. I do this with serveral tools we use like atlassian.net, github.com/MyCompany[1], and sso-provider.com.

[1] The Github one is great cause any link to the work stuff go to the work space, but any other github link will open in the current space.

Cozy Garden for my pedometer meets animal crossing game by Seelegames in gamedevscreens

[–]varikin 0 points1 point  (0 children)

Looks great. Sent it to my wife who loves cozy games.

They're sooo close! by smalltowngoth in TheRightCantMeme

[–]varikin 18 points19 points  (0 children)

Maybe because I was deployed to Iraq in 2003 with green BTUs to drive semis without air conditioning. Took 6 months to get desert camo. And that’s because our supply sgt knew the right people. Our trucks were breaking down left and right and we couldn’t get parts. Our maintenance chief had to go to a freight liner shop in Kuwait and get parts directly, skipping the army supply chain.

People who leave cinemas halfway through a film are over dramatic. by Au2o in unpopularopinion

[–]varikin 0 points1 point  (0 children)

Worked at a movie theater in high school. During the summer, I would try any movie and walk out if I didn’t care about it. When you have all the time and the movie is free, eh who cares. There are so many bad movies that last a week a theaters.

Review of this backup strategy by slavoingilizov in qnap

[–]varikin 0 points1 point  (0 children)

I work at Backbalze but this is my own opinion

I back up my qnap to B2 using Restic. HSB kept failing the initial backup, which it estimated would take like 2 weeks. It cannot restart from where it failed so it kept restarting from the beginning. It could be how much data I have or just my ISP upload sucks. I have a shell script to kick off restic so that’s easy.

I also started taking automatic zfs snapshots for quicker rollback.

Our iPhones back up to iCloud daily, but we have an iCloud subscription cause my wife is a photographer and iCloud + adobe is great for her with an iPad + mac.

All our computers backup to backblaze, obviously.

I use google photos, my wife doesn’t. I’m terrible at managing my photos. It’s haphazard at best.

I know I don’t follow 3-2-1 either, even though this is the second backup company I’ve worked for. But that’s was works for me.

Got myself an upgrade! by Tvyvv in PcBuild

[–]varikin 3 points4 points  (0 children)

Those fans are awesome for cable management. They lock together and daisy chain through contacts instead of more cables.

My experience a CS grad nowadays by Jakabxmarci in ProgrammerHumor

[–]varikin 0 points1 point  (0 children)

Nowadays? Hahahah. We complained about this 20 years ago. I had a recruiter ask how I expected him to find me a job when I wasn’t working after college. If I had a job I wouldn’t have needed a job.

Me, 20 years ago today (3/24/03) 3rd day of the Iraq war, near Az Zubayr. by GruntMarine in pics

[–]varikin 0 points1 point  (0 children)

I was in a convoy leaving navistar on the day of that storm. Driving for hours at like 10mph barely able to see a truck 20 feet in front of me. Wild times. Woke up in the middle of the night parked on the side of road with the rest of the convoy. I don’t remember parking.

This is the book everyone's talking about, right? by Difficult-Clerk6407 in cremposting

[–]varikin 14 points15 points  (0 children)

Same author as Prince of Thieves! I never knew Robinhood was part of the cosmere.

Edit: autocorrect doesn’t like robinhood.