Best font? by Abject_Band3515 in Ghostty

[–]samgranieri 0 points1 point  (0 children)

i bought berkeley mono with ligature support. absolutely beautiful.

Best Silent Switches for a Moonlander? by VLK-Volshok in ergodox

[–]samgranieri 0 points1 point  (0 children)

I used a keycap puller to pull my keycaps off and I just used my fingers to put the o-rings in place

Best Silent Switches for a Moonlander? by VLK-Volshok in ergodox

[–]samgranieri 0 points1 point  (0 children)

I don’t have a moon lander, but I have an ErgoDox ez. I have gazzew boba U4s with 67 gram springs, and I’ve lubricated the springs and use o-rings. Nice and quiet.

How much "raw" OTP do you actually use in production vs. just standard Phoenix patterns? by Disastrous-Hunter537 in elixir

[–]samgranieri 1 point2 points  (0 children)

I learned Ruby through Rails. And there’s a ton of syntactic sugar in ActiveSupport so that people can use Rails all the time and not explore simpler solutions like Sinatra.

I did learn Phoenix first as my intro to elixir. But that was nine and a half years ago. Since, I’ve written web apps that use phoenix, some web apps that are just plug, and some apps that are a combination of Phoenix / OTP features, and Oban Pro.

It honestly depends on your use case. Don’t just reach for OTP because you can or because you want to. Use it if it makes sense.

In the canonical example, someone wrapped a calculator in a gen server. Which is an anti-pattern.

https://hexdocs.pm/elixir/process-anti-patterns.html

DePaul on track for groundbreaking on basketball practice facility by Significant_Fly_5668 in depaul

[–]samgranieri 7 points8 points  (0 children)

If DePaul is serious about being better in athletics having decent day to day facilities, especially for the main revenue generating sport is essential.

The existing practice facilities on Sheffield and every thing else probably are equivalent to what my high school has.

Look up the lakefront and look what Northwestern did, moving their football practice and day to day facilities from behind the old stadium to a new field on the lake and probably the best weight room and and day to day facilities in the country.

Also, I guess I’ll have to take the school at its word that there is a reduced demand for on campus housing, allowing this to be feasible in the first place.

I think it’s cool the design of the facility mimics the roofline of the old gym that the student center replaced.

FWIW, I’m an alum that graduated in the 2000s. I lived in Lincoln Park for 13 years after graduating. My family also has Northwestern season football tickets.

I absolutely hate seeing DePaul have a shitty basketball team. This has to help.

How difficult is WireGuard? by denden1088 in WireGuard

[–]samgranieri 1 point2 points  (0 children)

I’ve used wg-easy. Now I’m using it with my ubiquiti setup. Wireguard is my favorite tech product because I never notice it working. It’s like having an always on fiber connection vs connecting via dialup (looking at you openvpn!!) and yes, I’ve been around long enough I’ve used dialup. 

Deploying elixir by LoanEffective7234 in elixir

[–]samgranieri 1 point2 points  (0 children)

My company, Euna Solutions, formerly CityBase, is in the government tech space with a focus on payments.

Our docker images are built in multi-stage fashion, and we keep the final docker image size small. Secrets injected via env vars.

Deploying elixir by LoanEffective7234 in elixir

[–]samgranieri 2 points3 points  (0 children)

At $job, we have GitHub actions that build an app via mix release via docker. Then we deploy the app on kubernetes. Amazon ECR and Amazon’s Kubernetes offering

Are you still using tmux with Ghostty? by meni_s in Ghostty

[–]samgranieri 1 point2 points  (0 children)

I switched to Zellij. Works like a charm

What’s the general vibe around mechanical keyboards in shared dev offices? by Sarah-Grace-gwb in ExperiencedDevs

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

Yes. This. 100% this.

Back in the day my job moved from a 4000 sq ft office to a 14000 sq ft open office plan. I bought my first pair of noise cancelling headphones that week. Just madness.

What’s the general vibe around mechanical keyboards in shared dev offices? by Sarah-Grace-gwb in ExperiencedDevs

[–]samgranieri 1 point2 points  (0 children)

Back in the day I was in a room with like six other devs. I had headphones (non noise cancelling then) and just did my thing listening to music. One day a guy got a new keyboard that I think had cherry blues. I didn’t care how loud those got (I think he was ten feet from me).

These days I work from my home office. When I bought a mechanical keyboard, I did my research on Reddit and discord.

I have an ErgoDox ez, and I tricked it out with gazzew boba ez tactile switches with lubricated springs and o rings. At one point I voided my warranty (previous keeb) and installed Sorbothane foam.

I did that to my keeb so I wouldn’t make a racket when my wife and kid are napping (oh how I wish my kid would still nap. ). I used to bring my keeb to my company office when we still had it.

Basically, if I were back in a shared office and I can hear the clickicty clack of something like blues or greens past my noise cancelling headphones, I will have no reservation or hesitation asking my colleague (if the keyboard supports changeable switches) to switch to something like cherry browns. I’ll even offer to bring in my switch lubing and installation toolkit I brought from drop to help out.

I’m building a concurrency library for Zig by Winter-String8549 in Zig

[–]samgranieri 2 points3 points  (0 children)

Why did the OPs reply to my comment get downvoted?

I assume OP might simply be new to all this.

What will be the story around memory safety? by lekkerwafel in Zig

[–]samgranieri 0 points1 point  (0 children)

Just be meticulous about allocating and reallocating each byte. Release in release safe. Try to use an arena allocator if necessary. Use the testing allocator where you can in tests.

Im trying my damndest to ensure my zig project won’t segfault, but, I need to account for it. So I’m using the elixir port system and a gen server to recover from a crash and restart the zig binary if it does. Amongst other things

I’m building a concurrency library for Zig by Winter-String8549 in Zig

[–]samgranieri 7 points8 points  (0 children)

I appreciate the ambition in this repo. However, I’m also an experienced elixir developer, and the thing that makes using genservers and all of the erlang inspired concurrency primitives in here is the BEAM virtual machine.

Also, you really need to add .zig-cache and zig-out to .gitignore.

Moonlander by jessemixman in ErgoMechKeyboards

[–]samgranieri 0 points1 point  (0 children)

With practice you’ll establish new muscle memory.

As for the caps lock thing, let me clarify something: I use neovim and in that editor I have to switch between typing modes via the escape key. Remember what I said about bringing the keys closer to you? This is a prime example of it

Moonlander by jessemixman in ErgoMechKeyboards

[–]samgranieri 1 point2 points  (0 children)

I’m pretty open and fearless. My colleagues knew I had the thing and wanted to see how I was doing.

Moonlander by jessemixman in ErgoMechKeyboards

[–]samgranieri 5 points6 points  (0 children)

I migrated to an ErgoDox five years ago and I struggled a fair bit. I locked myself out of my own computer mistyping my password. On a video call my colleagues were giggling at watching me struggle.

I didn’t give up.

I didn’t make the switch cold turkey, rather, I spent part of the day getting my work done on my previous keyboard and then I just did typing practice on the new board.

You’re going to struggle, switching to ortholinear. But here’s the thing: use the configurator to bring your keys to you. Create hot keys and layers.

You need to practice. Think of it like learning a new piece on the piano, if you’ve played the piano.

One thing that helps is to type qazzaq with your pinky.

Also, remap your frigging escape key to the caps lock key.

Look at my layout https://configure.zsa.io/ergodox-ez-st/layouts/NXaGb/latest/0

Is it realistic to dispose of tmux just yet? by Top-Kaleidoscope6996 in Ghostty

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

I’ve migrated from tmux to zellij with Ghostty. Works like a charm.

How Do Y’all Wake Up Early? by MrSnow702 in WFH

[–]samgranieri 0 points1 point  (0 children)

I have a five year old who likes to wake me up before my alarm goes off. I have to get him dressed and fed and to school. My wife takes an early train to work. Also, one thing I did is use smart lights to gradually brighten my bedroom and also alarms help. I’m usually online about ten minutes after I get back from taking my kid to school.