Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xiii1408
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
xiii1408
8y ago
Dude! That's freaking awesome. I've been wanting to set up a GPS-based NTP server for a while, but haven't gotten around to it yet. I'll have to read through and take a look at the transmitting equipment you used; add
92.
▲
by
xiii1408
8y ago
All three radio stations (Washington, Maryland, and Colorado) used atomic clocks. Presumably they could handle the radio hand-off very precisely. ;) But actually--the precision of an atomic clock (nanoseconds) is orders of magnitude higher
93.
▲
by
xiii1408
8y ago
I second that. Matt Pharr's posts on ispc are an extremely interesting read, both from a technical perspective (programming abstraction and hardware design) and a human perspective (Intel politics, managing style, and career decisions)
94.
▲
by
xiii1408
8y ago
It's actually pretty easy to detect multi-line inputs as long as they have clear enclosers (like '{}' for a block in C/C++). This is what reple does. This doesn't require a parser--you just have to know what the en
95.
▲
by
xiii1408
8y ago
Yes, there are tools like rcrl (mentioned in the blog post) that dynamically link in new pieces of code [1]. The author of rcrl gave a nice talk at CppCon [2]. The trouble with tools like that is that they're pretty language specific,
96.
▲
Reple: “Replay-Based” REPLs for Compiled Languages
(people.eecs.berkeley.edu)
68 points
by
xiii1408
8y ago
|
17 comments
97.
▲
by
xiii1408
8y ago
This post is really just about an abstraction for storing objects and doesn't explain how you'd make data structures that distribute objects across nodes using remote pointers. Remote pointers end up being pretty nice for locality
98.
▲
by
xiii1408
8y ago
Some cool people at VMWare wrote some software that lets you manage RDMA segments as files in the file system [1]. And you can mmap those RDMA-resident files if you wish. [1] https://256fd102-a-62cb3a1a-s-sites.googlegroups.com&
99.
▲
by
xiii1408
8y ago
Yep, you caught my typo. Notice the GodBolt version has serialize_().
100.
▲
by
xiii1408
8y ago
It's just CSS based on the LaTeX defaults, written by Andrew Belt as a style for Wikipedia [1,2]. [1] https://github.com/AndrewBelt/WiTeX [2] https://andrewbelt.name
101.
▲
by
xiii1408
8y ago
Dynamic languages for sure - you just dynamically dispatch your method call based on the type of the object in the container. But what C++ is doing (and static languages with metaprogramming in general) is specializing and statically inlini
102.
▲
by
xiii1408
8y ago
That's super cool. I'd love to see any of your papers/code.
103.
▲
by
xiii1408
8y ago
What's the overhead of running in xhyve? Is it like a Linux kernel container, or more like KVM, or what?
104.
▲
Storing C++ Objects in Distributed Memory
(people.eecs.berkeley.edu)
122 points
by
xiii1408
8y ago
|
36 comments
105.
▲
by
xiii1408
8y ago
I've observed this a lot when working on SEO for my webpage. I'll be like, "Cool, I'm the top result for my name!" And, yes, this will be true for people searching from Berkeley, where I live. But if I go to an I
106.
▲
by
xiii1408
8y ago
Oh, wow, that's good to hear. Maybe they've improved a lot in the past two years.
107.
▲
by
xiii1408
8y ago
Hahahahaha yes that's exactly what Manjaro is. And, sure, it's not Debian or CentOS, so you don't have as much attention focused on the packages. Their record of keeping malware out is pretty solid, though, as far as we know
108.
▲
by
xiii1408
8y ago
Linux also has more drivers for older hardware. Or just hardware. I installed FreeBSD on a ThinkPad T400 back in 2016... I was royally unimpressed with all the shit I had to go through to get drivers working on what is probably the most
109.
▲
by
xiii1408
8y ago
You definitely should try Arch. It has a similar "from scratch" policy, but all the official packages are pre-compiled. There's also the Arch User Repository, where you can find proprietary and unofficial packages, many of w
110.
▲
by
xiii1408
8y ago
Wikipedia has themes and also lets you add whatever custom CSS you want to your account. My personal favorite is WiTeX, which makes Wikipedia look like a LaTeX document [1]. [1] https://github.com/AndrewBelt/WiTeX
111.
▲
by
xiii1408
8y ago
I disagree. Why is Fortran still a thing? technical debt Everyone I know in astrophysics or engineering who can uses something else--Python, C++, and Julia, are big winners. The problem is that there are these huge monolithic codebases w
112.
▲
by
xiii1408
8y ago
There's a better solution, to your problem: pass an "index object" as the argument to operator[]. So `T& operator[](index_t)`, where `index_t` could just be a tuple. a[{1, 2}] = 12; This has virtually the same synt
113.
▲
by
xiii1408
8y ago
Neat introduction to template metaprogramming, SFINAE, and what metaprogramming libraries can do for you.
114.
▲
Tacit Meta Programming in C++
(github.com)
1 points
by
xiii1408
8y ago
|
1 comments
115.
▲
by
xiii1408
8y ago
That's true--you can add the ability to seek, in which case the stream becomes like a file. Whether or not that's desirable depends on what kind of programs you're writing. For programs like databases that traditionally stor
116.
▲
by
xiii1408
8y ago
Almost! This is something I've looked into, and hopefully I'll have time to write a whole blog post about it in the future. There are some fundamental syntax limitations due to the way that operator-> works (and that operator.
117.
▲
by
xiii1408
8y ago
For parallel programs, streams are problematic because they enforce a strict order to communication. (I assume you're talking about creating distributed istream/ostream classes.) Also, stream communication is explicitly two-sided
118.
▲
Creating Expressive C++ Smart Pointers for Remote Memory
(people.eecs.berkeley.edu)
67 points
by
xiii1408
8y ago
|
11 comments
119.
▲
by
xiii1408
8y ago
Well, for one thing, it might suddenly become difficult to travel in China as a result of signing this letter. That would not be unprecedented. As for Google, companies in general value employees who are flexible in the projects they'
120.
▲
by
xiii1408
8y ago
It's gotten even worse than airlines: they pressured 85C, the Taiwanese Bakery, into espousing a one China policy: https://www.hongkongfp.com/2018/08/16/taiwans-85c-bakery-caf... . It's remarkable to
More ›