Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bazoom42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
271.
▲
by
bazoom42
2y ago
Tintin is notable in that the series was not continued by other artists after the desth of Hergé. While the estate is critized for guarding the IP too zealously, I greatly respect this decision, which is part of what makes it such a classic
272.
▲
by
bazoom42
2y ago
Assuming you are serious - what does it mean for a number to not exist?
273.
▲
by
bazoom42
2y ago
I’m not sure what you are getting at. But in any case the question in the article is not why the visual artists didn’t instead make books for other age groups. I think it is obvious that childrens books have a larger focus on illustration a
274.
▲
by
bazoom42
2y ago
The use of Virtual Machine as in the article is old and well established in computer science. E.g in the LLVM (low-level virtual machine) compiler backend. What do you mean with “in this context”? The article is clearly using the term in th
275.
▲
by
bazoom42
2y ago
Childrens books are targeted a pretty narrow age group compared to books for adults though.
276.
▲
by
bazoom42
2y ago
Sure, but the parent comment claimed only critics liked the movie. This is clearly wrong.
277.
▲
by
bazoom42
2y ago
Still one of the most financially sucessful movies of all time.
278.
▲
by
bazoom42
2y ago
The parent asks about the Difference Engine. Lovelace wrote about the (more powerful) Analytical Engine. Nobody is denying the Analytical engine was a computer.
279.
▲
by
bazoom42
2y ago
Yes I would want the sqrt function to throw an exception if a JSON object was passed instead of a number. Sqrt is only defined for numbers. What would you prefer the code to do in that scenario? Of course a caller passing a json object to
280.
▲
by
bazoom42
2y ago
You don’t need to write boilerplate code to check that. If you use a strongly typed language like Python, you know it will throw an exception if the input is not number-like. Have you often written this type of test? What value do you feel
281.
▲
by
bazoom42
2y ago
What is “something reasonable”? In Pyhon you get a runtime error automatically if you perform an operation not supported by the object, e.g performing a mathematical operation on an object which is not number-like. This is out of the box be
282.
▲
by
bazoom42
2y ago
As I already said, I’m a fan of static typing so you dont have to sell me on it. Static types are great for editor tooling, automated refactoring, documentation, catching trivial errors and typos as you type, and all-round sanity checking.
283.
▲
by
bazoom42
2y ago
If you wrote a test which only checked that sqrt returned a number (any number) for a given input, then that test would indeed be superflous with static typing. But my argument is you would not write such a test in the first place. You woul
284.
▲
by
bazoom42
2y ago
You still need the tests to ensure the code is correct though. A sqrt function returning 27 for every input would be “proven correct” by static typing.
285.
▲
by
bazoom42
2y ago
If this is a strongly typed “duck typed” language, presumably it will throw an error when you apply some mathematical operation to a non-number value. If it is JavaScript you probably get NaN. If you have code which pass a json objects to a
286.
▲
by
bazoom42
2y ago
Static typing is great for other reasons, but it doesn’t replace any tests. If you write a square root function, static typing can just ensure that it always returns a number which doesn’t tell you much. Unit tests can ensure it returns the
287.
▲
by
bazoom42
2y ago
Is “goto” just used to mean “bad and evil” here? Because exceptions are not a goto anymore than a return is a goto. The problem with goto is it can jump to any arbitrary place in your code. Exceptions will only go to catch-blocks up the cal
288.
▲
by
bazoom42
2y ago
How about just not consume their products then?
289.
▲
by
bazoom42
2y ago
Also Seymor gets into trouble because of his fascination with vintage racist carricature.
290.
▲
by
bazoom42
2y ago
That is putting it mildly. Crumbs art is ridiculously over the top offensive. Of course taboo-breaking was the point of underground comics.
291.
▲
by
bazoom42
2y ago
> I don't think you could publish that now. What would prevent you from publishing something like that today?
292.
▲
by
bazoom42
2y ago
Call-with-current-continuation in Scheme blew my mind.
293.
▲
by
bazoom42
2y ago
It is similar to IO in Haskell which also force you to explicitly declare it in the signature (and in turn force callers to be IO), where most other languages (even functional) allow you to do IO anywhere.
294.
▲
by
bazoom42
2y ago
So have someone made a modern revision of Principia using the simplifications made possible by more recent development?
295.
▲
by
bazoom42
2y ago
Map is Select and filter is Where to align with SQL keywords.
296.
▲
by
bazoom42
2y ago
It is not rocket science to implement IQueryable but it is not trivial either since the API is optimized towards ease of use rather then ease of implementation. The Select and Where methods support arbitrary C# expression trees, so the impl
297.
▲
by
bazoom42
2y ago
SQL is based on relational algebra. Poorly some would argue.
298.
▲
by
bazoom42
2y ago
King has good points though. The story and psychology is pretty flat in the movie. What he miss is the movie makes up for it with stunning visuals and atmosphere.
299.
▲
by
bazoom42
2y ago
Do you think adaptations tended to be more faithful in the past? Not my impression, although I guess this is difficult to quantify.
300.
▲
by
bazoom42
2y ago
The discussions around “line noise”-languages are always intersting. Most programmers would agree the ‘/’ symbol is at least as clear as writing ‘divideBy’. The question is how often the symbols are used and if their frequency in code
More ›