184 karma · joined February 19, 2007
I would look into using popups, a separate pane, or something like vim-notebook.
See how line 11 dynamically changes in this video based on whether his cursor is on the line:
https://youtu.be/C0OwhiCp2Hk?t=223
I believe this is done using "conceal" as JNRowe says, e.g. here:
https://github.com/vimwiki/vimwiki/blob/619f04f89861c58e5a64...
I also second what JNRowe says about trying the new popup feature. I recently used this to run a script that calculates something based on where my cursor is currently at in the file, then show the result at the cursor using a popup:
fun! CalculateFoodCalories()
let day = GetSectionName()
let day = substitute(day, "\[", "", "g")
let day = substitute(day, "\]", "", "g")
let out = split(trim(system("food --date=" . day)), "\n")
call popup_atcursor(out, #{ title: "Today's calories", highlight: 'Statement', border: [], padding: [1,2,1,2]})
endfun
nnoremap <silent> <leader>m :call CalculateFoodCalories()<CR>"Releasing these things don't give them control over anything that negatively impacts users" and "undermining competitors such as AWS" contradict with each other if you believe competition is good for users. The decision to release something as open source doesn't happen in a vacuum. Open source doesn't automatically make corporate activity morally good or neutral.
Re: public endpoints. Say you're poking around a public web service, and it doesn't provide an API. Maybe you're writing a browser extension. Would you rather reverse engineer a JSON HTTP API with no documentation, or a gRPC-Web API with no .proto file?
If Google is effectively a monopoly, does it matter if you could theoretically replace all of its offerings? Think about other monopolies in history, I'm sure they had "replacements" too.
Specifically in the case of gRPC-Web, even though "it's open source", does every gRPC service exposed on the web provide a .proto file for you to build your own client? If not, that's a big step down in terms of power given to end-users compared to REST.
https://github.com/reek/anti-adblock-killer/pull/2502
> after the page finished loading. It removed the real page content and replaced it with a box asking me to whitelist the site.
The reason why they're using so many domains is to circumvent blacklisting, and then the DMCA takedowns are another layer of circumvention on top of that.
You can change the playback speed on YouTube videos by clicking the gear icon.
You can also use VLC to adjust the playback speed on MP3s and downloaded videos.
Using an ESP for delivering email is a no brainer in most cases.
I got an "Oh no! We hit a snag processing your report. Markdown help." error without telling me what was wrong with the file. Seems like images break it.
For making these kinds of PDF I currently do this: 1. Write version controlled rst/markdown/creole. 2. Convert to HTML with a small script / command line tool (which also lets me do pre- and post-processing, like adding CSS). 3. Use chrome's print dialog to save the page as a PDF. This works pretty well for me.
Twisted, gevent, tornado, etc. were newer projects and built to overcome the deficiencies and crudeness of asyncore. E.g.: https://mail.python.org/pipermail/python-ideas/2012-Septembe...
Asyncio is sort of a meta project to standardize and improve async in python, learning from all the work that's happened in the intervening years.
"Thanks for pledging to mentor! You’ll receive an email with more information about how to fulfill your pledge in early 2015, once we’re ready to match mentors with mentees!"
import os; import random; os.system("vim %s +%s" % (lambda f: (f, random.randint(1,len(open(f).readlines())+1)))(random.choice([f for f in sum([[os.path.join(p, f) for f in fs] for (p, ds, fs) in os.walk(".")], []) if not ".git" in f])))
We are looking for software engineers on the rails team and operations team (the team I'm on)!
Lumosity provides brain training games to improve the minds and lives of our 60 million users worldwide. Lumosity.com is one of the largest consumer rails apps and has a team of really smart engineers and product people building it.
If you're interested, please read the job descriptions and apply here:
Sr. Software Engineer (Rails): https://jobs.lever.co/lumosity/56dba397-a23d-43e6-b8cb-817be...
Sr. Ops Engineer (DevOps): https://jobs.lever.co/lumosity/a9f51eeb-d3fd-479c-9ecf-e9023...
Performance Engineer: https://jobs.lever.co/lumosity/771d2086-f508-42e8-8f8e-3938b...
We also have a bunch of positions open at https://jobs.lever.co/lumosity for engineers (iOS, Android, Flash) and others (UX, marketing, internationalization, PM). If you have any questions at all please email slieberman@lumoslabs.com and put "Hacker News" in the subject!
In chef's case, I would rather write simple classes & functions in plain ruby than use the DSL and write "Lightweight Resource Providers".
In ansible's case, I even did a little experiment to show what it would look like to use & call ansible modules as normal python code:
https://github.com/lost-theory/ansible/blob/module_experimen...
https://groups.google.com/d/topic/ansible-project/Zv3Veo77gP...
I would love to see a CM tool that embraced plain python or plain ruby and not try to go the pseudo-"declarative" route, which ends up being IMO too constraining for not much benefit and needlessly reinventing a bunch of wheels (e.g. looping & conditionals, as the article mentions).
We are looking for software engineers on the rails team and operations team (the team I'm on)!
Lumosity provides brain training games to improve the minds and lives of our 60 million users worldwide. Lumosity.com is one of the largest consumer rails apps and has a team of really smart engineers and product people building it.
If you're interested, please read the job descriptions and apply here:
Sr. Software Engineer (Rails): https://jobs.lever.co/lumosity/56dba397-a23d-43e6-b8cb-817be...
Sr. Ops Engineer (DevOps): https://jobs.lever.co/lumosity/a9f51eeb-d3fd-479c-9ecf-e9023...
Performance Engineer: https://jobs.lever.co/lumosity/771d2086-f508-42e8-8f8e-3938b...
We also have a bunch of positions open at https://jobs.lever.co/lumosity for engineers (iOS, Android, Flash) and others (UX, marketing, internationalization, PM). If you have any questions at all please email slieberman@lumoslabs.com and put "Hacker News" in the subject!
We are looking for software engineers on the rails team and operations team (the team I'm on)!
Lumosity provides brain training games to improve the minds and lives of our 50 million users worldwide. Lumosity.com is one of the largest consumer rails apps and has a team of really smart engineers and product people building it.
If you're interested, please read the job descriptions and apply through jobvite here:
Senior Software Engineer (Rails): http://hire.jobvite.com/j/?cj=oW7PVfwx&s=SWE_HN
Senior Ops Engineer (DevOps): http://hire.jobvite.com/j/?cj=oX7PVfwy&s=DevOps_HN
Rails Performance Engineer: http://hire.jobvite.com/j/?cj=oUPGYfw7&s=PerfEng_HN
We also have a bunch of positions open at http://www.lumosity.com/jobs for engineers (iOS, Android, Flash) and others (UX, marketing, internationalization, product management). If you have any questions at all please email slieberman@lumoslabs.com and put "Hacker News" in the subject!