Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Morg
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
Morg
14y ago
(just to be clear, I have no clue wether HIV was assisted by some military programmes, but I can safely say such "mistakes" have been made in the past by the same army, like when they used to test nukes for example) That means I just used t
2.
▲
by
Morg
14y ago
Indeed it would affect everyone just as much - still, I will spread MySQL knowledge (not hate) whether or not there is a reason for it. And I'll say it time and time again, If you think MySQL does not have major issues as a DBMS, you should
3.
▲
by
Morg
14y ago
First, I don't believe I need real security, that protects me from most of the worries you cited. I know it's not safe, and I don't care. It's like mail or gmail or anything, I know someone has access to my data, and I don't care because it
4.
▲
by
Morg
14y ago
Exactly, take the problem / solution, reduce it to 5 words tops and it'll make a standard short intro that people think is cool these days. From what I can gather it's about a platform to make readable content more accessible, more dynamic,
5.
▲
by
Morg
14y ago
Annoying UI really . I hate the open close thingies, can't quite see the diff between one and the next inside, the I is either too big or ugly, and the fat grey bar in the bottom is ugly as well, prolly needs some rounding or whatever. I kn
6.
▲
by
Morg
14y ago
Well maybe you should check that again. Your approach sounds like you should have stored procs instead. Using prepared statements or variable binding to fight SQL injections is not the best idea, although its widespread. In most cases where
7.
▲
by
Morg
14y ago
I trust noone. except maybe the pgsql guys. However, imho on the topic of SQL injection, either escaping the escape characters is enough or you should change DBMSs / APIs right away. But really, security without reading sources is blind mor
8.
▲
by
Morg
14y ago
Alright, you want details ? During the testing of nuclear weapons, the US had no problem testing the secondary effects of nukes through radiation far beyond the blast zone, by putting boats with soldiers to watch the thing. It was widely kn
9.
▲
by
Morg
14y ago
Exactly. OSX had very bad security before the first big news on virus's, and it won't have good security before another thousand big news on virus's, trojans and backdoors.
10.
▲
by
Morg
14y ago
As usual, when you trust a piece of code without reading the source, the fail will be strong. This is like java's GUID that are random but not unique, etc. you can't guess it from the function name or description, you need to know the inter
11.
▲
by
Morg
14y ago
HIV (just to be clear, I have no clue wether HIV was assisted by some military programmes, but I can safely say such "mistakes" have been made in the past by the same army, like when they used to test nukes for example) Luckily this time it
12.
▲
by
Morg
14y ago
Yet everyone uses much slower RAM in servers and will likely continue to do so, all the while caches swell, etc. Optimizing memory usage is almost irrelevant today, until it starts being a bandwidth problem, and that's still solvable but on
13.
▲
by
Morg
14y ago
As I said above, that's a better implementation of the same solution which is, pick two states and alternate by using the knowledge that if the previous is odd the next is even. In essence your solution and the strcmp one follow the same lo
14.
▲
by
Morg
14y ago
You are repeating a point of view you do not understand. You don't know WHY people started saying that, WHEN they started and WHO started. It was started by old people a while ago who told even older people that for the simple stuff they we
15.
▲
by
Morg
14y ago
I love fairy tail Indeed you can do much better, flipping boolean + cmp if you only need two states, and integer + array if you need three or more - main thing is, even the "stupid" string comparison is much cheaper than a modulus, and it's
16.
▲
by
Morg
14y ago
Indeed, I should drop the agression. However, the subject is not optimization but coding correctly in the first place. And the anti-optimization argument would be correct if: -typing represented more than 1% of dev work -code was never reus
17.
▲
by
Morg
14y ago
Yes, sometimes the compiler can compensate bad decisions from the programmer, the jvm can collect your garbage etc. - none of these will save you from stupid data models and idiotic objects.
18.
▲
by
Morg
14y ago
I did write it like that yes. And it would still be faster than a mod, too, even though one byte might be better for registry usage, it won't affect cycles that much iirc.
19.
▲
by
Morg
14y ago
If said coworkers are actually trying to improve and can take the advice peacefully, I will deliver it peacefully. The others I will be pleased not to work with.
20.
▲
by
Morg
14y ago
I suppose you are referring to the very particular case of the right shift, but as much as that's easily predictable, it's a corner case. Who knows maybe the trend will be 3 colors instead of two. Or maybe it'll be another instruction that'
21.
▲
by
Morg
14y ago
For people using mysql, that kind of query really isn't such bad SQL at all.
22.
▲
by
Morg
14y ago
Indeed it should never be spelled wrong, as it means in itself in latin, my bad really. Alt rows are a simple concept, the first row is odd, the next is even, etc. A good step forward is an if/then/else or a switch or an unrolled loop - a h
23.
▲
by
Morg
14y ago
IT DOES NOT COST MORE TIME TO CODE CORRECTLY Some approaches are NOT acceptable, it's not about optimizing prematurely, it's about coding obvious crap. While you may be used to the usual "code crap, fix later" and "waste cycles, there are t
24.
▲
by
Morg
14y ago
Someone should add basic numbers like ns count for 63 cycles modulo and that type of stuff - That'll help bad devs realize why putting another useless cmp inside a loop is dumb, and why alt rows in a table should NEVER be implemented by us
25.
▲
by
Morg
14y ago
Indeed the title made the content look shitty. Workflow engine means an engine to drive workflows - at least for me. This thing is meh, no reason to use it over existing C tools, I wonder why someone rererererereinvented the (not actually r
26.
▲
by
Morg
14y ago
I think there's a typo in the price, they meant to sell it for 29 bucks and they put 329 instead.
27.
▲
by
Morg
14y ago
It IS going to burn when you open your eyes.
28.
▲
by
Morg
14y ago
Do you really think it makes sense to give voting rights to people who don't understand the issues, don't care and don't have a clue on how to fix them ? That importance coefficient used to exist but it was mostly a measure of social influe
29.
▲
by
Morg
14y ago
I have no clue as to how life was before books. I can tell you I have incredibly good and fresh memory but it's much worse when it comes to web-accessible stuff, like what's PHP's function for this or that, while at the same time I can reca
30.
▲
by
Morg
14y ago
Just to clarify my cryptic statement: We're all incredibly less intelligent than we could have been. Trying to supplement the brain with technology while we haven't even started trying to develop our intelligence, is a stupid idea imho.
More ›