Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dmortin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
241.
▲
by
dmortin
7y ago
> most Emacs modes depend on a lot of regular expressions for syntax highlighting and many other things. Regular expressions are slow I use Emacs every day. Never had a problem with slow syntax highlighting when working on regular source
242.
▲
by
dmortin
7y ago
Couldn't emacs lisp be simply ported to work on the JVM? Then emacs would get a battle tested virtual machine, and the emacs devs could focus on the editor, instead of dealing with VM speed.
243.
▲
by
dmortin
7y ago
WHat's wrong with using emacs only for org mode if you use vsode for coding? You can just have an emacs open and switch to it if you want to note down something or look something up.
244.
▲
by
dmortin
7y ago
I simply use org-rifle for searching. It's great: https://github.com/alphapapa/org-rifle
245.
▲
by
dmortin
7y ago
When you edit the source code, so pre compilation, pre running. Refactoring is a tool to automate manual editing.
246.
▲
by
dmortin
7y ago
Unlike VIM people don't use emacs for the keybindings, so you can't just configure the IDE to work like emacs, because IDEs do not have those features (e.g. creating quick throwaway functions for some current task which can be ins
247.
▲
by
dmortin
7y ago
I did not talk about compile time checking, but refactoring, making assisted transformations on the source code.
248.
▲
Ask HN: Why are there no powerful free refactoring libraries for text editors?
5 points
by
dmortin
7y ago
|
7 comments
249.
▲
by
dmortin
7y ago
It may be possible, but I haven't seen such a tool. I have seen tools where you edited the syntax tree via a GUI and it was terrible for writing code. It may work better for tree modifications. Text programs are pretty efficent when wr
250.
▲
by
dmortin
7y ago
We could also pay for all the sites we use (google, youtube, gmail, reddit, etc.), but it would be pretty pricey if you visit a lot of sites. Most people would choose tracking instead.
251.
▲
by
dmortin
7y ago
On the other hand, when writing new code it is quite efficient to simply type, supported with proper completion. It would be much less efficient to create a program in a point and click gui, dragging visual elements onto the syntax tree. S
252.
▲
by
dmortin
7y ago
Don't upgrade org mode if you don't have to. I only update org when I move to a new major emacs version and it comes with a new org bundled.
253.
▲
by
dmortin
7y ago
Completion and refactoring are much more important than these. When working with code it's very powerful to work on a higher abstraction level. E.g. move this method to an other class and update all references to it automatically keepi
254.
▲
by
dmortin
7y ago
I don't hate or like lisp. It's just another programming language which does the job.
255.
▲
by
dmortin
7y ago
GUI. Why should I use the terminal version if I work at a GUI. If you have SSH then you do not even have to log in to sites, to run emacs. Just use Tramp.
256.
▲
by
dmortin
7y ago
You should have simply switched to sticky keys, so you don't have to press keys simultaneously: https://en.wikipedia.org/wiki/Sticky_keys Also, you can change the keybindings.
257.
▲
by
dmortin
7y ago
> It may require regenerating all pages, but depending on the generator that may not be particularly expensive - they may cache partial assets, so you replace part of the build asset and then the build is basically a bunch of cat-like ca
258.
▲
by
dmortin
7y ago
The build may be cheap, but you still have to upload the 100,000 files every time the global template changes.
259.
▲
All Videos of EmacsConf 2019
(emacsconf.org)
3 points
by
dmortin
7y ago
|
0 comments
260.
▲
by
dmortin
7y ago
Are static site generators only for small sites? E.g. if there is a site with 100,000 pages and the site owner wants to change something in the template (adding something to the sidebar, or footer, etc.) then does he have to regenerate and
261.
▲
by
dmortin
7y ago
Can't you serve a static site purely from memory and avoid hitting the filesystem altogether? If the site is not huge then all the pages could easily fit in memory and served from a memory cache.
262.
▲
by
dmortin
7y ago
The point is you don't have to use the desktop. E.g you lie in bed in the dark, not sleeping yet and a task comes to mind. You just say "Alexa, set a reminder for...", instead of turning on the light, reaching for your phone
263.
▲
by
dmortin
7y ago
Language processing can compare inputs to stored voice samples. It is simpler than self driving cars which have to navigate a completely dynamic environment with many autonomous actors and make good decisions very quickly.
264.
▲
by
dmortin
7y ago
Do most people in the US use some smart speaker at home and give commands via voice? I'm not in the US, so I'm curious how pervasive it is. Is it the minority who doesn't use Alexa and co.?
265.
▲
by
dmortin
7y ago
" If you’re one of the eight or nine people on the planet who has never interacted with Alexa." Really? Alexa is not available everywhere and it supports a limited number of languages, so if their language is not supported then pe
266.
▲
by
dmortin
7y ago
> that could end up killing the public transportation in my city Don't forget that public transportation can also be self driving and it will be cheaper than riding in a self driving car. So I don't expect public transportation
267.
▲
by
dmortin
7y ago
> In the case of bill pay, I would just change my user agent string. He also mentioned "others would let me log in but then immediately tell me I had been logged out". If they implement logging in with some tracking cookies, th
268.
▲
by
dmortin
7y ago
> Why spend money optimizing for a browser that doesn't generate revenue? Maybe sites will move to a model that you'll be offered to pay for their services if you block trackers. So you'll have a choice of paying with your
269.
▲
by
dmortin
7y ago
> Recently, I lost a couple of days trying to figure out how to compile a c++ framework because the other guy didn't document his pipeline Some people do it for job safety. The logic is if you don't document things and the know
270.
▲
by
dmortin
7y ago
It's not trivial to enforce a maritime border. What do you do if people come on boats? You can pick them up from the boats, but Turkey won't take them back. What then?
More ›