Hacker Newsnew | past | comments | ask | show | jobs | submit | laudable-logic's commentslogin

> wasted too much time thinking about the right approach in a neverending, neverprogressing loop to achieve perfection

A CEO from my past often muttered that "perfect software comes at infinite cost". It's key, imo, to identify which components of what you are building _must_ be perfect. The rest can have warts.


"to identify which components of what you are building _must_ be perfect"

Well, but by the words of your former CEO (and my opinion) those parts would then have infinite costs, too... if they really need to be perfect. I mean, it is awesome, when you do a big feature change and it all just runs smooth without problems, because your design was well thought out, but you cannot think of every future change to come - and when you still try, chances are you get stuck and waste your time and risk the flow of the whole project. I rather tend to think about the current needs first and the immediate future second, but everything after that, I spend not much thought anymore.


> risk the flow of the whole project

Agreed. What I mean by "perfect" is: for a given part/component/decision/etc, take the time (an always-limited resource) to learn as much as possible and contemplate more than just the seemingly obvious path forward. Take security for example. I'd rather 'waste time' now making sure I'm covering any gaps in that realm before shipping.

OTOH maybe some jacked-up abstraction/incorrect tool choice/ugly-ui/etc is something that can wait a few sprints or longer. At least you can plan when to deal with these. Security breaches tend to plan your day for itself on your behalf. :)


Maybe sorta off-topic, but does anybody have any stories to tell about successes/fails with the .NET CLR in MSSQL?

I worked on a project that made moderate use of this. Worked alright; biggest problem was convincing DBAs/IT to enable it.

https://en.m.wikipedia.org/wiki/SQL_CLR


I can't think of an example where CLR integration would be beneficial.

Probably integrating ML model inference, written in ML.NET could be use case, but we have SQL with ML Server with r/python support now, so.

The problem with CLR is that you need to know and understand sql engine internals in order to write good C# code for CLR integration, otherwise your clr code will be blocking the sql engine


> I use them to stash changes to config files that remain fairly stable across branches but require local paths, etc.

I had to resort to git's assume-unchanged[O] to keep these changes out of commits made in the heat of battle.

> this isn't a best practice for config files

Have had great results (in dotnet land) with MS' Secrets Manager[1].

[0] https://www.git-scm.com/docs/git-update-index [1] https://docs.microsoft.com/en-us/aspnet/core/security/app-se...


Thanks, I will review that. We are working on ASP.NET stuff and using Web.configs in a non-standard way (don't get me started) to store encrypted strings for... anyway, you get the idea. This is in the queue to get overhauled soon, so hopefully won't be an issue much longer (if you squint, you can see the end of the todo list wayyy back there). Maybe I should check this out.


I once had a report who demanded, snarkily, all the things be listed on the whiteboard (as opposed to just getting them in Jira) and the meeting was set for the next day...

Knowing the team was one of those that is constantly using nearly-depleted markers and hating life, I thought to check. Sure enough... all empty, nothing to replace them with.

I thought to just let said report arrive at next day's meeting, ready to whiteboard it up only to look woefully unprepared, but I waited. I waited until about an hour before the meeting to see if they might have clued-in and sorted the problem for themselves...

An hour later I returned from a slushy 2km walk, soaked, with a box of markers that I just placed in the drawer, unbeknownst to all.


I make sure I'm up for _anything_. Give me that thing that has been the thorn in everyone's side. Yes, some rather daunting (read: frought-with-peril) tasks present themselves, but... if done well, usually yield a better 'next assignment'.


For someone with whom I was quite smitten, I had come up with a plan to take screenshots of the most romantic and intimate messages from the onset of our relationship contained in our WhatsApp convo and have them turned into a physical flip-book of sorts as my first Valentine's Day gift to her...

Approximately 3 months before VD, our relationship concluded. And then a week before VD, back on... like a house on fire. With nary enough time to execute the original plan, I pivoted the idea somewhat. I opted to export the 'best' few weeks from the WhatsApp convo, then proceeded to stand up a quick MVC site with the exported data presented as if it were a messaging app, complete with the very same images we each used for avatars at that time. Hosted the site off my lappy, and when she arrived for VD dinner, a link was sent to her phone, seemingly out of nowhere. She clicked it, and was greeted with this view, and the title "Budding Love" pinned as a header while she scrolled, smiled, and swelled with tears...

She was a techie chick, but didn't know how to code. She ended up confessing the best part was when I took her through and explained the purpose of all the code that I wrote for this gift I made. She even called me out for committing a sin or two (i.e. code dupe, embedded-SQL-in-C#, etc.) that I would often bitch to her about seeing at work :)


Have you tried using OneNote's handwriting recognition feature? I am curious if that experience would allow for the regaining of the pen-to-paper "magic".

Edit: typo


I have, and it doesn't work. The recognition is good enough for a demo, in the store you will be really impressed how well it works. However, when really taking notes on the go you use your own abbreviations it doesn't know, use slang or scientific/technical language. Thats where it breaks down and degrades into the usual "I hate you, autocorrect" spiel.

Also, OneNote does it's recognition and replaces your handwritten text by printed text of a different size. This makes all kinds of diagrams, side-by-side-text, tables, etc impossible.

I have gone back to a paper notebook.


You don't have to replace your handwritten text. It's searchable even as ink. Can't say I've ever used the ink to text feature.


I used it way back (5+ years ago), and it was too cumbersome to train the recognition engine to recognize my writing properly...Maybe it has improved since then? Maybe the iPad ecosystem does this better Not sure, to be honest.

The writing experience was not ideal, either. I'd scroll the page by mistake, etc;


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: