Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goto11
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
481.
▲
by
goto11
5y ago
> Fighting the people directly who are holding the guns will do less “collateral damage” than uniform discrimination of all Russians. Nato forces directly attacking Russian military in Ukraine would be the start of a third world war. The
482.
▲
by
goto11
5y ago
> The solution is obviously to punish those causing the harm directly, no? You mean direct war against Russia? That would certainly also cause collateral damage on innocents.
483.
▲
by
goto11
5y ago
Dev: If we just rewrite everything in Ruby on Rails and Coffeescript, our productivity will go through the roof after a short time investment. Manager: Sounds great, let me know when you are finished.
484.
▲
by
goto11
5y ago
Splitting a larger function or class into smaller components is not in itself an improvement. Therefore I really dislike quantitative rules like "no more than 200 lines". Simple is better than complex, but splitting an otherwise c
485.
▲
by
goto11
5y ago
The Single Responsibility Principle is the single most misunderstood design principle. Primarily due to its misleading name, I suspect. A common misunderstanding is that a function or class should "only do one thing". This lead to
486.
▲
by
goto11
5y ago
The best case is if the current inner circle "convince" him to step down. A new regime could come to some compromise and blame the fiasco on Putin drinking too much vodka. Popular uprisings against Putin would be a bloodbath and c
487.
▲
by
goto11
5y ago
Surely nobody promised you that sanctions would not have any ill effects on the general population? There is no way to seize Putins war chest directly, so the purpose of the sanctions is to hit him and his power structure indirectly through
488.
▲
by
goto11
5y ago
There still seem to be some deep-seated resentments from some Greeks towards Turks due to the Greek genocide and exodus a hundred years ago. Turks on the other hand have never heard about that (it's illegal to teach in Turkey), so th
489.
▲
by
goto11
5y ago
Putins approval rating is around 70% (measured before the Ukraine invasion). His highest approval rating was about 88% back when Crimea was annexed. So he has broad public support and the population seem to be largely in favor of the expans
490.
▲
by
goto11
5y ago
> It's hard because "everybody is lying" might be one of the lies. Absolutely - note it it a deliberate information warfare strategy to make people doubt all sources equally.
491.
▲
by
goto11
5y ago
> Read sources with different points of view and take the average. This is a horrible algorithm. Someone claims the Holocaust claimed millions of lives, but someone else claims it never happened or at most killed a few thousands. Is th
492.
▲
by
goto11
5y ago
The entire purpose of the sanctions is to make life difficult for Russians. Do you find this unfair? Then tell me the alternative. The West have tried appeasing Putin, but clearly he is not going to stop, ever. This very moment the Russians
493.
▲
by
goto11
5y ago
In Europe you can generally only get political asylum if you are considered personally at risk of persecution. So just disagreeing with the government would not be enough. The current refugee crisis is going to be a challenge for Europe. I
494.
▲
by
goto11
5y ago
Ukraine have "won the narrative" because people sympathize with Ukraine in the conflict, not the other way around.
495.
▲
by
goto11
5y ago
It was used in a MacWeek article which is why Sagan learned about it. So they used it as part of the marketing, it was not just an internal name. Whether you are a fan of Sagan or not, I thing every person should have the right to chose if
496.
▲
by
goto11
5y ago
You can't compare making music and movies. A talented person can make groundbreaking music using only a guitar or a piano. With a mac, a microphone, a midi-keyboard and enough skill, one person can produce professional level recordings
497.
▲
by
goto11
5y ago
> Eventually teenage kids will be making Star Wars at home. Perhaps, but the same was promised when camera and editing equipment became commodities. There are a few examples like the Blair Witch Project, or Tangerine, a great movie which
498.
▲
by
goto11
5y ago
Coppola is a big name but in no way a safe bet. His output is inconsistent and his biggest hits are 40 years ago. And based on the interview, it seems he has a hard time explaining what the movie is even about, which is no-go for Hollywood.
499.
▲
by
goto11
5y ago
If you want to see what the Disney multi-plane camera could achieve in 1940, watch this tracking shot from the beginning of Pinocchio: https://kottke.org/19/12/cool-multiplane-animation-in-this-p... It is technica
500.
▲
by
goto11
5y ago
JavaScript in an uncompromized browser cannot send arbitrary headers. See: https://developer.mozilla.org/en-US/docs/Glossary/Forbidden_... Otherwise a malicious site could just forge the Origin header in the
501.
▲
by
goto11
5y ago
> Really CORS cannot be used to lock anything down. Lets say you have a legitimate website with uses form POST's or GET's to implement cross-site requests to some service on a different domain, authenticated through a cookie. T
502.
▲
by
goto11
5y ago
A cross-origin POST request can be initiated using a HTML form and does send cookies. CORS provides a safer alternative.
503.
▲
by
goto11
5y ago
If that is the case, then SOP does not restrict anything either, since you can still send cross-origin POST requests under single-origin-policy. I don't think this is a useful way to look at things.
504.
▲
by
goto11
5y ago
It was not possible to initiate a PUT or DELETE request from browsers until XMLHttpRequest with same-origin-policy was introduced.
505.
▲
by
goto11
5y ago
You can consider CORS a relaxation on top of SOP (same-origin policy), since CORS allows you to opt-in to certain cross-site requests which are not allowed under SOP. Then again, SOP allows certain requests like 'PUT' and 'DE
506.
▲
by
goto11
5y ago
It is more complex than that, because certain kinds of cross-site requests has always been allowed. GET and POST requests are allowed, but PUT and DELETE is not. For POST requests you can send the request but not access the result. So CORS
507.
▲
by
goto11
5y ago
CORS is confusing to understand because the kind of attack it protects against is confusing. CORS does not protect endpoints against malicious clients, since you can always just make the same request outside of a browser. And it doesn'
508.
▲
by
goto11
5y ago
Just to be clear, it is conjecture that the nickname was due to a dead tooth. It is not exactly clear what the nickname means. The word we translate to "tooth" could also mean "thane", so it could mean something like &qu
509.
▲
by
goto11
5y ago
This also pertains to the much-misunderstood "Single Responsibility" principle. The article argues that modules should encapsulate decisions which may change, i.e shield other modules from effect of such changes. The SRP argues th
510.
▲
by
goto11
5y ago
Thanks!
More ›