HNHacker News
TopNewBestAskShowJobs

KhalilK

2,177 karma · joined February 25, 2014

GitHub: khllkcm

[ my public key: https://keybase.io/khllkcm; my proof: https://keybase.io/khllkcm/sigs/E94-JbalPg0U9paAIK4rL8loPzAKv1dyikzSRiUkjNQ ]

submissionscomments
KhalilK··on Regarding Last Weekend’s Hearthstone Grandmasters Tournament
They were put in a lose-lose situation from the start.
KhalilK··on A Python Library to extract tabular data from PDFs
A few months ago I was looking for a similar solution but couldn't find one that handles empty cells very well. I ended up writing my own program[0] that is specific to my files' layout.

This library works perfectly and could've saved me a lot of time! Looking at some of the source code, we used similar logic to parse the tables. Pretty neat!

0.https://github.com/khllkcm/pdf2calendar

KhalilK··on Apple Engineers Its Own Downfall with the Macbook Pro Keyboard
It depends on the model. For my XPS 15 with the bigger battery I can get up to 10 hours working on Python dev and checking out docs. But only when disabling the discrete Nvidia card, which is relatively straightforward[0] to do after having suffered setting up bumblebee.

0.https://github.com/khllkcm/dotfiles/blob/master/.config/scri...

KhalilK··on A Free Wall Street Journal Login, Now Gone
Buzzfeed, seriously? I know they have some professional investigative journalism articles[0], but this certainly isn't one of them.

0.https://www.buzzfeed.com/heidiblake/the-tennis-racket?utm_te...

KhalilK··on Principal Component Analysis Explained Visually (2015)
PCA can also help you study the relationships between variables.

I recently used it for a class project to explore the distribution of certain French cities in regards to socio-economic variables.

http://khalil.kacem.xyz:3838/#section-variables

You can see that Security and Economic Activity are opposite for example.

KhalilK··on Ask HN: What do you use Machine Learning for?
Not ML per se but ANN have proven to be quite useful in tumor growth modeling. I am using them to model cancerous cells' genotype.
KhalilK··on 1177 BC – The Year Civilization Collapsed [video]
Unfortunately I can't recommend the book. It's a fascinating subject, but ... Much/most of the book is devoted to what various Eastern Mediterranean civilizations were like before the Collapse of the Late Bronze Age. It's useful as an introduction so that you can get some idea of what collapsed, but it shouldn't be most of the book.

The treatment of the collapse itself is fairly shallow. I know the collapse is still mysterious and comparatively little is known about it, but that's why a book like this should be so interesting. Surely there is enough information to fill a comparatively short book like this. The ever mysterious Sea People's are mentioned of course, but other than noting that they weren't just one group and that the Egyptians defeated one group of invaders he says little. There is the usual "they may have been from here, or perhaps there" but it doesn't go into much detail about the different theories. The possible causes of the collapse aren't discussed much either. Basically it says "stuff fell apart and here are some examples". I know that much of this stuff is far from settled but discussing the evidence and arguments for various theories is a good approach. Talking about how new civilizations arose after the collapse would have been interesting too; much more than endless detail about pre-collapse civilizations like the Minoans.

KhalilK··on 5900 online stores found skimming
Archived link of the censored list: https://archive.is/8u0iB
KhalilK··on Ask HN: What's your favorite tech talk?
Bret Victor - Inventing on Principle https://vimeo.com/36579366

We can argue on some of the points he makes but we can all agree that the demos are very impressive.

KhalilK··on Samsung, CPSC Say Galaxy Note 7 Owners Should Stop Using Them
Same with Software or OSes. always wait for the first revision.
KhalilK··on You Suck at Excel with Joel Spolsky (2015) [video]
Is there a way to reach you? I am a student with a few questions to ask if you don't mind.
KhalilK··on Is Microsoft Excel an Adequate Statistics Package?
There is an Excel addin (RExcel) that allows the use of R from within Excel. But it's proprietary.
KhalilK··on Ask HN: What was your “why didn't I start doing this sooner” moment?
I have some spare Keybase invites. Drop me an email if you want. Maybe it'll help.
KhalilK··on The creation of stainless steel
> I forget to download the issues from time to time

Same here, so I wrote a Python script (Selenium) that downloads the new issue and emails it to me. The quality to price ratio is amazing, I love Nautilus.

KhalilK··on Software shouldn't guess gender
"If you don't like the implementation, write your own"

People forget this very important concept in open source all the time.

KhalilK··on Minecraft shows how bedroom programmers can create global hits (2013)
s/Minecraft/Stardew\ Valley/ and you get the 2016 version.
KhalilK··on “Ask 'why' five times about every matter”
You could keep the second form but use a ditto operator instead;

   why(theMatter);
   why(%);
   why(%);
   why(%);
   why(%);
KhalilK··on “Ask 'why' five times about every matter”
Reminds me of Feynman's answer[0] when asked about magnets.

0.http://youtu.be/MO0r930Sn_8

KhalilK··on Is grit the true secret of success?
Although you're not the first to offer a (not-so-eloquent) genetic explanation of economic success, you are definitely the first person I came across being told "when someone is pretty they're usually crazy" which makes it a moot point.
KhalilK··on Tesla crash after flying 82 feet in the air shows importance of a crumple zone
What are the chances of one of them being called "Jebediah".
KhalilK··on Facebook sued for storing biometric data mined from photographs
>Anyone can Google "Richard Stallman" to retrieve more than enough training data to train an image classifier.

Yes but I think it has more to do with tracking him (i.e. on x day he was at y place/event) than merely identifying him.

KhalilK··on Facebook sued for storing biometric data mined from photographs
I attended a talk by Stallman last year and he implored anyone who took a picture of him not to post it on Facebook. Now I can see why.
KhalilK··on The Most Dangerous Writing App
http://pavlok.com/hello.php
KhalilK··on Quick introduction to SAT/SMT solvers and symbolic execution [pdf]
https://web.archive.org/web/20160228093915/http://yurichev.c...
KhalilK··on Engineers of Jihad: Connection between Violent Extremism and Education
I agree but those people are around 18 when they enroll into college, they can't be that close-minded. At least not until you show them (via curriculums) that there's to life more than science.
KhalilK··on Engineers of Jihad: Connection between Violent Extremism and Education
Tunisian here. My country is sadly known as the first exporter of ISIS fighters. I couldn't agree more with this! It is mostly attributed to the educational system. Engineering studies are focused mostly on math and physics and albeit present, Languages are treated like scond-class subjects. You end up with a generation of students who are effective engineers (to an extent) but who can't think at all. They are not taught philosophy, arts and even the logic of mathematics is obscured by the nature of testing.
KhalilK··on The Language Barrier Is About to Fall
I speak Arabic, French, English and Spanish; the last 3 are "easier" to translate interchangeably. Good luck breaking the Arabic barrier, each Arab nation has its own dialect and no one hardly speaks "traditional" Arabic anymore. The language itself is very rich and dense, even machine text translation has a long way to go, let alone real-time voice translation. This article is fiction at best.
KhalilK··on PayPal Starts Banning VPN and SmartDNS Services
Comparatively, it would be as if they blocked companies which sold knives because they have a policy against murder.
KhalilK··on iPhones 'disabled' if Apple detects third-party repairs
>Imagine the same thing happening to your car.

Given that apple is working on an iCar, it's just a matter of time I presume.

KhalilK··on iPhones 'disabled' if Apple detects third-party repairs
Albeit necessary to check the authenticity of components such as the TouchID sensor for security reasons, bricking the phones seems extreme. Why not simply disable Touch ID? This is them asking for a lawsuit.
Page 1 of 7Next →