Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LukeShu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
661.
▲
by
LukeShu
7y ago
> (is a contrib written in golang even possible?) $ cd ~/src/github.com/git/git $ git ls-files '*.go' contrib/persistent-https/client.go contrib/persistent-https/main.
662.
▲
by
LukeShu
7y ago
If you use gogoproto, it includes an extension to the protobuf spec, to override json tag for the emitted Go. https://github.com/gogo/protobuf/blob/master/extensions.md Use it like: import "gi
663.
▲
by
LukeShu
7y ago
Do that, then do a type alias in the package you would "like" for it to be imported from: mypkg/internal/foo/foo.go: type Foo struct { … } mypkg/mypkg.go: import "mypkg/inte
664.
▲
by
LukeShu
7y ago
Hey, you're the one who put "read a book" and "enjoy a movie" in the same breath. If I had just quoted "or enjoy a movie" and left of the "read a book" part of what I quoted, would your "n
665.
▲
by
LukeShu
7y ago
> I read a book, ... or enjoy a movie. Right there. For lots and lots of people, gaming is in the same class of activity as reading a book or watching a movie. It genuinely feels really weird for me to write that, it feels so obvious.
666.
▲
by
LukeShu
7y ago
POSIX is about compatibility for 2 programming languages: C99 and Bourne Shell. POSIX incorporates the C99 spec by reference, and duplicates much of it (lots of pages say "The functionality described on this reference page is aligned
667.
▲
by
LukeShu
7y ago
But then it wouldn't be valid JSON.
668.
▲
by
LukeShu
7y ago
But TFA was written 6 years ago.
669.
▲
by
LukeShu
7y ago
I did that intentionally, and not because FUD. I hear ">100 levels of nesting", and think "huge document", which as demonstrated here isn't necessarily true. So I said "202 bytes" to emphasize "n
670.
▲
by
LukeShu
7y ago
On one hand, yes. On the other hand, the standard Ruby "json" gem can be made to overflow on just 202 bytes of valid JSON input.
671.
▲
by
LukeShu
7y ago
(1) The post I was responding to was about Microsoft Office 2019 being able to open documents created by older versions, not about Microsoft Office 97 being able to run on modern Windows. (2) Microsoft Works (at least the version we had a l
672.
▲
by
LukeShu
7y ago
Funny. Microsoft Works getting discontinued, and Microsoft Office being unable to open Works documents is what pushed me toward OpenOffice (which could open Works Word Processor documents, mostly without issue), since all of my family'
673.
▲
by
LukeShu
7y ago
My Intel 5500 drives Firefox at 4K just fine (actually, 6.6K because render at a multiple of 96 DPI, then xrandr to scale down, since GDK_SCALE only supports integers). Driving Zoom at that resolution tends to be painful though...
674.
▲
by
LukeShu
7y ago
5 years ago, I would have agreed with you about BtrFS. Since 2012 or 2013, I'd been using BtrFS essentially as a cache on a build server; ephemeral data was kept there, if it was lost, it just meant that later operation would be slow.
675.
▲
by
LukeShu
7y ago
Java's build artifacts are too painless. GNU/Linux distributions tend to have a policy of "we build things from source, we don't simply re-publish the authors' build artifacts." Because Java's build ar
676.
▲
by
LukeShu
7y ago
Joyce K. Reynolds died in 2015.
677.
▲
by
LukeShu
7y ago
The reason I'd be interested in something like this has nothing to do with the cost. Even though the "smart" part is obsolete, and it's entirely used with an external AppleTV/Roku/whatever, because of the "
678.
▲
by
LukeShu
7y ago
(2012)
679.
▲
by
LukeShu
7y ago
For the most part, you wouldn't use the web interface, which exists mostly for archival/search-engine purposes. You use a plain email program, and get used to hitting "reply all" instead of "reply" (this will
680.
▲
by
LukeShu
7y ago
> I'm picturing a high school math teacher trying to support 20-30 kids running 20-30 different BYOD'd devices I don't get this fear of BYOD. It should be fine to say "these are the devices I'll support, if yo
681.
▲
by
LukeShu
7y ago
I'm not familiar with the details, but it is my understanding that their status as a library helps a lot with that side of it.
682.
▲
by
LukeShu
7y ago
The exemption was renewed in 2006 and in 2010 (the would-be-2009 decision was delivered late), but was not renewed in 2012. That said, the exemption was to allow legally bypassing the copy-protection mechanisms; that were preventing otherwi
683.
▲
by
LukeShu
7y ago
Specifically, the part of the DMCA that the exemption is for is the part that makes it criminal to bypass copy-protection; it does not grant them additional rights to make or distribute copies. There are lots of forms of copying where the c
684.
▲
by
LukeShu
7y ago
They're less well supported nowadays than they were. For instance, they used to be well supported by Parabola (one of the FSF-endorsed distros), but since then Parabola's dropped support for MIPS, because every Parabola developer
685.
▲
by
LukeShu
7y ago
Would you care to recommend one? Causally browsing for scientific calculators, the overwhelming majority seem to not have a logx button.
686.
▲
by
LukeShu
7y ago
There are 2 separate dedicated buttons for log_e and log_10. Why can't we get a single general log_x button!? I'm tired of having to type log(y)/log(x) instead of log_x(y).
687.
▲
by
LukeShu
7y ago
Having made a lot of them... the only trick I know is "practice".
688.
▲
by
LukeShu
7y ago
> For anybody wondering if vgo is production ready, we've been using it since it came out in go 1.11 and so far didn't have any problems. As a 2nd datapoint: We've been using it since 1.11.2, and have had problems, but hav
689.
▲
by
LukeShu
7y ago
I've seen implementations of ACME's plumber as Emacs modes, I haven't seen implementations of Emacs in ACME. ACME's plumber is very cool, and allows very easy customization of how some things work. Much easier than thes
690.
▲
by
LukeShu
7y ago
I avoid C++ and stay in straight C as much as I can. GCC's C error messages have definitely improved in response to clang (especially around deep preprocessor stuff). I had assumed that the C++ messages had likewise improved, and tho
More ›