Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lorenzhs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
lorenzhs
7y ago
You can also replace the battry on the X1 carbon (RAM is soldered, though). Lenovo even provides videos showing how to remove the battery and other components: https://support.lenovo.com/us/en/solutions/ht5087
242.
▲
by
lorenzhs
7y ago
Language Server Protocol brings this to many editors that historically lacked it, including Emacs' lsp-mode. I use it a lot (with clangd), it's great. Because it's a common interface used by all editors, there is a lot of int
243.
▲
by
lorenzhs
7y ago
It's likely that your spine will have sustained some damage in an accident that jammed your doors. That means you want level extraction, which requires removing both driver's side doors and the B pillar ("total sidewall remov
244.
▲
by
lorenzhs
7y ago
That means "don't step into traffic". It doesn't mean "you're not allowed to cross the road unless there's a pedestrian crossing". Crossing the road outside of marked pedestrian crossings is perfectly
245.
▲
by
lorenzhs
7y ago
Yeah, and if you want to use clang-format include reordering in such a project, you should read the docs for clang-format's "IncludeCategories". It allows you to separate your includes into blocks by providing regexes and ass
246.
▲
by
lorenzhs
7y ago
That's probably a bad idea, r/de delights in literal translations of English expressions and memes. Many comments are completely incomprehensible to outsiders. It's a parody on the English-speaking parts of reddit and not a g
247.
▲
by
lorenzhs
7y ago
An example that comes to mind is butter. It's feminine (die Butter), but in some dialects, it's masculine (der Butter). There are maps for several other words at http://www.atlas-alltagssprache.de/runde-5/f15a
248.
▲
by
lorenzhs
7y ago
http://dip21.bundestag.de/dip21/btd/19/151/1915163.pdf from page 77, § 58a. IANAL but it looks like it matches the summary from the article pretty well. There are some exceptions, like if you can prove
249.
▲
by
lorenzhs
7y ago
From a European perspective, arriving at the train station 30 minutes in advance sounds completely absurd. I'd say 10 minutes is much closer to the average here (Germany). I took Amtrak from DC to NYC once and the whole boarding proces
250.
▲
by
lorenzhs
7y ago
The question is not if you're carrying $400 in cash, but whether you can afford that expense. A credit card paid off in full is considered cash-equivalent: "When faced with a hypothetical expense of only $400, 59 percent of adu
251.
▲
by
lorenzhs
7y ago
Then you can buy an EPYC 7702P. It's not like they don't make 64 core CPUs. Or get a dual-socket board and buy two 7702s if 128 cores are more to your liking.
252.
▲
by
lorenzhs
7y ago
We built a Ryzen machine in an old rack-mount workstation chassis at work before EPYC was released. The motherboard has a bunch of RGB contour lights on it, which you can see through the grille at the back of the chassis. Looks really daft
253.
▲
by
lorenzhs
7y ago
Saying that $370 is not a lot of money shows just how far removed the tech bubble is from the rest of the world. "Four in 10 adults in 2017 would either borrow, sell something, or not be able pay if faced with a $400 emergency expens
254.
▲
by
lorenzhs
7y ago
No, the argument was that because a binary representation of the number n needs ⌈log n⌉ bits, incrementing it would require O(log n) time. And my argument was that accessing these bits in memory takes an amount of time that grows with
255.
▲
by
lorenzhs
7y ago
It's a meta-article, it doesn't contain all the results of the field. But the field is alive and well. Just look at the proceedings of SEA and ALENEX (there was no SEA this year for stupid reasons that have nothing to do with the
256.
▲
by
lorenzhs
7y ago
By your logic, memory access takes time Ω(n^(1/3)) because memory cells need to occupy physical space and we live in a three-dimensional reality, so the time to access a memory cell must necessarily increase with the physical distance
257.
▲
by
lorenzhs
7y ago
No no no! Big O has nothing to do with Turing machines at all ! You can, of course, express the number of steps a single-tape deterministic Turing machine needs to solve some problem using Big O notation. But you can just as well express t
258.
▲
by
lorenzhs
7y ago
Well yeah, for many problems, there are solutions that have wonderful running time in the RAM model, like van Emde Boas trees or Fibonacci heaps, but are approximately 100% useless in practice because of the constants involved. I guess this
259.
▲
by
lorenzhs
7y ago
Uh, that's what the theory people do, too. We make assumptions about the model, for example, that if our input is of size n, a machine word should be able to store that number (word size θ(log n) bits). Otherwise we'd never get an
260.
▲
by
lorenzhs
7y ago
No. Stop. That's not how this works. Yes, Big O notation measures asymptotic growth of functions. But what do those functions express? For them to express running times, you need to define a machine model. It's a model because i
261.
▲
by
lorenzhs
7y ago
> That is how Big O notation works. No it is not. "Big O" is a way of expressing asymptotic growth of some quantity, most often running time. But you need a machine model to even express running time. And sure, you can define y
262.
▲
by
lorenzhs
7y ago
> On a 64-bit CPU, y=x+1 is O(1) time when Y < 2^64, but becomes O(log N) time for larger numbers. No. Incrementing a 128-bit counter is also O(1) time on amd64/ARM8/... Only when your numbers are arbitrarily large would
263.
▲
by
lorenzhs
7y ago
Outside of our bubble, people don't care about ECC memory on their laptop or desktop. It also adds ~12% (iirc) more memory cells, meaning higher memory cost, which is going to be a hard sell given that it's a solution to a problem
264.
▲
by
lorenzhs
7y ago
> German North produces a lot of wind, but there's no feasible way to bring it to the South... Technically feasible or politically feasible? There's a lot of NIMBYism around building new high-capacity power transmission lines i
265.
▲
by
lorenzhs
7y ago
There is value in having the means to generate power independent of environmental factors (sun, wind). A stated goal in the article is also to build small-scale fusion reactors, which would reduce transmission costs. Wind power and non-resi
266.
▲
by
lorenzhs
7y ago
You’re wrong, the sizes of both input files are commonly considered when analysing algorithms that work on two files. Consider a problem that could be solved by sorting one of the files and then stepping through both files item by item (not
267.
▲
by
lorenzhs
7y ago
It did with Firefox 70, which was released a few days ago.
268.
▲
by
lorenzhs
7y ago
ULEZ does not only affect private vehicles, the list of who qualifies for a discount or exemption is pretty short (residents are exempt for now, taxis, historic vehicles, and things like agricultural and military vehicles or excavators, mob
269.
▲
by
lorenzhs
7y ago
According to TFA, compliance with ULEZ standards increased from 39% of all vehicles in February 2017 to 61% in March and 77% in September. That means that a lot of those vehicles are no longer circulating in central London. And of the non-
270.
▲
by
lorenzhs
7y ago
From the full report: "All TfL buses operating in the zone meet the ULEZ standards"
More ›