HNHacker News
TopNewBestAskShowJobs

SoylentOrange

560 karma · joined September 20, 2016

University of Toronto alum ex-IBM, Yelp, Symantec

Current startup founder / CTO

submissionscomments
SoylentOrange··on Best Wordle guessing strategy
I don't think this list is accurate, because the expected number of guesses for the top words should be fewer than 5. I'll post something in more detail later, but the best guesses on the 12,972 5-letter words have an expected number of guesses of around 4.3.
SoylentOrange··on Covid-19 breakthrough data
Here in Ontario Canada, the official government guidance is to not get tested if you have a mild case, due to a province-wide shortage of PCR tests [1]. Several friends have likely contracted COVID in the past 2 weeks (38-39 degree fever for 2-4 days with some coughing). Nothing serious enough to go to the hospital, but enough to take some time off work. All their cases are also unreported.

[1]: https://globalnews.ca/news/8480752/ontario-covid-pcr-testing...

SoylentOrange··on The psychological drama of the world chess championship
After his most recent title defense, Carlsen has been quite vocal that he is only interested in defending his title against the “new generation” of chess players like Duda and Alireza: https://www.chess.com/news/view/magnus-carlsen-defend-world-...
SoylentOrange··on The psychological drama of the world chess championship
There were plenty of amazing games in classical chess this year (and just because a game is a draw doesn’t mean it wasn’t exciting). An example of a great game this year is Carlsen v So at the Champions Tour. Another great game was Dominguez vs MVL at Sinquefield (Dominguez won the brilliancy award).

Many up and coming (young) players are also really exciting: Alireza, Duda, and Dubov. Duda’s win over Karjakin in the World Cup was pretty spectacular.

SoylentOrange··on The psychological drama of the world chess championship
What this article misses is Nepo is famous in the chess community for caving into pressure after losing once. A lot of people have said that Nepo was immensely lucky with the Candidates Tournament (the tournament that allowed him to play for the World Championship) since that tournament was split into two parts due to COVID. The break happened precisely after Nepo lost a crucial game and allowed him some time to regain his composure. I doubt Nepo would have won the Candidates if he had to play immediately after his loss.

On the other hand, Carlsen is well-known for his mental fortitude. It’s something that Vishy Anand, the previous champion, has talked about extensively. Carlsen’s style is often called “squeezing blood from a stone” because he will play equal-looking endgames and mentally exhaust his opponent into making a tiny mistake that he will convert into an advantage.

It was indeed a tough match-up for Nepo, and most knew it would end tragically for Nepo. Despite being an excellent player, he’s not on the same level as Carlsen.

SoylentOrange··on Django, HTMX and Alpine.js: Modern websites, JavaScript optional
Can you explain what you mean by “Live App” era vs React era? Can you point towards resources which might disambiguate the two?
SoylentOrange··on Ask HN: Best way to host a website for 500 years?
There are plenty of Italian and Swiss banks that are over 300 years old. They’ve survived reformations, wars including World Wars, plagues, purges, and the transition from feudal monarchies to empire and to democracy. For example, the British banking giant Barclays was founded in 1690. Here’s a partial list of other ancient banks: https://en.wikipedia.org/wiki/List_of_oldest_banks_in_contin...

I think it’s more reasonable to assume that they’ll survive any future calamity (especially something so close as 20-30 years) than to assume that our current age is somehow special.

SoylentOrange··on A viable solution for Python concurrency
That’s true you’re right. But I’ve heard others talk about adding a JIT, which would likely be a large breaking change at the ABI level.
SoylentOrange··on A viable solution for Python concurrency
> When pointed to the "ccbench" benchmark, Gross reported speedups of 18-20x when running with 20 threads.

I would be very happy with that, together with a 10% speed increase in single-threaded performance that they said would come as a result of these changes.

SoylentOrange··on Faster Python with Guido van Rossum
What do you use nowadays?
SoylentOrange··on Faster Python with Guido van Rossum
What do you use nowadays?
SoylentOrange··on A viable solution for Python concurrency
> My personal view is that the world has largely moved on from dynamically typed languages for anything non-trivial or that isn't essentially plumbing. For good reason. Of course people will bring up Javascript but it has a captive market as being the only thing that'll universally run code in a browser and the likes of TypeScript can ease that burden anyway.

This is not correct. There is a lot of data analysis code in the research and scientific community written in python. A lot of PyCon attendees and speakers come from these communities. Oftentimes, it’s not easy to write code to perform a task entirely in numpy, and then you incur massive slowdowns (often 20-100x). This is a common and contemporary problem in the python ecosystem.

GVR initially didn’t think that python needed to be faster either, but recently changed his mind. You can find a presentation on his motivations here: https://github.com/faster-cpython/ideas/blob/main/FasterCPyt...

Sam Gross comes out of that community so he’s familiar with the motivations for making raw python faster.

SoylentOrange··on A viable solution for Python concurrency
Python 3.0 was released in 2008, over 13 years ago. We are almost certainly much closer to python 4.0 than to 3.0 today (given 3.10 RC is currently live)
SoylentOrange··on Little kids burn so much energy, they’re like a different species, study finds
I would like to see a citation for this claim as I suspect it is not true
SoylentOrange··on Amazon Kindles with 3G will start to lose cellular network access in December
In 2013 there was a massive snow/ice storm and power outage here in Ontario, Canada lasting multiple days [1]. Having the paperwhite was amazing, because it had near-unlimited battery, and I used the 3G to buy a few books. Nearly every other portable electronic device was useless, since most phones at that time had maybe 12 hours of battery life. That event made me truly fall in love with the kindle.

8 years later, it still works wonderfully.

[1]: https://nationalpost.com/news/canada/toronto-ice-storm-2013-...

SoylentOrange··on Amazon Kindles with 3G will start to lose cellular network access in December
This isn't accurate, as Amazon is only giving full refunds to those with the gen 1 kindle. The rest get a store credit towards the purchase of their next kindle. I have a paperwhite and the $50 credit is less than half of the cost of a new kindle.
SoylentOrange··on Send+more=money and how to use forward-checking in search
I am OP and there are actually 25 solutions, with only one of them having all leading digits as non-zero.

I made a mistake in the article, where I meant to write "there are at least 2 solutions and here is one example". I will fix this. Nice catch.

SoylentOrange··on No More Nanometers – It’s Time for New Node Naming (2020)
As a computer scientist rather than an EE, I learned a lot from this article. I would like to provide some perspective as a person who buys and looks at processor advances in the consumer market with a technical, but not too technical, background.

Unlike a sibling comment, I never knew that the lithography process did not correspond to any physical characteristic in the chip. I naively assumed that the headlines saying that Intel was behind in process technology were correct, and used that to inform purchasing decisions. I found the article enlightening, and I think many on HN with the same background as myself will agree.

As an aside, I tried to read the linked IEEE paper [1] but the page is cut off for me below section 2. If anyone has a link to the full PDF, I would appreciate that.

[1]: https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=906...

SoylentOrange··on A Year at Google Brain (2020)
This is incredibly well-written and a great peek behind the curtain of industrial vs academic ML research.

One question: can you elaborate a little on your point about intellectual diversity?

SoylentOrange··on The Great Software Stagnation
I wish pip install automatically updated the requirements file like in some other languages.

I look up some boilerplate in stack overflow every week for matplotlib figures to look better.

CSVs generated in excel cause errors when reading in python without a special incantation.

It’s not super easy to set up multi machine training. AWS GPUs are extremely expensive.

sklearn models, once saved, are not easy to rework into a different format to be used with other languages.

I wish python could do compile-time checking instead of running for 30 minutes to then report a type mismatch. mypy is still not very good and in beta

SoylentOrange··on The Great Software Stagnation
The author specifically calls ML non-human computing and I believe is talking about the advances in ML from a theoretical standpoint. I don’t believe it is possible to lump the human written software used to train models, generate adversarial examples, and perform other tasks on GPUs, as purely non human computing. In fact, a lot of the advances in computing recently are specifically to enable this type of computing to be more efficient: easily parallelize training, analyze bigger datasets, graph databases, and other “big data” technologies.

In any case, software notebooks definitely existed before Jupyter like you say (I’m not familiar with Wolf but Mathematica has a similar idea), but I don’t believe they date back to 1996. I might be mistaken. I don’t see the author mention them in the text.

SoylentOrange··on The Great Software Stagnation
I’m an ML researcher, but did my grad work in systems. Here are several crucially important technologies invented since 1996 not mentioned in the article, which are fundamental underpinnings of the research community:

- Jupyter notebooks, for teaching machine learning. I use these for teaching. - OpenCL and other libraries for running scientific simulations on GPUs, gpflow for training on GPUs - Keras and PyTorch (libraries for simple training of deep learning models). More than half of machine learning research exists on top of these libraries

Let’s not even get into the myriad recent discoveries in ML and libraries for them.

Parquet file format and similar formats for mass data storage. Spark and Hadoop for massive parallel computation. Hive and Athena further build upon these innovations. A good portion of distributed computing literature is built on these.

Eventually consistent databases and NOSQL. There’s so much here, hard to list everything.

ElasticSearch and Lucene and other such tools for text search.

Then there is all the low level systems research: new file systems like BTRFS and ZFS. wire guard is something that’s just been built that seems foundational.

I am running out of words but let’s conclude by saying the premise of this article is laughable

SoylentOrange··on SolarWinds exposed FTP credentials in Public Github Repo: US Government Breach
Are the authors suggesting the weak credentials were the only part of the attack? Or are they suggesting they were the first part in a rather sophisticated supply chain attack?

The credentials by themselves don’t give execute privileges, or persistence, or in fact any access to non-SolarWinds systems. So both can be true.

SoylentOrange··on Thought Leaders and Chicken Sexers
I would like to add for the folks saying this is an ad-hominem that using Paul Graham’s own “hierarchy of disagreement” pyramid [1], this is at least at the level of Refutation, putting it 4 solid rungs above Ad-Hominem.

[1]: https://en.wikipedia.org/wiki/Paul_Graham_(programmer)#/medi...

SoylentOrange··on Tell HN: Thank You Dang
Thank you, Dang!
SoylentOrange··on EU Draft Council Declaration Against Encryption [pdf]
In the same way they are stopped now: infiltration, investigation, and waiting for them to make a mistake
SoylentOrange··on Python overtakes Java to become the second-most popular programming language
Definitely migrating to microservices helped alleviate the pressure from some of these problems: easier testability, smaller individual codebases with simpler dependency graphs, faster test and deploy times for each service, etc.

But the language problem remains. I think there are a lot more good language options today for backend services than there were in 2010, and if I were writing new backend code for a big website/service today, I might pick one of those.

SoylentOrange··on Python overtakes Java to become the second-most popular programming language
When I worked at Yelp circa 2013, we were an entirely Python shop (for backend). At that time, we had millions of LOC in Python. I love Python to death, but it became very clear that Python was simply a very bad fit for a project as large as Yelp.

I remember trying to write a program to simply understand our dependency graph so we could decouple some of our services (we were just starting our SOA efforts at that time). This is something other languages give you for free.

Our build times were exceptionally slow, as a direct result of Python's dynamic nature. For example, test discovery took over 2 minutes on each test run. This also made it painful to have distributed test runs, as splitting up tests across multiple processes would require the test discovery step to be run in each process, incurring a 2 minute penalty per process.

We also had deployment issues, because of Python's dynamic nature. Some code paths were only exercised during a production deployment, and were not sufficiently tested before deployment. This is despite the fact that we had tens of thousands of tests and sunk many hundreds of person-hours into testing as much as was possible. Despite a very professional engineering culture, and a constantly expanding test suite covering these corner cases, we had deployments fail about once a week for this reason.

I adore Python and still use it extensively most days (mostly its data science/ML libraries). But I now think that large projects would really benefit from static typing and strict compiler checks, as well as just being able to actually compile a binary (which would have solved many of our testing woes). In contrast to some other smart people on this thread, I don't think that even disciplined developer teams should use Python for large projects, at least not in the long-run.

SoylentOrange··on Lobe.ai – A simple tool for training machine learning models
I mean in the app. If this is a no-code version...
SoylentOrange··on Lobe.ai – A simple tool for training machine learning models
The app is beautifully done. I'm really impressed by how well it works given the knobs available.

However I tried to train it to recognize some images of characters from an anime (so a little different than facial recognition), and I managed to break the model: achieving 64% error with significant number of examples per class. I think one downside is Lobe doesn't expose how potentially overconfident the model is. I would love the ability to take the existing model and test it on a new image that I can import into the app.

EDIT: I would love to see the following in a future version:

1. What are the percentages associated with each image per class. I see that an image was misclassified, but did it at least include my desired class in its top 5 predicted classes?

2. Test the model on unlabeled inputs directly in the app to see how well the model might generalize. I would like to see a "Test" tab on the left once training is complete.

3. View other metrics of model goodness like F-1 score and training details like CV partitions in the app somehow.

Again, this is a really cool idea :)

← PreviousPage 2 of 4Next →