Better HN
topnewbestaskshowjobs
Log inSign up

codeape

42 karma · joined Jul 6, 2010 (16y ago) · 45 submissions

Submissions

comment 1y ago · link · parent

I have never been able to understand the Slack fetish most tech people have. IMO MS Teams is feature-wise better in most cases. Especially functionality for formatting posts is far better in Teams.

comment 1y ago · link · parent

Imagine the rapid advancements we could make in those fields if researchers stop wasting time on a baroque, outdated typesetting system.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

No, I like Markdown.

comment 1y ago · link · parent

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.

comment 3y ago · link · parent

I always recommend "The Pragmatic Programmer" (Hunt, Thomas) and "Code Complete" (McConnell).

comment 3y ago · link · parent

Joel Spolsky's (harsh) comments on SOLID, from a 2009 episode of the Stack Overflow podcast (https://stackoverflow.blog/2009/01/22/podcast-38/ https://stackoverflow.fogbugz.com/default.asp?pg=pgWiki&comm...):

"And, when I was listening to them, they all sounded to me like, to me, extremely bureaucratic programming that came from the mind of somebody that has not written a lot of code, frankly."

comment 3y ago · link · parent

https://docs.python.org/3/

comment 4y ago · link · parent

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?

comment 4y ago · link · parent

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)

comment 5y ago · link · parent

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".

comment 6y ago · link · parent

Found this: https://stackoverflow.com/questions/41550727/how-does-docker...

And:

https://dockercon.docker.com/watch/U7Bxp66uKmemZssjCTyXkm

comment 6y ago · link · parent

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?

comment 7y ago · link · parent

Are there any plans for implementing code completion/intellisense?

comment 7y ago · link · parent

IMO, MS Teams works pretty well. Not as good as Slack, but not horrible.

comment 7y ago · link · parent

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]?

comment 7y ago · link · parent

On a Windows PC, what (free, open source) drawing program would I use to create illustrations using these pieces?

comment 7y ago · link · parent

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?

comment 7y ago · link · parent

Totally agree. The author needs to read the Python docs.

comment 7y ago · link · parent

Hi, just curious: could you say a bit more on the the backend and frontend tech in use?

comment 9y ago · link · parent

How powerful is a Z-series mainframe?

comment 10y ago · link · parent

Nice.

Has anyone tried the tracks from Music To Code By (http://mtcb.pwop.com/) ?

I bought a few of them and IMO they are nice. The tracks are all 25 minutes in length.

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

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

comment 12y ago · link · parent

No not sarcastic. Just wondering.

comment 12y ago · link · parent

What would it take to add IE8 support?

comment 12y ago · link · parent

Do you use both the internal display and external monitor?

Have you tried connecting more than one external monitor?

comment 12y ago · link · parent

How is the multi-monitor support on the XPS 13 running Ubuntu? I googled, but could not find much useful information.

How many external monitors can be connected?

I found some information here: http://www.intel.com/support/graphics/sb/CS-031040.htm , but it looks as if most of the info applies to Windows.

comment 13y ago · link · parent

I have a few internal sites in production that run on IIS with FastCGI (using https://github.com/antoinemartin/django-windows-tools).

comment 13y ago · link · parent

So far none of the available images use Windows. All are GNU/Linux, most Ubuntu.

Since this is Microsoft I had expected to see some Windows VMs. I assume Azure supports Windows?

12