HN user

codeape

42 karma
Posts1
Comments44
View on HN

Using a word processor (MS Word, Apple Pages, LibreOffice Writer) is nearly as bad as using LaTeX (in some cases, worse).

Using a plain-text format like Markdown, ReStructuredText or AsciiDoc is likely better in almost all cases.

From https://www.latex-project.org/about/:

"LaTeX is not a word processor! Instead, LaTeX encourages authors not to worry too much about the appearance of their documents but to concentrate on getting the right content."

IMO, the only people that use LaTeX are people who are willing to trade the convenience and productivity of using a sane document authoring format for the warm and fuzzy feeling you get when you use an outdated piece of typesetting software that is a) hard to configure, b) hard to use and c) produces output for the least useful reading platform available (paged pdfs).

And the pronounciation is stupid.

Of the modern front-end frameworks: What is the best framework to add some front-end interactivity to a existing server-side-rendered application (Flask, Ruby on Rails etc.), without going all SPA?

I wish there was benchmarks for IDEs/editors, just like there are benchmarks for web frameworks (https://www.techempower.com/benchmarks/ https://web-frameworks-benchmark.netlify.app/).

For instance, given some Java program/project:

1. Clock time from selecting "Run" in the IDE to first line written to stdout (to measure startup time)

2. Clock time from selecting "Debug" in the IDE to breakpoint hit and debugger able to inspect stack (with breakpoint on line N)

3. Total memory used with open project, with single editor window open.

4. Total memory used when breakpoint hit.

5. Clock time from selecting "Run tests" in the IDE to test results are displayed

6. Clock time from selecting "Debug tests" in the IDE to breakpoint hit and debugger able to inspect stack (with breakpoint on line N)

I hope the author at some point adds the section on ConfigureAwait. I've seen code bases where the devs have added .ConfigureAwait(false) to all invokations "just to make sure".

I do not understand docker on windows.

If I understand correctly, when I run a docker image on Linux then the dockerized processes's syscalls are all executed by the host kernel (since - again if I understand correctly - the dockerized process executes more or less like a normal process, just in isolated process and filesystem namespace).

Is this correct?

But how does docker on windows work?

So if I understand the article, one should use the communication pattern:

When ____[observation], I feel ____[emotion] because I’m needing some ____[universal needs]. Would you be able to ____[request]?

For instance:

When [you're acting like a dickhead], I feel [the urge to punch you] because I'm needing some [fking professionalism]. Would you be able to [stop acting like a dickhead]?

Is the first "Using a Configuration File" example a bit misleading? The example is:

... Host remoteserver HostName remoteserver.thematrix.io User neo Port 2112 IdentityFile /home/test/.ssh/remoteserver.pub

IdentityFile typically (always?) specifies a file with a private key, right?

Perhaps you should change careers? Get a job where you interact with people in a positive way - for instance become a teacher, work in a kindergarden or similar.

I cannot understand why anyone would not use SQLAlchemy if they're building a database-backed Python application.