Hacker Newsnew | past | comments | ask | show | jobs | submit | masalachai's commentslogin

Very useful, thanks! Does it download the latest versions of the css, etc libraries?


As of right now it downloads the latest minor versions of libraries. I am open to suggestions on best practices here.


Good list but curious why you advise against doing conferences and conventions. The obvious benefit in my mind is advertising, potential clients, and most importantly, advertisable "credibility" on your website in the form of "Speaker at X conf".

I'm not in the consulting business, however, and the list of benefits is speculative.


Don't, like, set up a booth. By all means give talks.


Conference booth presence can be an enormous time and resource cost. Giving talks is far better marketing.


While that's true, the execs who make these decisions usually don't care about the actual implementation. Once the deal is done, it falls on their "IT division". And two things happen: Jim over at IBM still pampers the exec with a dinner or two. And the exec also suspects that some, if not most, of the problems are with his IT team.


Big companies have very strong anti kickback rules. You can get around them through board level connections but not much sort of That. Nobody Is risking 500k a year compensation over a dinner or 2.


This assumes that IBM's core business is the same as their Services business. I doubt they have any overlap. They got onto the bandwagon after seeing how successful some of the early Indian services companies were (in terms of revenue) such as Infosys, Wipro, and TCS.

I would put the IT services business of Accenture, Cap Gemini, and IBM in the same bucket as the rest of the Indian firms.


Does anyone have suggestions or experience moving a fairly large JS codebase to TS? There are libraries that will auto generate TS code but not sure what the pluses and minuses are when doing that on a live, shared codebase.

We asked ourselves the exact question and 75% of the team is in favor of moving to TS, so this thread is great validation!


I already feel like living in JS land is coding against a moving target, so refactoring is something that happens extremely often anyway. I wrote and manage a few projects that are several hundred thousand LOC each and my strategy has just been to allow JS and TS to coexist but if I touch a JS file, the first thing I do is refactor it to TS, and then start whatever new work I needed to do. It usually goes pretty quickly unless you have code that was hacked together or designed weirdly in the first place, then I treat it as a good opportunity to do small refactors with types to just clean things up in general. The TS refactor has been going on for maybe a year and a half now and is mostly complete, and I'd say this approach has worked quite well. Maybe if you're working on a larger team you'll need to co-ordinate a little more with when types can be slapped onto existing code.

Just as an aside, the amount of bugs I've found just by refactoring to TS is incredible, the compiler has made me aware of edge cases that I hadn't thought of. Just adding types to old code and getting red squiggles telling me why it won't compile has taught me quite a lot about random aspects of JS that I've never considered.


Yes, the incremental refactor does appeal as a solution and we have been considering it.

Two potential drawbacks that were brought up are when there's a business "priority", the refactor will take a backseat, especially if the file is fully in JS.

The other is that with a larger codebase, this could take a year or even more and still not be fully done. But this is mitigated to a large extent by the fact that TS and JS can coexist and the benefits of a TS file are immediately available.

Thanks for your input!


Shameless self promotion, I did exactly that, blog post explains it:

https://chrisfrew.in/blog/converting-a-large-project-from-ja...

This method does have some caveats, but can get your a sort of starting point using TypeScript for any sized JavaScript project.


Thanks, will pass it to the team as well!


Same here. I'm equally annoyed with the animations. Especially when an app requires attention, it keeps demanding it every few seconds by bouncing on the task bar. It's unnecessary distraction and I don't know of a way to stop it without clicking on the bouncy icon and addressing its need.

Far more frustrating, however, is the inconsistent window management. Mac is very unintuitive (coming from Windows). If I have multiple windows of an app open, I can't switch to the right window with Cmd + Tab. It opens the window in the same desktop. It's annoying as hell! A four finger swipe always takes me to the next desktop and there's no way to swipe between the apps on the same desktop (a three finger swipe in Windows).

And while this might be in equal parts Microsoft's fault, but MS apps like Teams just suck. When I'm on a different desktop than the one containing Teams, it takes me three clicks to open up the damn window. In some apps, Cmd + Right arrow will advance the cursor by a word and in most others, all the way to the end of the sentence.

I still fail to understand the allure.


This looks great! Pleasantly surprised by how native it feels. The instrument dots on the grid tiles is a nice UX touch.

How do you find the transition into software development so far?


Like falling in love with a new discipline much like when I first started playing drums. Complete (but healthy) obsession. And marrying the two together with the app kept me going for 10 weeks straight without getting bored with it. Excited to keep growing.


The problem of scattered attention is one that philosophers have been pointing to since thousands of years. Most practices like mindfulness, meditation, yoga help primarily with more conscious attention management. That attention is scattered/captured is not new. What it gets captured by probably changes every decade.

I dislike seeing ads, especially when they are poorly or intentionally designed to block you from doing what you came to site for. And I do have a concern about the amount of detail these companies end up accruing about a user and its implications. I also get distracted by them - but only when I don't have an intention or strong need to focus on the task at hand.

This does not make me think that ads themselves or the model itself is fundamentally bad. A model, ultimately is, as good or bad as its implementation. GMail, Google Maps, Android are some of the things that have changed the landscape in significant and positive ways, and all of them were made possible by ad tech.


Thanks for doing this, Peter.

My I-140 is approved and my wife has an EAD. Are there any restrictions that would prevent her from opening an LLC and getting paid for her freelance work through it?


> In case people aren't aware, the Indian mobile sector was one of the cheapest and most pioneering markets of its time.

Not sure in what way you mean pioneering but it was definitely not the cheapest! Everything cost money. Text messages, phone calls, data, roaming between states, out-of-state phone calls. Everything. All this in addition to the cost of the cell phone itself - no bundled offers with phone like AT&T did with Apple in the US.

Furthermore, you could get away with a connection from private companies like Airtel and Vodafone if you lived in a big city. Rural coverage by these players was notoriously bad. The only substitute available was the one provided by the government itself - BSNL - which got a reputation of having the "best coverage".

All that changed dramatically when Reliance came up with a Rs.500 phone which included a connection with free unlimited calls between two Reliance phones. That was the beginning of true mass adoption of cell phones in India.

> People created the 0 cost phone call - farmers and mobile users could give a missed call to a number they heard on the radio, and then they would get a call back.

This is not an example of a model working well. This is an example of a workaround to mitigate high call costs.


You can check what ARPU and per individual costs were in the world comapred to India historically for calls. India has always been one of the cheapest places to have calls, and one of the lowest ARPU in any market - and it managed to get multiple mobile phones per person and has a thriving telecom market.

The 0 cost phone call is an example of the market working well - people at the bottom of the pyramid have no money to spend, and given what ARPU was, expecting even lower prices is the stuff of fantasies.

This is innovation at work. I don't know what people are expecting when what they had was already impressive for the time.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: