tomtomtom1 | 5 years ago | on: The use of `class` for things that should be simple free functions
tomtomtom1's comments
tomtomtom1 | 5 years ago | on: A No. 1 hit vanished from Poland’s charts – it’s not going quietly
a More concrete example is "On February 8, 2018, it was reported that Qatari leaders had reassured the leaders of Jewish American organisations that Al Jazeera would not be airing its companion documentary series on the Israel lobby in the United States. According to Haaretz, the Qatari government had reportedly hired Republican Senator Ted Cruz's former aide Nicolas Muzin to open communications channels with Jewish American organisations. Earlier, the network had sent letters to several American pro-Israel organisations informing them that their employees would appear in the documentary. These letters generated speculation that the Qatari government had reneged on its earlier promise to block Al Jazeera from screening the controversial documentary which, like the earlier British series, had utilized clandestine footage and recordings of pro-Israel activists." (https://en.wikipedia.org/wiki/The_Lobby_(TV_series)
tomtomtom1 | 5 years ago | on: Students are failing AP tests because the College Board can’t handle HEIC images
from my experience converting ppt/word to pdf is a common enough use case that I would've assumed the majority of non-tech people run into it.
Latex is also a common case where you run into file extensions.
note I'm not expecting them to understand the difference between extensions, just what they mean and how to google how to convert between them.
tomtomtom1 | 5 years ago | on: Students are failing AP tests because the College Board can’t handle HEIC images
How is it possible that students that are being considered for "advanced placement" are not familiar with file formats?
how horrible and backward your education system must be? This belongs to basic literacy in the modern world.
Note we're not speaking about old people who were exposed to files for the first time while they had to balance a family life and other responsibilities.
We're speaking about people that were forced to spend more than half of their lives learning !!!
tomtomtom1 | 5 years ago | on: The Intel Comet Lake Core i9-10900K, i7-10700K, i5-10500K CPU Review
[1] - https://www.notebookcheck.net/Mobile-Processors-Benchmark-Li...
tomtomtom1 | 5 years ago | on: Ask HN: I just started my first real workday, any tips?
Being seen as "local" may have its benefits but I doubt that being one is more beneficial.
tomtomtom1 | 5 years ago | on: Write Libraries, Not Frameworks
That's because people in general write to think.* The level of deep thought achieved through writing is harder to achieve beforehand.
In the same sense, the level of deep thought achieved through writing code, is hard to achieve beforehand. It's actually worse because your engineers, dangled in this web of classes, won't be able to think about the big picture for themselves.
An Architect thinks in terms of what sounds good, what is beautiful in OOP-land not in terms of what is easy to write, and what's performant to implement.
One poignant example is the interviewer who wants you to implement chess pieces as classes. which sounds good in the architects' world but is blatantly insane if you think about the actual code and the actual challenges you're facing.
* writing to think and writing to be read are conflicting goals that why editors exist.
tomtomtom1 | 5 years ago | on: Dart team posts an example of fast code with 22ms for a “Hello world”
tomtomtom1 | 5 years ago | on: 0.999...= 1
tomtomtom1 | 5 years ago | on: 0.999...= 1
why not? why can't an infinitely small number exist?
tomtomtom1 | 5 years ago | on: 0.999...= 1
tomtomtom1 | 5 years ago | on: 0.999...= 1
why would it terminate at countable infinity?
tomtomtom1 | 5 years ago | on: 0.999...= 1
yes, in the standard real numbers 1 = 0.999.., but people have dealt with numbers like "pi" and "sqrt(2)" before the standard real numbers were defined.
Hence the question, if we define such a system such as 0.333... != 1/3. what are the consequences?
by 0.3333... I mean a countably infinite sequence of 3s.
tomtomtom1 | 5 years ago | on: 0.999...= 1
what are the properties that we would lose?
tomtomtom1 | 5 years ago | on: 0.999...= 1
as in 1/3 does not have a decimal representation. you can only approximate it but never reach it.
tomtomtom1 | 5 years ago | on: 0.999...= 1
1/3 * 3 could still be equal to one. but 1/3 != 0.33333... that is, 1/3 is not representable in base 10. Which makes way more sense.
I wonder if taking 0.9999.. != 1, that is 0.0000...1 exists would allow us to reslove, the fact that some possible events have probability 0?
- "Object-Oriented design" ( class diagrams, use case diagrams, Abbott Textual Analysis... and all the bike bikeshedding fun of UML, Rational Unified process..) generally pushed by the likes of IBM, Oracle, and heavily taught in SE courses.
- a watered-down version of the above, where formalism is discarded, but the first problem-solving step is to decompose the system into classes. an infamous example is the chess-board interview. I think the author is criticizing this part.
I think the majority of people don't hate things like vector<int> or set<int>, despite them being classes.