HNHacker News
TopNewBestAskShowJobs

augusto2112

147 karma · joined November 23, 2016

submissionscomments
augusto2112··on The new hire who showed up is not the same person we interviewed
Because it rhymes :)
augusto2112··on Fed up with the Mac, I spent six months with a Linux laptop
I have a XPS 13 as well, and it does ship with Ubuntu.
augusto2112··on Haskell: The Bad Parts, part 2 (2020)
Exactly, meant to say that :)
augusto2112··on Haskell: The Bad Parts, part 2 (2020)
A partial function is a function where all inputs have an output. For example, calling head on an empty list will throw an exception. To make this a total function you’d need to return a Maybe instead.
augusto2112··on My Resignation from the Intercept
Greenwald’s story did damage Bolsonaro’s reputation, but I don’t think it had much to do with Lula’s release.
augusto2112··on Professor suspended for saying 那个 nà ge
From his CV[1]:

- "Professor Patton primarily teaches in USC’s Full-Time MBA Program and its Executive MBA Programs in the U.S. and China"

- "He has served as a key advisor to the Center for Asian-Pacific Leadership, a faculty member at the US-China Institute and a leader of MBA learning programs in China and Korea."

[1]: https://www.marshall.usc.edu/sites/default/files/gpatton/pci...

augusto2112··on Hacking on Clang is surprisingly easy
Hey! I'm starting my master's in the field of compilers.

Could maybe could you share your setup/workflow? For example do you use any IDEs? I'm trying to use Clion but it seems 16GB of RAM is not enough.

Any tips would be appreciated :)

augusto2112··on Null References: The Billion Dollar Mistake
Sometimes you don't want to allow a value to be null at all, but with null references you can't represent that at the language level.
augusto2112··on Null References: The Billion Dollar Mistake
Functional programming languages have been doing it for ages. Most "newer" statically typed languages also have it (Swift, Kotlin, Rust) by default. And old languages had it bolted on (C# 8, Java 8, C++ 17).

I think at this point basically everyone has realized null by default is a terrible idea.

augusto2112··on Why Slack is no longer using a cross-platform C++ library
> Objects from DataProviders are returned as immutable models. On iOS, where the app uses a CoreData cache, this means the rest of the app no longer needs to access mutable CoreData objects directly, which reduces the need to worry about concurrency issues and avoids the crashes due to accessing data on the wrong thread that are common with CoreData.

Is this the common way of dealing with core data? I am actually doing exactly that at work right now, and was wondering if it was the right decision.

augusto2112··on My favorite Rust function
Probably lack of generics?
augusto2112··on iMessage: Malformed Message Bricks iPhone
Your second link is an article from 2012 that says Apple stopped saying Macs can’t get viruses...
augusto2112··on How Lisp Became God's Own Programming Language
How is the math? I've heard it's not exactly easy.
augusto2112··on Parallel Programming with Python
It's matrix multiplication.

Has been in Python since version 3.5

https://www.python.org/dev/peps/pep-0465/

augusto2112··on Ask HN: Who is hiring? (July 2018)
Hey Russ, your company seems to have a really cool intern program. I don't see any open positions though, is it ok if I apply to a dev position as an intern, and if not, are you guys planning on opening any positions soon?
augusto2112··on Why is it faster to process a sorted array than an unsorted array? (2012)
Can someone explain how interchanging the loops make it immune to mispredictions please? I don't get it
augusto2112··on On the Unhappiness of Software Developers
What do you mean by lock-in business model?
augusto2112··on Algorithms
I'm going through Sedgewick's class right now. Is the MIT OCW's course math heavy? It lists "Mathematics for Computer Scientists" as a prerequisite, I am somewhat familiar with the material, but not in a very deep level. Should I take that one before?