Better HN
topnewbestaskshowjobs
Log inSign up

notinventedhear

198 karma · joined Jul 10, 2015 (11y ago) · 27 submissions

https://boddy.im
Submissions

comment 2y ago · link · parent

One nice quality of life improvement for i3 is update the window names dynamically and use emojis for applications

https://github.com/cboddy/i3-workspace-names-daemon

2.

We’ve discovered the secret of immortality. The bad news is it’s not for us(theguardian.com ↗)

3 points · by notinventedhear · 3y ago · discuss

3.

Ask HN: Can you recommend any resources for staff engineer starting management?

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

comment 5y ago · link · parent

Congrats on the launch!

Just curious if you're interested in an incubator? We went through the Oxford Foundry[1] last year and would highly recommend it.

[1]https://www.oxfordfoundry.ox.ac.uk/

comment 5y ago · link · parent

> '''"""''';print("Hello, World!");"""'''"""

This is still one line of code.

It is a valid python program . This is because python will join strings that are adjacent strings (eg. "foo " "bar" is evaulated just like "foo bar") and while multiline strings are commonly used as comments they are evaluated as a string-literal rather than a comment.

comment 5y ago · link · parent

Also super bored in lockdown so I made this for our toddler, motivation here:

https://boddy.im/song-and-spell.html

7.

Show HN: Song and Spell – play audio on a Raspberry-PI 400 without a screen(github.com ↗)

1 points · by notinventedhear · 5y ago · 1 comment

comment 6y ago · link · parent

From 4 years in a large public quant house (not HFT): everything upstream of trade execution is Python with very heavy use of numpy, scipy and pandas. This has pros and cons, on balance I'd prefer a better type system, but that everyone in the org can share code has tremendous value at scale.

Briefly, the faster your execution the faster everything else needs to be. Java should be fast enough for almost anything short of HFT + colocation which is super expensive infra wise.

The skills are not different from other backend roles, but you will need to exercise more math with emphasis time series and stats.

comment 6y ago · link · parent

I was _so_ excited when Rocket League first came to Linux, but that was several years before Proton[1] was released.

But according to [2] the game runs really well on Linux via Proton. Personally, I don't see any problem using Proton to play the game on my Linux gaming-rig.

[1]: https://github.com/ValveSoftware/Proton

[2]: https://www.protondb.com/app/252950

10.

We’re approaching the limits of computer power – we need new programmers(theguardian.com ↗)

227 points · by notinventedhear · 6y ago · 255 comments

comment 7y ago · link · parent

# 2GB linode instance ($10/month)

  nginx
  mailinabox (email, nextcloud)
  gogs
  6 static websites
  3 (dumb) little personal web-projects
  selfoss
  mumble
  openvpn
# rpi-3 at home

  osmc (kodi) + 8TB of raided HDDs
  nginx
  chorus-2 in kodi publicly available (behind htpasswd) updated w/ dynamic DNS
  a nightly cron job rsyncs the from the linode instance
# another rpi-3 in garden shed

  8TB of raided HDDs
  nightly cron of the other rpi-3

comment 7y ago · link · parent

TimescaleDB looks really very promising but this is a red flag:

"Hypertables support all standard PostgreSQL constraint types, with the exception of foreign key constraints on other tables that reference values in a hypertable"[1]

Naively I'd assume this could cause a two-colouring of your schema - the partition that can use referential integrity and another with hypertables that doesn't which feels like a pretty big trade-off.

[1] https://docs.timescale.com/latest/using-timescaledb/schema-m...

comment 7y ago · link · parent

Very excited by the prospect of a modern terminal-mail client that is easier to use!

After following the README: this is clearly not ready/designed for wide consumption - the recipe neglects to mention how to install a custom doc-tool called scdoc (by the same author?) that is required to build it - and there are no pre-built binaries (that I can see).

comment 7y ago · link · parent

I see the same from London.

comment 7y ago · link · parent

Yes that's true, rlwrap gives you command history on top of sqlplus which makes it much more usable.

Actually, okcli started off as rlwrap with a complicated login file that queried the schema. But if you do that you can't use add a lexer for context-aware auto-complete which was one of the main goals, hence a new cli-tool using cx-oracle which gives way more control.

disclaimer: I'm the author.

comment 7y ago · link · parent

For a broad introduction to Bayesian analysis, MCMC and PyMC I'd suggest Bayesian Methods for Hackers[1]

[1] http://camdavidsonpilon.github.io/Probabilistic-Programming-...

comment 8y ago · link · parent

+1 for NO_COLOR.

For example, yellow text on a dull yellow background? No thanks.

For years I've just wrapped commands on bash to strip the colour control-codes from stdout.

function monochrome() { "$@" | sed -r "s/[[:cntrl:]]\[[0-9]{1,3}m//g" }

comment 8y ago · link · parent

Yeesh, there's so much involved.

I've been running my own mail server with https://mailinabox.email for ~2 years and can heartily recommend it.

Still, even with that there are gotchas if you want to be able to send messages from your server to Google et al, eg. reverse-DNS-records, DKIM, SPF.

Not for the pressed-for-time.

comment 8y ago · link · parent

Probably since ctrl-a is a well-loved bash shortcut for goto start-of-line.

comment 9y ago · link · parent

I've found keeping a software-engineering logbook very useful at work.

Recommend the vim-wiki plugin for this https://github.com/vimwiki/vimwiki; in any vim-window the logbook for today is accessible via [leader-W-leader-W].

21.

Vim plugins and config walkthrough(boddy.im ↗)

37 points · by notinventedhear · 9y ago · 23 comments

comment 10y ago · link · parent

Very cool, but why not use lynx?

comment 10y ago · link · parent

This looks really useful, although it doesn't seem to have a dashboard for showing the aggregated results from multiple running daemons.

comment 10y ago · link · parent

https://www.duckdns.org/

Duckdns took about 10 minutes to get an access token and setup a cron-job on my raspberry-pi. After ~ 12 months it's worked without issue.

Also, FWIW British Telecom only seem to update my IP when my router is power-cycled.

comment 11y ago · link · parent

Also agree with the combination of Play + Scala for flexibility and ease of use.

comment 11y ago · link · parent

My best time-savers:

alias ff="find . -iname"

alias size="du -h --max-depth=1"

alias latest="ls -lt |head"

alias orly='sudo $(history -p \!\!)'