SEARCH KEYWORD -- Turing
A turing machine in 133 bytes of javascript
Multiply turing machine The fact it took me 20 lines of javascript to implement a nondeterministic turing machine simulatorlast week kept me up at night. All weekend. Too much code for something so simple and I kept having this gut feeling implementing a basic version shouldn’t take more than 140 bytes. Sunday afternoon I sat down for about an ...
Turing machine,JavaScript,Simple code 2011-11-28 09:27:28
The craziest Javascript implementations
Since its birth in 1994, Javascript has come a long way. Today it’s one of the most popular programming languages on the web because of high popularity of AJAX based web-applications. Also the rise of micro-frameworks such as jQuery (also Prototype, Moo Tools etc) which have reduced dramatically the complexity of code developers needed to write, it is well tested, has a ton of plug-ins, has a large development community and reduced development time.And lately even Server-S...
JavaScript,Crazy implementation,JVM,Turing machine 2012-01-03 12:09:42
If a programming language was a boat…
我是å—最近的一个论å›å¸–åå¯å‘,他的想法至今ä»è®©æˆ‘感到奇特。Turing(图çµ)Turingç»å¯¹æ˜¯ä¸€ä¸ªåŒäººçš®åˆ’艇(感谢评论里的æ醒)。它很å°ã€‚人力的。它通常被当作åˆå¦è€…çš„â€èˆ¹â€œã€‚è€...
Programming,Turing,C,C# 2011-06-24 01:07:42
Why Programmers don’t have a High Social Status?
Up to date there is No single street name for a top programmer or computer scientist in any of the Top 20 most developed countries in the world during the last 60 years. There is no statue built in the center of a major city for a renown programmer or computer scientists. No “Presidential Medal†or “Congressional Gold Medal†has been awarded to a computer scientists or programmer. There is no nationally televised social reward ceremony for computer programmers and scie...
Propgrammer,Social status,Remember,Achievement 2012-01-04 02:43:05
Faster than C
Judging the performance of programming languages, usually C is called the leader, though Fortran is often faster. New programming languages commonly use C as their reference and they are really proud to be only so much slower than C. Few language designer try to beat C. What does it take for a language to be faster than C? Better Aliasing Information Aliasing describes the fact that two references might point to the same memory location. For example, consider the canonical memory copy: void...
C,Performance,Speed,Fortran,Criteria 2012-03-25 09:12:23
Hey kids, just say NO to programming !
Cory Doctorow's latest talk 'The Coming War on General Purpose Computing' really puts things in perspective about life in the 21st century. This got me thinking more about functional programming languages and how they are related to the intentional limitation/crippling of turing machines by industry and government. What if Stallman is right about the intentional efforts to limit freedom of information ? What if it's even worse than we all think it is ? In relation to functional languages ...
Programming,Factor,View,Kids,No 2012-01-16 10:16:19
C Macro Tips and Tricks
Preprocessor vs Compiler To properly understand C macros, you must understand how a C program is compiled. In particular, you must understand the different things that happen in the preprocessor and in the compiler. The preprocessor runs first, as the name implies. It performs some simple textual manipulations, such as: Stripping comments. Resolving #include directives and replacing them with the contents of the included file. Evaluating #if and #ifdef directives. Evaluating #defin...
C,Macro,Preprocessor,Trick 2012-05-01 06:49:05
What Can We Learn From Dennis Ritchie?
As we noted earlier this week, one of the founding fathers of UNIX and the creator of C, Dennis Ritchie, passed away last weekend. While I feel that many in computer science and related fields knew of Ritchie’s importance to the growth and development of, well, everything to do with computing, I think it’s valuable to look back at his accomplishments and place him high in the CS pantheon already populated by Lovelace, Turing, and (although this crowing will be controversial, at lea...
C,Father,Dennis Ritchie,Death,Father of C,UNIX 2011-10-17 10:12:02
Notes on Programming in C
Introduction Kernighan and Plauger's The Elements of Programming Style was an important and rightly influential book. But sometimes I feel its concise rules were taken as a cookbook approach to good style instead of the succinct expression of a philosophy they were meant to be. If the book claims that variable names should be chosen meaningfully, doesn't it then follow that variables whose names are small essays on their use are even better? Isn't MaximumV...
A brief guide to tech internships
Planning to be an Intern in the Bay Area during Summer 2012? Make sure to read an Intern's Guide to the Bay Area, and join the 2012 Facebook group. (via this guy, via this guy) Joel Spolsky, from the Joel On Software blog and StackOverflow, wrote an article with Advice for Computer Science College Students back in '05. According to Joel, No matter what you do, get a good summer internship. As such: here’s everything you ever wanted to know about tech inter...
Internship,Advice,CS student 2012-02-01 04:48:31
RECENT
- Tips for Socializing With Friends During College
- Proximity Cards Do More Than Just Open Doors
- How to choose quality painted auto parts
- Oval engagement rings from MoonOcean: Elegance of form and individual approach
- Hologres vs AWS Redshift
- GoLand connect to Hologres
- A journey to investigate a goroutine leakage case
- Understanding Slice Behavior in Go
- Breaking Barriers: How 3D Printing is Democratizing Product Development
- The Power of Efficiency: 10 Practical Energy-Saving Tips for Tech Startups
- more>>