Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
modulus1
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
modulus1
1y ago
And they even made the C++ version more verbose than it should have been. Most people would write: class Person { int age = 0; }; I wish rust would make default struct field values this easy to write.
2.
▲
by
modulus1
2y ago
MS and Apple have the same thing, they're just less successful. Just a browser and an OS was previously seen as antitrust (and it looks like MS is being anti-competitive in this space still). Just a browser and a search engine can allo
3.
▲
by
modulus1
2y ago
A company owning a web browser isn't the problem. A company owning a web browser, OS and search engine shouldn't be a problem either. I don't know why the remedy can't actually address the problem, and the DOJ can't
4.
▲
by
modulus1
2y ago
Can't store tabs or newlines, odd choice.
5.
▲
by
modulus1
3y ago
If you could pipe the ripgrep output into an editor, make changes, and have them applied, that would be great. Once you get all the text you want to change in one buffer, it should be easy to make repetitive changes quickly in your editor o
6.
▲
by
modulus1
5y ago
The author talks as if this isn't documented... https://www.google.com/intl/en/chrome/privacy/whitepaper.htm... > Additionally, a subset of low entropy variations are included in network requests
7.
▲
by
modulus1
5y ago
Author doesn't actually know what this information is being used for. Sure there can be a discussion about whether this information should be recorded at all (say, to determine if your site doesn't work on certain hardware), but c
8.
▲
by
modulus1
9y ago
Thanks, the video link in the pdf doesn't work, but the one here does: https://drive.google.com/drive/folders/0B9SX5ANPyMzTNWgtMzdq...
9.
▲
by
modulus1
9y ago
Does it say they can't nag users relentlessly until they click 'accept'?
10.
▲
by
modulus1
11y ago
Lack of MRU tab switching and preview tabs are two reasons I haven't switched from sublime. Glad they are listening to requests.
11.
▲
by
modulus1
11y ago
> [](a,b){ ... } Is valid if a and b are types.
12.
▲
by
modulus1
11y ago
> It probably also helps that extending Atom is much more approachable given that it's all Javascript... I've heard this said before, I've had the opposite experience. ST offers a small api and it was easy for me to make s
13.
▲
by
modulus1
11y ago
No high ranking USG official should be using insecure communication channels, as it will inevitably lead to leaks that could damage the state (secret information). What Clinton did was dumb, but no one should have sent her classified emails
14.
▲
by
modulus1
11y ago
Maybe someone can chime in on why the standard library's std::function can't be implemented as efficiently as this library purportedly is.
15.
▲
by
modulus1
11y ago
> It's strongly typed, with a bewildering variety of types to keep straight. More errors. Odd complaint, especially to be levied against C.
16.
▲
by
modulus1
11y ago
> I have yet to see a convincing argument that it's not http://www.informit.com/articles/article.aspx?p=2213858 Don Knuth: As you say, I've come to believe that P = N P, namely that there does exist an int
17.
▲
by
modulus1
11y ago
This article seems to assume that problems in P are computable no matter the size. If it is shown NP=P, but the best algorithm we have is O(n^100), we still don't have a computer that can actually finish the computation.
18.
▲
by
modulus1
11y ago
Too many times I've 'solved' a Project Euler problem like this: 1. Write a program to solve the problem inefficiently. 2. Look up the sequence F(1), F(2), F(3) ... at oeis.org
19.
▲
by
modulus1
11y ago
This is one of the trouble spots I have with Go. Say I have 3 members that must be set, and 5 optional members. Go's solution is to make the 3 critical members private so that someone using this struct will probably figure out they sh
20.
▲
by
modulus1
11y ago
'Use tagged literals for struct initializations'... I'd rather the compiler help me make sure i've updated all uses appropriately when I add a new field.
21.
▲
by
modulus1
11y ago
Go's success has me confused. My team enjoys using Go, but to me it feels like i'm a prisoner. The designer's slavishly followed opinions are laser focused on reducing variation across go codebases. There's definitely
22.
▲
by
modulus1
11y ago
Something i've been using more lately is Ctrl-R + Register. Great for inserting text in command mode. For instance, you can do this to insert your recorded macro (if it's in register q) as a norm command: :norm Ctrl-R q
23.
▲
by
modulus1
11y ago
It's 7500/month for 5 days/week.
24.
▲
by
modulus1
12y ago
This is the #1 problem I have moving from SVN to Git. With SVN, everything is just in one repo. I can atomically commit to multiple related projects. If i split up projects into individual Git repos, everything is suddenly more complicat
25.
▲
by
modulus1
12y ago
Couldn't get it to work: Couldn't connect to Julia INFO: Couldn't find Jewel package, attempting installation... ----------------------------------------------- We couldn't install Jewel.jl for you. Try using Pkg.add(&q
26.
▲
by
modulus1
12y ago
And they appear to have some way to fill in the part of the photo occluded by the cut-out objects.
27.
▲
by
modulus1
12y ago
There's a ton of variables feeding into the performance of your software. I've spent a lot of time trying to improve cache coherence, branch mispredictions, etc... with very little to show for it. Asymptotic complexity is the bes
28.
▲
by
modulus1
12y ago
I'm always amazed at the speed of these guys. Top guy got it all done in an hour. I don't know if they are geniuses or if they practice this stuff every day.
29.
▲
by
modulus1
13y ago
Mathematics is like a fractal, given some axioms it explodes into an infinite set of true equations. No one has to observe math for it to exist. I think our universe(s) could be the same way, given some natural laws, or equations, everyth
30.
▲
by
modulus1
13y ago
:e . Will show a directory listing, you can navigate the directory tree and open files. Particularly useful if you have a shortcut to change the working directory to the current buffer's file path.
More ›