HNHacker News
TopNewBestAskShowJobs

alexott

950 karma · joined February 5, 2009

you can find information about me at http://alexott.net/en/ and at http://alexott.blogspot.com

[ my public key: https://keybase.io/alexott; my proof: https://keybase.io/alexott/sigs/YGbMyjTEeMg-ketys_027-WJuGoEn-vKmE1jZ-213tQ ]

submissionscomments
alexott··on Official Python SDK for Databricks
New Python SDK covers all public Databricks REST API operations, so you can use it for all things around automation on Databricks...
alexott··on A single line of code made a 24-core server slower than a laptop (2021)
Not directly related, but https://github.com/nosqlbench/nosqlbench is very flexible benchmark tool for Cassandra and other distributed systems
alexott··on How's the Stack Overflow strike going?
I stumbled this week on few answers on a topic that I’m following, and although they were really nicely looking, correctly formatted, etc. - they were absolutely wrong - ChatGPT was hallucinating, showing calls to functions that aren’t in specific SDKs, etc. And I’ve noticed that such answers are added to old questions too, adding more noise :-(
alexott··on Whichlang – Fast, OSS for Language Detection in Rust
Yes from my previous experience there were common language pairs, especially on the short texts - Spanish / Catalan, often German / Dutch, Bulgarian / Ukrainian, Dutch / Afrikaans, and few more…
alexott··on Whichlang – Fast, OSS for Language Detection in Rust
Looking into generated ngrams, I’m not sure that it’s good idea of getting rid of spaces between words, and not having markers for begin/end of word.

It would be interesting to check on the dataset linked to this blog post from 6 years ago, evaluating fasttext model for language detection: https://alexott.blogspot.com/2017/10/evaluating-fasttexts-mo...

alexott··on Grokking Simplicity: Taming complex software with functional thinking
Grokking series is from Manning and do they sell PDF and ePub/mobi directly
alexott··on Bavaria mulls reopening nuclear plant under state control
Who said that people are rational? Especially in green party?
alexott··on OpenCore Legacy Patcher – Use new macOS versions on old hardware
Did you reinstall OS, or it works as upgrade?
alexott··on Apache Spark 3.4.0 has been released
It includes Python client for Spark Connect, more ANSI SQL compliance, very good improvements in Structured Streaming, new built-in functions, and much more.

There is a blog post on Databricks with more details for most notable features: https://www.databricks.com/blog/2023/04/14/introducing-apach...

alexott··on Writing a Kubernetes Operator
But why such complexity? Is it easier to maintain than terraform code?
alexott··on Databricks Announces General Availability of Model Serving
it was before, but it was relying on the "normal clusters" with longer startup times, limited scalability, etc. Now it's serverless with fast startup times, scaling to 0, etc.
alexott··on Legacy Software Systems: How to Live with Aging Software Architecture?
10 years ago I’ve attended a talk from one of German car producer - they talked about 25+ years of software maintenance. You invest into tools 5 years before release to market, and they should work 20 years after release. So companies need to plan the whole cycle not only code maintenance
alexott··on Starting February 9, we will no longer support free access to the Twitter API
I have an Integration of Planet Clojure directly using API (direct posting allows attribution to specific person). So, 8.5k followers will be cut from that news source…
alexott··on Go 1.20 released
Im struggling with previous behavior all the time. It would be much better with this
alexott··on SQL should be the default choice for data transformation logic
Even for data transformation logic, SQL isn’t the best choice. How would you handle the case when you need to apply the same transformations to few dozens or hundreds columns?
alexott··on Databricks cofounders weren’t interested in starting a business (2021)
there is Pandas on Spark, included into Spark itself (originally Koalas) - the switch to it is very easy, and you get parallelization.
alexott··on Bullshit graph database performance benchmarks
yes, but it's a best thing of the cloud - your cluster doesn't run when you don't need it, plus you can advantages of spot instances, autoscaling, etc.. And you won't do TPC test each every half an hour.
alexott··on Bullshit graph database performance benchmarks
That number should be "The total 3-year price of the entire Priced Configuration must be reported, including: hardware, software, and maintenance charges", so they just took the cost of the hardware used for benchmark, and extended it to 3 years.

If you look into the blog post: https://www.databricks.com/blog/2021/11/02/databricks-sets-o..., you will see that it costed $242

alexott··on Ask HN: What RSS Reader do you use in 2022?
Same for me - sometimes UI changes aren’t good, but usually they were addressed
alexott··on Sorting with SIMD
There are some implementation details about Databricks’ Photon engine in this paper: https://cs.stanford.edu/~matei/papers/2022/sigmod_photon.pdf
alexott··on Ask HN: Tips for software engineering sanity with Databricks notebooks?
If you are using IDE you can look to dbx Python package that has the “dbx sync” command that allows to sync local code with Repos and then you can quickly test your code in notebooks
alexott··on Ask HN: Tips for software engineering sanity with Databricks notebooks?
You can use Databricks Repos (https://docs.databricks.com/repos/index.html) specifically files in repos (https://docs.databricks.com/repos/work-with-notebooks-other-...) functionality that allows to use Python files (not notebooks!) as Python modules.

Another alternative is to split notebooks into “library notebooks” that just define transformations, and “orchestration notebooks” that use code library notebooks to execute a “business logic”.

In both approaches you can do code testing, etc.

P.S. I have a demo of both approaches here: https://github.com/alexott/databricks-nutter-repos-demo

alexott··on Elasticsearch SQL
As I remember it was introduced in 2018th: https://www.elastic.co/blog/an-introduction-to-elasticsearch..., although there was an open source extension for that…

Although I wasn’t very hard to implement it for a subset of queries like group by, etc. - primary problem was a good OSS sql parser. We used Presto back in 2016th for that

alexott··on Cassandra at Apple: 1000s of Clusters, 300k Nodes, 100 PB
It may work, until you start to perform maintenance things, like repair, or new node bootstrap, etc. Then it may fail with high probability
alexott··on Cassandra at Apple: 1000s of Clusters, 300k Nodes, 100 PB
But then you need to push these segments into partitions, and big partitions are really bad, especially for old versions of Cassandra… Although I met customers with partitions of size of 100Gbs…
alexott··on Joining the Church of Emacs
https://www.gnu.org/software/emacs/manual/html_node/emacs/Ke... ?
alexott··on Ask HN: Books on designing disk-optimized data structures?
Have you seen Database Internals? https://www.databass.dev/
alexott··on Whois: Fragile, Unparseable, Obsolete
Yes, 100%. I’m trying to use registration information for cybersecurity stuff, and it’s a mess. Some TLDs just doesn’t provide that information or provide it only to registered accounts or only inside their country. Parsing is a mess. Many have rate limits, like .au has 20 requests/day, .cz - 100 day, but with delay of 3 minutes between requests, …
alexott··on Ask HN: Do you still buy physical tech books like “Learn Rust” or “Learn Go”?
I read many technical books as ebooks (epub or pdf), but these are primarily about "current tech" that will most probably become obsolete in 2-3 years. But I buy real books for more fundamental technical areas, where the information will be relevant for a long time. Another factor is if the book is math heavy - around deep learning & related topics, although in many cases PDFs are ok.
alexott··on Mikhail Gorbachev has died
There was an earlier anecdote about Brezhnev on this topic…
← PreviousPage 2 of 10Next →