Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tom-lord
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
tom-lord
6y ago
There's no such thing as a performance measurement "on all workloads".
2.
▲
by
tom-lord
9y ago
It's written in the article?
3.
▲
by
tom-lord
10y ago
That was the whole point in theory, yes. But in reality, almost all new gTLD registrations are being made as brand protection, and redirecting to the company's existing .com domain. Only a very small minority of websites are trying to
4.
▲
by
tom-lord
10y ago
Why does there even need to be such thing as a TLD? :P I'm guessing the idea is similar to .London, .NYC, .Amsterdam, ... i.e. it would be used for a geographic indicator/market.
5.
▲
by
tom-lord
10y ago
> Restricted gTLDs should have only been for trademarked company names, like .google or .microsoft Unfortunately however, there are a lot of grey areas... To name a few: * Amazon have been in a long dispute with the Brazilian governmen
6.
▲
by
tom-lord
10y ago
Shell/batch scripting can often be useful in the devops world, where you have no guarantee that any additional tools (python, ruby, perl, powershell, whatever) wil be available. Shell scripts are guaranteed to be runnable on all machin
7.
▲
by
tom-lord
10y ago
> If the POSIX standard is going to require backreferences, then it should also require a non-backtracking implementation for regular expressions without backreferences At least in some regexp engines, this is possible. There is a concep
8.
▲
by
tom-lord
10y ago
No one really knows for sure, but.... https://en.wikipedia.org/wiki/Planck_length
9.
▲
by
tom-lord
10y ago
Yes, however that was 3 and a half months ago -- and as far as I can tell, there's been no movement towards doing so.
10.
▲
by
tom-lord
11y ago
Funny how the conclusion is basically "Don't use `var`, use `let` instead" - even though almost all documentation/examples exclusively use the `var` keyword!
11.
▲
by
tom-lord
11y ago
> Designers suck at code. Coders suck at design. Keep that shit separate. I currently work in a small-ish company, where I am the ONLY person designing/developing multiple systems. (I do get some input now and then, but it's m
12.
▲
by
tom-lord
11y ago
[1] pry(main)> 10..100 => 10..100 [2] pry(main)> (10..100).class => Range [3] pry(main)> (10..100).to_a => [10, 11, 12, 13, 14, ..., 99, 100]
13.
▲
by
tom-lord
11y ago
Yes, you can. Ordering has been guaranteed since ruby v1.9, very much intentionally. The implementation of a ruby hash is now as a doubly linked list [0]. This has inevitably caused a slight performance hit, but the benefits far outweigh
14.
▲
by
tom-lord
11y ago
* No comparison with other time periods, and their respective tuition fees. * No comparison with other countries, and their respective policies. * No data on where these students graduate from, or in which subjects, or with which grades, or
15.
▲
by
tom-lord
11y ago
> this would never pass a code review, the expectation of "foo?" is that it returns true/false. 95% of the time, yes. However, the "official" rule is simply that such methods must return a value that can be EVALU
16.
▲
by
tom-lord
11y ago
> According to his numbers, the mode is precisely 0. I was referring to the fact that the graphs - e.g. https://theoverspill.files.wordpress.com/2015/10/screenshot-... - are using using mode = 0.5
17.
▲
by
tom-lord
11y ago
I'm confused... How can the mode number of searches be 0.5?! "More people perform half a search every day, than any other amount." -- What?! I guess maybe that's more like "the mode over 30 days, divided by 30"
18.
▲
by
tom-lord
11y ago
> Fingerprints are usernames, not passwords, even if some people use them as passwords. This doesn't make sense. You cannot "use a username as a password". Fingerprints, retina scans, DNA samples, etc are biometric passwor
19.
▲
by
tom-lord
11y ago
It's also worth noting that (at least in the UK) such notice periods are not legally binding. You can only be forced to give a notice period up to your payroll pay frequency. So for example, if you get paid monthly then you cannot be s
20.
▲
by
tom-lord
11y ago
> the claim that [...] What are you talking about? The comment I replied to didn't make any such claims! > passwords must be changeable Not necessarily. What about fingerprints? > usernames need not be changeable Not necessari
21.
▲
by
tom-lord
11y ago
There are plenty of sites that allow you to change your username!
22.
▲
by
tom-lord
11y ago
> If I could stealthily patch the compiler for any language supporting the "\v" escape so I'd receive mail whenever it occurred in source code, then I could trace actual uses of it. I'm willing to bet that all the ma
23.
▲
by
tom-lord
11y ago
Ohh right, so your plan would be to essentially check for third-party javascript things running on the same page? This would be a really easy "security" measure to circumvent, though - I could literally just delete your monkey pat
24.
▲
by
tom-lord
11y ago
I don't know much javascript, but that looks extremely error prone to me. How would it behave in different monitor sizes? With zoomed in/out screens? On mobiles, tablets, etc? And it would still be pretty easy for a cheating scrip
25.
▲
by
tom-lord
11y ago
Umm... What?? If you did this, then surely EVERYONE would be flagged as a cheater! Clicking the button "legitimately" would call the same function!
26.
▲
by
tom-lord
11y ago
https://gist.github.com/tom-lord/6aee965d9c6a9ca63093
27.
▲
by
tom-lord
11y ago
Here's the full (nicely formatted) source code, that I put together when the button was new and shiny: https://gist.github.com/tom-lord/6aee965d9c6a9ca63093
28.
▲
by
tom-lord
11y ago
How do you fix education? By fixing the poverty. How do you fix poverty? By fixing the education. Oh wait, hang on...
29.
▲
by
tom-lord
11y ago
You can also achieve this by doing: tail -f whatever.log | grep --color=auto -C99 exception And there are other ways pausing/scrolling back, such as tmux's scroll mode.
30.
▲
by
tom-lord
11y ago
Voting is not a fair analogy at all, because if you think both the main candidates are bad, you can always vote for a minor party! Sure, they almost certainly won't win, but you're sure as heck not making the situation any worse
More ›