Visual Studio Code Extensions Roundup May 2016

May 4, 2016 by Wade Anderson, @waderyan_

The Visual Studio Code Extension Marketplace does a great job of highlighting Featured, Most Popular and Newly Added extensions and we encourage you to browse the site to see what's new and what plug-ins other developers are using. In our extension roundups, we like to call out extensions that we've found interesting and useful.

If you are new to VS Code extensions, check out the docs for instructions on finding and installing new extensions.

Debugger for Edge by Microsoft JS Diagnostics

Install: From within Visual Studio Code, you can use Quick Open (⌘P (Windows, Linux Ctrl+P)) and paste ext install debugger-for-edge then press Enter.

The same folks who created the very popular Debugger for Chrome extension have published Debugger for Edge for the Microsoft Edge browser. They were able to reuse the same debugger using the Chrome Debugger protocol. You can learn more about the details in their recent blog post.

...
Etiketler:

Telif Hakkı

© Visual Studio Code

Devamını okuyun
92 Tıklanma

Visual Studio April 2016 Release

May 9, 2016 by The VS Code Team, @code

Today we are releasing the April 2016 build of Visual Studio Code. This is our first monthly release after our 1.0 announcement last month and we really appreciate your support and feedback.

With this release, we're bringing many improvements to your development experience:

Developer Workflow

Quickly resize panes by double-clicking editor borders Reopen the last closed file using ⇧⌘T (Windows, Linux Ctrl+Shift+T) Launch your favorite shell when opening a new Terminal from the Explorer or Command Palette

Debugging

Improved stepping performance when inspecting very large strings or arrays Support for deep call stacks Node.js improvements such as experimental "smart" code stepping, ES6 type support in Watch, Locals, etc.

Extension Authoring

Language Server protocol 2.0 is now consistent with core VS Code API Automated test support for authoring Debug Adapters New APIs for working with folders and JSON files

Please see our Release Notes for the full list of features and fixes.

If you have automatic updates turned on (OS X and Windows) then you'll get prompted soon. Otherwise, download VS Code today!

...
Etiketler:

Telif Hakkı

© Visual Studio Code

Devamını okuyun
91 Tıklanma

İsrailli rakibi ile satranç oynayan İranlı sporcuya ceza talebi

Your browser sent an invalid request.
Etiketler:

Telif Hakkı

© DW.DE Dünya

30 Tıklanma

Visual Studio Code Extensions using CodeLens

February 12, 2016 Wade Anderson, @waderyan_

CodeLens is a popular feature in Visual Studio Code. The essence of the feature is "actionable contextual information interspersed" in your source code. That's quite a mouthful. Let me break it down for you.

CodeLens are links in your code:

Actionable - You can click on the link and something happens. Contextual - The links are close to the code they are representing. Interspersed - The links located throughout your source code.

animation showing CodeLens

VS Code comes with CodeLens for TypeScript. You can enable it in User Settings with "typescript.referencesCodeLens.enabled": true.

...
Etiketler:

Telif Hakkı

© Visual Studio Code

Devamını okuyun
86 Tıklanma

Trump yine medyaya saldırdı

Your browser sent an invalid request.
Etiketler:

Telif Hakkı

© DW.DE Dünya

25 Tıklanma

Natalie Rusk's Scratch Coding Cards (No Starch Press)

The phrase "Learn to Program One Card at a Time" plays the role of subtitle and friendly invitation from Scratch Coding Cards, a colorful collection of activities that introduce children to creative coding.

Developed by Natalie Rusk, research scientist in the Lifelong Kindergarten Group at the MIT Media Lab, the resource consists of illustrated activity cards that provide a playful entry point into Scratch, the graphical programming language used by millions of children around the world. The cards make it easy for kids to learn how to create a variety of interactive projects, such as a racing game, an animated interactive story, a virtual pet and much more.

Each card features step-by-step instructions for beginners to start coding. The front of the card shows an activity kids can do with Scratch, such as animating a character or keeping score in a game. The back shows how to snap together blocks of code to make the projects come to life. Along the way, kids learn key coding concepts, such as sequencing, conditionals and variables. Publisher No Starch Press recommends the coding activity cards for sharing among small groups in homes, schools and after-school programs.

Original author: James Gray
Etiketler:

Telif Hakkı

© Linux Journal

306 Tıklanma

Own Your DNS Data

I honestly think most people simply are unaware of how much personal data they leak on a daily basis as they use their computers. Even if they have some inkling along those lines, I still imagine many think of the data they leak only in terms of individual facts, such as their name or where they ate lunch. What many people don't realize is how revealing all of those individual, innocent facts are when they are combined, filtered and analyzed.

Cell-phone metadata (who you called, who called you, the length of the call and what time the call happened) falls under this category, as do all of the search queries you enter on the Internet.

For this article, I discuss a common but often overlooked source of data that is far too revealing: your DNS data. You see, although you may give an awful lot of personal marketing data to Google with every search query you type, that still doesn't capture all of the sites you visit outside Google searches either directly, via RSS readers or via links your friends send you. That's why the implementation of Google's free DNS service on 8.8.8.8 and 8.8.4.4 is so genius—search queries are revealing, but when you capture all of someone's DNS traffic, you get the complete picture of every site they visit on the Internet and beyond that, even every non-Web service (e-mail, FTP, P2P traffic and VoIP), provided that the service uses hostnames instead of IP addresses.

Let me back up a bit. DNS is one of the core services that runs on the Internet, and its job is to convert a hostname, like www.linuxjournal.com, into an IP address, such as 76.74.252.198. Without DNS, the Internet as we know it today would cease to function, because basically every site we visit in a Web browser, and indeed, just about every service we use on the Internet, we get to via its hostname and not its IP. That said, the only way we actually can reach a host on the Internet is via its IP address, so when you decide to visit a site, its hostname is converted into an IP address to which your browser then opens up a connection. Note that via DNS caching and TTL (Time To Live) settings, you may not have to send out a DNS query every time you visit a site. All the same, these days TTLs are short enough (often ranging between one minute to an hour or two—www.linuxjournal.com's TTL is 30 minutes) that if I captured all your DNS traffic for a day, I'd be able to tell you every Web site you visited along with the first time that day you visited it. If the TTL is short enough, I probably could tell you every time you went there.

Most people tend to use whatever DNS servers they have been provided. On a corporate network, you are likely to get a set of DNS servers over DHCP when you connect to the network. This is important because many corporate networks have internal resources and internal hostnames that you would be able to resolve only if you talked to an internal name server.

Original author: Kyle Rankin
Etiketler:

Telif Hakkı

© Linux Journal

27 Tıklanma

Evolution of the Insiders Build

May 23, 2016 by Wade Anderson, @waderyan_

Today over five thousand developers use the Visual Studio Code Insiders Build for early access to new features and to validate bug fixes. We love the Insiders build because we get valuable feedback and usage insights prior to each Stable release. Thank you for your help!

Initially, we released an Insiders build once per month, a few days before the Stable release. Over time, we increased the frequency of Insiders builds and today we ship new Insiders builds roughly once a week.

value prop of insiders

Nightly Builds

Even with weekly Insiders builds, many users asked for access to our nightly builds.

...
Etiketler:

Telif Hakkı

© Visual Studio Code

Devamını okuyun
180 Tıklanma

On binlerce Meksikal1 Trump'1 protesto etti

Meksika'da on binlerce kişi ABD Başkanı Donald Trump'u Meksika sınırına inşa etmeyi plandığı duvar ve göçmen politikaları nedeniyle protesto etti.
Etiketler:

Telif Hakkı

© DW.DE Dünya

39 Tıklanma

Bash Shell Script: Building a Better March Madness Bracket

Last year, I wrote an article for Linux Journal titled "Building Your March Madness Bracket" My article was timely, arriving just in time for the "March Madness" college basketball series. You see, I don't follow college basketball (or really, any sports at all), but I do like to participate in office pools. And every year, it seems my office likes to fill out the March Madness brackets to see who can best predict the outcomes.

Since I don't follow college basketball, I am not a good judge of which teams might perform better than others. But fortunately, the NCAA ranks the teams for you, so I wrote a Bash script that filled out my March Madness bracket for me. Since teams were ranked 1–16, I used a "D16" method borrowed from tabletop gaming. I thought this was an elegant method to predict the outcomes.

But, there's a bug in my script. Specifically, there's an error in a key assumption for the D16 algorithm, so I'd like to correct that with an improved March Madness script here.

Let's Review What Went Wrong

My Bash script predicted the outcome of a match by comparing the ranking of each team. So, you can throw a D16 "die" to determine if team A wins and another D16 "die" to determine if team B loses, or vice versa. If the two throws agree, you know the outcome of the game: team A wins and team B loses, or team A loses and team B wins.

I asserted that a #1 team should be a strong team, so I assumed the #1 team had 15 out of 16 "chances" to win, and one out of 16 "chances" to lose. Without any other inputs, the #1 ranked team would win if its D16 throw is two or greater, and the #1 team could lose only if the D16 value was one. With that assumption, I wrote this function:

...
Etiketler:

Telif Hakkı

© Linux Journal

Devamını okuyun
190 Tıklanma

Optimizations in Syntax Highlighting, a Visual Studio Code Story

February 8, 2017 - Alexandru Dima

Visual Studio Code version 1.9 includes a cool performance improvement that we've been working on and I wanted to tell its story.

TL;DR TextMate themes will look more like their authors intended in VS Code 1.9, while being rendered faster and with less memory consumption.

Syntax Highlighting

Syntax Highlighting usually consists of two phases. Tokens are assigned to source code, and then they are targeted by a theme, assigned colors, and voilà, your source code is rendered with colors. It is the one feature that turns a text editor into a code editor.

Tokenization in VS Code (and in the Monaco Editor) runs line-by-line, from top to bottom, in a single pass. A tokenizer can store some state at the end of a tokenized line, which will be passed back when tokenizing the next line. This is a technique used by many tokenization engines, including TextMate grammars, that allows an editor to retokenize only a small subset of the lines when the user makes edits.

...
Etiketler:

Telif Hakkı

© Visual Studio Code

Devamını okuyun
160 Tıklanma

Senato'dan Adalet Bakan1 Sessions'a onay

Irkçılık suçlamalarıyla karı karşıya olan Senatör Jeff Sessions ABD Adalet Bakanlığı görevine getirildi.
Etiketler:

Telif Hakkı

© DW.DE Dünya

38 Tıklanma

Nventify's Imagizer Cloud Engine

An API Marketplace Primer for Mobile, Web and IoT

Pick up any e-commerce web or mobile app today, and you’ll be holding a mashup of interconnected applications and services from a variety of different providers. For instance, when you connect to Amazon’s e-commerce app, cookies, tags and pixels that are monitored by solutions like Exact Target, BazaarVoice, Bing, Shopzilla, Liveramp and Google Tag Manager track every action you take. You’re presented with special offers and coupons based on your viewing and buying patterns. If you find something you want for your birthday, a third party manages your wish list, which you can share through multiple social- media outlets or email to a friend. When you select something to buy, you find yourself presented with similar items as kind suggestions. And when you finally check out, you’re offered the ability to pay with promo codes, gifts cards, PayPal or a variety of credit cards.

Get the Guide
Özgün yazar: James Gray
Etiketler:

Telif Hakkı

© Linux Journal

132 Tıklanma

Ürdün-Suriye ilişkilerinde normalleşme

YDH- Londra’da yayýmlananRe’y el-Youm gazetesinin Amerikalý diplomatik kaynaklara dayandýrdýðý haberine göre Suriyeli askeri yetkililerden oluþan bir heyet, 5 yýllýk bir ardan sonra ilk kez geçen hafta Ürdün’e gitti.

Ürdün ve Suriyeli subaylarýn Amerikalý ve Rus subaylarýn arabuluculuðunda, Ürdün’ün baþkenti Amman’da bir araya geldiði bildirildi.

Ürdün genelkurmay baþkanlýðýnca aðýrlanan, askerlerin ve güvenlik uzmanlarýnýn bulunduðu heyete, Suriyeli bir tuðgeneral baþkanlýk etti. Görüþmede güvenlik alanýnda iþbirliði konusu ele alýndý.

Bu görüþme sonrasýnda irtibat halinde kalan Suriye ve Ürdünlü subaylarýn eylem planýnýn ilk aþamasýnda Ürdün’ün kuzeyindeki Tedmur þehrinin IÞÝD’in elinden kurtarýlmasý oldu.

Kral Abdullah Moskova’da

...
Etiketler:

Telif Hakkı

© ydh

Devamını okuyun
34 Tıklanma

Common Language Server Protocol

June 27, 2016 by The VS Code Team, @code

Visual Studio Code is an editor for any developer, no matter what programming language you use. Between languages bundled in the tool or extensions in the Marketplace, we have support for over 150 languages. We’re also committed to developing VS Code in the open, and making the components that power VS Code available and open source. One of our most notable components is the Monaco editor, but another technology that powers VS Code is an open, JSON-based protocol that anyone can use to add support for a new programming language to VS Code by implementing a "language server".

any developer any language any tool

Today at the DevNation conference in San Francisco, we’ve announced along with Red Hat and Codenvy that this language server protocol is now being adopted by tool creators and language providers across the industry. For language creators, this means an enhanced tooling experience for their language across a variety of development tools and operating systems, similar to the experience that TypeScript developers or C# developers (via OmniSharp) get today. It also means any developer can have a consistent editing experience for their favorite programming language on any tool – even if that tool isn’t VS Code.

How it works

Visual Studio Code provides rich language support for many programming languages. Support for a particular programming language is powered by a language server that has a deep understanding of that language. VS Code communicates with these servers to enable rich editing capabilities like 'Errors & Warnings', 'Refactor', and 'Go To Definition'.

...
Etiketler:

Telif Hakkı

© Visual Studio Code

Devamını okuyun
201 Tıklanma

Visual Studio Code Extensions Roundup - Git August 2016

August 2, 2016 by Wade Anderson, @waderyan_

The first extension I built for Visual Studio Code was called Git Blame. It lets you quickly see which developer most recently modified the currently selected line ("blame"). It was simple and effective. Since the time when I built this extension, there have been many more awesome Git extensions added to the VS Code Marketplace. Here are some of my favorite.

Tip: Install any of these extensions by clicking the Extensions View button, typing the name of the extension in the Search box, and clicking Install. See more instructions here.

Annotator

Marketplace - Annotator

Publisher - Ryuichi Inagaki

...
Etiketler:

Telif Hakkı

© Visual Studio Code

Devamını okuyun
231 Tıklanma

Batı Şeria'da yeni yerleşim yerlerine onay

İsrail Batı Şeria'da 3 bin Yahudi yerleşim yeri inşa edeceğini açıkladı. ABD Başkanı Donald Trump göreve geldikten sonra İsrail yerleşim yerlerinin inşasına hız verdi.

Telif Hakkı

© DW.DE Dünya

30 Tıklanma

Suudi Arabistan ve Pakistan neden listede yok?

 

DW: 11 Eylül 2001 terör saldırılarının failleri arasında Suudi Arabistan vatandaşları vardı. ABD'deki Orlando ve San Bernardino saldırılarında ise failler Afgan ve Pakistan asıllıydı. Başkan Trump neden bu ülkeleri kararnamenin dışında bıraktı?

Arif Cemal: Başkan Trump'ın stratejisini değerlendirmek çok zor ve bunun için henüz çok erken. ABD basını Trump'ın bu ülkelerle iş yaptığı için bağışladığını yazsa da bu sadece belki Suudi Arabistan için geçerli olabilir. Pakistan ve Afganistan'da bir yatırımı yok. Ben Afganistan'ı orada bulunan ABD birlikleri ve çalışan diğer Amerikalılar için birçok sorun yaratabileceğinden ötürü savaşın parçaladığı ülkeyi listeye koymadığını düşünüyorum. Eğer Washington böyle bir hareket yapsaydı, Afgan hükümetinin işbirliğine son vereceği ortadaydı. Pakistan'ın durumu ise farklı. Bence Trump bu Müslüman ülke için kapsamlı bir politikanın hazırlığı içerisinde bulunuyor. Ancak çok açık olan bir şey var. ABD Suudi Arabistan ve Pakistan'la müttefik olduğu müddetçe İslamcılıkla karşı savaşını kazanamaz.

default

ABD'de yaşayan araştırmacı Arif Cemal

DW: Öyle görülüyor ki ABD Başkanı Trump'ın Ortadoğu ve güney Asya siyasetinin selefleri Barack Obama ve George W. Bush'tan çok da farkı yok. Bu değerlendirmeye katılıyor musunuz?

...
Etiketler:

Telif Hakkı

© DW.DE Dünya

Devamını okuyun
30 Tıklanma

AB'den İran'a füze denemesi uyarısı

Avrupa Birliği, füze denemesi yapan İran’ı "güvensizliği derinleştirmemesi"’ yönünde uyardı. İran Dışişleri Bakanı ise denemelerin yalnızca savunma amaçlı olduğunu söyledi.

Telif Hakkı

© DW.DE Dünya

13 Tıklanma

Rakka'da IŞİD'e karşı yeni harekat planı

Suriye'de IŞİD'e yönelik yapılacak yeni harekatın Rakka'yı kuşatmayı hedeflediği bildirildi.

Etiketler:

Telif Hakkı

© DW.DE Dünya

22 Tıklanma
Debug information
Total SQL queries executed by: 651
Before application load usage: 2MB
After application load usage: 16MB

Newsletter

Abone Olun

Welcome to barooc!
Hüküm ve Koşullar