HNHacker News
TopNewBestAskShowJobs

shahbazac

174 karma · joined October 23, 2015

http://falconair.github.io/
submissionscomments
shahbazac··on Bringing uv and ty together
I’m not a fan of ‘uv run …’ and other tools interfering with running scripts or programs. I hope core Python developers are looking to “protect” the main interface for using Python. I don’t necessarily mean this in an adversarial way, but more and more QuickStart and installation pages for software require the use of uv, conda, 20 variations of venv, etc.

There is clearly a gap in tooling. We have had a cambrian explosion of tools and we have tried many options. Now it is time for core Python folks to step in and consolidate the ecosystem.

shahbazac··on Vine: A programming language based on Interaction Nets
Please provide an example on the first page.
shahbazac··on Arthur Whitney's one liner sudoku solver (2011)
I’ve often wondered about languages like APL/k, are the programmers actually able to think about problems more efficiently?
shahbazac··on Visualizing Attention, a Transformer's Heart [video]
Is there a reference which describes how the current architecture evolved? Perhaps from very simple core idea to the famous “all you need paper?”

Otherwise it feels like lots of machinery created out of nowhere. Lots of calculations and very little intuition.

Jeremy Howard made a comment on Twitter that he had seen various versions of this idea come up again and again - implying that this was a natural idea. I would love to see examples of where else this has come up so I can build an intuitive understanding.

shahbazac··on QuIP#: 2-bit Quantization for LLMs
Can someone answer CS 101 questions about this please.

I know there are other methods related to matrix factorization, but I’m asking specifically about quantization.

Does quantization literally mean the weight matrix floats are being represented using fewer bits than the 64 bit standard?

Second, if fewer bits are being used, are CPUs able to do math directly on fewer bits? Aren’t CPU registers still 64 bit? Are these floats converted back to 64 bit for math, or is there some clever packing technique where a 64 bit float actually represents many numbers (sort of a hackey simd instruction)? Or do modern CPUs have the hardware to do math on fewer bits?

shahbazac··on Causal inference as a blind spot of data scientists
I’ve tried to understand causal inference several times and failed. Tutorials seem unnecessarily long winded. I wish authors would give simple, to the point examples.

Say I have a simple table of outdoor temperatures and ice cream sales.

What can the machinery of causal inference do for me in this situation?

If it doesn’t apply here, what do I need to add to my dataset to make it appropriate for causal inference? More columns of data? Explicit assumptions?

If I can use causal inference, what can it tell me? If I think of it as a function CA(data), can it tell me if the relationship is actually causal? Can it tell me the direction of the relationship? If there were more columns, could it return a graph of causal relationships and their strength? Or do I need to provide that graph to this function?

I know a wet pavement can be caused by rain or spilled water or that an alarm can go off due to an earthquake or a burglary. I have common sense. I also understand the basics of graph traversal from comp sci classes.

How do I practically use causal inference?

To the authors of future articles on this (or any technical tutorial), please explain the essence, the easy path, then the caveats and corner cases. Only then will abstract philosophizing make sense.

shahbazac··on Show HN: Tremor 3.0 – Open-source library to build dashboards fast
Can someone help me understand where tools like this fit?

Are they Tableau dashboard replacements?

Are the better than a standard bootstrap admin theme?

shahbazac··on Why the Myers-Briggs test is meaningless
What a great way to say it!
shahbazac··on Ask HN: Those making $0/month or less on side projects – Show and tell
A website which allows you to practice SQL, without having to install databases on your machine: http://sqlforever.com/

I’m eventually planning on o do more with it, but need some free time in my life.

shahbazac··on Ask HN: Those making $0/month or less on side projects – Show and tell
FIX Parser: https://fixparser.targetcompid.com/

A website which allows people in financial trading companies to more easily understand the FIX protocol.

Obviously this is a very niche app, but very useful! It is somewhat well known in the industry (among the type of people who use FIX).

Amusingly, recently a friend forwarded me a website, run by a prestigious financial software company, which is CLEARLY a copy of my website! They are marketing their site on LinkedIn and, I’m sure, other places.

I keep thinking of developing this firther. I have several ideas, just lack the time.

shahbazac··on Lambda the Ultimate is now running in a new, more stable environment
Unfortunately most of the comments are about site reliability.

This used to be an absolutely fantastic forum. I was a young comp sci graduate who somehow finished school without taking any programming language theory courses. I used to read this every single day. At one point I had every book ever written on ML (ocaml, sml, etc) and most written about various lisps. To this day I love how TAPL was written (Types and Programming Languages by Pierce). I loved the expansive nature of Concepts, Techniques, and Models of Computer Programming by Van Roy. Some books were discussed so often that they were simply referred to by their abbreviations.

There were serious academics, PHD students, industry folks and newbies like myself who could not even understand most abstracts, much less the full papers.

I once asked if a new forum could be created for novices like myself so I could ask my dumb little questions. I was instead encouraged to ask my questions in the main forum :)

For a short while there was a related user group in NYC where people would discuss type theory at random diners.

shahbazac··on A New Coefficient of Correlation
This tweet contains a visualization comparison between linear correlation and “Chatarjee correlation:”

https://twitter.com/adad8m/status/1474754752193830912?s=21

shahbazac··on “Kids who grew up on smartphones do not know how to do anything on a computer”
I have also found this to be true. Very surprising and, frankly, hilarious. I teach an intro to programming course to grad students, many of them freshly minted undergrads.

I've had to explain the concept of downloading files, file system directory structure and other basics. These are students are at a pretty good school, studying to become data scientists!

The reason is exactly what the author in the link says. They grew up with smart devices, but apparently not desktop/laptop computers.

shahbazac··on Show HN: A simple JavaScript notebook in one file
Please add a screenshot of what a rendered notebook looks like.
shahbazac··on Repl.it Teams for Education
This looks very useful. I usually teach 20 to 30 students at a time and always struggle to provide like by line feedback. This should help.

For a slightly different use case, I wrote https://postcell.io/ for my classes. We use mostly Jupyter notebooks in my class and I mark certain cells with a special magic command. When students execute code in that cell, it is sent up to my server and I can see every student’s submission. I turn off student names and share the screen with the class. We then go through all the variations of answers and talk about the differences.

Although anyone can use it, the interface is probably a bit rough right now.

shahbazac··on Show HN: My recent side project: practice your SQL at sqlforever.com
Hi, I’m developing an SQL course for students who may not be very techie. I wanted to avoid having them install Postgres or work with SQLite at the command line.

I created http://sqlforever.com so students can start writing queries against a pre-loaded database. No downloads, no signups, no picking this option or that option. Just sql.

The backing database is SQLite. The datasets are open source relational datasets available on the internet.

Students can click a button to share their queries with a teacher or classmates.

shahbazac··on Ask HN: Why blog as a developer?
I find it a good way to think through ideas in more detail.

For example, I always wanted to implement a few financial trading software ideas using programming languages I don't use at work, such as scala and javascript. By writing a blog post, I force myself to make the project at least somewhat complete and understand it enough to explain it to others. It is a good way to commit to something, at least for a few weeks.

shahbazac··on RedHat is hiring to make Linux run better on laptops
Is it really very difficult to get nVidia GPUs working with linux?

I wanted to buy a laptop with a GPU for CUDA experiments.

I was looking at Lenovo Yoga 710 (14 inch with nvidia gpu). Am I going to have a bad time dual booting a linux distribution?

shahbazac··on Surround 360 is now open source
Can a rig like this be used to extract a depth map/point cloud, instead of just visual 3d images? What will be the accuracy of such a point cloud?
shahbazac··on Disruptor: High performance alternative to bounded queues (2011) [pdf]
Its been many years since I saw the presentation but I believe they made a point of mentioning that ring buffers are not a new technology. They mentioned how such data structures are used all the time in network devices, such as switches.

The disruptor is an actual library based on ring buffers (other have already pointed out some other features).

In practical terms, this library has been immensely popular. Within a couple years of disruptor's release, practically every (java based) trading firm was using them. I've even seen c++ implementations, only vaguely resembling this library, being referred to as 'disruptors.'

Beyond the library, the original (and subsequent) presentations by the authors popularized the concepts of "mechanical sympathy" (understand the abstraction layer beneath what you are currently working in) and introduced a whole new set of developers to modern CPUs, thinking about cache lines, etc.

shahbazac··on Notes on CPSC 465/565: Theory of Distributed Systems [pdf]
This looks interesting. I've been searching for a modern book which explains the algorithms behind many of the building blocks of modern distributed software such as zookeeper, consul, etcd, mesos, etc.

With a bit of a background in the theory, the tools mentioned above and their alternative add up to a bewildering number of projects, all seemingly doing very similar things.

Just a couple of hours ago I asked a relevant question on SO (unfortunately, it looks like it will be closed soon): http://stackoverflow.com/questions/37843295/book-recommendat...

shahbazac··on Debuggex: Visually Debug Regex via NFA/DFA Construction
Thanks, those posts are interesting.
shahbazac··on Debuggex: Visually Debug Regex via NFA/DFA Construction
This app is awesome, as are a couple of other regex apps. I noticed that they offer commercial licenses as well. Would the people behind this site be willing to share any paid subscription numbers? Not necessarily raw figures, even free vs paid proportions will be interesting.

I'm intensely curious about paid memberships for web apps such as these. On one hand, they are absolutely awesome. On the other hand, I'm too much of a programmer to see how this generates revenue.

I have an app which also serves as a tool for a small niche (much smaller than debuggex). A bunch of people use my tool daily but I've always assumed that if I created a 'premium' version, I won't make more than $5-$10 :)

shahbazac··on Ask HN: What are you working on and why is it awesome? Please include URL
https://fixparser.targetcompid.com/ FIX parser allows users to paste FIX protocol snippets into the app, which parses the log and displays the results in a nice, human readable format. This app is for a very niche segment of technologists who work on financial trading system.

This is a side project of mine and has been for a few years. It is very gratifying to get emails from random users telling me how much they love the app (and asking for additional features). Just a couple of weeks ago I added an important feature: the ability to securely share FIX logs.

I'm pretty proud of the fact that the interface is pretty simple, yet hides lots of functionality the users probably don't even notice. For example, the logs you paste can be surrounded by other garbage, such as timestamps or log4j noise and the correct message will still be extracted. It will guess delimiters. Users can drag and drop a file on to the text field. Click on a message (very subtly) highlights related messages. I'm sure I'm forgetting many more.

There is plenty (plenty!) more I could add. Just a small matter of having no time :)

shahbazac··on Apache Mesos 0.27.0 Released
I tried to use mesos to setup a test spark cluster. I figured I would install mesos, then use it to deploy spark, cassandra, etc. In practice using mesos turned out to be a major pain. Several blogs online made it seem trivial; however, I kept finding out that much of what I thought was mesos was actually a commercial product from mesosphere.

We ended up abandoning mesos just to get our prototype going.

shahbazac··on A NYSE Speed Bump You Weren't Aware Of
>Second, by offering the faster binary access method, NYSE effectively imposed a "Speed Bump" on all of its participants who did not upgrade. They essentially slow down everyone else by offering a faster means of access that only a few have bothered to adopt given the amount of development work necessary to do so. We found very little documentation about this offering, and no public filings with the SEC.

FIX is a text based protocol from the early 90s. The other interface is a modern, binary protocol. It sounds to me like NYSE upgraded their technology which resulted in lower latency.

Is NYSE charging more for the binary protocol? Should NYSE just cut off everyone on the old text protocol to in order to advertise one-true-interface for everyone? Is IEX trying to earn cheap publicity points by counting on people's ignorance of financial infrastructure minutia?

shahbazac··on A Reimplementation of NetBSD Using a Microkernel
I get an error when I press the play button. Perhaps the same/similar video? https://www.youtube.com/watch?v=0pebP891V0c
shahbazac··on } // good to go
Paying out of pocket I'm afraid.
shahbazac··on } // good to go
In the post he says that the C++ training market is bustling.

I'm an experienced java guy looking to get in person C++ training. Hopefully something which moves quickly through the basics and addresses advanced concepts in memory management, concurrency and other low level topics.

Anyone have recommendations? The web is full of listings for HOTT, Learning Tree, GlobalKnowledge style mega training companies. Are they actually worth the $3k-$5k they charge? I'm afraid it will be a mediocre programmer droning on for 5 days in front of a power point.

shahbazac··on Master Algorithm Lets Robots Teach Themselves to Perform Complex Tasks
Why is this the master algorithm? Pedro Domingos just wrote a whole book talking about potential master algorithms and how finding one is the ultimate goal of AI research. The title of the article just seems to be lazily using the term.
Page 1 of 2Next →