Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kofejnik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
511.
▲
by
kofejnik
10y ago
you can do multi-statement and nested transactions even in Rails
512.
▲
by
kofejnik
10y ago
tons of Product Managers need to justify their salary every year, so they come up with new ways to add more crap into already bloated Windows
513.
▲
by
kofejnik
10y ago
Although Rails is very reasonable with its mappings and they are easy to use directly, I prefer Rails for db manipulaton, it is usually much easier and faster to type 'User.find(1).favorites << Product.find(10)' than an equi
514.
▲
by
kofejnik
10y ago
Then how is it better than simply using another webhead? In any case, we need to do heavy calculations AND transactionally update some state. It's possible to do this on slaves I guess with some trickery, but then what's the advan
515.
▲
by
kofejnik
10y ago
this absolutely mirrors my experience
516.
▲
by
kofejnik
10y ago
Wow, is this really the norm? I mean, not knowing SQL and working purely with ORM. This seems weird to me, as I learned SQL first.
517.
▲
by
kofejnik
10y ago
I don't quite agree it's the tools only, my bigger gripe was total lack of scalability. Basically, even for moderately complex calculations, you can cache a lot of slow-moving stuff (such as products, categories, etc) to redis and
518.
▲
by
kofejnik
10y ago
>> With the correct abstractions, you can definitely run tests on save. You definitely can, but you'll have to roll your own watcher and sync, there's no Guard equivalent that I'm aware of. >> SQL is rather readab
519.
▲
by
kofejnik
10y ago
I had to work on/with a rather large backend which used this approach. Most of the logic was in stored procedures, with python/sqlalchemy used as a glue and to process requests. It was absolutely horrible to develop and a nightmar
520.
▲
by
kofejnik
10y ago
I discovered that wearing headphones (even earbuds) for hours is pretty tiresome, so I strongly prefer using my macbook's built-in mic and external speakers. Obviously, this wouldn't work in a coffeeshop situation, but it's n
521.
▲
by
kofejnik
10y ago
FYI, this is valid js (equivalent to alert(1)): [][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!
522.
▲
by
kofejnik
10y ago
This does not apply to Russia, countless other sites allow payment in USD/EUR, so it looks like management decision
523.
▲
by
kofejnik
10y ago
no way they'd allow someone profit off their users like that without getting a huge cut for themselves
524.
▲
by
kofejnik
10y ago
I'd rather prefer them to first stop skimming 50% on foreign exchange. Just today saw this screenshot in my fb feed, someone's reservation cost was converted at 100 rur/eur, whereas market rate is around 70 now. And they forc
525.
▲
by
kofejnik
10y ago
No, because without repeatability and predictability, an academic is usually just a charlatan
526.
▲
by
kofejnik
10y ago
The difference is, when real scientists say they know, they will tell you p-values and usually they can reliably predict things. And when they don't know something, they usually say so. Contrast that with loud aggressive types who will
527.
▲
by
kofejnik
10y ago
So now we have a privileged caste of self-appointed social 'scientists' who get to decide what constitutes racism and who gets their life ruined. this is gold, seriously
528.
▲
by
kofejnik
10y ago
Calling something 'academic' and/or 'feminist' does not give it any additional validity > trying to understand the more well-researched point of view Sokal affair demonstrated full rigor of humanities 'resea
529.
▲
by
kofejnik
10y ago
Just as I was preparing to answer your comment about physicists, you edited it. But wow, is this really your argument - "disprove the results or they are considered valid"? Ever heard of Russel's teapot? Using the method is n
530.
▲
by
kofejnik
10y ago
astrologists and homeopaths would say that, as well
531.
▲
by
kofejnik
10y ago
so your only argument is ad hominem, pure and simple
532.
▲
by
kofejnik
10y ago
There's little evidence social "scientists" are really scientists
533.
▲
by
kofejnik
10y ago
Just stumbled upon exactly this: "Equality Twitter demonstrates the SJW commitment to one of the five fundamental pillars of their social justice ideology. I fucking hate white people and their inconsiderate asses for voting for Trump.
534.
▲
by
kofejnik
10y ago
>> Freedom can include the freedom from harasment yeah, War is Peace or, as they taught is in Scientific Communism classes, "Freedom is a conscientious necessity"
535.
▲
by
kofejnik
10y ago
Strawman, as USA has the highest murder rate of all first-world nations. Counterexample - Switzerland. "The Small Arms Survey of 2007 placed Swiss gun ownership per capita at between 30% and 60%", but with a much lower murder rate
536.
▲
by
kofejnik
10y ago
Devils advocate asks: so maybe it's diversity that causes higher murder rate, not guns? Switzerland has very low crime afair
537.
▲
by
kofejnik
10y ago
The difference wrt kids is that you have an option to refuse care in the long run, eg by giving up kids for adoption. In the violinist example, if lets say a suitable volunteer is available but needs time to come to the hospital, then yes,
538.
▲
by
kofejnik
10y ago
imho the problem with insurance is that it only serves to take money out of medical care, while inflating the costs. It makes sense to insure against terrible driving or burning your house, but taking insurance against something very likely
539.
▲
by
kofejnik
10y ago
The problem with insurance is that literally everyone will have a serious ailment one day. Very few people die instantly, huge majority of deaths are from cancer and cardiovascular
540.
▲
by
kofejnik
10y ago
http://spot.colorado.edu/~heathwoo/Phil160,Fall02/thomson.ht... You wake up in the morning and find yourself back to back in bed with an unconscious violinist. A famous unconscious violinist. He has been found to
More ›