Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adgar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
391.
▲
by
adgar
15y ago
He has 2 general points: 1. Paraphrased: GUIs can present so much more information, so readily, and you should always have your eyes open for all that information all the time because you can always do better if you have more information th
392.
▲
by
adgar
15y ago
Pull request 5: Auto-require every gem. https://github.com/garybernhardt/base/pull/5 Wow.
393.
▲
by
adgar
15y ago
It has vimscript, but vimscript is at best emacs-lisp's inbred nephew who is just as old but huffs glue and has sex with chickens.
394.
▲
by
adgar
15y ago
How does help me use popcnt to find how many bit pairs are used and how many are empty? Edit: whoops, I gotcha. I'll profile this. Edit 2: no I won't profile it, because I don't have the instruction. Damn.
395.
▲
by
adgar
15y ago
The compiler did use `lea` - I used inline asm for the `BSR` instruction and then did the shift and increment in C, figuring the compiler would be smarter than me.
396.
▲
by
adgar
15y ago
Not for my particular encoding, as I have "10" to indicate a terminal node and "11" to indicate a non-terminal. Essentially it's a 3-valued encoding of 'empty', 'terminal', 'nonterminal' for a variable number of children.
397.
▲
by
adgar
15y ago
I never said it was crufty, just that it wasn't successful for me in improving my use-case despite requiring noticeably fewer instructions (not cycles). I am, however, on Athlon 64. That may explain why I found it to be indistinguishable to
398.
▲
by
adgar
15y ago
they are implemented via some kind of alternate "cruft path" using micro-ops that requires extra decode steps, pipeline flush, etc. that slows the processor down. This is exactly the case. Just a few minutes ago I was implementing a parse
399.
▲
by
adgar
15y ago
Sure, I get it. For me, vim is surprisingly similar to drinking scotch: I first tried it at age 19, and wasn't pleased with my experience at first. But a wise mentor informed me it took a little getting used to, showed me how to do it right
400.
▲
by
adgar
15y ago
You can click on NERDTree with a mouse-enabled vim, for the record.
401.
▲
by
adgar
15y ago
If they had called an equal number of people and spread the false rumor, you bet your ass they would.
402.
▲
by
adgar
15y ago
This submission is about startups with a (presumably positive) exit. Despite that restriction, removing the 90% you cite, many employees are still expressing significant disappointed with their resulting compensation.
403.
▲
by
adgar
15y ago
Well, crap. This is why Unicode is hard, folks. Thanks for the correction, masklinn.
404.
▲
by
adgar
15y ago
Roughly 30k is bonuses on top of guaranteed yearly salary, assuming middling performance and current stock prices. You can theoretically double that, or get zero, based on that scale. Though I'm guessing you'd get canned before you get a ze
405.
▲
by
adgar
15y ago
Entry level engineers at google look at ~30k/yr pretax for middle-of-the-road performance with both stock and cash considered. 40k doesn't sound too far off the mark for an experienced engineer.
406.
▲
by
adgar
15y ago
No, you're absolutely right that counting by codepoints penalizes some languages. The surrogates I know best are simple, European ones: accents, for example. The normalization twitter uses according to other posters in this thread (the reco
407.
▲
by
adgar
15y ago
You misunderstand. I'm wondering why they allow only 140 codepoints and not characters . Even in Unicode, 1 codepoint != 1 character.
408.
▲
by
adgar
15y ago
Excuses are for when you know you've done something wrong and wish to be forgiven. I dont think they've done anything wrong, and more importantly, I doubt many at google think they've done anything wrong. Google desktop is ancient and desig
409.
▲
by
adgar
15y ago
I find it antagonistic on the OP's part to call this response "hostile": “we know it’s inaccessible, but we are not fixing it”. That's not hostile, it's honest . What more could you ask for than honesty? If they had responded “we know it’s
410.
▲
by
adgar
15y ago
Each of the pair is a single codepoint; both combine to make one character.
411.
▲
by
adgar
15y ago
Wait, really? I thought normalization form C was the form where composite characters were always used when possible. Why restrict by the number of codepoints (vs characters) if you're explicitly going to use the form which goes out of its w
412.
▲
by
adgar
15y ago
> The effect is that the search is too broad. The problem is more likely to be that the range search is a mapreduce that performs a search for each item in the range. I'm a bit confused to see this so highly upvoted. I'm not sure you un
413.
▲
by
adgar
15y ago
I don't think it's possible with the typical git/github plugins out of the box. However, Jenkins lets you run any manner of scripts at different parts of the build. One simple (perhaps too simple) way to implement this would be to run a scr
414.
▲
by
adgar
15y ago
I like how, in the screenshot, line 1337 is presently active. That just can't have been an coincidence.
415.
▲
by
adgar
15y ago
Computers might not be profitable for HP, but supposedly they drive other, more profitable sales. (I'm not sure what those other products are, though!) Printers and ink, baby. Example tie-in: Kid going off to college? Tuition is expensive
416.
▲
by
adgar
15y ago
And when China hacks your server, takes a little bit longer, and inserts a rule that only serves the malware JS to Chinese-allocated IPs, will your monitor systems be checking from mainland China, too? Maybe they don't modify your app's cod
417.
▲
by
adgar
15y ago
for each connecting user, serve malware javascript. For most web servers, this involves replacing a file. And since your attacker can just go to the page with crypto JS to receive the "clean" version, s/he can prepare the malware JS in ad
418.
▲
by
adgar
15y ago
Well, unlike this thread, it only has 2 people spreading misconceptions and inaccuracies about cryptography. And also unlike this thread, they're heavily downvoted. So there's that.
419.
▲
by
adgar
15y ago
Actually, I submitted it because I saw it on Reddit, liked it, and was surprised to see it wasn't submitted here. Though somebody may have submitted it to Reddit after seeing your link on HN.
420.
▲
by
adgar
15y ago
SSL/TLS is a better solution. I find it ridiculous you suggest that browser-based JS is better , frankly. Comodo was breached and the certificates were revoked using the theoretically-sound, tested, and implemented PKI solution. While yo
More ›