Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zvrba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
271.
▲
by
zvrba
8y ago
Weird approach by Huawei. If you want a program to stay up and running, you write a windows service; autostart with restart for recovery in case of crash. The service process can set its own DAC so that only SYSTEM can open its handle, henc
272.
▲
by
zvrba
8y ago
> easier For routine code generation, there are even simpler T4 templates. That one gets as easy as one could want. > standardized So are expression trees: https://docs.microsoft.com/en-us/dotnet/api/sy
273.
▲
by
zvrba
8y ago
When you have good memory, you don't need to google anything twice.
274.
▲
by
zvrba
8y ago
I could do that in C# as well if I felt I needed it. Define classes representing the "syntax/AST", utility functions to build the AST and an interpreter that compiles the AST to an expression tree which in turn is an executab
275.
▲
by
zvrba
8y ago
At times too much magic, like queries mysteriously failing because you have a dangling "navigational property" without a database column. That one was a hell to debug. At other times, too little control over how the query is trans
276.
▲
by
zvrba
8y ago
I don't buy that the "privilege" of > 1. Create a language to solve your problem; > 2. Solve your problem. belongs mainly to Lisp and Smalltalk. Each time you define a method or a class (C#, Java, C++), you're ext
277.
▲
by
zvrba
8y ago
So, genuine question: why would one use a 3rd-party VPN client in windows when Windows 10 comes with a built-in client supporting PPTP, L2TP/IPsec and IKEv2? What is better about OpenVPN or Wrieguard?
278.
▲
by
zvrba
8y ago
I'm amazed at the amount of worshipping (in the comments) of luddites when it comes to debuggers. Citing Linus, Log4J developers ("use logging instead"), Kernighan and Pike... especially the latter two had learned programming
279.
▲
by
zvrba
8y ago
Unrelated, but: > Negative freedom is freedom from constraint, that is, permission to do things; Positive freedom is empowerment, that is, ability to do things... Cited Angus Sibley, but the idea originates, I believe, from Erich Fromm.
280.
▲
by
zvrba
8y ago
Too many shades of blue. Almost impossible to map the squares to the "middle colors" of the legend.
281.
▲
by
zvrba
8y ago
I'm one of those people. As for why: modern, heavily-templated C++ doesn't mesh well with dynamic linking, i.e., plugin architecture. I can send even a pointer to `std::function` over ABI boundary (COM, in-process server) as int64
282.
▲
Weak Diffie-Hellman and the Logjam Attack
(weakdh.org)
1 points
by
zvrba
8y ago
|
0 comments
283.
▲
by
zvrba
8y ago
> a poisson distribution of incoming calls with a rate r1 This is what always confuses me about queueing theory. The analysis is valid assuming a particular distribution, but the justification given for using that distribution was very w
284.
▲
by
zvrba
8y ago
> Yes, SFINAE and RAII - you can go for many years of working in C++ without writing much code using either one of those. WTF, RAII is the corner-stone of C++ development. And I miss it (deterministic destruction) in every other language
285.
▲
by
zvrba
8y ago
> I struggled for days getting all the buffer copying right (raw pointers to many interrim buffers). It seems like you struggled with math (indexing logic) rather than C++. > how else can you tackle this problem in a modern way? You c
286.
▲
by
zvrba
8y ago
> too many things in Rust conflict with COM Do they? COM in its essence defines two things: 1. A binary ABI for interoperability of components written in whatever language. 2. Reference-counting mechanism and "casting" mechanis
287.
▲
Windows projected file system
(docs.microsoft.com)
18 points
by
zvrba
8y ago
|
7 comments
288.
▲
by
zvrba
8y ago
The last couple of times I had to parse/generate string according to something that can be described with a grammar, I resisted the temptation to implement an ad-hoc parser just because it was "simple". So I took the time and
289.
▲
Google Analytics opt-out plugin
(chrome.google.com)
2 points
by
zvrba
8y ago
|
0 comments
290.
▲
by
zvrba
8y ago
WTF, what instability? I use it as my main browser and have (almost) no issues at all, even with ad blocker installed. Maybe 2x a month I need to launch Chrome for some weird site.
291.
▲
by
zvrba
8y ago
> you have to use EF Core, which doesn't yet support mapping to views or stored procs, only tables. At least this one is not true: https://docs.microsoft.com/en-us/ef/core/modeling/query-type...
292.
▲
by
zvrba
8y ago
Can somebody explain to me why we need both kilogram and mole ( https://en.wikipedia.org/wiki/Mole_(unit) )? One can be defined in terms of the other.
293.
▲
by
zvrba
8y ago
What about .NET Core?
294.
▲
by
zvrba
8y ago
So my takeaway from this article is: where there is a concentration of mass, there is dark matter. (Quote: "According to models and simulations, all galaxies should be embedded in dark matter halos, whose densities peak at the galactic
295.
▲
by
zvrba
8y ago
As an addition to the shelter example: if there were many dogs, and there were only one white dog, you would say "I'll take white dog." And so on...
296.
▲
by
zvrba
8y ago
I'm not disputing that articles are sometimes useful, indeed sometimes you need "the" or "that" for disambiguation. But in most cases it's [a?] noise that I can't make sense of as in your previous example.
297.
▲
by
zvrba
8y ago
Ha, there's a difference between “I saw that good one” -- translated to Croatian, this wording strongly implies that both knew upfront which movie was good and he watched only that one. But according to the parent's explanation it
298.
▲
by
zvrba
8y ago
Ah, finally an example where "the" does convey some extra information. However, > Bob: I saw the good one. Weird. Before I read your explanation I interpreted this as Alice and Bob having a prior mutual understanding about whic
299.
▲
by
zvrba
8y ago
> “I heard a dog walking outside. The dog pushed the door open and entered.” "THE door"? Which door? Why is "the" there? Seems as yet another case of "tautological article", as the answer is "that exac
300.
▲
by
zvrba
8y ago
My native language is Croatian, but... > ten/ta/to are you sure it's not "that" (dies(e,es,er)) instead of "the"? > Not sure what is different if the nějaká is left out. I'd interpret it as &quo
More ›