HNHacker News
TopNewBestAskShowJobs

tgarma1234

180 karma · joined July 9, 2016

R programmer and python enthusiast. I like SQL too!
submissionscomments
tgarma1234··on The Ivy League Doesn’t Need Taxpayers’ Help
The schools are extremely valuable to americans as research centers and hubs of networks of power. There is ultimately no reason why Stanford or Harvard couldn't move to India or China if there were higher quality students willing to pay vastly more than American families can. The universities have the prestige, we don't. We are beneficiaries of their prestige, not the other way around.

So no, I don't agree with that article. Invest in success MORE not less.

tgarma1234··on What has happened down here is the winds have changed
I was a big fan of "Thinking fast, thinking slow", like pretty much everyone, until the replication crisis came along. Now I see a lot of the work in this field as a sort of scientifically informed stereotyping that might someday end up on par with phrenology, but it's still fun to read and consider as if it were true. It's really awful how pseudo-science can get so far though.
tgarma1234··on Existential Depression in Gifted Children and Adults (2009) [pdf]
I went to Oxford and even though everyone else there seemed pretty smart too I still didn't really make friends or develop meaningful relationships. It took me many years of basically just being isolated from others before I learned about the concept of "attachment styles" and started working on "Earned Secure Attachment" which basically means you build your own sense of attachment as an adult to correct the problematic aspects of your attachment style from childhood. It's unfortunate that kids who don't really "fit in" and end up being fairly isolated socially even though they are intelligent don't have a way of finding out how to solve that problem and that people just go around encouraging kids to be more socially active and suchlike. Even if you are socially active, you are probably not going to be able to form successful adult relationships without help if you already fall into the category that the OP is referencing.
tgarma1234··on A Survival Guide to a PhD
Yes... the two languages requirement is A LOT easier in technical field than in the humanities. Try being fluent or functionally fluent for an exam in two human, spoken, academic languages vs learning a couple of programming languages. At least that was the experience I had. Learning enough French and German to read and write in French and German at the PhD level was absolutely soul destroying whereas now that I have had several normal business jobs and been asked to learn various programming languages as part of the work was basically... easy by comparison. A few jobs in software development are rapidly becoming the "webmaster" of our time.
tgarma1234··on A Survival Guide to a PhD
Please, don't do a PhD. The tenure track treadmill is brutal and on the wane. You would be much happier just getting a job. A normal job. With ordinary people. And I say that after a masters degree, many years in a PhD program and the having a normal job. A PhD is sort of useless at this point in history.
tgarma1234··on Google and Box Announce Partnership
Sort of thought that anything you put in Drive belongs to or can be used by Google according to their TOS. Correct me if I am wrong but that is the main reason no rational business would ever connect anything to Google if they can avoid doing so.
tgarma1234··on The Correct Way to Validate Email Addresses
No. Absolutely beginner level blog post. You would use a third party tool like http://www.datavalidation.com/ or mailgun's email validation service or BriteVerify etc etc. There are a ton of validation services now. We are living in a time when trillions of email addresses have been tried, entered and deployed to. So why reinvent the wheel on your website? 3rd party services are based not only on parsing the string but also on literally billions of emails actually deployed through various ESP's to tell you up front whether the email address entered by a user is correct. I could use a trashmail email address and it would validate by the OP's standards. First validate using a third party service and then send the double opt-in email to get a user click.
tgarma1234··on The Math Myth
I agree that for an average american child to invest time in studying math as opposed to learning to play a musical instrument or doing sports or learning how to cook has very little utility. I think one of the main reasons people push math at civilizational/educational theory/political level is that it is basically a meaningless topic and non-controversial and fills up the school day with material that nobody on earth would find offensive... as opposed to, for example, history or political science. And I say all of that that even though I have a math degree from a legitimate university. If you need math done you can pretty much just pay someone else to do it. You almost never need math done. If there is some important math to be done, someone else is almost certainly better qualified to do it than you are, so let them do it. Life is just too short.
tgarma1234··on I want to motivate you to keep trying to switch to Linux
Sorry man, you are about 15 years too late. Everyone knows what Linux is and uses it pretty much all the time along with everything else.

The single best way I have found to switch to Linux as a desktop user is to dual boot my main home computer with Windows 7 or 10 and Ubuntu and then run Windows 10 PRO on my HTPC (that's "Home Theater PC" in 2009 parlance) so that I can RDP to it from Ubuntu to use Excel and Powershell and then also have two laptops: A macbook air and then also a Dell that dual boots both Windows 10 and Ubuntu 16.04. I would say that 9/10th of the time I just go ahead and use the macbook air. But booting into Ubuntu gives me that "party like it's 1999" feeling still, like I am really sticking it to the man, especially every time I sudo apt-get upgrade. Yes, I use ubuntu on all of my servers except the one's at work, which are all CentOS. Don't even get me started on my phone and tablet either.

Computers turned out to be just about the most schizophrenic world imaginable honestly. You have to know a ton of languages and Operating Systems and literally every company is trying their darnedest to lock you in. Welcome to the future. We are all polyglot. Wouldn't it have been awesome if ATT wouldn't have been such profit hungry assholes in the 80's and we could all be sitting here using UNIX and not having to learn tomorrows hot new language and don't forget google is launching FUCHSIA soon, which is a new OS that will replace Android, Linux, Java and... oh whatever. I should start learning Go I think. Node can suck it by the way, although I am sure some dick is sitting there in college writing a Node OS right now and it will end up powering smart cars and moonbases and microwave ovens and be worth a zillion dollars. I am not smart enough for this.

tgarma1234··on When to Avoid JSONB in a PostgreSQL Schema
I don't agree with that because you really just query the keys for users that have the attribute in question without inserting a ton of nulls and having to work out changes to the attributes when you realize "I wish I would have thought of that column" several iterations later. Spending time up front agonizing about the "overt schema" strikes me as an anti-pattern when you are likely going to pivot later and it's super convenient to just use the same tables as you have been using all along. New users are different in that case but not so totally different so just but the new attributes into the column keyed on "pivot1" or whatever.
tgarma1234··on Why I Don’t Hire Ex-Google Employees [2015]
Thank god someone finally said it.
tgarma1234··on John Carmack: Why Was Doom Developed on a NeXT?
Well yes the comment about spending 10 or 15K on a computer wasn't that big of deal was certainly true.

A sun Sparc in 1995 with awesome specs would cost you vastly more... and by awesome specs we are talking

"256 megabytes of RAM, a 4 gigabyte hard disk, and 20-inch monitor. It costs $59,995."

tgarma1234··on When to Avoid JSONB in a PostgreSQL Schema
You will never think of all the attributes anymore. For example 8 months later you want to score your contacts based on derived or imputed values. Who knows what you will want to slap in there when you scale up to 5 billion rows and start including click data from your website for example... there are basics from relational concepts that are obvious, which is why you are using postgres in the first place but table structure is not one of them.
tgarma1234··on When to Avoid JSONB in a PostgreSQL Schema
The fact that you can pass attributes for a record into the JSONB field without defining the table structure in advance is really the decisive feature because then you never have to bother with changing your data model. For example, if you have contacts streaming into your table from Android devices you don't need to say whether or not there should be a column for "work email" and "home email2" etc etc... you just send everything into a column with key/value pairs and you can put whatever key/value pairs you want in that column. And then query over the keys without inserting a gazillion nulls into your database for rows that don't have a value for a particular key. You can also do updates on the json column AND you get all of the benefits of relational databases with other columns in the same table. I can't really see how anyone would not love this data type now that I have been exposed to it in production.
tgarma1234··on Rclone: rsync for cloud storage
Thanks for the comment and the edit.
tgarma1234··on Rclone: rsync for cloud storage
I genuinely don't understand the use case for this since, for example, Dropbox already just syncs the changes you make to a file and not the whole file, automatically and does so bidirectionally, which this tool does not. So, if anyone can help state more clearly what this is adding over and above the features that the various cloud storage vendors already provide I would benefit from the explanation.
tgarma1234··on Will This “Neural Lace” Brain Implant Help Us Compete with AI?
Social Capital is what makes the generation of content valuable. I have no doubt there are millions if not billions of people who could write poetry or songs alive right now who have never done so and even if they could, nobody would read. Ideas are cheap. It's execution that matters and by execution everyone means: can you work with a team of influential and able human beings to make this idea valuable for others. A computer outputting content will never do that. The only thing AI would have going for it in that sense is that maybe people will dazzled by the initial idea that the computer is really really smart but even so there are a great many really really smart human beings right now living and producing ideas that you likely couldn't care less about. So I don't think computers are going to get far without friends in this regard. We have systems in place for helping us make friends. They don't.
tgarma1234··on The French Number – Connect to a random French person and talk about anything
Yes but for comparison you would need to code something in Go that's really complicated now. At the time being a Geocities user put you in an extremely rare cohort, which is of course why they originally sold for a billion bucks. Those of us who used it were extremely valuable users from a long term point of view. The first people on the internet who made their own websites AND linked all of the relevant stories everywhere else on the internet.
tgarma1234··on The French Number – Connect to a random French person and talk about anything
Or a rating system like how Uber works. I mean the idea of getting into a car with a random stranger isn't that awesome of an idea and yet it works. Maybe like "Perv: 3 stars. Politics: 2 Stars." So that people who want to talk to perverts could find highly rated perverts easily. Otherwise, you just talk to people who want to chat about general things.
tgarma1234··on What it feels like to be the last gen to remember life before the internet
Yes indeed. Libraries. Walking around the stacks looking for books in college and not necessarily knowing what would be in the book other than what was briefly described by the card catalog. You couldn't wikipedia a topic, so you had to really know how to scan a books contents and decide if it was worth the time to read. It was such a huge time commitment to learn anything at all from books back then. I love learning but I don't think that books/libraries were a better way to find information than the internet is. Every book should be digitized in my opinion.
tgarma1234··on What it feels like to be the last gen to remember life before the internet
I definitely remember using the phone at the bar I used to hang out at to call home to check my messages on my answering machine to find out where everyone else was planning to be. Or just walking around to familiar places to see if anyone was around. Life was a ton better living that way honestly. People were certainly more real. Now whenever I am around people I find they are compulsively checking their phones for messages and barely present in the moment at all. It's like... now everyone is always somewhere else. Another weird thing about cell phones is that in the pre-cell phone pre-internet era people did not take very many pictures of themselves and taking pictures at a party was kind of a special thing but certainly not the focus of everyone's activity all the time the way it seems to be now. I think it was more fun to just take pictures every once in a while and then have that interesting experience of getting film developed to find out how the pictures turned out. Memories stuck more then.
tgarma1234··on A FreeBSD 10 Desktop How-To
I never got far with FreeBSD on the desktop because every time I thought I would give it a try I ended up just thinking Linux is easier to use and my Mac is already basically the same thing but pre-configured, so it's a pretty expensive hobby unless you have a lot time or just really like playing with the details of your operating system. I agree there are philosophical reasons you might prefer FreeBSD to other operating systems. Anyway, my favorite part of that blog post is this:

# Handle Unicode on removable media libiconv_load="YES" libmchain_load="YES" cd9660_iconv_load="YES" msdosfs_iconv_load="YES"

tgarma1234··on Rackspace to go private again
Mailgun is a transactional email service that is basically free unless you are doing huge volume. The api sets the standard for documentation. If you need more features with your transactional emails you can sign up for Sendwithus.
tgarma1234··on Rackspace to go private again
AWS and Digital Ocean basically beat them. Mailgun is awesome though. Love using it. I see rackspace as being a perfectly wonderful private company that makes good money but they don't have enough glitz to really make it as a publicly traded company. Not enough product innovation or new markets or anything like that.
tgarma1234··on Have we reached Peak Dog in our cities?
I live in Chicago, where there are a zillion dogs, and I feel honestly like the history of humanity will one day be rewritten to clearly and correctly explain that human beings were in fact domesticated by dogs so that we work to support and feed them. People spend more to support their pets than most people in developing countries make. It's ridiculous.
tgarma1234··on “Node.js is one of the worst things to happen to the software industry” (2012)
Well I am by no means a great computer programmer or anything so I can certain accept other people saying node is crap but as someone who has used node my reasoning was simple: if you are going to use javascript in the browser and pretty much everything about the "app" depends on what happens in the browser then why use some other language on the server for models and controllers with javascript in the views? Why not just make it javascript all the way down?

Sure, smarter people than me might know why I shouldn't use javascript for everything but for me I do not find it useful to try to figure out how to do so much work in Rails or Django AND THEN ALSO end up using javascript in the views every time anyway. I would rather skip using Rails or Django and just get to the fun part of figuring out what happens next when this button is clicked on the website. I don't think I am alone in that. Rails and Django were a means to an end but they set the bar too high in terms of "programming" and require a lot of programming knowledge that I don't actually need to know to do what I want to do now with node. Sure, my code might suck but unless you are working in some super professional environment with highly skilled managers, pretty much everyone's code sucks. It's about getting the functionality you want with the least amount of effort. Node makes that possible.

tgarma1234··on PowerShell is open sourced and is available on Linux
Still need something other than powershell to access a linux server from a windows machine, which seems ironic...

ssh : The term 'ssh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

tgarma1234··on PowerShell is open sourced and is available on Linux
Windows can have a neat-o shell all they want but when you open powershell on a windows computer you still get the following when you try to ssh... so, not really seeing the point here:

ssh : The term 'ssh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1

tgarma1234··on We found over 10000 bugs in various open source projects
In other news: people who have to focus on detail oriented tasks often make mistakes.

Happy now? Sheesh.

tgarma1234··on Uncovering the truth about the British empire and the Mau Mau uprising
Yes one of the great quirks of European history is that the British Empire is not held in the same esteem as the Nazi empire. The British Empire was bizarrely racist and killed tens of millions of people worldwide. Maybe even more than that if you include the promotion of slavery as a business on global scale. England is so lovable now though.
← PreviousPage 3 of 4Next →