Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clappski
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
clappski
6y ago
What's the language barrier and job market like there? Portugal seems more appealing to myself than Spain for some reason, perhaps because I've never been to Portugal...
62.
▲
by
clappski
6y ago
what building, the main GS building in Canary Wharf?
63.
▲
by
clappski
6y ago
You can create/resize/delete non-root EBS volumes without any downtime of the attached host(s), as far as I'm aware? Pretty sure I've done so in the past. You'll have to resize2fs or whatever but it shouldn't t
64.
▲
by
clappski
6y ago
I had to go into my user settings and change the feed display to compact instead of (what I presume is the default of) card, which is the nasty timeline-like display.
65.
▲
by
clappski
6y ago
In C++ you could do this with std::tuple and variadic templates, if you know all the event handlers at compile time. There would be zero indirection, although depending on how you implement the indexing into the std::tuple (i.e. by treating
66.
▲
by
clappski
6y ago
That's pretty average for dev jobs in commercial enterprises in London (e.g. working for a B2C). In the UK, the big money for developers is in finance (either at a bank, or prop trading, or insurance, or gambling, etc). If you want a s
67.
▲
by
clappski
6y ago
At least they're pretty honest about it though; > The idea that some recordings were important to keep for longer term re-use or historical reasons developed gradually and inconsistently across the BBC. > A key recommendation was
68.
▲
by
clappski
6y ago
> Then I got the plugin tmux-plugins/tmux-yank which adds "y" command to copy the text tmux-yank copies whatever you selected to the system clipboard (xclip, clip.exe, etc.)
69.
▲
by
clappski
6y ago
I use Ubuntu via WSL2 when WFH (i.e. always, at the moment). I've ran into lots of issues trying to use snaps (e.g. for ccls) in WSL, because of the lack of systemd as PID 1. Does anyone know a robust way to get snapd running properly
70.
▲
by
clappski
7y ago
At least with coc.vim it's literally just a case of picking a vim package manager and using that to install it. Almost no configuration required, apart from `CocInstall`-ing whatever language servers you want.
71.
▲
by
clappski
7y ago
Ouch. What experiences have given you that opinion?
72.
▲
by
clappski
7y ago
> how much of it do I write unit tests for? Zero. I can't quantify why. I just know intrinsically that they're useless and it's a waste of time. I just know that 95% of my code works and I know what the 5% I'm unsure
73.
▲
by
clappski
7y ago
> For example, removing a prefix the C way would be to add the size of the prefix to the pointer. Surely to do this you'd still have to keep either a reference to the original pointer around or remember the offset so you could `free
74.
▲
by
clappski
7y ago
lock_guard doesn’t have a default ctor, you have to pass a mutex (or presumably invoke a move ctor, but I can’t see one on cppref).
75.
▲
by
clappski
7y ago
Perhaps last year, when I was trying to resolve some broadband issues with Virgin Media, I had to recite my account password over the phone in order to pass the security check.... Thankfully I don't share passwords across account
76.
▲
by
clappski
7y ago
That's because bc is fixed precision: % bc bc 1.07.1 Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006, 2008, 2012-2017 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details
77.
▲
by
clappski
7y ago
+1 for Conan, my favourite feature is using the deploy generator to gather my dynamically linked libs to deploy with my binaries - so powerful, and generally breaks the coupling between the distribution (and which packages it provides) and
78.
▲
by
clappski
7y ago
... I use Conan in projects with dependencies on OpenSSL on Linux and I don’t have any issues. I use the Makefile generator (because our build system is plain make + Conan). The name of the package shouldn’t impact you at all, unless I’m mi
79.
▲
by
clappski
7y ago
Probably the most important C++ ideal is that you don’t pay for what you don’t use, and you _still_ get a more expressive language than C if you don’t use those features. Your cons: - Virtual functions. Don’t use them if you don’t want to i
80.
▲
by
clappski
7y ago
> The sponsorship pays directly for maintainer time. That is, writing new features, fixing bugs, answering user questions, and improving documentation. As far as I can tell, this project is literally just a 200 line configuration file fo
81.
▲
by
clappski
7y ago
> instead optimising for hardware cost I imagine a big reason that they're on old hardware is cost - just because it's relatively cheap for someone in the West to get a decent modern machine at a reasonable cost doesn't me
82.
▲
by
clappski
7y ago
How do you end up being a C++ developer that hates the language? I’m a C++ developer as well, and if I ever decided that’s I didn’t like what I was doing every day I’d learn a different language and try to get hired for that.
83.
▲
by
clappski
7y ago
You could use; auto* p2 = std::exchange( p1, nullptr );
84.
▲
by
clappski
7y ago
constexpr is much more powerful than just generating constants (although that is one of the bigger use cases). One of the things I like is how it simplifies doing static dispatch on template types, essentially using SFINAE under the hood bu
85.
▲
by
clappski
7y ago
I commute into London from about 60 miles away. It costs me either ~450£pcm or ~4600£pa, depending on if I get the monthly or yearly season ticket, and the journey is 30 minutes (if I make it onto my regular train). My employer essentially
86.
▲
by
clappski
7y ago
Why does Go redefine `^` to mean something that it doesn't mean in all the programming languages I know? Is there a reason that xor isn't `^`?
87.
▲
by
clappski
7y ago
Trying to place Berlin as the whole of Europe is pretty unfair to the rest of Europe (considering it contains a wide variety of cultures and expectations on working life). Also, people referring to 'EU work life balance' are proba
88.
▲
by
clappski
7y ago
It's very useful when you want to pass something by reference into a function that takes a varadic template parameters and uses perfect forwarding, i.e. https://godbolt.org/z/xlmwFw template <typename...
89.
▲
by
clappski
7y ago
If you had to Google what `std::ref` is then you aren't a very proficient C++ developer - but if you had seen the actual example rather than the stripped down one in the GitHub repo, you would probably understand straightaway - https:
90.
▲
by
clappski
8y ago
That paragraph on smart pointers doesn’t have anything to do with RAII - it’s not even accurate concerning C++ smart pointers, where the standard ‘has a single owner’ smart pointer doesn’t use ref counting, it uses RAII.
More ›