Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goto11
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
841.
▲
by
goto11
5y ago
> That experience ought to tell you have a reasonable chance of needing to be joined relationally at some point? Then the smart thing to do is to interpret that as a 1NF violation. The smart thing is to separate phone numbers into separa
842.
▲
by
goto11
5y ago
> it's not about formal definitions. It's about whether you're conceptually putting multiple pieces of data into a single field. Which has everything to do with first normal form. I'm really confused by this argument.
843.
▲
by
goto11
5y ago
In those cultures, would you also call your boss at 3 in the morning and yell at them?
844.
▲
by
goto11
5y ago
Codd actually use a synthetic identifier for employee ID in an example in the original paper. So I don't think he is against synthetic identifiers in principle. But if a natural key exist of course a synthetic key need not be introduce
845.
▲
by
goto11
5y ago
> I don't think delimited values representing a table in a column can be considered normalized. The question is what "normalized" means. It does not mean "best practice data modelling" which is a much broader sub
846.
▲
by
goto11
5y ago
A tangential point is that the syntax coloring configuration in the editor should emphasize comments. If comments are de-emphasized (e.g. grayed out compared to code) you will get bad comments and comments out of sync with the code.
847.
▲
by
goto11
5y ago
> I've heard from people close to him that that's just the way he is and you have to get used to it. Perhaps, but usually bullies are only bullies when they are in a position of power and are perfectly capable of behaving diffe
848.
▲
What does First Normal Form mean?
(cargocultcode.com)
76 points
by
goto11
5y ago
|
121 comments
849.
▲
by
goto11
5y ago
Ideas are cheap. Investing in following a particular idea is costly and risky, especially since this also have to opportunity cost of not following a range of other ideas, given any business have limited resources. Such stories of course ha
850.
▲
by
goto11
5y ago
Nostalgia never changes. In 20 years todays kids we will be lamenting how everything was better, more fresh, more fun and more innocent back in the 2020's.
851.
▲
by
goto11
5y ago
Programming languages shape the way we think about problems. I know linguists reject the Sapir-Whorf hypothesis for natural languages, but I definitely think it is true when it comes to programming languages. This means the language you are
852.
▲
by
goto11
5y ago
That was Theresienstadt, not Auschwitz. Theresienstadt was specifically staged as a "model camp" for propaganda purposes.
853.
▲
by
goto11
5y ago
Surely a button is more accessible than a div regardless?
854.
▲
by
goto11
5y ago
Yes but what is the the cost of accessibility? How much more expensive is it to use a <button> compared to a <div> with attached event handlers?
855.
▲
by
goto11
5y ago
> That said do take accessibility seriously, it will never be justified by profits but doing the right thing is a feeling no amount of money can buy. Why can accessibility not be justified by profits? If you sell something, lack of acces
856.
▲
by
goto11
5y ago
There were always tradeoffs involved. A site might be legally required to be accessible, or it may be a business decision. Layouts hacked together with floats were a mess to create and maintain, but tended to adapt better to mobile displays
857.
▲
The spacer HTML Element
(developer.mozilla.org)
3 points
by
goto11
5y ago
|
0 comments
858.
▲
by
goto11
5y ago
There is a lot of complaining in this thread about English teachers over-interpreting literature. But I think it is pretty clear that the question Lord of the Flies tries to answer is not "what would happen to a bunch of boys stranded
859.
▲
by
goto11
5y ago
Tables were never reliable as a tool for layout, since the rendering algorithm was never specified in detail. IE just tried to reverse-engineer Netscapes rendering, Mozilla reverse-engineered IE and so forth. Now if you add 1x1px spacer gif
860.
▲
by
goto11
5y ago
> If you think of a table as a discrete coordinate system then it's fairly obvious. Unfortunately tables did not work like a coordinate system, since cells would grow to accommodate their content. Combined with spacer gifs, tables c
861.
▲
by
goto11
5y ago
> It didn’t matter if I was using the market-dominating behemoth that was Netscape Navigator or the scrappy, fringe-niche new kid Internet Explorer: very little seemed to line up with the specification, and almost nothing worked consiste
862.
▲
by
goto11
5y ago
The is a big difference between a template and an algorithm.
863.
▲
by
goto11
5y ago
There is a big difference between scripts conforming to a template and scripts being generated by an algorithm.
864.
▲
by
goto11
5y ago
So in another subthread I compared two code samples. One in Haskell: main = do putStrLn "Hello, what's your name?" name <- getLine putStrLn $ "Hello " ++ name And one in
865.
▲
by
goto11
5y ago
Of course you can have purity in JavaScript. This function is referentially transparent and pure: (a, b) => a + b; While this function is not pure: (msg) => console.log(msg) However by your definition I guess the above
866.
▲
by
goto11
5y ago
Well JsonLogic is basically Lisp expressions in Json syntax which is kind of the worst of both worlds IMHO. It seems weird to me to pass a syntax tree over the network rather than just the syntax. But if the expression is not supposed to be
867.
▲
by
goto11
5y ago
HTML still have a definition of valid HTML which is reasonably simple to parse. Now it also have exact specifications for how to parse invalid HTML which is of course much a more complex task.
868.
▲
by
goto11
5y ago
Parsing is a solved problem. The same way solo-climbing the Mount Everest without supplemental oxygen is a solved problem.
869.
▲
by
goto11
5y ago
Well if the API moves to a different domain name, HATEOAS will not help you one wit. You still need to hardcode the entry point. I still don't see any reasonable scenario where an API would change the (site-relative) URL's without
870.
▲
by
goto11
5y ago
Btw google have something almost exactly like this: https://github.com/google/cel-spec
More ›