HNHacker News
TopNewBestAskShowJobs

why-el

2,258 karma · joined January 13, 2012

Hi!

Programmer at Vendr in Boston. Previously, Grubhub, https://pace.car in Germany, startups in Brazil and Morocco.

Get in touch via wael . khobalatte @ Google's famous email service.

submissionscomments
why-el··on Ask HN: What are you learning?
No sane person will hate on your studying, you are doing what you gotta do to survive, good luck out there friend.
why-el··on How to burn the most money with a single click in Azure
Agreed, it's a matter of degree. You can auto-scale up to a certain amount, at least in Heroku, so in practice you can limit it, say up to 8 servers or something, but nothing beats your own box if you can afford the opportunity cost.
why-el··on How to burn the most money with a single click in Azure
Can't think of any, but managed hosting tends to do better. For instance if you are doing your testing in Ruby, I'd suggest hosting on Heroku while you do all your preliminary work, where it's clear(er) what the cost will be, then move to AWS later when the bank account is, well, beefier. :)
why-el··on PgSync: Sync Postgres data between databases
Ruby is just for plumbing, i.e. preparing queries and whatnot, it's still pg_dump under the hood.
why-el··on MIT moves all classes online for the rest of the semester
> If courses being taught online is an acceptable substitute, why have caps on admission at all?

Most assignments are not scored in an automated manner, and the number of staff is not unlimited.

why-el··on Why SQLite succeeded as a database (2016)
genuinely not sure if you are joking or not, but that's not the same thing as postgres! :)
why-el··on My Emacs Productivity Tricks/Hacks
Another beautifully designed piece of Emacs software is magit, where the defaults are extremely sane. The package is self-documented and you can learn it all by typing ? anytime. Being able to git log the file you are in is also a huge plus.
why-el··on Alan Turing’s stolen OBE, doctorate recovered in Colorado
That's right, he was an OBE. They probably do get the difference and just using this colloquially.
why-el··on My story as a self-taught AI researcher
This is already being done in places such as the university of Arizona (Chomsky and his former students). The subject is narrower of course (computational linguistics and some neuroscience), but there are taking an approach that is more Galilean in nature, by designing experiments that reduce externalities rather that simply looking at massive amounts of data. I think that's what's going be the most useful, at least in areas that continue to be challenging for the current trends in AI, namely language.
why-el··on Toronto area sent nuclear alerts by mistake
Reminder to check out this amazing, heroic story of this man: https://en.wikipedia.org/wiki/Stanislav_Petrov
why-el··on Ruby Lazy Enumerators
Can you elaborate? What were you doing to the locale? Changing it?
why-el··on The ominous opacity of the AWS bill – a cautionary tale
Genuinely curious if this has been done, but considering that a $1000 is not a lot of money which suggests you are not running a big operation, why not use it and tie the rest to a card with a limit such as from privacy.com? Granted Amazon might deny such cards, in which case, if you really want it, you can set up a new debit card whose account has say a maximum you can spend?
why-el··on The Value in Go’s Simplicity
I agree with you on most points, and they are working hard to fix the generics issue in a way that does not make you lose all the nice things you mentioned. The only part I didn't get is:

> The use of zero values is a crime against nature

Can you elaborate?

why-el··on Ask HN: Do you write tests before the implementation?
Depends. If it's a bug or a new feature built on top of code that is already tested, then I will write the tests because they fit nicely into already existing testing infrastructure. The test therefore "proves" the bug, and the fix eliminates it.

For outright new code (think new objects, new API, and so on), I tend not to write the tests first because they become a cognitive load that affects my early design choices. In other words, I am now writing code to make the tests pass, and have to exert effort not to do that.

why-el··on Bike crash left Spokane man unconscious, so his Apple Watch called 911
Immaterial to the point, I think.
why-el··on Tesla earns its first-ever safety award from IIHS for Model 3
This always comes up, so I am curious if one fixes for "where the Tesla is driven" when doing safety analysis? Considering how difficult it is to get a Tesla (and for older models, how expensive), surely if one fixes for location, such as suburbs and well designed metropolitan areas as well as the type of people that drive Teslas, then perhaps other vehicles will do just as well?

I am by no means saying Tesla is less safe, in fact I do believe these claims, I am just not sure if they are truly thorough.

why-el··on The Riemann Hypothesis
Well, I am not sure if you've come across some of Bertrand Russell's work, but he qualified Mathematics as having what he called "supreme beauty". The older I get, and I am not a mathematician by any stretch of the imagination, the more I get what he means. This stuff is surely a gift for all of us.
why-el··on Tech companies ignore pleas on rail safety
I think there is a middle ground. Apps could announce the upcoming railroad crossing just like they do with a left/right turn. Somewhat of a silly example, but if there is a river at the end of a road and your only option is a left or a right, the app will not help stop you for driving the car into the river, but the instruction to go right or left does (albeit accidentally) help you avoid that. I don't see why it won't do the same with rail crossings.

Although you should focus on road signs more than you do the app, there could be a dangerous situation in which the app says "make a left turn at the light", but before reaching the light there is a railroad crossing. Of course you need to stop at that, but the app can enhance the situation but treating it like another instruction. I see no problem here but an overall safety enhancement.

why-el··on Netflix drops 10% after missing on global paid subscribers
Sure, no worries. You probably don't know about Roger, who is a good writer actually and much humbler man than what you thought out of this post.

And I think you just misunderstood the statement, his fortune cookie reference is to the story in the game, not to the person referred to by "She'.

why-el··on Netflix drops 10% after missing on global paid subscribers
Your comment reminds of this wonderfully written post by Roger Ebert[1]. It's not the same topic, but there is something to be glanced at in his writing where he eludes to choice, editorial-ism, and doing a story regardless of what the audience wants.

[1] https://www.rogerebert.com/rogers-journal/video-games-can-ne...

why-el··on Interpretable Machine Learning
Sure, I see what you mean, but he is trying to help people who are navigating "machine learning", whatever that is. Your argument is the same as "well, why did they call it gravity, shouldn't they have called it attraction?" It is what it is, and you teach based on the term already in the literature.
why-el··on Developers don't understand CORS
That's certainly true, you are making the leap of faith that your customers are running standard compliant browsers, which, all considered, is true. All the techniques you mention require you to break either the customers or some element along the network chain to the server, and once you do, well, CORS is the least of your problems.
why-el··on Why we're ending support for MySQL
It also creates huge discrepancy between what a developer using an ORM like ActiveRecord writes and how the engines end up optimizing, meaning that should you want to write a performant one, you have to learn both, or, short of that, notify your DBAs of what you did, and in both cases huge resources are wasted. I never understood combining both from a business perspective anyway.
why-el··on Germany records hottest June temperature
What do you mean the AC units are not allowed in Western Europe? I lived in Germany and never heard of this. In my experience, it's mostly cultural. The French for instance expect a "canicule" once or twice a year and that's generally survivable, although I think they are realizing that their frequency and power are increasing, so we might see uptake in air conditioning.

Edit: Or perhaps you meant regulations? If so, then yeah those exist, such as permits for the building and so on.

why-el··on “The books will stop working.”
What's the definition of "fair" here? There are many scenarios under which that makes no sense. Is the price inflation adjusted? What if the currency in question tanked in the mean time? What about actual labor done on the copy (annotations, notes, ...). Not faulting Microsoft, but we really need to rethink this model.
why-el··on The cost of raising a child in America has soared (2018)
I am really sorry to hear this. :/ You are bringing two wonderful human beings to the world and the system is failing you badly.
why-el··on Russ Cox’s response to “Go Is Not a Community Driven Project”
> Go core would go on ignoring community progress

Any examples? Perhaps you mean either Generics or the module system (the two elephants in the rather large and accommodating room)? I read almost all proposals for Generics, and, perhaps to my inexperienced eyes, the problem seems hard. The ramifications on the language design are not trivial, and the benefits, again, from my quite limited world view, are not so easy to quantify, otherwise how can one justify the extreme productivity spawned by the language? In the cloud business no less.

I have almost no stake in this, I don't even use the language professionally, but I find the supposed criticism a bit over the top. I'd wager that an example implementation of Generics that fits nicely with the language and works for a big and healthy code base would absolutely not go unnoticed by Russ and the other core members, but we have to accept that it is not easy.

why-el··on Tests that sometimes fail
I think the definition has evolved. Since usually the DB is reset between tests (and such reset is snappy), it's transparent enough to appear as unit testing. That we do this in a buggy manner or do not understand how to properly reset the DB does not negate that fact in my opinion. You could mock it or inject it, therefore doing unit testing in the traditional sense, but again you could introduce even nastier bugs and a whole lot of indirection overhead.
why-el··on Almost 40% of Americans Would Struggle to Cover a $400 Emergency
For me, having to put it on a credit card is effectively not being able to cover it, so the numbers do check out, from this perspective. Again, we are talking an emergency, not a mortgage.
why-el··on PostgreSQL 12 Beta 1 Released
Which ones? I know you can in SQL Server but not as cleanly as this. It's done transparently by PG.
← PreviousPage 5 of 27Next →