982 karma · joined Jul 7, 2016 (10y ago) · 339 submissions
33.
At a stealth startup, dozens of engineers relentlessly worked 20-hr days(twitter.com ↗)
7 points · by foo101 · 7y ago · 3 comments
comment 7y ago · link · parent
> arXiv Vanity renders academic papers from arXiv as responsive web pages so you don’t have to squint at a PDF.
Why aren't more PDFs displayed like this on the web? I thought the math stuff would be a problem but this site shows the math stuff alright.
Anyone knows how to reliably convert complex PDFs to beautiful web pages like this?
comment 7y ago · link · parent
comment 7y ago · link · parent
I know many people are averse to the idea of macros that makes Lisp so malleable (you can add syntactic abstractions like in-fix expressions etc.) but the same people are not averse to adding new types with classes or new "operators" with functions. I find it curious that many are comfortable at stopping the level of abstraction at just that (types and operations). For some reason, the idea of abstracting away syntax itself or dynamic function definitions (macros) is unpalatable. Why should the comfort for abstraction stop just there? Just like one can make a mess with types and functions, one can make a mess with macros. Just like one can write beautiful and elegant types and functions, one can write beautiful and elegant macros. Does the aversion to macros come due to the traumatic experience people relate to when they think of C/C++ macros?
comment 7y ago · link · parent
comment 7y ago · link · parent
I know I just rephrased the "operator pending mode" in a more elaborate manner but I am curious how you handle this case? Do you press Esc? Or do you go ahead with the delete anyway and then press 'u' to undo the delete? Or do you have some other technique to cancel the delete operator pending?
comment 7y ago · link · parent
comment 7y ago · link · parent
If you think this needs more testing, do it yourself. The author of this project does not owe you any testing. If the Makefile works for author, that's good enough for the author. If it isn't good enough for you, fix it. The license allows you to do that. Then consider being nice and giving that fix back to the community with a pull request.
Don't come here on your high horse and post vile comments on something that is being shared with you as a gift! If you come here with your pull requests, code, or even better--your own projects, you would be welcome!
comment 7y ago · link · parent
comment 7y ago · link · parent
That takes care of returning from insert mode to normal mode. What do you do for returning from other modes (operator pending mode, visual mode, etc.) to normal mode? I don't think it is possible to reliably reproduce all of the <Escape> in all the modes with remaps.
comment 7y ago · link · parent
Both the hardware burning after memory allocation and lack of availability of physical memory after memory allocation are outside the scope of the standard. The standard says nothing about them. A C program can fail in these scenarios without violating the standard.
comment 7y ago · link · parent
Say I perform these mappings:
:noremap jk <Esc>
:inoremap jk <Esc>
Now granted, pressing `jk` in insert mode escapes me to normal mode. But many use cases that work with the Escape key do not work with `jk` anymore.For example, try:
:ab hn Hacker News
Now type `hn` in insert mode and press Escape, it would expand to `Hacker News` like it should. But then type `hn` in insert mode and press `jk`, it does not expand to `Hacker News`.comment 7y ago · link · parent
> Yes, C doesn't force you to use braces here, but this is really overdoing it.
It said nothing about nesting level depth. The question of nesting level appeared later in a child comment of yours which I believe is moving the goalposts. Sorry, I didn't make this clear in my previous comment.
Having said that, I do agree with you that braces are helpful. But then, we should all decide the pants policy in our own homes: https://groups.google.com/d/msg/nodejs/MWaivVTirPY/0pnRjKsgg...
comment 7y ago · link · parent
Demanding now that the nesting has to be less than three levels deep to omit braces is just moving the goalposts.
comment 7y ago · link · parent
What is the rationale behind this regulation? Is it that the baby is likely to be infected with HIV or is there some other reason?
comment 7y ago · link · parent
This is not true in my experience. I usually see a strong correlation between algorithmic ability and writing maintainable code. At various organizations I have worked for, I have seen that the ones with strong algorithm skills also happen to be critical thinkers who put a lot of emphasis on simple, elegant, and robust design and code.
So I am very surprised to know that this correlation I observe may not be true in general. How did you come to this conclusion?
comment 7y ago · link · parent
If one has great work ethics, there is a possibility that the student with connect better with the teacher. Do you have concrete references that prove that under the condition that the teacher has great work ethics, the effectiveness of learning is independent of connection to the teacher. Equivalently, do you have references that show that the effectiveness of learning is more or less the same in both of these cases: (1) Teacher has great work ethics and students have better connection to the teacher (2) Teacher has great work ethics and the students have poorer connection to the teacher.
> fear can have a really positive effect when it comes to learning something
You seem to be presenting a personal anecdote that opposes a peer-reviewed study of Patricia K. Kuhl from University of Washington but you do not present any evidence to corroborate your claim. It's great that fear worked out well for your class but without supporting evidence for it, I doubt if this would work for the majority. I would be wary of using fear as a tool while teaching.