Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rvr_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
rvr_
2y ago
Article's premise: - software development practices are invariable to company size and stage Reality: - team size dominates methodology and user base size dominates architectural decisions
2.
▲
by
rvr_
3y ago
In my experience most apps designed around relational databases will benefit from: - one-to-many and many-to-many mappings - soft delete - log tables / append-only tables - entity-attribute-value - meta columns (creator_id, timestamp,
3.
▲
by
rvr_
3y ago
For the "play chess" example a state machine is the perfect place to begin modeling. Games, as a rule, are event-driven and are commonly coupled to a event-loop that triggers the transitions of the state machine. I think top-down
4.
▲
by
rvr_
4y ago
https://www.w3schools.com/jsref/event_onbeforeunload.asp
5.
▲
by
rvr_
4y ago
Pointing out that the solution is not perfect is fine. It helps future maintainers, even if self. The worst offenders don't even realize the badness of their implementations, intriguing further adventurers of their code's true int
6.
▲
by
rvr_
4y ago
My unpopular opinion is that you only forget what you have not learned and that you only learn what you do. The vast majority studies only to pass exams. So your situation is pretty normal.
7.
▲
by
rvr_
4y ago
This should be a crime, like selling spoiled food.
8.
▲
by
rvr_
4y ago
TFA is nonsense. Hard deletes should almost never be used, period. The application credentials should not even have permission to issue delete statements, thus reducing potential damage from bad actors. Things like ON CASCADE DELETE should
9.
▲
by
rvr_
4y ago
Truth is, our lizard brains are always forgetting the good stuff that happened but remembering every detail of some random shameful event nobody, except you, cares about.
10.
▲
by
rvr_
4y ago
School shooting is a memetic behavior, on the classical sense disseminated by R. Dawkins, not Internet's one. Can we rephrase the problem as: how do a society gets rid of a bad meme?
11.
▲
by
rvr_
4y ago
Please don't use this project as it makes no attempt to avoid the database file from being directly downloaded. Any sane PHP project (of witch WP is not one of) has it's index.php (and any user-facing stuff) inside a 'public&
12.
▲
by
rvr_
4y ago
It's also becoming harder to buy dumb refrigerators above a certain size.
13.
▲
by
rvr_
4y ago
Me too. But they have FB accounts, IG accounts, TikTok accounts and so on. The share of people without any kind of social media presence or consumption is shrinking everyday.
14.
▲
by
rvr_
4y ago
One way to approach crime is to make the risk too big. What about punishing with death those who do identity theft and impersonation? Our society tolerates too much crime.
15.
▲
by
rvr_
4y ago
Next time you need to take a look at PHP, those two problems can be solved by php-apcu for caching and proxysql running side-by-side with php-fpm on each server.
16.
▲
by
rvr_
4y ago
The pervasive use of ORMs with lazy-loaded relationships works like a bunch of left joins, even if they are done as separated queries.
17.
▲
by
rvr_
4y ago
"Realize that every code has a life cycle and will die. Sometimes it dies in its infancy before seeing the light of production. Be OK with letting go." I cannot disagree more. Code lingers. I work on an 13 years old code base that
18.
▲
by
rvr_
5y ago
I don't test private methods and I like to use them a lot. When refactoring, if a private method is unused, both IDE's and linters will warn you, easing the process of deleting dead code. If you extract private methods into separa
19.
▲
by
rvr_
5y ago
Bolivia is also a huge market for cars stolen in Brazil.
20.
▲
by
rvr_
5y ago
20 years without meaningful improvements on memory access ?
21.
▲
by
rvr_
5y ago
I am mostly on the SPA-hating camp. There are two issues that annoy me the most. They are not a framework's fault but some kind of "mental model" fault: First. When doing SPAs, APIs tend to leak a lot more info than needed, o
22.
▲
by
rvr_
5y ago
I think you Ryzen CPU is being throttled. It is not able to sustain it's burst speed. You should keep an eye on CPU temp and clock. My benchmarks on hardware that have less single thread power than yours: Intel(R) Xeon(R) Gold 6240R CP
23.
▲
by
rvr_
5y ago
Things got cheaper because they are being made where wages are cheaper. At the end of the day, everything that is a expense to me is a source of income to somebody else. Only robots don't get paid.
24.
▲
by
rvr_
5y ago
Software is hard, but unlike many other professions, you can do useful work at almost any level of the learning curve. Even for those of us with many years of experience, there's always something new. You can use an argument within the
25.
▲
by
rvr_
5y ago
And there's still people who don't believe in 10x programmers...
26.
▲
by
rvr_
5y ago
I think you almost got the answer to your own question. For me, quality software is made by very small teams of very competent people improving the software for a long time. We don't know much about the vast amount of closed software,
27.
▲
by
rvr_
5y ago
This must be some form of late April 1st joke. The samples are even SQL-injection! We need to stop modifying basic protocols like HTTP. We should've stop at 1.1.
28.
▲
by
rvr_
5y ago
PHP's null coalescing operator: firstWorking() ?? getItFromTheCache() ?? getItFromTheDataBase() ?? getItFromAnExternalApi() ?? computeItTheSlowWay() ?? defaultValue; Perl OR short-circuit: firstWorking() or getItFromTheCache() or getIt
29.
▲
by
rvr_
5y ago
If self moderation is not working, plain old avoidance/abstinence is the way to go. I am not capable of moderate game playing, so I have no games installed on any device of mine.
30.
▲
by
rvr_
5y ago
I follow the same testing philosophy. No mocking, except for external dependencies (mainly 3rd party APIs). No cleanups, except for problematic cases. RDBMS cleanups, when needed, are done by enclosing tests with transactions and explicit r
More ›