Better HN
topnewbestaskshowjobs
Log inSign up

vegesm

353 karma · joined Jun 9, 2020 (6y ago) · 47 submissions

Submissions

comment 1mo ago · link · parent

At some point I was quite interested in how the very first version of FORTRAN looked like, so I wrote a FizzBuzz [1] in it.

It was a very bare-bones language, felt more like a high-level assembly macro language. One thing it did well was expressing formulas with the usual "mathematical" notations (+,-,*,/, parentheses to group operations, variables). I guess this was revolutionary at the time. But the control structures were very limited, everything was basically jumps and gotos. The IF was merely a syntactic sugar for conditional jumps. Of course, functions did not exist in the language.

[1] https://mveg.es/posts/fizzbuzz-in-fortran-1/

2.

FizzBuzz in Fortran 1(mveg.es ↗)

3 points · by vegesm · 9mo ago · discuss

comment 1y ago · link · parent

I'm the developer of an Android calculator, called Algeo [1] and I wonder which part of it that makes it feel like slow/not snappy? I'm trying to constantly improve it, though UX is a hard problem.

[1] - https://play.google.com/store/apps/details?id=com.algeo.alge...

4.

Optimizing PyTorch Docker images: how to cut size by 60%(mveg.es ↗)

1 points · by vegesm · 2y ago · discuss

5.

Applying neural reconstruction in simulation for automated driving(aimotive.com ↗)

1 points · by vegesm · 2y ago · discuss

comment 2y ago · link · parent

Pytorch and tensorflow is pretty big. It implies all state of the art research code is not written in Julia, so it is a non-starter for any neural network based project.

7.

How do computers calculate sine?(androidcalculator.com ↗)

227 points · by vegesm · 2y ago · 163 comments

comment 2y ago · link · parent

Because it only increases high single digit each release. If they keep up the 10% improvement for the next 10 release, we will reach a speedup of around 2.5 times. That's very small, considering how Python is like 10-20 times slower than JS (not even talking about C or Java like speeds).

9.

Eigenvalues as the Magnitude of the Matrix(mveg.es ↗)

3 points · by vegesm · 3y ago · 1 comment

comment 4y ago · link · parent

I always wondered where the integral sign was coming from. This gives a very simple explanation: it's just the letter 's', the shorthand for sum!

comment 4y ago · link · parent

This rings so true with me. I have a side project [1] that I try to promote and it always feels hard. Where do I start? Should I post comments in random subreddits? Should I write blog posts that may nobody read in the end? Start doing ads? I think having the multiple options kinda freezes me and it is so hard to start doing something.

[1] https://androidcalculator.com/

comment 4y ago · link · parent

Congrats! It's about the same I make with Android with my app (a graphing calculator) [1]. Everyone says on Android you can earn less, I'm curious what's your experience will be.

[1] https://androidcalculator.com/

13.

Fast numerically stable moving average(mveg.es ↗)

3 points · by vegesm · 4y ago · discuss

comment 4y ago · link · parent

I don't really get the first part of your comment. You say an NN is "just" compression + kNN and does no representational learning. But finding a compression (a transformation in other words) that makes kNN feasible on the data is exactly what people mean when they say it finds a hidden representation. It is a highly non-trivial task: e.g. simple distance in pixel space between images would get you useless results.

comment 4y ago · link · parent

Slightly related: I got the first C compiler restored and ported to modern C [1]. It runs on Linux and can call libc functions, though it is restricted to 32bit mode.

[1] https://github.com/vegesm/c72

16.

How do calculators solve equations?(androidcalculator.com ↗)

2 points · by vegesm · 4y ago · discuss

comment 4y ago · link · parent

Actually, MobileNetV3 is a supporting example of the bitter lesson and not the other way round. The point of Sutton's essay is that it isn't worth adding inductive biases (specific loss functions, handcrafted features, special architectures) to our algorithm. Having lots of data, just put that into a generic architecture and it eventually outperforms manually tuned ones.

MobileNetV3 uses architecture search, which is a prime example of the above: even the architecture hyperparameters are derived from data. The handcrafted optimizations just concern speed and do not include any inductive biases.

18.

Writing a device driver for Unix V6(mveg.es ↗)

133 points · by vegesm · 4y ago · 9 comments

comment 4y ago · link · parent

Back of a napkin calculation: showing OP 100 ads of blinds probably costs 0.1$ in the US. The cost of a blind is 100$ (I have no idea, don't live in the US). So if the probability of buying a second blind is at least 0.1% it was worth running the campaign.

The fact is, online ads are super cheap.

comment 4y ago · link · parent

As others said, the active number of downloads is way lower (50k). Even then, I'm pretty bad at marketing and have no idea how to grow it or optimize the monetization.

It seems from 10 ideas 9 doesn't work and even the 10th brings only modest results.

comment 4y ago · link · parent

I have an android app (https://play.google.com/store/apps/details?id=com.algeo.alge...).

It brings in right around $500 a month. It is fun to develop, especially that I can dabble into frontend and UI design which is quite far away from what I'm doing daily.

Interestingly, it used to bring in much more but the heydays of apps are over.

comment 5y ago · link · parent

There is a blogpost linked in the annotations: http://jeanmariechauvet.com/papers/curttrig.html

23.

C72: First C compiler ported to x86(github.com ↗)

3 points · by vegesm · 5y ago · discuss

24.

Life before the invention of AutoCAD, 1950-1980(rarehistoricalphotos.com ↗)

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

25.

First C compiler ported to GCC(github.com ↗)

137 points · by vegesm · 5y ago · 87 comments

26.

My aunt was a human assembler at NASA (2015)(theregister.com ↗)

31 points · by vegesm · 5y ago · 9 comments

comment 5y ago · link · parent

That's true for all software development. In seven years most of your team is replaced.

28.

Apple privileges its own ad network with ATT(mobiledevmemo.com ↗)

2 points · by vegesm · 5y ago · discuss

comment 5y ago · link · parent

I remember my school ran a contest where you had to find obscure information on the net. Things like when the inventor of the saxophone was born? You had to submit an URL so using the library was not an option. It was insanely hard, nowadays it's just one wikipedia click away.
12