HN user

paperwork

432 karma

http://fixparser.targetcompid.com

Posts5
Comments172
View on HN
Using JAX in 2022 4 years ago

I wish JAX worked with windows natively (without using wsl). I teach a very high level intro to numpy and would _love_ to have my students try jax. These students are relatively new to programming and the idea of using a linux shell or having to compile anything themselves just wouldn't work.

The Deno Company 5 years ago

I'm excited about Deno, but I'm finding that the docs still need to be improved. For example, I'm trying to build a tcp server. I'm not able to get information on how back-pressure is handled.

I can see that Deno.listen returns an object which implements reader and writer interfaces, but it isn't clear to my how to look for events, such as disconnect or that new data is available.

I wish there were examples showing how to correctly parse frames or implement protocols.

I'm sure these things will be expanded over time, partly by programmers in the community, but from the outside, things are still a bit rough.

I really like the idea of being more thoughtful about naming columns and being more explicit about the “type” of data contained in them.

Is this idea already known among data modelers or data engineers?

I’d love to read any other references, if available.

Can you describe a bit more about what is going on in the project? The file you linked is over 2.5k lines of c++ code, and that is just the “setup” file. As you say, this is supposed to be a statistical model, I expected this to be R, Python or one of the standard statistical packages.

Why is there so much c++ code?

I love this. The code is simple and documented. However, whenever I’ve tried to understand autograd, I get stuck at dual numbers.

As a programmer, I understand building up a computation graph where each node is some sort of an elementary function which knows how to take its own gradient. So a constant/scalar node has derivative/gradient of zero, x^n has derivative of nx^(n-1), etc. these gradients are passed from the end to the beginning according to the chain rule, etc., etc.

However, autograd is not supposed to be the symbolic differentiation we learned in high school.

This project doesn’t seem to have anything to do with duals...confused!

Those who have experience with array languages, is it fair to say that something like numpy captures most of the benefits of APL/K?

If Python allowed a reduce operator “/“, numpy will be able to get even closer to APL, correct?

Can dart be evaluated within the browser? I’ve been looking for a language which can be executed within the browser (without needing a connection to any server).

I would like to write some blog posts explaining technical concepts and provide executable, interactive code. As far as. I can tell, currently JavaScript is the only language for the job. All languages which transpile to js seem to require (out of browser) command line tools

- FLAVOR: Ubuntu Server

- HEADLINE: Default swap space doesn't make sense for servers with HUGE ram

- DESCRIPTION: Recently I tried to install ubuntu on a server class machine where it had huge amount of ram and disk storage was spread across many ssd disks. Apparently due to the size of the ram, ubuntu was attempting to set aside so much swap space that it was taking up most of the boot disk! It was very painful to change the default and i would have switched to centos if not for LXD availability. (Note that I am a programmer, not an admin and I was doing this as an experiment)

One feature which seems to be unique to Fable is that the repl doesn't rely on connecting to a compiler on the server. If I type some F# code, apparently it can be compiled/transpiled right in the browser!

This is an awesome build. It has everything I was thinking of building, dual xeon, huge ram, a nice gpu. I may use this as a model for my first desktop in years. I will probably add a couple of spinning disks so I can easily move between linux server and a windows (oculus) desktop.

Usually pcpartpicker builds have comments, did you not submit your build for review? (I don't actually know how the site works).

Can someone provide a quick overview of the current GPU landscape?

There seems to be Nvidia's pascal, gtx, titan, etc. Something called geforce. And I believe these are just from Nvidia.

If I'm interested in building out a desktop with a gpu for: 1. Learning computation on GPU (matrix math such as speeing up linear regression, deep learning, cuda) using c++11 2. Trying out oculus rift

Is this the right card? Note that I'm not building production models. I'm learning to use gpus. I'm also not a gamer, but am intrigued by oculus. Which GPU should I look at?

Same here. I haven't used eclipse in the past two years because I've been doing non-java work. Before that I used it since the beginning of my career, around 2000. I don't recall having issues with slowness and plugins randomly not working. When I first started using it, I remember being a bit confused by projects vs files. That's when I didn't understand the concept of IDEs (as opposed to text editors). I feel like I'm living in an alternative universe.

I've wondered this as well. However, I couple of notes. CTM is indeed an awesome book, but the idea of language kernel is older. I believe academic papers often start with a minimal language, like the lambda calculus, then show how it can be extended with one feature or another. If I recall correctly, I don't think CTM spends any time showing you how to implement these features using a parser/interpreter/compiler/etc.

If you are looking for a theoretical model of relational databases, you may look up relational algebra. I'm sure others will chime in about how sql is not a very good representation of relational algebra; however, if you are not aware of it, RA is certainly something to study.

I suspect that you may be referring to a kernel database, the way there are simple implementations of operating systems--written expressly to study how OSes work. I wish something like that existed for databases, but I'm not aware of it.

Finally, there are several text books on relational database management systems. I haven't used one in a while so can't recommend a specific one. However, these books often show you how to implement various parts of a database, such as b-treee for storage, indexes, how to design a pipeline to implement selection/projection/group by, etc. Make sure that the book is showing you how to implement a DBMS, not how to design a datamodel.