HNHacker News
TopNewBestAskShowJobs

bionsystem

720 karma · joined May 3, 2018

submissionscomments
bionsystem··on So you want to write Java in Neovim
Last time I tried and iirc, lazyvim would print out all sorts of various errors within seconds of using it for very basic things, which is enough for me to give up on most tools unless they are forced onto me. That said I have yet to find a proper code editor for my needs which is not exactly dev ; so far I settle with plain vim.
bionsystem··on Developer wrote 25k lines of Neovim plugin code using phone and touchscreen
We can use any AI we want but only on our work laptop. The work laptop cannot install any useful dev tool so we connect to the remote machine for any code write/build/execution, and if needed copy/paste anything we find online or from an llm.

So work laptop has internet, dev machine doesn't. Dev machine has access to some nexus repository (some are proxies to the internet like pip, maven-central, nodejs, some rpm like EPEL, etc) and can actually run code (laptop doesn't, lots of windows "security" stuff activated that require signing the code for every edit).

I think they call it "security" or something like that. They pay reasonnably well and working hours window is reasonnably small so at this point I don't care anymore. At least I avoid the cloud "cool kids" crowd where everything has to be the absolutely latest tech and nobody really knows why everything is re-written every 6 months.

bionsystem··on Developer wrote 25k lines of Neovim plugin code using phone and touchscreen
We work exclusively on remote VMs that have no internet access. Well writing the stuff is fine through PuTTY (with tmux+vim), some other guys use RDP with VSCode but it is extremely laggy and I hate it. Some tasks can be annoying.

$job before that I would remotely connect to clients machines through various ways. Most would be a webpage with some terminal emulation in JS, or some web-based RDP (to a Linux or a Windows machines), and sometimes bouncing again to our last machines. And sometimes you get the actual VPN where all you have to do is to run the client (typically IPDiva, sometimes they use OpenVPN) and just run putty to connect to your machine.

That last experience was often painful especially when certain softwares in between you and your work start to fail. Also a lot of those clients had none or very restricted internet access, so it is really hard to get debugging tools. Sometimes your work would just be a loop of "connect, type a few commands, get the web-based terminal messed up, disconnect, repeat" until your problem is solved. Especially, for our needs we set up our own windows VMs with all software needed to connect to all the clients, hosted in our office and accessible via our own VPN. This way our clients would only see our office IP. But that meant one more VPN for everybody and one more "bounce" to do before any work...

bionsystem··on Two upstart search engines are teaming up to take on Google
qwant had bing as a backend a few years back iirc.
bionsystem··on Virtual Windows 3.11 Computer
I like to run LXQt sometimes for that (and for the snappiness / low resources).
bionsystem··on Switching customers from Linux to BSD because boring is good
Debian is incredible and I think there is a lot of mutual respect between both communities (debian and freebsd ; debian is even the default choice for the linux compatibility layer). I wish Debian GNU/kFreeBSD would be a thing...
bionsystem··on Switching customers from Linux to BSD because boring is good
> If you need a stable desktop put z/OS on it

You mean use a mainframe remotely ?

bionsystem··on Switching customers from Linux to BSD because boring is good
I wish I could do that but I can't recall any employer that would have allowed that. One of my employer was around 90% Solaris though (10 and 11) over 5000+ hostnames (VMs, zones and physical) and it required very little maintenance, a team of 3 seasoned ops was enough to do everything up to L2/L3.
bionsystem··on End the line: The last Sun SPARC workstation [video]
I have fond memories of my $veryfirstjob doing my $veryfirstprojet, end of life of old SPARC machines (replaced with Solaris Zones on T4/T5 for which I automated the deployment). Some of those machines had multiple years of uptime, I wish I had recorded all of those but I remember at least a couple of 1500+ days. Those things wouldn't die.
bionsystem··on Pro bettors disguising themselves as gambling addicts
Oh, you mean that the increase in bankruptcy risk is not necessarily only for the addicted gamblers, is that right ?

In that case I admit I got tricked by the phrasing in the article, and shouldn't have mentioned gambling, just bankruptcy risk.

bionsystem··on Pro bettors disguising themselves as gambling addicts
I didn't do that, did I ?
bionsystem··on Uber terms mean couple can't sue after 'life-changing' crash
In France we have this concept, in most cases, that a contract cannot force somebody to accept a lower amount of rights than the general population. So for example if my employer makes me sign a working contract with illegal clauses (say, not enough pay leaves, or below minimum-wage salary), then they are at risk of a lawsuit even though I signed it (in fact they increase their own risk by emitting such contract in the first place).

I wonder how that would apply to general conditions that we "accept" just to get rid of the annoying popup. I mean obviously they won't be able to enforce something like "you accepted to give us 100k/year by clicking << consent >>" but there should be some sort of framework of what is acceptable to contest as a user.

bionsystem··on Pro bettors disguising themselves as gambling addicts
No. Say 100 / 100 000 people are degenerate gambleurs at risk of bankruptcy. +28% would mean 128 are now at risk.
bionsystem··on Pro bettors disguising themselves as gambling addicts
> it's such a problem getting people to continue accepting your bets if you are any good.

Why don't they just use those people to adjust their odds faster for everybody else ? Or do they limit the size you can bet rather than just banning you ?

> I also found out that the more you bet, the more percentage commission you pay to exchanges like Betfair, which is quite contraintuitive - commission goes up with volume, not down.

I guess they try to cream the most addicted people, seems quite intuitive to me.

bionsystem··on Legalizing sports gambling was a mistake
The derivatives market is useful for hedging and for market efficiency. A lot of the nay-sayers I see tend to talk about how the nominal exposure is bigger than the market itself as if it were a compelling argument against it but it's not (the reason is that there is a counter-party for every "bet").

As for speculation around the "real" economy, in most cases it is widely talked about as the mother of all evil where in fact, the best way to increase the market value of a company is to turn it into a better company. And on the other end, companies go to 0 because they go bankrupt, not the other way around.

My point is that we are denying the entire market structure to punish the < 1% of bad actors, while it is quite useful for the rest.

Crypto is a different beast entirely. I have never believed in it and I still fail to see the value.

bionsystem··on Show HN: Chili. Rust port of Spice, a low-overhead parallelization library
In the early 2000s we were still in high school and a friend of mine told me that it's pointless to chose a carrier in SWE because eventually all the software will be written and there would be nothing to do.

Well we both ended up in CS but it's really a funny take nowadays (by then I wasn't so sure and it made me worry a bit).

bionsystem··on Creating a search engine for fun and because Google sucks
You're right, I thought they were collecting and not sharing to third parties, but they claim they do not collect at all.

Still, there are ads.

bionsystem··on Dogs can remember names of toys years after not seeing them, study shows
My grandfather's dog (some bastardized belgium shepherd) was annoyed at some electric cable hanging too low in some place where he would go for a walk ; after a storm the pylon fell a bit and he would jump up and bite the cable (which was isolated of course), and bark a lot at it.

Years later after everything was fixed, going to walk in this area the dog would always look up at this exact spot and bark a few times. Like "heck don't you dare coming low again I'm watching you".

bionsystem··on Creating a search engine for fun and because Google sucks
startpage does have ads, it's just somebody else than google tracking you.
bionsystem··on I use Nim instead of Python for data processing (2021)
> import bioseq # my library, has k-mer iterator and FASTA parsing

I'm not a developer, but isn't that a bit unfair ? If one is going to rewrite all libs instead of just importing them from python, one is trading convenience for speed.

That said it's also mentioned that nim is compatible with python, does that mean it can import python libraries directly ?

bionsystem··on Why I self host my servers and what I've recently learned
We used GCS (like S3 for GCP) for storing prometheus backups (via thanos) at $previous_job. That thing cost an arm and a leg for what it did (presumably, thanos was partially at fault but I didn't dig that much).

I moved to minio (in a GCP VM) and reduced our overall GCP bill by 70%. Yes, using cloud storage was 2/3 of the cost of our cloud infrastructure.

But overall, going too far in the self-hosted route has its costs. Hardware depreciation is one (and the author mentions UPS which seems huge in addition to being critical), cooling/powering, and of course the time for maintenance. If you are going this route you are doing this because you want to learn that stuff, not because you want to save the subscription. Otherwise, just use less services and keep price comparison lists updated.

bionsystem··on Greppability is an underrated code metric
Doesn't cscope fit this usecase ?
bionsystem··on The 4-chan Go programmer
Thanks a lot for the detailed answer. Would you recommend specific publishers or it's a book-by-book basis ? I heard good things about manning.
bionsystem··on The 4-chan Go programmer
How would you describe a path to learn this kind of things ? (Even just dropping a link would be appreciated).

Indeed typical education is about algos and programing paradigm (like procedural, functional, OO, etc) and context (system, native apps, web, data), but I don't remember/understand much about what you describe (but definitely faced it on toy projects and reacted like the "junior way" you describe). Heck we even did some deep stuff like language grammar / compiler design / and this thing with the petri boxes but it's a lot less practical and actionable I find.

bionsystem··on The 4-chan Go programmer
So Grug was right all this time ?

Joke apart this is a really interesting example. In a job interview I've been asked once if I ever regretted something I did and I couldn't quite word it on the spot, but definitely my first project included extra complexity just so that it "looked good" and in the end would have been more reliable had I kept it simple.

bionsystem··on DRAKON
I've written quite a bit of powershell to automate stuff in Word in our docs (pdf generation, hyperlink creation and verification, etc), and I second this. It is awful to work with. I'd much rather have latex, markdown or anything else than WYSIWYG.
bionsystem··on Zen, a Arc-like open-source browser based on the Firefox engine
All of those are features I love in Vivaldi. If it matures it will be a very welcome open source replacement.
bionsystem··on "Doors" in Solaris: Lightweight RPC Using File Descriptors (1996)
AND you are running bare metal, without the virtualization layer overhead, which is quite nice especially in the early 2000s :)

My first project as a junior was to deploy Solaris Zones to replace a bunch of old SPARC machines. It's such a great tech and was a fun project.

bionsystem··on For advertising, Firefox now collects user data by default
I daily drive Vivaldi, for about 2 years now. I was a bit concerned with the closed source part but the experience is great, it's fast and with plenty of features. I don't know how good they are with regards to privacy but on the other hand I do not need to install any plugin as everything is integrated so at least my data is contained with them.
bionsystem··on The Overengineered Resume with Zola, JSON Resume, Weasyprint, and Nix (2023)
I have a resume in latex, all I have to do is change a couple lines every now and then and run the default latex pipeline, all of it directly from gitlab. It worked on the first time I tried and every time since then, it produces a pdf which I can then download and send.

I noticed the container they run uses nix too, which is nice although I don't care about it as long as it works. I could add signing of the pdf maybe some day for fun. What's great with this approach is how little hassle there is and nothing to install, nowhere, and produces the same clean resume I've used for over a decade (but needed to install a thousand things I could never remember from one computer to another).

← PreviousPage 5 of 15Next →