Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goto11
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
631.
▲
by
goto11
5y ago
But would mean something different. Also it doesn't make sense to call those people Austrian. The point of the phrase "present day Austria" is to describe the geographical area which is now Austria, while recognizing Austria
632.
▲
by
goto11
5y ago
The title is perfectly fine. "Present-day Austria" means the geographical area which today is Austria.
633.
▲
by
goto11
5y ago
So if you remove drug-related crime from the statistics, suddenly US look a lot less violent? That is a great way to solve the problem!
634.
▲
by
goto11
5y ago
A lot of identity politics hinge on whether the Eastern Roman Empire is considered the evolution of Rome or if the Roman Empire fell with the city of Rome. Of course this is a "Ship of Theseus" situation, so the discussion typical
635.
▲
by
goto11
5y ago
> In fact if you remove a single demographic from gun violence statistics, the US becomes one of the top 5 or so safest nations, in spite of the highest rate of gun ownership in the world. Did you also remove "a single demographic&q
636.
▲
by
goto11
5y ago
What textbook would that be? Fascism is a political ideology, not just another word for being an asshole.
637.
▲
by
goto11
5y ago
> making everything easy for the novice at the expense of making it difficult for the seasoned professional. This would be a valid concern if there was only a single programming language in the world. In reality there are thousands, some
638.
▲
by
goto11
5y ago
Some protestant denominations believe the host is the body of Christ, others that it only represent the body of Christ.
639.
▲
by
goto11
5y ago
Sounds like you think everyone should learn programming the exact same way you did?
640.
▲
by
goto11
5y ago
Do you have experience teaching programming to beginners? Languages are not equally easy to learn. Both Python and C++ are designed to solve problems, but Python is much more approachable for beginners - perhaps because it was heavily inspi
641.
▲
by
goto11
5y ago
Bad language design is not the fault of the student. After all, languages exist which doesn't have that problem.
642.
▲
by
goto11
5y ago
Yeah "simple" is one of the most abused words. Everyone agrees simple = good when it comes to programming, but what does it actually mean? Often is means "easy to understand", but what is easy to understand depend on pri
643.
▲
by
goto11
5y ago
So you learned Basic and Pascal before you tackled C and C++, but you think other students should start directly with C or C++?
644.
▲
by
goto11
5y ago
Yeah but how do you then know the "independent scientists" actually reproduced the results and didn't just make it up? In the end it comes down to trust in the process and the community.
645.
▲
by
goto11
5y ago
That would mean you ultimately have to personally reproduce the results under controlled conditions before you can trust anything. This is just not realistically possible for anybody, so in reality you have to trust somebody.
646.
▲
by
goto11
5y ago
The problem with monads is they are only really practical in a language with built-in syntactic sugar to cover the boilerplate. In any other language you will surely go "whats the point?" because using monads will invariably turn
647.
▲
by
goto11
5y ago
Consider it in the context of a framework like React. The type of setState() is defined as Partial<State>. The framework cannot just copy paste the type definition with properties set to optional, since the state type is defined by th
648.
▲
by
goto11
5y ago
It it just a mistake or oversight in the definition of the language. It doesn't really make logical sense that a null is an object but a string is not an object. It would kind of make sense in Java, where only object types can be nul
649.
▲
by
goto11
5y ago
Monads are a pattern for function or method chaining.
650.
▲
by
goto11
5y ago
> Other languages refer to null as their billion dollar mistake The "billon dollar mistake" as described by Tony Hoare was not nulls per se. The billion dollar mistake was having a type system where null was a member of every
651.
▲
by
goto11
5y ago
Utility types are useful for example in the React API. You have a "state" defined as a set of properties. Then you have a setState() method where you return the set of properties you want to update, which may be a subset of the fu
652.
▲
by
goto11
5y ago
Depends on how much you can learn on one day I guess, but TypeScript have lots of features which should be learned before Utility types. For example type parameters, type unions, the role of null and undefined, type assertions etc.
653.
▲
by
goto11
5y ago
As someone from outside the US it seems bizarre that Hollywood is considered "left" in the US. Hollywood glamorizes American militarism. When military engagements is criticized, as in many Vietnam movies, the angle is that it was
654.
▲
by
goto11
5y ago
I don't think anyone deliberate writes unmaintainable code except as a joke. Hard to maintain code happen when some other objective takes priority - performance, abstractions, architectural purity, DRY or whatever else a developer migh
655.
▲
by
goto11
5y ago
Almost any advice is useless if you write code purely for your own enjoyment. This is why the context is so important. If you enjoy writing convoluted unmaintainable useless code then who is to stop you? Just understand most advice does not
656.
▲
by
goto11
5y ago
Obama wasn't awarded it because of his skin color. He was awarded it because of his stated foreign policy ambitions which was in contrast to the Bush-era warmongering and ignoring of international treaties like the Geneva Convention. O
657.
▲
by
goto11
5y ago
The important quality of NAND and NOR gates is they can be used as inverters. Send the same value to both inputs and the output will be the inverse. Without an inverter you can't really get anywhere. There are 8 possible truth tables f
658.
▲
by
goto11
5y ago
Using only NAND-gates, you can implement any other logic gates which means you can build an entire programmable computer using only NAND-gates. For example, if you send the same signal to both inputs of a NAND gate, you have an inverter, i.
659.
▲
by
goto11
5y ago
Most databases have weak support for cross-table constraints. I believe in SQL Server you can define an indexed view on the union of the tables and then apply a unique constraint on the foreign key.
660.
▲
by
goto11
5y ago
E.F.Codd defines first normal form as eliminating nested relations (in "A Relational Model of Data for Large Shared Data Banks" which introduces the relational model). "Atomic" in this context just means any value which
More ›