Better HN
topnewbestaskshowjobs
Log inSign up

marosgrego

201 karma · joined Aug 13, 2020 (6y ago) · 53 submissions

grego.site/photo
Submissions

comment 4mo ago · link · parent

Thanks, corrected it.

comment 4mo ago · link · parent

What about Qualcomm modems? It is the case for this one at least.

comment 4mo ago · link · parent

Of course! You can connect it to any audio source a sink. I had fun with piping music to phone calls with friends.

comment 4mo ago · link · parent

ThinkPad T480 can be used as a fully featured mobile phone, supporting calls, SMS and mobile data.

5.

Using ThinkPad T480 as a mobile phone(grego.site ↗)

130 points · by marosgrego · 4mo ago · 54 comments

6.

Show HN: Sum (algebraic) types for C in one 100 line header(github.com ↗)

92 points · by marosgrego · 2y ago · 43 comments

comment 2y ago · link · parent

Or Blades (https://getblades.org)

comment 3y ago · link · parent

Canon EOS M can be bought for around $100 used and shoot 1440p raw with Magic Lantern. Also it can use cheap old 16mm film lenses with crop mode.

comment 3y ago · link · parent

Also

  git clone https://git.sr.ht/~mcf/cproc
  cd cproc
  git submodule init --update
  time make qbe
  time make
generates:

  make qbe  0.81s user 0.07s system 97% cpu 0.901 total
  make  0.83s user 0.07s system 99% cpu 0.902 total

comment 3y ago · link · parent

Neat. I wish someone wrote this down in the language of differential forms.

comment 3y ago · link · parent

They seem to look for causes on the hardware level, but maybe it's a software issue many times.

comment 3y ago · link · parent

For the continuous Fourier transform, you would just take a continuous average, i.e. an integral.

comment 3y ago · link · parent

The title is wrong, the withdrawal didn't happen in 1215.

comment 3y ago · link · parent

Threema messages of Marian Kočner, a contorversial Slovak businessman who allegedly ordered a murder of a local journalist, were somehow obtained with the help of Europol. [0] The part of his trial where a security expert explained how the police got the messages was purposely not made public.

[0] https://spectator.sme.sk/c/22216551/threema-saga-kocner-repo...

comment 3y ago · link · parent

Some truly minimal browser: https://www.netsurf-browser.org

comment 4y ago · link · parent

Kobo reader with Plato installed

comment 4y ago · link · parent

Ramhorns is a great templating engine. Faster than askama, although parsing the templates on runtime. https://docs.rs/ramhorns

comment 4y ago · link · parent

You can think of `i` as a rotation by 90 degrees counterclockwise. You do it twice and the real number line gets reflected (as if multiplied by -1). It is what multiplying by i actually does to the complex plane.

comment 4y ago · link · parent

cos and sin are the x and y coordinates as you turn around the unit circle in unit speed.

comment 4y ago · link · parent

If you're interested in this, a while ago, for my personal photo site with image galleries[1], I wrote a fast static site generator in Rust[0], which also supports plugins now.

[0] https://www.getblades.org

[1] https://grego.site/photo

comment 4y ago · link · parent

GIMP plugin when?

comment 4y ago · link · parent

What? One become a scientist because they are interested in things, or a doctor because they want to help people.

comment 4y ago · link · parent

http://www.netsurf-browser.org

comment 4y ago · link · parent

That's unfortunate, some metaprogramming could be fun and without generics and such quite simple and efficient even.

25.

Show HN: Blades the static site generator gets a plugin system(getblades.org ↗)

2 points · by marosgrego · 4y ago · discuss

comment 5y ago · link · parent

It's one of the things judged on the extreme ironing competitions: https://youtu.be/jZ6Yo0cVMP0?t=205

comment 5y ago · link · parent

You can use a 3rd party client like Aurora store to download apps from Google Play. However, it's better to get the from an alternative source like F-Droid if possible.

comment 5y ago · link · parent

They can run an ungoogled ROM, like LineageOS.

comment 5y ago · link · parent

Actually, this method was already used by Leibniz, although it was not that common at Feynman's time. https://en.wikipedia.org/wiki/Leibniz_integral_rule
12