Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zvrba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
211.
▲
by
zvrba
7y ago
> Their point of comparison is between an NVIDIA Tesla V100 and a 44-core CPU. Not quite. Further in the paper: "Similarly, for larger Amazon dataset, the red and black line never intersect, and the red and blue line intersects on 8
212.
▲
by
zvrba
7y ago
They propose a major language change: all functions would be noexcept by default, and only those explicitly marked with "throws" would be allowed to throw exceptions. Interesting paper, but it's not gonna fly in practice.
213.
▲
by
zvrba
7y ago
I tried quickly to find the list of supported systems, but the main documentation pages don't mention them. That said, pipe() is not "portable" either, so whether to use platform-dependent code for pipes or semaphores... no b
214.
▲
by
zvrba
7y ago
From the linked text: > In particular, the GNU make jobserver code ends up using a pipe as a way to limit parallelism, where each job consumes a token by reading a byte from the jobserver pipe, and releases the token by writing a byte ba
215.
▲
by
zvrba
7y ago
Actually I find this a very practical behavior. It allows me to have NULLs in columns participating in UNIQUE indexes. At least with indexes, it's very intuitive and useful.
216.
▲
by
zvrba
7y ago
Yeah, about HDMI... why did DisplayPort get invented?
217.
▲
by
zvrba
7y ago
You're right. But I've given up "language lawyering" a long time ago: I have a set of "rules of thumb" (like the one I just wrote) that exclude some technically valid programs, (but so be it) and that let me wr
218.
▲
by
zvrba
7y ago
This does not conflict with what I or the OP wrote; you're mixing up the vector and its contents. Moving from a vector can invalidate `data()`, yet references and iterators to its previous contents remain valid.
219.
▲
by
zvrba
7y ago
> when you std::move a string, the data() buffer would remain unchanged You cannot assume anything about the state of a moved-from object. AFAIK, the only valid operations are destruction and assigning something else to it.
220.
▲
by
zvrba
7y ago
The implementation is allowed to define UB to have a defined behaviour.
221.
▲
by
zvrba
7y ago
So which package manager is NOT horrible when it comes to handling conflicting dependencies? Esp. when combined with developers specifying wrong constraints for dependencies, either out of cluelessness or carelesness?
222.
▲
by
zvrba
7y ago
Yes, choosing EF Core is one of my biggest, if not THE biggest, regrets on the project I'm working on. Not because of the way it's packaged but because.. it's a heavy-weight ORM that stands in the way of using the database as
223.
▲
by
zvrba
7y ago
From the linked (Aaron's) post: > .NET users need to culturally normalize the idea of adopting non-Microsoft .NET solutions when those third party technologies are better on the merits. I'm a .NET developer and say: no. If Micr
224.
▲
by
zvrba
7y ago
Ah, Shapeways. Back when I was implementing computational geometry algorithms, I stumbled upon and ordered Schönhardt polyhedron in bronze from them ( https://en.wikipedia.org/wiki/Schönhardt_polyhedron ). Made the model
225.
▲
by
zvrba
7y ago
> Ok, so here is the article Klabnik cites, comparing various Rust HTTP clients: Interesting. I'm being led to believe that the actual problem lies in HTTP itself: it is too convoluted to be safely implementable and should be replac
226.
▲
New desalination method could get industry out of a salty pickle
(newatlas.com)
3 points
by
zvrba
7y ago
|
0 comments
227.
▲
by
zvrba
7y ago
Some of the things "I've learned in 25 years": After arguing with a friend who claimed to have discovered a bug in `malloc` because his program crashed (that was a long time ago), I figured that there's a hierarchy of pr
228.
▲
by
zvrba
7y ago
COM is anything but disaster. It's a really nice language-independent component framework. An ABI and marshalling standard, built upon ANOTHER, older, standard -- DCE RPC -- that allows e.g., C++ COM server to talk with Powershell, no
229.
▲
by
zvrba
7y ago
Nouns/names/numbers have declensions. Verbs have conjugations.
230.
▲
by
zvrba
7y ago
> ${object.nominative()} loves ${subject.accusative()} You mixed it up, it should be "${object.accusative()} loves ${subject.nominative()}". Or, I guess, how you define "object" and "subject" for "loves
231.
▲
by
zvrba
7y ago
I've started a project from scratch based on JavaFX and am very happy with the toolkit.
232.
▲
by
zvrba
7y ago
> It’s still unmatched for seamless language interoperability. I don't know about how it works on VMS, but Microsoft's COM is the only other attempt of language interop I know of. Recently I implemented a COM server, added `IDi
233.
▲
by
zvrba
7y ago
> Contrast LISP to the complicated order of precedence operations you find in almost every other programming language, as well as their huge grammars and syntax. That takes a lot of brain space. I disagree. I rarely find myself slowed do
234.
▲
by
zvrba
7y ago
> An arbitrary object should have absolutely no business knowing how to render itself, Well, `toStrig` and its inverse make sense mostly for value types and these usually have ONE canonical representation. SQL has been based on convertin
235.
▲
by
zvrba
7y ago
I'm surprised nobody in the thread mentioned using a TPM device when available. My 5-year old MB comes with one builtin, and probably all new ones have one. TPM also provides a limited amount of persistent storage.
236.
▲
by
zvrba
7y ago
There are some nifty apps, like Grapholite (Visio "lite") and it's reasonably priced as well.
237.
▲
by
zvrba
7y ago
> Im gonna feel really bad breaking the QUIC / HTTP/3 news. According to this research article [1], QUIC is unfair towards TCP and consumes more than twice its fair share of bottleneck bandwidth. [1] [PDF] https://co
238.
▲
by
zvrba
7y ago
> If a database engine is implemented as a core system service, along with simple tools Windows has it, though user-level tools are lacking. https://docs.microsoft.com/en-us/windows/win32/extensible-st...
239.
▲
by
zvrba
7y ago
> Many languages have libraries built in that do something reasonable with JSON. What about cross-language? In C# I define a class containing a `DateTime` field, export the schema with xsd, and generate classes for Java with xjc, and get
240.
▲
by
zvrba
7y ago
> XML cannot be parsed into nested maps/dictionaries/lists/arrays without guidance from a type or a restricted xml structure. ? Using XML without a schema is slightly worse than JSON because the content of each node is jus
More ›