News for hackers. Stuff that matters.

fourier

They still have a major flow - common lisp packages are not hierarchical (in contrast to java) which makes it hard to have some symbols exported to not all packages but rather subset of them.
yes thanks!
What is your workflow while developing the compiler?

- Are you experimenting with the particular function in REPL/interpreter and then add it to the code?

- How do you debug the code?

- How do you test it, what are the test suits etc?

Re:Smaller Code, Better Code on Monday February 13, 2017 @02:59PM (#13638226)
Re:Emacs maintainer steps down on Wednesday October 14, 2015 @02:07PM (#10388267)
7 years there. No regrets (almost). Use it for everything except Java
Re:Why Graphing Calculators Still Cost So Much on Monday October 05, 2015 @04:11PM (#10334532)
From what I heard from TI employees they don't get much profits from calculators; they produce produce them to maintain brand recognizability.
Re:Notation as a Tool of Thought (1980) on Tuesday September 08, 2015 @02:42PM (#10187474)
You can download fonts on Dyalog APL website: http://dyalog.com/apl-font-keyboard.htm
Re:Ask HN: Share your favourite bash/zsh aliases on Sunday July 12, 2015 @06:39AM (#9873083)
alias e='emacsclient'

alias serv="ssh [email protected]"

alias work="cd /Users/myname/Sources/mycompany/myproject"

Yes this could work for personal things. But it is often you need to represent your understanding of the current state of affairs and propose your ideas, so the UML is a good tool to do it - everybody understand it or could learn in like 0.5 hour.
We've used image comparison tool, which produces pixel-wise diff with the expected image, exactly to verify these kind of things(we've been developing the rendering tool). In addition to this unit tests, combined with the coverage tools, allows you to find potential problems/crashes etc in your code. Different levels of testing are for different things, unit tests just one of the pieces in the equation.

Your point is just for some tiny tiny scenarios of the software you are working on.

You don't need to think about 'how could I write a unit test', you need to think about how could you improve the quality of the code, and unit tests are just one of your tools available to solve this problem.

I'm working a lot with a huge legacy codebases in C/C++. Here are some advices:

1. Be sure what you can compile and run the program

2. Have good tools to navigate around the code (I use git grep mostly)

3. Most of the app contain some user or other service interaction - try to get some easy bit (like request for capabilities or some simple operation) and follow this until the end. You don't need a debugger for it - grep/git grep is enough, these simple tools will force you to understand codebase deeply.

4. Sometimes writing UML diagrams works -

- Draw the diagrams (class diagrams, sequence diagrams) of the current state of things

- Draw the diagrams with a proposal of how you would like to change

5. If it is possible, use a debugger, start with the main() function.

Re:Ask HN: Do you still purchase physical books? on Sunday May 03, 2015 @03:02PM (#9482531)
Yes I do. The reason is moral/aesthetical: to have books on my bookshelfs and organize them makes them always visible in my flat and allows me to easy glimpse over them and have an idea of what I did, what I planned and what I'll deferred. From functional point of view eBooks are more convenient, so if I got a chance I buy both ebook and paper versions, or if I download the eBook for free somewhere I make sure if the book is good to buy the paper version later.
For Windows where are great commercial WinEdt and free TeXnicCenter.
Will be great to have something like this in Emacs.
Re:Code Keyboards on Monday March 30, 2015 @12:46PM (#9290736)
And the Kinesis Advantage is programmable as well, so you can redefine keys as you please. For example I moved arrow keys to one side, remapped Delete to Ctrl and changed some alt/cmd keys configuration in thumb cluster.
Re:Why we offer parental leave on Tuesday January 27, 2015 @02:36PM (#8955169)
In most of the developed countries in the world parental leave is a country responsibility, not a company.
Re:Emacs Rocks on Sunday November 16, 2014 @05:23PM (#8615721)
XCode is amazing for C/C++ development, but Emacs is just better as a text editor. The rtags project [1] is under active development right now to have more IDE-like features in Emacs for C/C++ developers. There are some other projects, for example clang-complete-async [2]

[1] https://github.com/Andersbakken/rtags

[2] https://github.com/Golevka/emacs-clang-complete-async

Re:Ask HN: Who is hiring? (November 2014) on Saturday November 01, 2014 @10:10AM (#8543070)
Are you considering remote consultants for these positions?