Readit News logoReadit News
pritovido commented on The Truth About Starting a Startup   tracy.posthaven.com/the-t... · Posted by u/allenleee
pritovido · 5 years ago
Ohh, the hard work theater... Humans love human sacrifices, all the ancient cultures did it.

Human's effort is not linear.

Try this: Go outside, measure some distance by counting steps, like 500 meters, or measure it with google earth.

Experiment A: Then take your clock and start running your distance multiple times, do for example 5 Kms, apply more and more effort until it is reasonable but not that exhausting and can sustain it. Run for 20 minutes. Write down your time and how do you feel.

Experiment B: Now do the same thing another day but applying all the effort you can. Then you will be forced to stop in order to rest and not die. Then try again, stop when you can't do more and so on until you make the distance. Write down your time and how do you feel.

Compare both times. Compare your feelings in both situations. You will be surprised at the results.

You can do bigger distances if you are trained, like 20 kms, because it represents better work load.

In places like Singapur, or China and now the US(it used to be different in the past because of religion) they are living their lives like in experiment B.

In places like Germany or Israel they live their lives like in experiment A. In Germany people is not less productive than in America, or Singapur. Quite the contrary.

In China people work all the time, they sleep on work, but the intensity of work is very low. Working all the time means you can't be excited for work. All work, no fun,your mind sabotages you.

Jews invented the system that forced everyone to stop working at least one day a week. Christians inherited that and dominated the world.

Now the US goes backwards, glorifying hard work until you die in your 30s because of cancer.

I have known several guys die very young of cancer in the startup scene and it is not a coincidence. The immune system and organs are depressed by constant stress. Stress is good if you can rest. Tissues are not repaired. They eat badly and don't sleep.

Do not do that. Do the above exercise with your work. Measure the real output of your work. Force yourself to rest and be with your family, go hiking or to the beach like in experiment A. Work as hard as you can,and do not take breaks, like in experiment B.

Do that for a week and compare your output results. You will be surprised.

pritovido commented on Quake's 3-D Engine: The Big Picture by Michael Abrash (2000)   bluesnews.com/abrash/chap... · Posted by u/jdmoreira
pritovido · 5 years ago
A very important thing with software is that the most painful work can be done by the computer itself.

Tools like Lisp are essential in your toolbox for whatever language you use for coding. If you can script and automate and test everything life is much better.

Most of the pain in software development is self inflicted. The most boring something is for a human, the easiest is for the computer to make it.

Lots of people coming from the "code must be efficient" front, like assembly, c and c++ programmers simply ignored the interpreted, functional and painfully slow "you don't know how things are implemented" world and viceversa.

But both worlds are complimentary.

When I was a kid I discovered Numega SoftIce. That was an incredible debugger and you could automate everything.

Turns out you can do the same with gdm and lldb today and bugs just pop up from automatic tests.

pritovido commented on Apple CPU tricks: memory reordering, JavaScript support, ref counting   twitter.com/ErrataRob/sta... · Posted by u/simonpure
saagarjha · 5 years ago
It’s important to note that most of the things mentioned here are just “tricks”: they’re fun to discover and talk about, but they really only end up being minor wins in practice. TSO is great…if you are trying to make a simpler Rosetta (it’s not even necessary on the M1, although I think Apple is still using it for convenience; I’m still trying to find out where). The JavaScript instruction speeds up…one specific rounding in JavaScript. Fast atomics help…if you’re that one specific part of Apple’s runtime that has taken advantage of it yet. They are all cool, important little optimizations, and I’m sure that few other companies could do what Apple is doing in this space.

However, it’s very much not true that Apple is “cheating” their way to performance with a bunch of these tricks for their own software (as much as you can call this cheating). Their processors are optimized for general-purpose workloads, and blow everything else out of the water even if you’re doing something profoundly “un-specialized” like run Photoshop or a Linux VM.

It’s easy to come up with takes like these that point at buzzwords that you’ve seen being thrown around in the last couple weeks in an attempt to explain this chips. The reality is that the reasons these chips are fast are either unknown or boring. I suspect that these will one out as we play around with them more, but we don’t have the details right now.

pritovido · 5 years ago
"Tricks" makes great difference in life. I can jump over a meter high with my bicycle because someone who knew did teach me the "bunnyhop trick". That and other "tricks" give you the ability to do things save on a bicycle that most people consider impossible or too risky.

Knowing the tricks of a trade, like software development, means the difference between starving or success.

In the same way there are "tricks" that you know about relationships and money and work that can change your life radically.

Trick in English have different meanings. It can be something intended for deception or illusion, but it could also be a habit or mannerism.

In Apple case, those tricks are not really tricks, but strategic informed decisions.

Apple has lots of knowledge about what the market needs and is willing to pay for, they have access to the purchase data of tens of millions of people.

If you have no access to real information, some decisions of the companies that do will look comical or nonsensical.

pritovido commented on Digital Tools I Wish Existed   jon.bo/posts/digital-tool... · Posted by u/todsacerdoti
pritovido · 5 years ago
I use Zotero. The native UI search is horrible and is very slow as it needs to load gigabytes of info but it uses SQLite internally and I use my own software for doing serious things.

The author of the article is overcomplicating things. He wants the moon and as a result, gets nothing. He is paralyzed in the quest to perfection.

If instead of this, you start using your own tools today, you improve it over time. For example I use structured text files for hierarchical info storage and my tools are quite sophisticated compared with how I started. At first it was a simple S-expression lisp file done in an afternoon.

I also use databases.

I log the time I spend in HN and it is quite small. I just read as fast as I can(5 minutes) whatever interest me and organize it, every day. I write but don't read replies or anything that goes over my allocated distributed time.

Then after a while I spend time for getting deep on something and then I read all the books, all the articles,ask my friends, watch all the videos of a given subject in parallel.

Take for example Clojure. I spend a week doing nothing but immersing myself on it, real work, and use Anki to learn it.

If I were to read just one book isolated, I would not understand anything. Multiple perspectives is much better and funnier.

pritovido commented on CAPTCHAs don’t prove you’re human – they prove you’re American (2017)   shkspr.mobi/blog/2017/11/... · Posted by u/notRobot
pritovido · 5 years ago
I got so frustrated with CAPTCHAs that started using my computer's visual and natural language recognition software to solve them.

It works much better than me at solving those stupid puzzles. It is great because if the software fails, it does not get frustrated like I did.

There are CAPTCHAs that my software solves that I know are wrong, but google says it is ok. Like "pic the pictures with a signal on it" and there is a picture with a signal visible from behind. My software does not detect that, neither google.

pritovido commented on What would happen if computers never got any faster?   shkspr.mobi/blog/2020/11/... · Posted by u/edent
weinzierl · 5 years ago
> The final products of those amazing programs that show up late in the platform's lifetime are indeed running on the same hardware, but aren't those programs often developed using faster computers of later periods?

They are developed on faster computers but that was already the case at the heyday of these games, so the difference might be less than you would expect.

What is a huge difference though is access to information. Back in the day I got my weekly homeopathic dose of assembly language from a local home computer magazine. That's all there was. Today every ever so obscure detail is just few searches away. I cannot stress enough what difference this makes in learning and development speed.

pritovido · 5 years ago
>Back in the day I got my weekly homeopathic dose of assembly language from a local home computer magazine.

I had the same experience, until I (we)found that the knowledge of those magazines were taken from books, so I(we) went to the source, the library of the University.

I was a kid at the time and had friends that shared the same interests as me. The library was magical.

Even today, when there is lots of amazing materials on the web, the real deep stuff is in books.

One of the great things of Internet, specially videos is that they introduce you to a topic so you can understand the book.

pritovido commented on Your Move, iPad   beckyhansmeyer.com/2020/1... · Posted by u/rcarmo
pritovido · 5 years ago
> There’s no question that Apple has struggled to craft a cohesive, compelling narrative for the iPad... We know what it’s good for, and we can easily imagine what it could be good for, if only Apple would set it free.

Of course there is question... The Ipad was a tremendous success for Apple. In fact, the M1 is possible because tablets in general and phones sell so much compared to normal computers that have made the price of those ARM semiconductors way lower than Intel's or AMD.

It has not struggled in anything. When I wanted to know if making an Ipad app made sense economically for me I stayed an entire day on a big Apple store and they sold like 50 on a normal day. They sold like 3 or 4 macbooks.

It looks geeks believe that companies are out there to satisfy them. But companies are there to sell products to as much people as possible.

pritovido commented on For the first time in Europe, registrations for EVs overtook diesel   jato.com/in-september-202... · Posted by u/Osiris30
leipert · 5 years ago
Because we don’t need to increase performance, if we think if performance as horse powers and speed. Cars are fast enough, even too fast for private vehicles.

Living in Germany it is quite ridiculous that we don’t have speed limits on certain parts of the Autobahn, nobody needs to drive 200 km/h. You won’t get faster from A to B, it’s dangerous, it’s stressful, you need more energy. If you want to race, go on a race track. I assume it even costs us more to maintain roads so that you are able to drive more than 140 km/h.

pritovido · 5 years ago
The great thing about Autobahns is freedom.

If I travel in Spain, the speed limit is 120km/h. Now they have removed the 20 kms/h extra you could do for overtaking other cars. It is ludicrous.

Everybody goes over the limit, and hence everybody goes against the law, and everybody could be fined with 300 euros, like my father 1 month ago.

In cities, they are putting limits under 30km/h.

Politicians love the fines because it is an extra tax of an extra billion euros nobody controls.

pritovido commented on Diego Maradona has died   theguardian.com/football/... · Posted by u/SirOibaf
Daishiman · 5 years ago
I'll represent the other, unpopular side: the man did as much if not more damage than all the glory he had.

As a footballer his career was finished pretty much 30 years ago. He left the '94 World Cup testing positive for drugs in what was a national embarrassment. His career as a manager was a disaster that existed purely off his prior fame. It's an embarrassment that we are unable to move on past things that happened four decades ago.

As a human being, he lacked morals, never recognized his uncountable illegitimate children, had no care for his body or self beyond the most infantile of desires, and his irrelevant words on a myriad topics were taken as gospel in an astounding display of hypocrisy.

I did not live to see his plays in the 80s. I remember his infamy of the 90s, along with the infamy of many, many public figures of Argentina of that time (along with the coked-up failure of a president Menem and the parade of similarly dubious public figures, all good friends of his too).

I remember being in elementary and my classmates emulating, respecting and excusing the horrible aspects of his character, and I certainly remember how that made dents in the morals of a generation that excused cheating as long as it got results done.

Having later on lived in more developed countries where that stuff just didn't fly, I'll go out on a limb and ascribe at least part of the failures of Latin America to these kinds of attitudes.

pritovido · 5 years ago
I agree with you.

I was in Spain, and Maradona played there while he was not yet the shadow of himself that became later.

Lots of people admired this man but when he started doing stupid things like being totally drunk and stoned on public, most people stopped admiring him in all places but in Argentina.

I traveled to places like Bariloche and specially Buenos Aires for a very sort time,a month or so, and I could not understand almost the deity that such a bad example represented there.

But then an Argentinian friend explained it to me: You do not understand. It was because of the Malvinas, the English, Maradona represented something like a general that won over the same that defeated and humiliated us and so on...

And then it made sense. I had not made the connection before that.

And yes I agree with you that South America in general follows terrible role models. Places like Colombia or Venezuela look like paradise and are extremely wealthy but then the environment is Hell.

It is very interesting that Argentina and Chile are somewhat like the US and Europe but in reverse, the more to the South you go, the more serious people are, only that there is less and less people and land there to become significant.

pritovido commented on Apple Silicon M1: Black Magic Fuckery   singhkays.com/blog/apple-... · Posted by u/singhkays
berkut · 5 years ago
I don't quite understand how 'retain' and 'release' can be more memory efficient on Apple Silicon than x86.... I can understand how they can be more efficient from a performance standpoint in terms of more efficient reference counting, but I don't understand how that translates to less memory usage which is apparently what's being argued... ?

Unless on x86 some of the 'free's when the ref counts hit 0 were being batched up and deferred, and that doesn't need to happen now?

pritovido · 5 years ago
It is a simple process, everything that you do in a language needs to be mapped into lower level instructions.

If the lower level hardware instruction does not exist, you use multiple of other instructions to emulate that.

If you add a low level instruction that maps a very common high level operation in hardware, you don't need to call 5 to 10 software functions(extremely expensive),each calling lots of opcodes but just can execute a single opcode and works by hardware beings extremely faster.

It is not hard to be better than Microsoft here. From my personal experience and having disassembled lots of their code they always were lazy bastards. They cared 0 about efficiency. Why should they? They had monopolies like Office or Windows giving them over 95% margins. They could just use the money they printed to buy everything instead of competing.

Lisp machines did that (adding opcodes that map the high level language) with the most common Lisp operators. Those machines were extremely expensive, in the hundreds of thousands of dollars because few could afford that. Apple sells in massive scale, in the hundreds of millions of CPUs per year, making this cheap for them.

u/pritovido

KarmaCake day546January 14, 2020View Original