Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mojuba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
601.
▲
by
mojuba
7y ago
The quality can be measured by cost of maintenance or more likely by the costs associated with warranty repairs (and product returns) incurred by the company.
602.
▲
by
mojuba
7y ago
Yes it's regulations, but there's another factor too: population density. In Paris for example, you can find food markets where stuff is brought from small farms and is ridiculously cheap, right in the city central areas, though o
603.
▲
by
mojuba
7y ago
Yes, with all that in mind the complexity I see in the generated code still far exceeds my intuitive expectations. Of course I'll end up removing protocols from critical parts of my code, but like I said in the other comments, then wha
604.
▲
by
mojuba
7y ago
Yes, collections within collections (or any structs for that matter) is another thing in Swift that you ignore at first, until you discover some side effects and realize how horribly inefficient your code might have been so far. But to be f
605.
▲
by
mojuba
7y ago
In some areas Apple's documentation is dismal to the point of being ridiculously useless. Like this (from CoreAudio): mWordClockTime The word clock time. And nothing else on that page apart from that it's UInt64. And
606.
▲
by
mojuba
7y ago
> Protocols/traits/interfaces are just indirection They are indeed. Look at how C++ handles multiple inheritance, for example: literally a few extra instructions for each method call, not more than that. Swift's cost of pr
607.
▲
by
mojuba
7y ago
As long as you use the standard AU components which themselves are written in C, you should be fine. However, just one step outside of the standard functionality, e.g. you want to process or generate the audio sample stream yourself in Swif
608.
▲
by
mojuba
7y ago
> "hundreds of executed instructions" are literally not a concern with present-day hardware Depends on the context. I have that line in a very tight loop in a CoreAudio callback that's executed in a high-priority thread. I
609.
▲
by
mojuba
7y ago
I love Swift very much but every time I look at the disassembly view in Xcode while debugging, I lose faith in it bit by bit. With my (rather limited) knowledge of what a C or C++ program would compile into I have some expectations of what
610.
▲
by
mojuba
7y ago
No matter how outdated and irrelevant those computers are today, their look is so nostalgic to me like no other thing. Other things that disappeared from our lives, such as rotary phones, vinyl records (not completely lost though), the beau
611.
▲
by
mojuba
7y ago
So the fact that the experiment worked at Microsoft only says that Microsoft is terribly unproductive otherwise. Which should be true for the majority of large organizations.
612.
▲
by
mojuba
7y ago
To be completely honest, how this can give positive results is beyond me. Personally I use my free time for side projects except only for social events on weekends. If my work time was reduced to say 6 hours, or alternatively to a 4-day wor
613.
▲
Microsoft Japan tested a four-day work week. Productivity jumped by 40%
(theguardian.com)
10 points
by
mojuba
7y ago
|
11 comments
614.
▲
by
mojuba
7y ago
What an irony that I open the page source of this article and see this literally on the second line: var mi_track_user = true Then there are all the usual suspects: Google Analytics, Facebook, Twitter and a few others at the bottom.
615.
▲
by
mojuba
7y ago
You can in principle, but because the order is not guaranteed, you may find yourself accumulating things in memory. It depends on the task of course, but neither standard parsers nor generators are required to send adjacent JSON entities in
616.
▲
by
mojuba
7y ago
That's a very useful and sobering view actually. Unfortunately for the XML format it wasn't designed to prevent its own abuse. But anyway, XML is for documents sounds like a good and acceptable paradigm. That being said, one sub
617.
▲
by
mojuba
7y ago
Everything is an illusion. \s and /s are just liquid crystal pixels on the screen, filtering some light. However it's easier to say that if something has a name and you can identify it, then it's probably that thing. I see a
618.
▲
by
mojuba
7y ago
Something just crossed my mind while reading the question, that Swift could be a good candidate. Turns out there are compatibility layers that are based on Swift: https://www.scade.io https://academy.realm.io/pos
619.
▲
Predictions are for investors, not entrepreneurs. And we are bad at them anyway
(medium.com)
2 points
by
mojuba
7y ago
|
0 comments
620.
▲
by
mojuba
7y ago
> It's convinience vs purity. I doubt about the convenience part. With more moving parts, you sooner or later run into problems you couldn't anticipate. I'd rephrase it as "immediate and deceptive feeling of convenien
621.
▲
by
mojuba
7y ago
Same experience with SVG. Inkscape is terrible at generating files, Illustrator is only marginally better (haven't tried Sketch yet). The same thing applies to code too. There's the principle of using frameworks wherever possible
622.
▲
by
mojuba
7y ago
I think it looks comfortable in the Star Trek universe because it is implied that voice activated stuff is controlled by a super-AI. That is, the AI won't give humans access to the audio. Which in turn means we are going to have a supe
623.
▲
by
mojuba
7y ago
It's that I could do it while in front of the ATM when I needed it, and that there are no interchange fees. Revolut and a few others use the same average price for conversion both ways.
624.
▲
by
mojuba
7y ago
I think the change (web vs. mobile) is more about the following: mobile devices are more personal and well, more mobile. As such, they provide stronger authentication mechanisms. They are typically managed environments, and finally, there a
625.
▲
by
mojuba
7y ago
All the banking apps I use provide biometrics login (opt-in), plus your mobile device is a lot more likely to be operated by you personally compared to your desktop computer. I.e. your phone in someone else's hands is an exception beca
626.
▲
by
mojuba
7y ago
I don't think I am confused, no. The Internet in your pocket with a touch UI is a different thing. I tried to argue about this in a neighbouring branch.
627.
▲
by
mojuba
7y ago
> you could do banking with a phone call Try to do what e.g. Revolut, N26 and similar apps are offering over the phone. It would take ages. This is a really bad comparison. Sometimes progressive improvements become a breakthrough, though
628.
▲
by
mojuba
7y ago
Not quite. One is Internet on your desk and the other is Internet in your pocket. It makes certain things possible that would previously make little sense. You would not tweet a video from a protest rally; you would not message or listen to
629.
▲
by
mojuba
7y ago
I think some interesting takeaways from reading this article in 2019 are: - One "black swan" doesn't happen twice. Though Taleb would disagree, i.e. he'd say that neither the dot-com bubble nor the 2008 crash were black
630.
▲
by
mojuba
7y ago
It's not only talking about money. According to this classical experiment [1] it reduces productivity even while solving problems, because the prospect of a reward occupies some of your brain's problem solving capacity constantly
More ›