question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reconsider :common set

See original GitHub issue

Cc: @Sannis, @sourrust

Hi guys,

I’ve had a few ideas about updating the :common set of languages to better match reality and expectations.

Here’s the download stats from the site, by language:

 824 xml
 817 javascript
 776 json
 773 css
 690 sql
 680 php
 673 http
 657 markdown
 642 java
 638 bash
 611 python
 601 cpp
 592 apache
 587 diff
 587 cs
 585 ini
 582 ruby
 572 makefile
 571 coffeescript
 567 nginx
 561 objectivec
 556 perl
 551 dts
 131 yaml
 131 go
 100 swift
  96 less
  92 scss
  85 lua
< 80 — not interesting

The 500+ top are the current :common set (with “dts” being there by mistake, we’ve missed it during review).

I’ve got two alternative ideas:

  • Drop the least used languages: coffeescript, objectivec, nginx, perl — and add in a few of the contenders: yaml, go, swift. This will freshen it up and leave it about the same size of ~40K.
  • Extend the set considerably to include most non-niche languages. It’ll probably move it into ~200K territory (uncompressed) but the Internet has changed considerably, and may be it’s not that big of a deal these days. I could probably run a quick poll about it on Twitter.

What do you think?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:24 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
derhuerstcommented, Apr 6, 2016

@derhuerst the NPM build already includes all the languages, there’s no point in packaging them individually.

There is, for example in reducing the bundle size when using browserify, which seems to be the standard frontend workflow nowadays. It would also help keeping major version bump down to a minimum in the core.

Moving the core detection into a separate module would also be nice, as many non-browser tools could directly use it (see #1086).

1reaction
derhuerstcommented, Apr 6, 2016

Please introduce a new major version and create standalone definitions for almost all languages. 📦 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reconsideration: The Rules and Relevant Strategies
Motions for reconsideration are sometimes considered a cost-effective appeal. You don't have to pay a new filing fee or assemble a record to ......
Read more >
Reconsideration or Rehearing: Is There a Difference?
Motions for reconsideration have a long common law pedigree. In 1924, the Florida Supreme Court deemed it “well settled that interlocutory ...
Read more >
After a Decision is Issued: What is a Motion for Reconsideration?
The most common type of post-trial motion is a Motion for Reconsideration in which you are asking the judge to reconsider his/her ruling...
Read more >
Motions For Reconsideration In California Family Law Cases
Here is an explanation of how reconsideration motions in California divorce and family law cases ... 473 relief is more commonly granted.
Read more >
Credit Card Reconsideration Guide - WalletHub
Though there is no set time frame, if you wait too long, it might count as a new application (instead of a reconsideration)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found