Readit News logoReadit News
TristanBall commented on SQL needed structure   scattered-thoughts.net/wr... · Posted by u/todsacerdoti
setr · a day ago
One of the things I find most annoying about DBAs is they don’t understand just how utterly awful their tooling is. The error messages alone should be enough to throw a hissy fit, but as a group they’ve never dreamed of a life better than the misery of ERROR ON LINE 1: <entire query>

The aggressively common pipe-delimited sproc output (the standard hack to get around commas being common in strings, instead of finding a legitimate data format) is another clear example of the brain damage the poor DBA incurs through constant investment in “modern” relational databases.

TristanBall · a day ago
Larping as a dba now, and trust me many of us do know, and its a source of ongoing suffering, but we're often not developers and don't necessarily have the choice of tooling.

Right now the DB I'm paid to babysit provides cli tools that flip between tabular and k/v list output without making that configurable, or a tabular form that doesn't include headers, or a 3rd party tool that will, but has the spectacularly annoying "error on line 1 : multi-line query" issue. Or things that are slow or only talk via generic protocols like odbc etc etc etc

I think you're being a little unfair about the pipe delimited thing though, it's a least worst compromise based on who we're providing the data too - non technical business people, the vast majority of whom use excel or similar tools and couldn't even tell you what "data format" means, let alone configure their systems to parse something else.

Personally I had a bit of an epiphany around the ascii delimiters (us/fs/rs/gs) which work extremely well when the data is ascii/utf-8, and make data interchange between shell cli tools very easy. But they've also invisible and little business software supports them in a friendly way. Telling someone in accounts or market to "use octal 034" helps no one.

And I've resigned myself to using multiple tools, dev with tool 1 with decent error messages, tool 2 for production use because it can actually produce sane output formats.

What I don't have a choice on is which db we use, and it's not modern or cool and honest most things don't even have drivers for it

TristanBall commented on %CPU utilization is a lie   brendanlong.com/cpu-utili... · Posted by u/BrendanLong
tom_ · 5 days ago
Why do they need so many threads? This really feels like they just designed the cpu poorly, in that it can't extract enough parallelism out of the instruction stream already.

(Intel and AMD stopped at 2! Apparently more wasn't worth it for them. Presumably because the cpu was doing enough of the right thing already.)

TristanBall · 5 days ago
I suspect part of it is licensing games, both in the sense of "avoiding per core license limits" which absolutely matters when your DB is costing a million bucks, and also in the 'enable the highest PVU score per chassis' for ibm's own license farming.

Power systems tend not to be under the same budget constraints as intel, whether thats money, power, heat, whatever, so the cost benifit of adding more sub-core processing for incremental gains is likely different too.

I may have a raft of issues with IBM, and aix, but those Power chips are top notch.

TristanBall commented on Ask HN: What do you do with all your unused tech "swag"?    · Posted by u/charliebwrites
JohnFen · a month ago
Because it takes advantage of a well-known human tendency to think more kindly of people who have given you a gift. It's a variation of the truth that your customers will tend to think better of your products if they get something unexpected and free along with the product, even if that thing is of low or no actual value.
TristanBall · a month ago
While this true enough, an ironic side effect of my attending a couple of rounds of sales related negotiation training ( compulsory for everyone at that company ), was to really highlight how calculatingly manipulative this is.

I mean, we kinda all know that anyway, but somehow it reinforced it enough that I know find it actively distasteful.

Even the classic sales approach of buying coffee or a meal feels creepy know, but I've had to relearn to accept it because it's just so hard to fight every time.

When I tell people, the normal response is encredulous "but it's free?". It's really really not, the costs just aren't immediately financial.

(Gifts outside corporate life are generally fine, an actual human wanting to "manipulate" me into liking them more is generally expressing some level of affection. A corporation cannot do that)

Every know and again I get something funny enough that it gets me anyway.. I'm very fond of my all blue Rubic's cube from ibm for example, and I've got a few unbranded water bottles around the place.

Anything else I can't politely refuse just gets binned as soon as I can do so without a fuss.

TristanBall commented on Proxmox Donates €10k to the Perl and Raku Foundation   perl.com/article/proxmox-... · Posted by u/oalders
bluGill · 2 months ago
I've long tried to figure out how we can donate to projects. If we were to buy/license those tools it would cost thousands of dollars, but I don't know how to get any money for the free tools we use. When I ask half of management doesn't understand the question, and the rest don't know either.
TristanBall · a month ago
Perhaps look to your marketing folks rather than engineering.

"Purchasing silver sponsership with [org] as a way to grow our brand awareness" is intrinsically understandable to pretty much any businesses manager.

"Giving away money for something we already have", which is what most technical managers will hear regardless of your actual pitch, is completely inexplicable to many.

It does require that sponsership is even possible, and recurring sponsership may be harder than recurring license fees of course, so its not a sure thing, just an option to try.

TristanBall commented on Public Access OpenVMS System   decuserve.org/... · Posted by u/BSDobelix
lizknope · 7 months ago
VMS was the first multiuser system I used in 1991. I was amazed that a single computer could have 300 users logged in all doing their own thing.

I learned to program in C and tried using Borland Turbo C on a DOS. Go outside of the array index and you could easily crash the entire machine which meant reboot and try it again. I thought the concept of memory protection was incredible! Why didn't every computer have that?

It was the first time I saw email, sending messages, and the phone utility for chatting with other users while waiting for your programs to run in the background.

I moved on to an IBM RT running AIX and got hooked on Unix. That's the system I wanted and have been running Linux since 1994. But VMS still holds a special place.

TristanBall · 7 months ago
On of my favourite hardware investments as a teenager trying to learn c and assembly under dos was a caching hard drive controller.

It made those post crash reboots so much faster!

Talk about solving the wrong problem...

TristanBall commented on No Calls   keygen.sh/blog/no-calls/... · Posted by u/ezekg
ozim · 8 months ago
You know it might be also priced on “this guy feels like a pain to work with after the way he asks questions, let’s put the price up”. There is no way to objectively explain that without having person offended - so I am going to put a price I think will cover me dealing with BS questions or attitude of the customer and if he walks it is still a good deal for me.

We might think that companies need every single sale - well no sometimes you want to fire a customer or not take one on.

TristanBall · 8 months ago
You don't have to change you process, so you can still explain it rationally.

Just leave off the "then I multiplied by 10" part.

Which I did by accident once ( not by 10, but it was still substantial )... but it turned out the customer was delighted because we were still 50% vs their existing vendor.

Enterprise pricing is a farce.

I very much agree with the poster above about vendors disqualifying themselves.. another red flag for me is the Two Suits and Skirt pre-sales Hydra Monster that big vendors love to send around, to scare you into letting them capture all the value that their purporting to provide you.

And yes, the above shows I've been both sides of the fence. I felt it was going to be good experience, and it was, but I have regrets too.

TristanBall commented on Today I learned that bash has hashmaps (2024)   xeiaso.net/notes/2024/bas... · Posted by u/stefankuehnel
chengiz · 8 months ago
Too many. I still write /bin/sh syntax (I know it's a symlink to bash now but I mean the old school sh). Anything that requires bash-that-isnt-sh is usually better written in perl or something else.
TristanBall · 8 months ago
Only on some distro's.

Debian variants tend to link dash, which self consciously limits itself to posix compatibility.

TristanBall commented on Developer wrote 25k lines of Neovim plugin code using phone and touchscreen   old.reddit.com/r/neovim/c... · Posted by u/konradkpl
rlupi · 9 months ago
I have been really impressed lately using Samsung Dex on a XReal Air 2. AR glasses have really improved in the recent years. It gives you a better screen than many small laptops.

For longer trips (train, airplane), add a mechanical wireless bluetooth keyboard (my choice would be a NuPhy Air 75) to feel like a king. For the occasional browser + SSH on the go, it's better (less space + better keyboard + larger screen experience) than bringing my 13" laptop (+ phone).

TristanBall · 9 months ago
Gosh they look interesting. But ridiculously customer unfriendly product naming, and a website that doesn't provide clear information on international shipping just raises so many red flags for me.
TristanBall commented on ASCII control characters in my terminal   jvns.ca/blog/2024/10/31/a... · Posted by u/ingve
euroderf · 10 months ago
Hey hold on a minute. I thought the codes that are (in the article's chart) 28, 29, 30, 31 are respectively FS, GS, RS, US.
TristanBall · 10 months ago
Yup.

And teaching yourself and your tools to use them as delimiters is damn near a superpower for semi-structured/tabular text forms ( aka csv/tsv and co ).

Issues with field definition, escaping, and embedded newlines all but go away.. newlines being the harder ones because some tools just insist on being line based and will hard code variants of cr/lf as newlines.

And they retain their meaning and uniqueness in utf8 ( true of all the ascii control codes ), which is an under appreciated feature imnsho.

TristanBall commented on One of the best projects I worked on had zero-overhead communication (2020)   sidhion.com/blog/posts/ze... · Posted by u/sebg
TristanBall · 10 months ago
Small team with a largely overlapping shared knowledge and attitudes.

Which is not to say it isn't really nice, but I think the chances of it happening are in some way inversely proportional to the number of people involved. It's probably not linear either.

I haven't thought about it in years but my very first pc support traineeship ( 25 years ago!! ) had aspects of this. There was so much shared context for us both that we often left it out, much to the bemusement of anyone else listening.

"Hey, remember we need ", "yeah", "oh and can you pick up", "already did its over there", "oh cool ok can you", "sure, probably after lunch"

It was FUN. But you just can't do it with much more than 2 or 3 people.

u/TristanBall

KarmaCake day168June 25, 2020View Original