Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
roryrjb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
roryrjb
6y ago
I will argue that Go's concurrency model is fundamentally flawed[0] precisely because its underlying mechanism is hidden from the user. If it wasn't for this model I would be using Go instead of C and probably instead of a lot of
32.
▲
by
roryrjb
6y ago
They are bash built-ins. They are documented in bash's man page.
33.
▲
by
roryrjb
6y ago
Yeah this is OK , but running macOS commands for Linux deployments doesn't work all the time. What about `lsblk` or `ip`? Also md5 vs md5sum. Also and I don't have macOS handy to try it, I'm pretty sure grep has differing op
34.
▲
by
roryrjb
6y ago
Just came to Hacker News to post this, GitHub's assets don't load and the site's front end is broken.
35.
▲
by
roryrjb
6y ago
set -o pipefail is now part of POSIX[0] and I believe as soon as someone posts a patch to dash to implement it, it will get included[1]. [0]. https://www.austingroupbugs.net/view.php?id=789 [1]. https://lore.kern
36.
▲
by
roryrjb
6y ago
I pretty much always write my commit messages in Vim and never knew about -v, this is really nice thanks for the tip. Going to set it as default with: git config --global commit.verbose true
37.
▲
by
roryrjb
6y ago
But is Go boring? I'm less interested in language syntax and semantics than I am about the runtime. I mean this generally and with all languages. Yes Go the language is simple and boring but the runtime, to me at least seems somewhat m
38.
▲
by
roryrjb
6y ago
I see nothing but praise for Clojure and for good reason. I experimented with it a bit a few years ago and it seemed to be a more practical and useful version of Lisp, although I say that as someone who wasn't that experienced in Lisp
39.
▲
by
roryrjb
6y ago
Previously discussed here: https://news.ycombinator.com/item?id=15619796
40.
▲
by
roryrjb
6y ago
Actually yes I did forget about BetterC and it has been on my radar for a while. I have played with D before and honestly out of all the options in this space I've found it's probably the one I would go for on a project. It seems
41.
▲
by
roryrjb
6y ago
I really love C, although I'm no expert by any means. C++ and Rust (and D) are different kinds of languages, they have many many more features. There isn't an adequate replacement yet. Aside from having GC, if anyone mentions Go,
42.
▲
by
roryrjb
7y ago
I don't agree that GUIs are a replacement for the CLI. Yes in the past that is all we had, but really they are completely different and should be considered in parallel. CLIs were never really meant for non-technical users though as fa
43.
▲
by
roryrjb
7y ago
No matter what the intentions are on either side, this is still a user creating data inside the black box that is a web service/company/database and once you do that it's their data. They can shut you out at any moment for an
44.
▲
by
roryrjb
7y ago
I really like Perl, although unfortunately I don't get to use it much. Sometimes when I am learning a language or a framework and I start getting the feel of it, I will try something and sometimes it works or doesn't. Either I did
45.
▲
by
roryrjb
7y ago
So reading or watching the news makes all this sound very worrying, but if you look up the amount of deaths from influenza every year, "Up to 650,000 respiratory deaths per year"[0] then this will just become a run-of-the-mill thi
46.
▲
by
roryrjb
7y ago
I don't think this really is what people might call a sandbox but it can optionally block or allow syscalls happening (in my mind only one aspect of a sandbox) and it looks like it's interactive. I think this is great. OpenBSD has
47.
▲
by
roryrjb
7y ago
Yeah don't get me wrong the bashisms are useful, but I'm hopping between OpenBSD, FreeBSD and Linux (and perhaps sharing scripts with my macOS-using colleagues) and although bash is available on all those platforms and more, POSIX
48.
▲
by
roryrjb
7y ago
Shell scripting is absolutely still relevant. The rule of thumb should not be about length but about complexity, specifically if you absolutely need something like a real array or a hash then move onto a different language. Use shellcheck a
49.
▲
by
roryrjb
7y ago
The clarification here is what I took away from his first post. I am not someone who is satisfied with just using technology and not knowing how it works underneath. This mindset doesn't actually benefit me in my actual day job but it&
50.
▲
by
roryrjb
7y ago
This was posted recently https://drewdevault.com/2019/12/30/dotfiles.html , but I actually liked the idea of using uname, hostname etc in constructing $PATH and even though I was already using git to track my
51.
▲
by
roryrjb
7y ago
Nice thank you. The last time I looked at Raku a few years ago when it was still called Perl 6 I hadn't considered native bindings. Will take a look.
52.
▲
by
roryrjb
7y ago
Thank you. I've heard of it and read about it a few times but haven't seriously considered it, but I will.
53.
▲
by
roryrjb
7y ago
This is a big use case for me. I really want to use Perl but I favour Python because the CPython API vs XS, it's a no brainer. I haven't really looked into the Ruby C API but if it's sane I would use it as well.
54.
▲
by
roryrjb
7y ago
Huh, it was my VPN (PIA). Does anyone know why this would happen? I tried a few different servers.
55.
▲
by
roryrjb
7y ago
Anyone else getting "An error occurred during a connection to www.bbc.co.uk. PR_END_OF_FILE_ERROR" when trying to access BBC News? This in under Firefox on Linux but also cannot access it in Chromium.
56.
▲
by
roryrjb
7y ago
A very nice overview. Now knowing all this isn't necessarily a prerequisite for getting a lot of stuff done, but I think it's very useful indeed. In my experience in the industry so far I find that most people don't know any
57.
▲
by
roryrjb
7y ago
https://lobste.rs/ is potentially a good one, similar focus to Hacker News and on top of that it's invite only, so quality is high. Also there's a concept of "hats", basically badges that accounts can ha
58.
▲
by
roryrjb
7y ago
It would be good to get some feedback on this instead of just anonymous downvotes. I'm thinking the way it would work is that, at the application level, you'd open sockets and other file descriptors and then lock everything down,
59.
▲
by
roryrjb
7y ago
I have been working on a Node.js library (very much work in progress and progressing slowly due to lack of time) that integrates libseccomp to be used programmatically inside Node.js whether at library or application level. For me at the mo
60.
▲
by
roryrjb
7y ago
I have been enjoying learning and using C over the past few years. I think I see it the way Drew does. I have used it mostly alongside a dynamic language like Python or Lua (either using the Lua C API or Luajit's FFI module) or in Node
More ›