Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hctaw
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
hctaw
5y ago
I'd quibble with whether folks understand the performance implications. I think most people know division is expensive. It's just non trivial to remove it. If it was that easy to replace, it would be done in hardware and division
2.
▲
by
hctaw
5y ago
I think the problem is equating "coding" to "algorithmic thinking." Most coding problems are wiring stuff up. If you can change a tire or put together a LEGO set, you can probably write code. The problem with the golden
3.
▲
by
hctaw
5y ago
It's a task more commonly found in computational geometry (3D range query == find all the points in a data set enclosed by a cube). There are numerous data structures that are well suited for various geometric queries like ranges/
4.
▲
by
hctaw
5y ago
Efficient 3 dimensional position or range queries (line/column/page) is a pretty well studied problem. You don't need to query every point of the space to answer anything.
5.
▲
by
hctaw
5y ago
Google docs is their document editor. Sheets is a part of GSuite. I've also never had trouble pasting a spreedsheet selection into a word document. Email is a nightmare in general though. I'm not sold on collaboration personally.
6.
▲
by
hctaw
5y ago
I feel the need to argue that the browser is not the browser engine. An app sitting in a chrome tab is significantly different than an app built on electron, they just share some rendering code paths. Electron apps have shown that you can u
7.
▲
by
hctaw
5y ago
Microsoft Word, Pages and Open Office don't seem to be bottlenecked by rendering performance like Google Docs. Perhaps the browser is the wrong platform for document editing.
8.
▲
by
hctaw
5y ago
> it is not unless your security model is one where codesigning exists to prevent the addition of new native code It is if your security model includes things like parental controls and payment processing.
9.
▲
by
hctaw
5y ago
Doesn't the referenced data have to be guaranteed to outlive the callee, which would only be true if the callee is guaranteed to return to the calling scope? You can get around the immutability of the reference if your compiler impleme
10.
▲
by
hctaw
5y ago
I'm reminded of Chesteron's Fence in this. Every major ABI is listed here as containing the same mistakes. I'm inclined to think the people who designed these ABIs were smart enough to understand the consequences of their des
11.
▲
by
hctaw
5y ago
What chips can be targeted by C compilers today that don't use 2's complement?
12.
▲
by
hctaw
5y ago
Having a mostly statically linked executable handle this rather than some bastard child of virtual environments and docker images is a dream come true.
13.
▲
by
hctaw
5y ago
Time Machine can't run on my Mac because there's not enough space on disk for it to run. Third party backup services that can function with the comically small default SSDs are preferable.
14.
▲
by
hctaw
5y ago
You have to backup more regularly than every two months... And Apple replaces the entire motherboard if a component on it fails. The agreement that you may lose data has been around awhile and it's just boilerplate. When mucking arou
15.
▲
by
hctaw
5y ago
My point of the analogy is that film was an entirely new medium for creators a century ago and while the projector and camera manufacturers came up with the idea of a cinema, it was the artists that made something worth showing.
16.
▲
by
hctaw
5y ago
AR and VR are both solutions looking for problems today. The technology is already there for a killer app but no one has figured out what it is yet. I think AR/VR is that it's being used like film was in the early 20th century. Th
17.
▲
by
hctaw
5y ago
Not GP but I feel your analysis here doesn't follow. > rather than being completely unaffected by S[n]? Is n here a discretization of time or a "meta-time" that captures state progression? It would be remarkable if the &qu
18.
▲
by
hctaw
5y ago
Environmental pollution also "works better" for companies and yet we regulate it. I don't think this is a false dichotomy, the role of government in business regulation is to modify business practices that are contrary to the
19.
▲
by
hctaw
5y ago
You need to compile a static executable (not with static libraries, there's a subtle difference). The flags depend on your compiler. If you're on Linux, musl libc and musl-tools are useful for dealing with this reliably.
20.
▲
by
hctaw
5y ago
> How is the REPL experience if there is one? About on par with C/C++ and Go. In that you don't have one and don't want for one. REPL driven development is difficult with languages like Rust, both to implement and use. I
21.
▲
by
hctaw
5y ago
It makes a big difference if you have a good amp that doesn't have a dull preamp stage. Some of the newer tube designs are extremely responsive to a change in how they're loaded (same goes for all the shitty unbuffered drive pedal
22.
▲
by
hctaw
5y ago
It's a laborious process that has a significant impact on tone. You usually have to restring the guitar when you change them out. The biggest change would be between dual coils ("humbuckers") and true single coils. Most moder
23.
▲
by
hctaw
5y ago
When I've done it in the past the reason was that the "downloader" was more like a bootstrapper to get the app on the machine with different logic if the app was already installed/not installed, and to migrate between ve
24.
▲
by
hctaw
5y ago
Don't manage your own metal if you can't have access to it for whatever reason. Run your application on a cloud platform.
25.
▲
by
hctaw
5y ago
That's more an indictment of the sorry state of C/C++ dependencies and linkage paradigms (shared libs are an antipattern like 90% of the time, imho). If C/C++ had a standard package manager then it would be much more trivial
26.
▲
by
hctaw
5y ago
I don't think it's terrible. Modern package management just works on a different assumption - the dependencies and their artifacts are required at build time, and for libraries they cannot assume the version required by the softwa
27.
▲
by
hctaw
5y ago
I don't think I follow. These designs do come from first principles. In fact the reason we've had so much academic thought put into it is because 100 years ago we designed systems empirically and a few smart people went back to
28.
▲
by
hctaw
5y ago
It's becoming less sane to use any systems package management to handle tool chains and libraries with each passing day. The recommended way to manage your rust installation is rustup. It makes it trivial to set up and manage tool chai
29.
▲
by
hctaw
5y ago
Backwards as it may be it's far easier to change a regulatory interpretation or judicial test than to make a fundamental change to government services, like healthcare. >Many gig workers explicitly do not want to become employees, a
30.
▲
by
hctaw
5y ago
Good book on that is Introduction to the Theory of Computation by Michael Sipser. One could argue it's from the very bottom up, not much practicum lies in that text.
More ›