Better HN
topnewbestaskshowjobs
Log inSign up

MathMonkeyMan

2,676 karma · joined Nov 28, 2019 (7y ago) · 1,131 submissions

Submissions

comment 2y ago · link · parent

Free government-provided tax calculators and online filing are an existential threat to Intuit. I think that the business should not exist (or should be scaled down to a fraction of its size, as an accountant's tool), but can you blame them for trying to block the deathblow?

comment 2y ago · link · parent

At work, we were discussing how to serialize some structured data as an HTTP request header value. I reflexively said "ascii subset of JSON without newlines," but that was rejected for some reasons (maybe too much punctuation, verbose for Chinese...). Someone came up with pipe-separated fields, but then that was rejected too. The reason was something like "some customers used to have proxies that would reject any headers that include a pipe character."

My point is that voodoo programming isn't always due to lack of due diligence. It's due to knowing that something went wrong with something in the past, but for which there is no evidence, and about which you would be able to do nothing.

My preference is to deploy it anyway, see if it breaks, and if necessary work it out with the customer after the fact. That's unpopular for good and obvious reasons, so no pipe characters.

comment 2y ago · link · parent

What would a shit show even look like?

comment 2y ago · link · parent

Oh yeah... founded in Seattle and still headquartered in Washington [1].

[1]: https://en.wikipedia.org/wiki/Costco

comment 2y ago · link · parent

Oops. Should have googled it first.

comment 2y ago · link · parent

Is there Costco in Canada? Everyone on my mom's side is half deaf, and one of her brothers swears by Costco's hearing aid situation. You could get fitted and tested there for not much money, or you could see a doctor and pay 50x more. Secondhand information, anyway.

comment 2y ago · link · parent

He does respond to letters.

comment 2y ago · link · parent

Let China have the Moon. USSR was first in space, USA was first on the Moon, and China can be second on the Moon.

China should be the first to Mars! That'd be quite a thing.

comment 2y ago · link · parent

A blog is a blog. There's always CSS and the "class" attribute to make things look however you want. Reading text and images doesn't require interactivity or scripting.

comment 2y ago · link · parent

I believe defrost was being satirical.

comment 2y ago · link · parent

I would buy a Zune if they were still developing them. Zune and Windows Phone were excellent products.

comment 2y ago · link · parent

If your organization isn't accomplishing its goals, it's not due to a lack of nagging the programmers.

comment 2y ago · link · parent

You might have to require that any code that uses the now/at constructs be wrapped in a macro invocation, e.g. (with-time-travel ...). The with-time-travel macro would then be a syntax transformer that rewrites the program. I'm not sure how, though... you'd have to enumerate all of the code blocks that are inside "at" forms, and then conditionally dispatch to them in the expansion of the "now" form; but that doesn't quite work because (now) is a value, and so figuring out which "at" forms consume it is probably undecidable. You can't have all the cases in the expansion, either, because of the incompatible environments.

It's an interesting problem, but one that I think is ok not to be able to solve in Scheme.

comment 2y ago · link · parent

> Most Libre Office users I have come across seem to be running it on Windows.

Right you are! I stand corrected: https://stats.documentfoundation.org/downloads#week,os

comment 2y ago · link · parent

Not sure how to avoid. I think it was two things:

1. Some devs just didn't like having review discussions as PR comments. Maybe it's the way that the threads break up the markdown source. Or maybe WYSIWYG feels better for doc review. I also recall people saying "it's hard to know what's changed, could you add a changelog section?" When I replied "it's a git repo, and I leave detailed commit messages," there was no response. I think this means that they don't like that.

2. The managers who decide things don't use git. We use Google Docs for everything else, why not for this?

In the end, Google Docs works well enough. I do miss the commit log, though. It's tricky to link to a previous revision in the changelog table -- maybe I'll get into the habit of it.

Both GitHub PRs and Google Docs have this problem, though: There's no ready record of the review process -- the comments. They eventually disappear and are difficult or impossible to retrieve, and they lose context.

Not like anybody is bothering to dig.

comment 2y ago · link · parent

Markdown-in-git used to be used for tech specs at my company. Now we switched to Google Docs, which means we need to maintain a "change log" section at the bottom because Docs history is... not a commit log.

Markdown in git, reviewed as a pull request on GitHub, is the best way to do an RFC. I will die on this hill.

Alternatively, I wonder if an old school message board would work. Each RFC gets its own (sub)board, and within that board each thread is a discussion about some topic -- an individual review, debate about a section, etc. I wonder if such a thing already exists, _specifically_ for technical specification review.

comment 2y ago · link · parent

I interpreted this as "LibreOffice is primarily used on Linux, while Office is almost exclusively used on Windows. Windows has much larger desktop market share than Linux, so it is not surprising that Office prefers the Office-specific format."

For what it's worth, [docx][1] is technically standard. Not sure how that pans out in practice.

[1]: https://en.wikipedia.org/wiki/Office_Open_XML

comment 2y ago · link · parent

What are the different unemployment rates, and how do they work?

Are you referring to [this][1]? If so, which notion(s) of unemployment do you think are meant in the article?

[1]: https://www.bls.gov/cps/definitions.htm

comment 2y ago · link · parent

It's code, you're just not allowed to know what language it's written in.

comment 2y ago · link · parent

I used Shed Skin in the long long ago to speed up a solver for a queuing problem I was playing with.

The journey was:

- naive python solver: https://github.com/dgoffredo/wait-time/blob/master/solver.py

- "optimized" solver that ended up being slower due to more time spent in the python interpreter: https://github.com/dgoffredo/wait-time/blob/master/solver_op...

- used Shed Skin to speed up the python bits, but I don't recall whether I got it to integrate with the fsolve module (I doubt it in retrospect)

- rewrote it all in C++ templates using some professor's linpack port; MUCH faster: https://github.com/dgoffredo/hybrd/blob/d84013352797e61d449b...

comment 2y ago · link · parent

Always the past, I imagine.

comment 2y ago · link · parent

It taught him not to waste ink, and to use his imagination.

comment 2y ago · link · parent

show me how to disable my adblocker

comment 2y ago · link · parent

In every job I've had so far, I've been writing C++ because the guy before me wrote C++. That's really all there is to it.

What "C++" means depends on the project. Maybe that's why it's so hard for the standard -- they have to consider more than one project.

comment 2y ago · link · parent

> Working slowly after hours with no promise of getting much if anything concrete done is a deep joy for some of us. I sometimes need to play with my work to know what I'm doing tomorrow. It's often outside the scope of what I'm being asked to do, yet vital to a successful project instead of a mediocre one full of garbage decisions smoothed over by management lies and stress on the whole team to maintain.

Part of me thinks that it's an open secret that this is the only way anything of real quality gets done. I've been burned by investing too much into pet projects, though.

comment 2y ago · link · parent

or a time traveler

comment 2y ago · link · parent

> Think about it logically, you can not brew bear from water that is contaminated in the first place.

My assumption is that the contamination is biological, which would be fixed by the long boil required in brewing. Even with resistance to the local microflora, water was probably more likely to cause disease than a boiled derivative like beer.

> I guess people just really like the idea of medieval people being shitfaced all the time.

I've heard that the beer made then, maybe especially for consumption by peasants, had a low ABV by today's standards. High alcohol beer is a waste of grain if the goal is a slightly-more-antiseptic-than-water beverage.

comment 3y ago · link · parent

This is not a curious comment, but I'll make it anyway. I spent some time clicking around on that website, and I couldn't figure out how much the product(s) cost. All I could do was "sign up."

A google search brought me here: <https://shop.presonus.com/studio-one>.

comment 3y ago · link · parent

I use vscode with the neovim extension. I'm no vim aficionado (I still use the arrow keys...), but it's good to have the vi bindings in an IDE. It even supports variable width fonts!

And then when I open up (n)vim in a shell, the muscle memory carries over.

comment 3y ago · link · parent

I tip servers, bartenders, cab drivers, and my barber. If a machine prompts me for more money, I ignore it.

edit: and I tip the food delivery guy

1
252627
38