Better HN
topnewbestaskshowjobs
Log inSign up

augusto2112

147 karma · joined Nov 23, 2016 (10y ago) · 19 submissions

Submissions

comment 4y ago · link · parent

Because it rhymes :)

comment 5y ago · link · parent

I have a XPS 13 as well, and it does ship with Ubuntu.

comment 5y ago · link · parent

Exactly, meant to say that :)

comment 5y ago · link · parent

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.

comment 6y ago · link · parent

Greenwald’s story did damage Bolsonaro’s reputation, but I don’t think it had much to do with Lula’s release.

comment 6y ago · link · parent

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...

comment 6y ago · link · parent

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 :)

comment 6y ago · link · parent

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.

comment 6y ago · link · parent

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.

comment 7y ago · link · parent

> 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.

comment 7y ago · link · parent

Probably lack of generics?

comment 7y ago · link · parent

Your second link is an article from 2012 that says Apple stopped saying Macs can’t get viruses...

13.

The worst morale-boosting gesture I've experienced(shkspr.mobi ↗)

371 points · by augusto2112 · 7y ago · 339 comments

comment 8y ago · link · parent

How is the math? I've heard it's not exactly easy.

comment 8y ago · link · parent

It's matrix multiplication.

Has been in Python since version 3.5

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

comment 8y ago · link · parent

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?

comment 9y ago · link · parent

Can someone explain how interchanging the loops make it immune to mispredictions please? I don't get it

comment 9y ago · link · parent

What do you mean by lock-in business model?

comment 9y ago · link · parent

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?