Better HN
topnewbestaskshowjobs
Log inSign up

shahbazac

184 karma · joined Oct 23, 2015 (11y ago) · 38 submissions

http://falconair.github.io/
Submissions

comment 6d ago · link · parent

I don’t understand the business model of these labs which obviously spend a huge amount of money on compute then release their models. I definitely glad they do, but how does it make business sense?

comment 1mo ago · link · parent

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.

comment 1y ago · link · parent

Please provide an example on the first page.

comment 2y ago · link · parent

I’ve often wondered about languages like APL/k, are the programmers actually able to think about problems more efficiently?

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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?

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Can someone help me understand where tools like this fit?

Are they Tableau dashboard replacements?

Are the better than a standard bootstrap admin theme?

comment 3y ago · link · parent

What a great way to say it!

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

This tweet contains a visualization comparison between linear correlation and “Chatarjee correlation:”

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

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

Please add a screenshot of what a rendered notebook looks like.

comment 5y ago · link · parent

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.

comment 5y ago · link · parent

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.

18.

Show HN: My recent side project: practice your SQL at sqlforever.com(sqlforever.com ↗)

4 points · by shahbazac · 5y ago · 1 comment

comment 9y ago · link · parent

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.

20.

Writing Trading Utilities in JavaScript – Part 1(falconair.github.io ↗)

3 points · by shahbazac · 9y ago · discuss

comment 10y ago · link · parent

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?

comment 10y ago · link · parent

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?

23.

How does Linux's perf utility understand stack traces?(stackoverflow.com ↗)

37 points · by shahbazac · 10y ago · 3 comments

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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...

comment 10y ago · link · parent

Thanks, those posts are interesting.

comment 10y ago · link · parent

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 :)

comment 10y ago · link · parent

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 :)

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

>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?

12