HNHacker News
TopNewBestAskShowJobs

ishi

414 karma · joined October 25, 2011

submissionscomments
ishi··on Most “ugly” produce gets turned into soups, sauces, salsa, jam
That's exactly the point she's trying to make - they don't get wasted, only re-purposed.
ishi··on Facebook’s top execs ‘make tobacco executives look like Mr. Rogers’
There is no doubt that smoking can cause lung cancer. "Smoking is by far the biggest preventable cause of cancer. Thanks to years of research, the links between smoking and cancer are now very clear. Smoking accounts for more than 1 in 4 UK cancer deaths, and 3 in 20 cancer cases." https://www.cancerresearchuk.org/about-cancer/causes-of-canc...
ishi··on How to implement strings
This could be a good question for interviews. A good candidate should be able to come up with several solutions for implementing strings, and explain the pros and cons of each solution.
ishi··on A single-page app is almost always worse than a multi-page app
I agree, but using a front-end framework does not mean you must build your entire app as an SPA. You can still have separate pages, and UI components on each page get handled by your framework of choice. Also, there's a big difference between the state of a single form vs. keeping the state of your whole application in the frontend!
ishi··on Decision Tables
That's pretty cool! I've never seen a programming language that accepts ASCII art as valid code.
ishi··on Ask HN: What's your favorite elegant/beautiful algorithm?
Levenshtein distance, a dynamic programming algorithm for determining the edit distance between two sequences - the number of insertions, deletions or substitutions required to convert one sequence to the other. https://en.wikipedia.org/wiki/Levenshtein_distance
ishi··on The Magic Leap Con
What makes you say that innovation is slowing down across the globe?
ishi··on The Disturbing Fate of a Planet Made of Blueberries
But the heat would boil them, returning the planet to sterility.
ishi··on Twitter ‘smytes’ customers
I assume that in the real world you grow your own food, generate your own electricity, dig up your own wells for water, and knit your own clothes? Companies have to rely on other companies for critical services, just like we do in the real world.
ishi··on Zip Slip Vulnerability
`extractall` does mitigate directory traversal. Looking at the source code, both `extract` and `extractall` call `_extract_member` which sanitizes the file paths.

See https://github.com/python/cpython/blob/3.6/Lib/zipfile.py

ishi··on Akin's Laws of Spacecraft Design (2003)
A real life example - client discovers that users cannot actually get into the system. Contractor says: "Ah, you wanted a login screen? This wasn't in the specs! You need to pay me more to implement a login screen."
ishi··on Lisp, Jazz, Aikido
There's no question that Krav Maga is effective, but whether or not it teaches you to solve conflicts non-violently depends very much on the teacher. If all you have is a hammer, everything looks like a nail. And if all you know is how to knock your opponent out, that's probably what you'll attempt to do in a conflict.
ishi··on Lisp, Jazz, Aikido
Perhaps you should try a different teacher. I know guys who started training in their 50s and 60s, so it's entirely possible if you pace yourself, and not exceed the current limits of your body. Little by little, these limits get stretched and your physical condition improves. Of course it's easier if you're fit and flexible to begin with, but that's not a requirement.
ishi··on Lisp, Jazz, Aikido
One of the ideas behind Aikido is to not get in a fight in the first place. In real-life scenarios, it is often very possible to de-escalate a situation and prevent it from deteriorating into violence. Over time, practicing Aikido lets you see these opportunities and solve conflicts without resorting to violence.
ishi··on Giving meaning to 100B analytics events a day with Kafka, Dataflow and BigQuery
Can you elaborate a bit about the servers you used (hardware, cluster size, etc.)?
ishi··on The unsolved mystery of who owns 221b Baker Street
Here's an very clear article talking about this problem in general as well as specifically in Israel, where housing prices have more than doubled in the past decade: https://www.timesofisrael.com/do-israels-ghost-apartments-ex...
ishi··on How Inmates Play Tabletop RPGs in Prisons Where Dice Are Contraband
This reminds me of the semi-relevant story about the first translation of "The Hobbit" to Hebrew: four fighter pilots who were POWs in Egypt from 1970 to 1973 decided to translate the book so that their non-English-speaking friends could enjoy it too. It took them 4 months, and filled 7 notebooks. Even though their translation was not a professional one, it got published in 1977 and became pretty popular.
ishi··on Show HN: Open Paperless – Scan, index, and archive paper documents
A few years ago I was involved with a startup that built a document management system for consumers, and we actually got pretty good results with OCR + automatic tagging based on a very simple database that maps keywords to tags.

Let's say you want to auto-tag bills and other documents from your ISP. So you add the ISP's name, phone number, website address etc. into the database - any uniquely-identifying keywords that typically appear on the documents that they send. Now any document that contains these keywords will get tagged as "ISP", making it very easy to find in the future.

Even if the OCR quality isn't perfect, at least one of these keywords will most likely get matched.

Another example - you could add the names of your family members as keywords, making it easy to find all documents related to Jenny or Susan.

You could argue that full-text search would achieve the same result, but uploading documents into the system and having them auto-tagged as "ISP", "car-payments", "Walmart", "Susan" and so on feels a little bit like magic, as if the system is actively helping you organize your papers.

The keyword approach is also very easy to understand and tweak, unlike more rigorous but opaque methods of document clustering (such as tf-idf).

ishi··on Markdown Here – Write email in Markdown
This is fantastic! I tried it in Thunderbird and it works great. Just keep in mind that math formulas are sent to be rendered via Google Charts - so don't use this to generate your super-secret cold fusion equations... (as if sending them by mail would be a great idea to begin with).
ishi··on “Startup” asks internship applicant to build their app before phone screen
You left out the rest, which is even cringier: ...Andrew can literally always be found working or writing. By banging his head repeatedly against the walls that are un-transparent advertising and unsustainable food, he plans to topple them - no matter the ultimate concussive side effects. A steadfast optimist, Andrew believes that with a little luck he will change the world. "Fingers crossed," he says while looking defiantly into the distance.
ishi··on Hundreds of Mysterious Stone ‘Gates’ Found in Saudi Arabia’s Desert
The article mentions "Harrat Haybar", which can be found on Google maps. After some looking around in that area, you can find some interesting ground markings: https://www.google.co.il/maps/place/Harrat+Khaybar/@25.02546... https://www.google.co.il/maps/place/Harrat+Khaybar/@25.03256... I couldn't find the "gates", but perhaps I didn't look hard enough. It's a huge area, after all.
ishi··on Saudi Arabia Agrees to Let Women Drive
Perhaps freedoms will be taken by force by the Saudi citizens... when the petrol money runs out, the economic situation will worsen while the ability of the ruling elite to use money to keep the regime's stability will be greatly reduced. Looks like Prince Mohammed bin Salman understands this, and that is why he's trying to reduce his country's reliance on petrol money.
ishi··on FizzleFade
Cool, I knew that LFSRs were used in ciphers. I was not aware that they were also useful for implementing old-school graphical effects.

https://en.wikipedia.org/wiki/Linear-feedback_shift_register...

ishi··on Migrating 1200 databases from MySQL to Postgres
It's databases all the way down...
ishi··on Working from Home Can Make You Happier and More Productive
My experience is that it's difficult to stay productive at home, since there are too many temptations luring you away from work. And when the kids come back from school, it becomes nearly impossible to do anything useful.

This funny piece by the New Yorker describes it pretty well: http://www.newyorker.com/humor/daily-shouts/i-work-from-home

ishi··on Ask HN: Who is hiring? (July 2017)
INFINIDAT | multiple openings | Herzliya Israel | ONSITE | http://hiring.infinidat.com/

INFINIDAT was founded in 2011 by a team of storage industry experts focused on helping customers to eliminate compromises between cost, capacity, functionality and performance when it comes to their storage, enabling them to focus more on what makes their organizations competitive. Our product is InfiniBox, a Flash-Optimized storage platform that outperforms All-Flash arrays in real world workloads, is extremely simple to use, and provides 99.99999% data availability.

ishi··on Django vs. Flask
I agree that if your server is just serving a JSON API, you're probably not using 90% of Django's capabilities. So you might as well use Flask instead.

But as for non-relational databases or other external systems, Django does not help you nor hinder you in any way. If you want to connect to, say, Redis - the code would look the same under Django and under Flask. You simply don't use the ORM for those things, since it's irrelevant. You use the appropriate client library for connecting to the external system.

ishi··on Django vs. Flask
To paraphrase: "Whoever does not know Django, is doomed to reinvent it".

You can use Django with its "batteries included" philosophy. Or you can use Flask and start adding in lots of extra libraries (which may or may not play together nicely) to get an ORM, user models, admin site, etc. etc. So you end up reinventing a full web framework based on Flask.

ishi··on Your own company? You can do it (2011)
Some would argue that Israel has "the hottest startup culture outside the US". There are 96 Israeli companies listed in NASDAQ, and only 12 Indian ones. http://www.nasdaq.com/screening/companies-by-region.aspx?reg... http://www.nasdaq.com/screening/companies-by-region.aspx?reg...
ishi··on The far-reaching effects of air conditioning
The downside of air conditioned homes is that houses are now built with very little regard to insulation and intelligent use of the sun (to warm the house at winter) and the wind (to cool it during summertime).

My house has a large, paper-thin southern wall and during the summer it gets so hot that it radiates heat into the house at night. So I have to air-condition my bedroom at night. And the windows are stupidly designed, so when the wind blows in the winter I can feel it enter the room - and again I must use electricity to keep the room warm.

Thankfully, "green" building methods are starting to change this wasteful attitude.

← PreviousPage 2 of 4Next →