HN user

somada141

167 karma
Posts6
Comments142
View on HN

Currently working on a 7-8yr old Python monolith with 500k LOC and overall it’s been far less painful than it would be if it hadn’t been for the gradual adoption of typing and strict mypy configuration. The introduction of types has supercharged PyCharm which is already rather powerful at inference so refactoring and exploration has been rather easy. The villain of the story here was not dynamic typing as much as it was the usage of Python dictionaries as a data interchange format where no amount of typing or IDE smartness can untangle that mess. We’ve been slowly replacing dictionaries with models, eg pydantic, which brings a massive quality of life improvement but it’s been arduous and error-prone. All in all Python gives you all the tools needed to create a coherent codebase regardless of size but that requires disciplined engineering and a commitment to incremental improvements.

Personally I’ve been using a similar approach for over a decade where I have 9 desktops on my Mac most of which have fixed windows on them eg 1 for a file explorer, 2 for mail, 3 for browser, 4 and 5 for IDEs, 6 for related tooling, 7 for notes and maybe another browser window, 8 for music, and 9 for chat windows and I switch between them with Ctrl+<number>. On top of all of them desktops I can Ctrl+Space the terminal (Quake style, Warp now, used to be iTerm) and Alt+Space for Raycast (used to be Alfred). This was I rarely if ever need to Cmd+Tab since everything is fixed in place most of the time.

Really like it and kudos on launching. Copying GH permalinks to sections of code is something I do about 30 times a day to augment my Slack posts, GH issues, personal notes, Confluence documentation, etc.

I gotta say though, I don't know that I'd trust CodeLink to be around 1-2 years down the track and if it's not then all that work will be far less valuable without the code being accessible through links that will no longer function. I truly hope this project gets traction and becomes a mainstay but until it does I couldn't see myself adopting it.

Admittedly poor performance has been my primary gripe in the 7mos I’ve been using LogSeq on a near-daily basis. I dunno whether the issue stems from the usage of Electron or if text-graphs are really so heavy even an M1 can’t cope but personally I’d gladly pay for a freaking subscription if it meant I could navigate between pages without a very noticeable lag

I suppose if you never revisit your own notes then yes, there’s no value in these systems.

Personally I find myself revisiting old notes rather often for a variety of reasons: - writing annual feedback reports on my peers: by taking brief notes in LogSeq journals tagged with their names I can quickly accumulate feedback on how they did over the year or things they could improve - the above applies to self-assessments which are often required when asking for a raise or promotion in a “ok why? What did you achieve this year?” - solving issues specific to my workplace and workflows: while Google and StackOverflow will likely cover 90% of issues you have an arguably there’s no much value in writing about those solutions I often encounter problems specific to my workplace’s infrastructure or services. Taking notes and writing snippets on those is something I often revisit

Top of my head the above reasons make the process worth it for me

I used Alfred for years and never thought I’d find a viable replacement for it but Raycast has completely replaced it for me in the past year. The ‘Schedule’ integration with the single-key to launch the video conference functionality is top notch. Other dev-targeting integrations like GitHub are also fantastic and unlike with Alfred I don’t have to use a dozen extensions with forgettable shorthand commands so unless the other shoe drops and Raycast ends up introducing some over the top subscription-based pricing model I don’t see me ever going back to Alfred

I had this idea a couple years back for an app that allows eg a parent to write a short story and have some sort of GAN generate the illustrations for it (hopefully with the ability to include images of a child that would be used to include them as a character in the story). Monetisation would come from charging to create a hardcover print of the book.

Some research at the time showed that the publicly available models just weren’t there so I was very excited to hear about DALL-E 2 a couple months back as the idea was suddenly far more feasible but it seems someone else will beat me to it long before I even get access to DALL-E 2

I’ve been evaluating the Warp terminal emulator as an alternative to iTerm on macOS for a couple months now and they have included a very similar feature to turn an NLP input to a shell command [0].

While for most of my work I’ll shamelessly fall back to Python scripts, basic operations that don’t warrant a script but still require tools like awk, sed, etc that I never learned have greatly benefited from this little tool. I found it far faster than combing through 3-4 StackOverflow answers and hodgepodging my solution together

[0] https://docs.warp.dev/features/ai-command-search

I honestly feel that whoever complains about MyGov never had to perform these bureaucratic operations in a country like Greece. The fact that one can interact with some of the biggest and slowest-moving agencies in the Australian government from the comfort of their home was mind-blowing to me when living in Aus.

Maybe having to queue up for 3h in the cold to be greeted by a grouchy underpaid public servant that would have you queue up again next week (the Greek experience) until you have to call some person you know to do basic things like renewing your passport has lowered the bar too much for me.

Let’s not forget software is hard in the best of environments and archaic governmental offices and processes aren’t exactly conducive to development velocity and quality

[dead] 5 years ago

One more reason to use this is to use your screen or TV (via Chromecasting or Airplay) as a green screen. I've used this trick a couple times when I wanted to photograph an item or person and remove the background without having to invest in an actual green-screen and lighting.

As others have mentioned the bottleneck is typically getting a good mobile plan especially if you intend to move around a larger region across borders. The EU has sort of gotten to a point where roaming costs are no more (with the right plan). E.g. I have 20GB/m I can use anywhere in Europe for 20pounds/m (Vodafone) without incurring roaming costs but once you introduce video-conferencing or video streaming that's not gonna cut it regardless of how good the signal is.

Thus I've found in the past 11 months that I've been nomadicking around Europe that you often depend on getting some good wifi which is quite the hassle (especially in rural destinations). I have high-hopes for apps like this to create a knowledge-base for areas with good broadband.

I’m a big fan of the JetBrains ecosystem which I think has won the IDE wars (given its ubiquity). Once you get comfortable working in one of their tools and configure it to your needs it’s easy to carry that over to the next tool.

What I was never sold on was their DB offering Datagrip which never felt intuitive for my work. There I was a big fan of SequelPro for MySQL but when it comes to other RDBMS the jury is still out (have tried Navicat, TablePlus, and a myriad others)

The Conda package system packages both Python packages and C shared libraries and the Python interpreter into Conda packages.

This doesn't sound correct. Conda packages don't actually include the entire Python interpreter in them right?

A prerequisite to installing Conda packages is to have Anaconda/Miniconda installed which brings in the Python interpreter and a given set of packages depending on the version you install but that doesn't mean that each Conda package will be carrying the interpreter with it.

I’m ashamed to say that I’ve tried every diet under the sun, including the 16-8 IF and I was failing miserably at it. It’s by no means healthy but turns out I’ve always been an all-or-nothing type (complete lack of discipline) so I’ve been trying the 5-2 diet for the past couple months and I’m finally seeing results. It allows you to eat up to 125% of your daily calories on eating days and up to 25% on the 2 non-eating days. You can ramp it up by eating absolutely nothing on non-eating days an even alternating between eating and non-eating every other day which I’ve had some luck with. For me personally the advantage was simplicity and the ability to eat the things I tend to eat (within reason) without having to put too much effort into it. On non-eating days I just keep myself occupied with work, activities, etc and after a few times it’s surprisingly easy not to eat.

Another tidbit that may be interesting to those that suffer from motion-sickness, especially on boats, that I was taught by sailors in northern norway (was stranded there during the pandemic) is that a lot of them are more affected by the rolling of a boat rather than the waves that hit the boat perpendicularly. Thus, their advice was to face the direction of the roll - either by turning your chair or sitting sideways - and face the horizon on that side as that motion is easier to acclimate to. I've tried that one and I admit it did help. By no means a panacea though.

Huh haven’t jailbroken my iPhones since my iPhone 5 back in 2014. Back then I feel that iOS was severely limited in functionality and jailbreaking allowed for custom solutions to problems Apple wasn’t addressing. Since then iOS has seen a plethora of features and I feel there’s little reason to jailbreak anymore. Does anyone know if there’s any good reason to jailbreak anymore? Any killer functionality that would make it worth it?

Over the past few nights, I’ve been seeing a very bright spot from this cabin I’m staying in in Øksfjordbotn, Norway but it’s position is all wrong (253deg W) and I can easily see it with the naked eye which I shouldn’t be able to. Does anyone know if it’s Venus or something?

I grew up in a small town in northern Greece where due to the large number of students in my zone the middle school and high school operated in a bi weekly morning/afternoon schedule where one week you’d have school between 8am-2pm and the next between 2pm-8pm. Eventually a new school was built switching all schedules to the morning but I found my last 6yrs of school incredibly hard having to those bimodal schedules.

+1 for Google Drive, I actually scan and keep all my documentation (receipts, statements, scans of documents like passports, driving licenses, etc) by year and rough category and share the entire folder with my wife so she can do the same for electronic receipts etc. I then shred and dispose of all but the most critical documents for which originals may be required (certificates etc).

This way I can use Alfred/Spotlight to search both by name as well as searching through the content for OCR’ed PDFs.

Overall the system has been working pretty well for about 10yrs now but I wouldn’t mind OCR’ing some of the earlier documents for easier search.

+1 for Auth0. I've used it for my SaaS cause I was sure that if I bothered rolling out my own I'd definitely miss some critical point opening up my users to a breach. Not only that but depending on your market your users may expect social-media signups/logins which becomes a pain to implement and maintain. The Auth0 free-tier up to 7k active users was more than sufficient for me when bootstrapping a new project.

Even though this was posted to HN about 3yrs ago [0] I recently came across it and thought it was wonderful!

I tend to record long-winded videos while snowboarding with an action camera strapped to my board or helmet so I end up with dozens of GBs of footage only portions of which are semi-interesting so having a quick GUI that allows me to trim the bits that are interesting, without having to import the files into tools like Final Cut and recode the useful stuff out (an arduous and storage-intensive process), was invaluable.

While a lot of the comments in the previous thread were about the caveats of Electron apps I was just grateful to the author [1] for making this little gem available and continuing to update it.

[0] https://news.ycombinator.com/item?id=12885585 [1] https://github.com/mifi

I'm excitedly waiting for Clubhouse Write as I couldn't get into the private beta but if it does as good a job at replacing Confluence as Clubhouse did at replacing JIRA for me then I'll be shouting it from the rooftops.

Much like JIRA, Confluence is incredibly powerful but effectively requires a full-time person taking care of it and organizing/cleaning things up. Unfortunately the scale at which Confluence breaks due to the number of documents and lack of organization is far lower to the scale that would warrant such a 'caretaker' role hence I've never seen Confluence used in a fashion that didn't get in everyone's way and exhibit all issues the article listed.