Better HN
topnewbestaskshowjobs
Log inSign up

niklasjansson

25 karma · joined Mar 17, 2018 (8y ago) · 8 submissions

Submissions

comment 3mo ago · link · parent

I think this was great. It's obviously heavily or completely AI coded but it didn't bother me.

I would love the same thing for other kinds of fishing (not specifically fly fishing trout), or other outdoor activity - finding likely mushroom picking spots, hunting, etc.

comment 3y ago · link · parent

And it's still the same "coming soon" status on most subjects.

comment 3y ago · link · parent

We had planned to have our wedding performed on Götheborg, it was all planned. We got a tour of the ship and discussed catering and so on.

Suddenly a few months prior to the wedding they ghosted us, until they finally decided we couldn't hire it after all. Maybe a covid thing.

Anyway, no bad feelings.

comment 5y ago · link · parent

Because it's nice to have all tests in a single view and a single language, both unit, integration and end to end.

Also regardless of keeping it in a _single_ language or tool, one might prefer to write tests in a .net language instead of js or python.

comment 6y ago · link · parent

The C# version is lacking the using pattern. https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

comment 7y ago · link · parent

Yeah you got my example.

But regarding your conclusion; my entire point is that it IS more useful than you might think. Disclaimer: I often use emacs e g regex-replace and other means of code generation as well, both a couple of internal dsls that I've built and directly one-off by programming (normally clojure).

To just expand on the code generation part: The fact that it is a large "cell based" structure means that I can move stuff around manually, quickly see the entire new structure, make overrides and so on. If I have some class that's supposed to match a csv with 80 fields, it's really hard to view that in any good way in source code.

I won't argue this with anyone, I realize many people vehemently hate spreadsheets, and Excel in particular, and disagrees with anything positive said about them. I'll just end with two final points.

1. The spreadsheet is a general purpose functional programming language with very large adoption and pretty much unseen "code editing" tools (outside of emacs), such as duplicate removal, sorting, user editable conditional formatting, and so on.

2. This was a tips on a tool to have in one's arsenal that is often overlooked, I wasn't looking for a debate.

comment 7y ago · link · parent

Excel. Seriously. For more things than you imagine

Let's say you want to make a property assignment for some class;

this.a=x.a this.b=x.b ...

While you probably would want to do this some other way to start with, and while you of course can solve it using some emacs wizardry, I can whip that up in Excel using some formulas in a matter of a minute. Moreover, I can keep adding to it when I realize something was missing.

I can make a diff, join or union of the results of two queries from different databases (or even database engines). Not to mention calculation and design mockups.

comment 8y ago · link · parent

So this behavior is reasonable?

Rectangle r=getRectangle(); r.width=1; Assert(1, r.width); //passes r.height=2; Assert(1, r.width); //fails or passes depending on subclass