News for hackers. Stuff that matters.

BJanecke

There is nothing about learning how basic data structures and algorithms work that won't help you in your day to day development.

You might be "fine" without it in a certain category of job, but rather than be dismissive about it you could be excited about having a massive wealth of information that you can use to do your job better.

There will always be something else to learn, wether it be how to apply Domain Driven Design to your work or how to work with graphs when munging data. It's always worth it.

[edit] Run on sentence

This book https://www.amazon.com/Data-Structures-Algorithm-Analysis-C-... Don't let the "in C++" scare you If you google about you'll find free copies of older editions online
Re:Vue.js: the good, the meh, and the ugly on Friday July 06, 2018 @02:44AM (#17469452)
The new module system makes it easy ;)
Re:How modern Linux systems boot on Tuesday June 19, 2018 @09:44AM (#17346505)
A bit more lightweight version of that is https://wiki.archlinux.org/index.php/installation_guide The first time I tried to install arch I had many aha! moments
Re:Ask HN: What has the past 12 months taught you? on Friday June 15, 2018 @05:57AM (#17318625)
humility
Re:Sony Aibo on Thursday November 02, 2017 @02:04AM (#15608185)
He writes about Design, and also likes to call it a game of constraints(paraphrasing).
Re:Sony Aibo on Wednesday November 01, 2017 @04:35AM (#15599592)
Someone's been reading Fred Brooks ;)
Re:Ask HN: What is your profession? on Thursday August 31, 2017 @03:22AM (#15138722)
I'm the Riddler
Just like the other non programming book on the list(Thinking Fast and Slow) GEB is a lot about perception to me.

Understanding that nothing is purely logical nor is it purely expressionistic; by pigeonholing your perception of any design whether it be Code, Math or Art to either Logic xor Expression you are blinding yourself

The other angle for GEB is design

I read GEB along with Design of Design years ago following my mentor at the times suggestion, I would highly recommend doing this. Think of it as the Gödel, Escher, Bach, Brooks (Although Brook's writing style can be laborious at times) Recognizing patterns in all design work helped my understand my own design process better.

Nice catch, thanks :)
* Douglas Hofstadter - Gödel, Escher, Bach: an Eternal Golden Braid

* Fred Brooks - Design Of Design

* Fred Brooks - The Mythical Man month

* Eric J. Evans - Domain Driven Design

* Design Patterns: Elements of Reusable Object-Oriented Software

* Kent Beck - Extreme Programming Explained

* Kent Beck - Planning Extreme Programming

* Michael C. Feathers - Working Effectively with Legacy Code

* Daniel Kahneman - Thinking, Fast and Slow

[EDIT] Correct the author for legacy code

https://www.offerzen.com/

* Upfront Salaries * Talent treated with dignity * Companies/Talent held accountable for showing up to interviews

Re:Popular People Live Longer on Monday June 26, 2017 @02:25AM (#14634518)
I have always held the belief that everyone is entitled to their own life and can do with it as they please. This exchange reinforces that.
Re:Popular People Live Longer on Sunday June 25, 2017 @01:37PM (#14631146)
I respect that, and accept that you have the right to your own life. You and your life have had great meaning to me and I will forever be thankful for that.
Re:Popular People Live Longer on Sunday June 25, 2017 @12:53PM (#14630904)
I'd suggest you pay a visit to your nearest ER and have the staff there give you some advice. Melancholic depression, fairly often is a symptom of other known health problems, that we as humans have ways of alleviating. I'm sure you've spent time and effort towards trying to solve what you are wrestling with now, but if you would like to give it one more chance the best possible thing you could do is pay your nearest ER a visit.
Re:How Student Debt Reduces Lifetime Wealth on Monday June 19, 2017 @06:52AM (#14585916)
Doesn't all debt reduce lifetime wealth?
We need Pshycohsitorians a la Harry Seldon
Re:Code boilerplate: Is it always bad? on Saturday June 10, 2017 @04:11PM (#14528974)
I think that's really cool, although

// Find the first foo with bar foos.map(f => f.bar).uniq().orderBy(f => f.baz)[0]

does the same basic thing, the ability to collapse and display intent is incredibly rad for lack of a better word

Re:Ask HN: Books you wish you had read earlier? on Sunday June 04, 2017 @04:59PM (#14483468)
Software

The Mythical Man Month && Design Of Design by Fred Brooks

Everything else

Hitchhikers Guide (Existentialism does not have to be edgy) The Foundation Series (Bureaucracy and Institutionalization will never undermine Ingenuity) Dune Series (Plans within plans)

Re:It's time for the US to use the metric system on Tuesday May 30, 2017 @03:56AM (#14443607)
In the same way it's hard to explain why you are most comfortable with your first language ;)
Re:An Indian village addicted to chess on Friday May 19, 2017 @04:01AM (#14373692)
Somehow this immediately made me think of Player Of Games by Ian Banks
Re:Ask HN: Is Digital Ocean safe enough for production? on Thursday May 18, 2017 @09:21AM (#14366951)
What does that mean?

Go read https://www.digitalocean.com/business and https://status.digitalocean.com/ if that doesn't put you at ease send them an email.

However it shouldn't matter. Droplets are essentially just on demand "vps's" most of the operations work is done by your operations team(in this case I imagine this is you). Where your hosts(machines, containers, vps's whatever you want to call them) are shouldn't matter very much, what is important is that you have repeatable infrastructure, so that when you spin up a new VPS anywhere(AWS, DO, Vulcan, Your Garage) you can get up and running again fairly quickly.

[edit] Added status page

Re:Kotlin Is Better on Thursday May 18, 2017 @01:05AM (#14364952)
Kotlin is really nice and I am very happy to have more than one great/fun/productive language however I feel like mentioning typescript might be worthwhile (yes I know it's "just" a superset of JS and you have a personal gripe with whatever you think JS is but hear me out).

* Runs everywhere js/asm

* MIxed bag of tooling, but generally you can find something amazing and you won't have to venture to sourceforge or similar to submit a patch

* Doesn't suffer from the coljure/scala "We can totally use other JVM libraries but we only really do that If we have no other option"

* Absolutely beautiful generics and spot on inference

   ```
    function pluck<T>(key: keyof T, from: T[]) {
       return from.map(item => item[key]);
     }
   ```
* First class functions

* Incredible flexibility

   * sketch in js then annotate  

   * decide on strict nulls

   * decide on implicit types

   * various approaches to composition 
* Amazing IDE support(VSCode)(This technically falls under tooling ;))

* One of the few cross-platfrom languages that feel pretty much identical on all the platforms

[edit] Formatting

Re:Don't overuse interfaces on Thursday May 11, 2017 @01:11AM (#14313973)
Most compilers :)
Re:Don't overuse interfaces on Thursday May 11, 2017 @12:52AM (#14313901)
This is fairly dangerous advice and amounts to. "Hey folks, I think it's a great idea to friction weld parts of your code together"

It's not YAGNI or duplication, if you can't understand why we program to an interface and not an implementation then you just very seriously need to go look at your codebase and decide to extend a core bit of functionality, one that usually comes to mind is Authentication/Entitlement

Re:The tragedy of 100% code coverage (2016) on Tuesday May 09, 2017 @05:22AM (#14298655)
So generally, I write a test when I want to make an assumption an certainty. If I can't be certain that something is doing what it's supposed to I write a test for it, make sense?

So

``` Int => add(x, y) => x + y; ```

Doesn't get a test, however

``` Int => formulateIt(x, y) => (x * y)^y ```

Does

Re:Total.js Messenger – A small alternative to Slack on Friday May 05, 2017 @01:07PM (#14274981)
what if my address is bob@accounts@localhost ?
Re:They Used To Last 50 Years on Monday March 20, 2017 @06:25AM (#13912963)
I'm going to assume it's got to do with the multiple layers of clothing they no doubt have to wear in that climate.

Older »