Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xarope
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
541.
▲
by
xarope
4y ago
Look at around 8.45-9pm (clock dial direction) in the photo, you should see it readily now.
542.
▲
by
xarope
4y ago
I've not delved into Rust much, but strings in any language are "hard", because underlying the representation is an array/list/heap/vector/whatever, which means thread safety/garbage collection/c
543.
▲
by
xarope
4y ago
"With a special shim made from the cap of a whiskey that Bosnian Bill and I were drinking, I managed to pick this lock in 23 seconds. In all fairness, without this specialized tool, this would have been an incredibly difficult feat...
544.
▲
by
xarope
4y ago
nothing on three...
545.
▲
by
xarope
4y ago
Sadly. This is why I recommend running docker inside of a container (e.g. LXC) or a VM, as I just don't trust the security profiles for docker images.
546.
▲
by
xarope
4y ago
having watched Nacho Libre (Jack Black's "sport" comedy) many years ago, and laughing hysterically all the way through, I have no problems with the Libre part.
547.
▲
by
xarope
4y ago
Not that much of a joke, a lot of companies are using binary protocols for internal services e.g. gRPC, and REST for external. So, best/worst of both worlds (depending on whether you are a glass half full/half empty person)
548.
▲
by
xarope
4y ago
And Java vs just about anything else (!)
549.
▲
by
xarope
4y ago
That's unusual, in consulting days of yore it was about 80%* billable hours * may vary of course, but nobody expects 100%, even the big 5/4.
550.
▲
by
xarope
4y ago
Please do write it up! It's always interesting to read how others solve problems using similar tools. If you have a github account you can always gist it. If not, perhaps one of the prolific writers in HN would be willing to publish
551.
▲
by
xarope
4y ago
Thanks, very useful. I've been meaning to try the OR tools for a while, the examples given help me figure out how to decompose a problem.
552.
▲
by
xarope
4y ago
My german friend taught me this. Now I do exactly what you say, if it's an approximate, I say 5-10 mins. If I'm being more precise, I'll say 4 mins, 7 mins etc, which does exactly what you mention: it "suddenly" t
553.
▲
by
xarope
4y ago
It's interesting how go and python have similar achilles heels, namely the way they handle strings (python's print was highlighted as a similar performance problem in another post recently in HN). I wonder if there will ever be a
554.
▲
by
xarope
4y ago
WP and SSH seem to be the most common bot attacks. SSH is easily mitigated by changing the default port from 22 to something else, and adding in fail2ban. As for WP, I like to use a static site generator like Hugo, unless you have huge req
555.
▲
by
xarope
5y ago
He says no inlining nor unrolling of code, but isn't the precompute_template (which generates pregenerated output) basically inlining+unrolling over the 3*5 combinations?
556.
▲
by
xarope
5y ago
I do some extreme sports for hobbies, where I am often the only person with the sense of mind to take shots with my trusty olympus TG2 (yes it's old, but still works) of others with me, whether underwater or 6Km above. My professional
557.
▲
by
xarope
5y ago
3..2..1 lock picking lawyer let's go!
558.
▲
by
xarope
5y ago
On my dev box, it's chromium, golang, ripgrep, restic, lxd, flutter. I don't really notice the startups for the rest (although I get irritated when lxd auto updates and restarts my containers), but chromium does palpably take seve
559.
▲
by
xarope
5y ago
I remember bumping into Tcl as part of Tcl/Tk, during my xwindows days. Never realised there was still so much work ongoing for the language! Reminds me of Forth too... do people still make firmware with Forth?
560.
▲
by
xarope
5y ago
it's a comment which can trigger an action (if you run mypy). So, unlike a comment, which does nothing, if you run mypy and get some warnings, you can then do something about it (whether it's just # type: ignore or you realise you
561.
▲
by
xarope
5y ago
as a reminder for yourself/others who need to read/maintain your code? (I am often reminded of my perl days, where something I thought idiomatic 3 days ago, is now completely incomprehensible when I just want to make a minor chang
562.
▲
by
xarope
5y ago
I'm surprised there's no mention of pydantic or other type systems. I started with type hints, and find that the discipline of using types invaluable, especially when coding public API backends for which validation is a strong ne
563.
▲
by
xarope
5y ago
If I may ask, how is vyos in terms of functionality? I'm more than comfortable with cli (have worked with cisco/hp/arista routers and firewalls before).
564.
▲
by
xarope
5y ago
My epiphany was using find | xargs and realizing I need -print0 for the former and -0 for the latter to handle special characters. Then I realized all my previous bash scripts were WRONG...
565.
▲
by
xarope
5y ago
I hate to say this, but I would have failed the type 2's as well, in just copying and pasting and changing pluses to multiplies. assuming signed int16 (for simplicity of discussion), 32767 + 1 is far easier to error handle (a simple ch
566.
▲
by
xarope
5y ago
This is probably going back 20+ years, but given old tools like john the ripper, newer tools like ighashgpu, or just writing your own iterative tool to go through [a-z][A-Z][0-9]@<populardomain>, and the advent of high speed CPUs and
567.
▲
by
xarope
5y ago
I agree. I would be happy to provide references of the developers and engineers in my ex-teams, whether collaborators or mentees, who would give me glowing references. Instead, I'm asked for senior-managers/directors as reference
568.
▲
by
xarope
5y ago
This is definitely a concern. I've previously worked for e.g. eye bee... and despite having written massive amounts of code in c, java etc, I'm probably violating some major NDA if I show any of that code, or discuss details of a
569.
▲
by
xarope
5y ago
That's a good point. Just like the best tool to use is the one you have at the time, mobile infantry would be more than likely to have AT4s only. I vaguely remember a section of 9-12 men would carry only two AT4 equivalents, and we w
570.
▲
by
xarope
5y ago
My thoughts exactly. If the board accepted, minutes before twittering "having perused the contract, Twitter violated one of the clauses and there I am ethically unable to buy the company", he'd dump and make himself another
More ›