Just spent a good half hour pulling my hair out trying to figure out why one of the #elisp functions I had just written was always returning nil
when I tested it. Turns out, my test was mistakenly passing its inputs to the wrong (but similarly named) function (pivot-table-get-columns
instead of pivot-table-get-body
).
#Haskell's type system would've caught this. 🙃
Okay, so this keeps happening. Up 'till now I've been able to fix it with a thorough cleaning, but no such luck this time.
Suggestions?
reshared this
GitHub - tbanel/orgaggregate: Aggregate tables in Org mode
Aggregate tables in Org mode. Contribute to tbanel/orgaggregate development by creating an account on GitHub.GitHub
Jonathan Lamothe likes this.
like this
reshared this
- YouTube
Auf YouTube findest du die angesagtesten Videos und Tracks. Außerdem kannst du eigene Inhalte hochladen und mit Freunden oder gleich der ganzen Welt teilen.youtube.com
So, keeping a #journal in #teeline has had some unexpected benefits for my #ADHD brain beyond my handwriting just being more able to keep up with the rate of my thoughts.
I might blog about this later, but the TL;DR is that the process of transcribing my entries requires me to think deliberately about the meaning of every word I've written.
reshared this
@Alessio Vanni Yeah, it's just very magic number-ey.
Ah well, such is the way it is with legacy code sometimes. No way to change it without breaking about a billion other things.
like this
I like using org tables with org-babel like so:
#+NAME: test
| 1 | 4 |
| 2 | 5 |
| 3 | 6 |
#+begin src emacs-lisp :var test=test
(mapcar
'(lambda (r)
(mapcar '(lambda (x) (* x x)) r)) test)
#+RESULTS:
| 1 | 16 |
| 4 | 25 |
| 9 | 36 |
Dane's law: There is not a hobby in existence that has any kind of an upper limit on how much money you can spend in it.
Fountain pens? Sure, there's the Platinum Preppy and Pilot Varsity, but also Momtblanc and Visconti!
Amateur Radio? Sure there's your $30 Baofeng, but also your $20,000 kilowatt at-home HF shack!
Drones? Sure, there's your $20 supermarket drone, but also tens of thousands of dollars super high performance FPV racing drones
Computing? $35 raspi vs at-home supercomputing cluster, just for giggles!
Jonathan Lamothe likes this.
reshared this
@paradoxmo I'm currently using a TWSBI Diamond 580. As for the technique, I was basically just making a rookie mistake:
reshared this
@Kate McDonald It's a bit of a pain to work with because I only use it with a dip pen* and have to juggle that with a UV flashlight. That aside, it works really well. Completely invisible under normal lighting conditions and shows up really well under UV.
* Because I feel that cleaning it out of a regular pen would be a pain.
Penfount • Pen Community reshared this.
Well, there's dip pens. 😉
It looks like I wasn't moving the pen enough. As I would keep writing, the shimmer would collect in the feed until it just straight-up clogged. I didn't realize I had to periodically roll the pen around even while I was actively using it. This should have been obvious by the fact that my writing kept getting more and more, well... shimmery before the ink stopped flowing.
I'll try this approach in the future.
Rookie mistake, but in my defense, I didn't even know that shimmer inks were even a thing until late last year.
I have successfully built my first #Emacs package. I want to clean it up a bit before I consider releasing it though. Also, while I can build a simple (single file) package, buildig a multi-file one is still eluding me.
When I try to install it, I get the following (less than helpful) error message:Wrong type argument: stringp, nil
Is there a way I can get more detail on why this is failing?
reshared this
here’s a large project, still in one file:
GitHub - protesilaos/denote: Simple notes for Emacs with an efficient file-naming scheme
Simple notes for Emacs with an efficient file-naming scheme - protesilaos/denoteGitHub
@🇺🇦 Myke Yes, it can be done that way as well.
That still doesn't negate the point that I want to know how to build a multi-file package.
Besides, sometimes I like to learn stuff just for the sake of learning it.
So Katy has a #Jinhao10 and today the clicker seems to be jamming. When pressed, it seems to resist extending or retracting the nib. I'm giving it a cleaning right now to make sure there was no debris or anything in there stopping it from working, but I don't know if that'll fix it.
Has anyone experienced this before? Is there a fix?
Verena likes this.
reshared this
Is the trap door opening/closing properly? It could be wedged somehow. You should be able to poke the nib unit through it manually with the top removed and see if it works as expected.
Also when it's apart you can press the rear of the nib unit up into the tail and press the button and see if it operates normally that way.
Then you at least know which end of the pen is misbehaving.
Katy likes these YouTube channels where they teach about canning and such. One of the people in one of these videos is wearing a shirt with what looks like an AR-15 that says "defense is not a crime".
What in the cinnamon toast fuck do you need an AR-15 to defend yourself from?
reshared this
Got my hair cut for the first time in probably a year because I have an interview tomorrow for a job I really want to get (and think I have a pretty good shot at).
It looks decent, but has revealed a good deal more grey than I'm accustomed to seeing.
Jonathan Lamothe likes this.
Justin To #НетВойне reshared this.
#Today I was asked for the first time if I'm a senior citizen. I mean, I have some grey in my beard, but I was masked so it wasn't visible.
I feel like I'm a senior citizen. Does that count?
TIL that Instacart now charges a "membership" to get higher priority on assignment of batches. This does not guarantee you anything, it just allows them to further exploit a workforce they're already working to the bone.
Do they not realize that many (if not most) of the people who are working this job are doing it because they don't really have any other options? And they expect them to pay for the privilege now?
Just when I thought they couldn't possibly get any more predatory, they pull this shit.
like this
Bernie Pridefully Does It reshared this.
Anxiety's been bad again lately. I am moderately worried about losing the apartment. Taking steps to try to keep that from happening, but sometimes just trying to engage with the problem brings on a panic attack.
I have medication to help with that now, but it makes it hard to think clearly. I will survive this one way or another, but my life is going to have to change. I don't handle change well.
This probably won't help me in my current job search, but is it worth learning COBOL? I've heard that there are still a bunch of critical systems out there that use it, and that it's hard to find COBOL devs these days.
Is this still the case? The only downside I can see is that I'd have to program in COBOL.
reshared this
Having worked adjacent to 4 different mainframes at this point in my career along with their "modernization" efforts. Reading COBOL, not terrible. Writing it, eh, probably not so bad but I've never done, only had to read and comprehend what it does. And there are non-MFs that provide implementation of COBOL so you can learn on your own time.
The devil is going to be understanding IBM systems "junk": CICS, DASD, DCLGEN, TSO, RACF etc
@billinkc
What he said. Mainframe basics are more important than COBOL, I'd say.
I work for a company that's doing "Mainframe Modernization" and as a result we have to understand the old crappy non-modern stuff in order to implement new stuff! (Currently my group isn't reimplementing anything based in Cobol. We do Db2 monitoring stuff.)
rocketsoftware.com
rocket.wd5.myworkdayjobs.com/r…
(We have AI hype on the front page but really we're just programming. I guess some departments might be doing AI, but I think we're just scared we'll miss the bandwagon. So don't ignore us just for that.)
Rocket Software
Rocket Software provides IT modernization and IT automation solutions that help businesses solve their most complex IT challenges, across infrastructure, data, and applications.Rocket Software
Jonathan Lamothe likes this.
Jonathan Lamothe likes this.
@nosrednayduj OMG super small world. One of the projects I was on dealt with model 204/m204. We ended up building a real time synchronization between m204 and SQL Server via messaging.
It was going to be a very cool way to modernize the client's data storage while they incrementally switched the front ends.
Pity literal debt caught up to them 💥
Dear job posting,
If you expect me to install spyware so that you can micromanage me while I work, at least have the decency not to expect me to supply the hardware.
like this
Went to pick up a prescription and the guy ahead of me in line was chewing the pharmacist out about the automated system, which admittedly sucks but is certainly a decision made by corporate, not her.
He repeatedly threatened to take his business elsewhere. Were I in her position, the response I'd have wanted to give was "please do".
like this
Jonathan Lamothe likes this.
Sooo... I have a flatpak version of LibreOffice, and for whatever reason (probably sandboxing) the spellchecker can't see the text of my document.
I may or may not have sent off a bunch of resumes that said that I "wrote technical documentaiton" in a previous job.
That's just super.
There's a job I really want a decent shot at. Thank God I caught it before submitting to that one.
Edit: I typo'd my typo. 🙃
like this
reshared this
Back in the 1990s I worked at a very large government facility on an RFP for getting an ISP. The winning bidder had in the footer of every page "Bid for Interenet Service Provider." Nobody but me noticed.
Of course, the Interenet was so new in the 1990s that maybe they thought that's how it's spelled...
Omar Antolín
in reply to Jonathan Lamothe • • •Oriel Jutty
in reply to Jonathan Lamothe • • •This is why C89 wisely limits external symbols to 6 significant characters.
/s
Jonathan Lamothe
in reply to Oriel Jutty • •@Oriel Jutty
*twitch*
Kazinator
in reply to Jonathan Lamothe • • •C's type system would also have caught it, and it isn't worth a hill of beans.
By caught it what do we mean? This is not a case of some undetected error escaping your attention due to dynamic typing. You know you got a nil which is unexpected and wrong. It's in a test case which catches it.
The only thing a type system would change is that you would instead waste a half hour not understanding how your obviously correct function call can possibly have the wrong return type.
Jonathan Lamothe
in reply to Kazinator • •nil
is about the least useful failure state there is.