2020年1月
- 2020年1月31日
- 技術情報
How Programming Works
Today I will give you an abstraction about how programming works.
The computer only understands the instructions in machine language code.
But it is more difficult to write a program in machine language code.
So, we have to write programs in higher level languages such as Java, PHP, Python and etc. But we cannot execute this source code (high level language code) directly on the computer.
Therefore, we must convert them into machine language code to be able to understand for computers. We need some special translators that are programs written basically in machine language code.
And these translators are called language processors.
There are 3 types of language processors.
Compiler
It is used for higher level language.
Read and run the entire program at once and then throw errors if one occurs.
The top-level languages that compilers use is: C, C ++, C #, Java etc.
Assembler
It is used for assembly level language (mnemonic codes).
Read the assembly level language instructions for the given entry.
Interpreter
It is used for higher level language.
Read and execute the source code line by line and throw an error after each line if one occurs.
The top-level languages that use interpreters are VB Script, Python, Perl etc.
Now you will have a general understanding of how programming works.
By Yuuma.
yuuma at 2020年01月31日 10:30:44
- 2020年1月30日
- 技術情報
CakePHP データベースとの接続
nishida at 2020年01月30日 10:00:29
- 2020年1月29日
- Linux
virtualbox上のゲストOSのApacheHttpServerへアクセスする
virtualboxのゲストOSとしてCentOSをインストールしました。
今回はその上で動くApacheHttpServerへ
ホストOSのブラウザからアクセスするまでの手順をご紹介します。
tanaka at 2020年01月29日 10:00:40
- 2020年1月24日
- 技術情報
Brave Browser
Today I will talk about a trendy browser called brave. Lets check it out.
Barve ?
Brave is a more-or-less standard browser that lets users navigate to websites, run web apps and display or play online content. Like other browsers, it is free to download and use, remembers site authentication information and can block online ads from appearing on sites.
Its maker, Brave Software, is a relatively new entry in the browser battles, having first previewed the browser in January 2016. The firm was co-founded by Brendan Eich, the creator of JavaScript and a co-founder of Mozilla.
Any Differences ?
What sets Brave apart is its aggressive anti-ad attitude. The browser was built to strip online ads from websites and its maker’s business model relies not only on ad blocking, but on replacing the scratched-out ads with advertisements from its own network. It’s as if a new TV network announced it would use technology to remove ads from other networks’ programs, then rebroadcast those programs with ads of its own devising, ads that it sold.
Interesting Fact
Brave is built upon Chromium, the open-source project Google and others maintain. (Google uses Chromium to provide the source code for its Chrome browser.) The back-end technologies that power Chrome – including the Blink rendering engine and the V8 JavaScript engine – also power Brave.
Brave boasts of two things: Its speed and the privacy it provides users. Both result from its ad-stripping strategy.
On the desktop, Brave loads pages twice as fast as Chrome and Firefox. On a smartphone, Brave loads pages up to eight times faster than Chrome (Android) or Safari (iOS).
The speed increases are not surprising. By eliminating ads and ad trackers, Brave downloads much less content from a website than any browser sans an ad blocking extension. There’s nothing technological about Brave’s performance; it’s simply retrieving less data than other browsers. (If that weren’t the case, Chrome and other Chromium-based browsers would be just as fast.)
Economy
The foundation of the Brave economy will be “Basic Attention Tokens” or BATs, which have a value derived from a cyber-currency. Those tokens will be awarded based on user attention, or more plainly, time spent viewing ads and content. Brave users who agree to receive ads will be rewarded with BATs. Brave envisions users trading their tokens for premium content or advanced site features.
Download brave here.
https://brave.com/download/
By Yuuma.
yuuma at 2020年01月24日 10:30:02
- 2020年1月23日
- Web Service
Githubにコミット者情報を誤ってコミット/プッシュした場合の対処方法
nishida at 2020年01月23日 10:00:01