skysight-inc/HackerNews huggingface dataset:
Ask HN: How was your move back to India?
I’ve been living abroad for about five or six years now and I’m wondering whether returning back to India and living in Bangalore makes sense.

One of the biggest motivator of the move is that in India I don’t need a visa to do anything and that makes running a startup easier. Also from the outside looking in it seems like something special is brewing back in Bangalore. If I want to sell B2B SaaS it seems like a nice place where I’ll have possible customers all around me. The weather in Bangalore is quite nice too. The worries about a possible move back to India are inefficiencies in daily life - the traffic, long queues at airports, pollution, not enough green spaces, comparably worse infrastructure. All this said it seems like a good place to chase outsized out comes - alumni from college are in startups around the city and in VC, unicorns seem fairly frequent. I’d not move back with the intent of working for someone else.

The other options for me would be to live in cities like London, Toronto or East/West coast. The first two I could get residence or a startup visa even. The US seems like a different beast all together where residence/visa seems incredibly tough to navigate. For startup operators who have worked both in London/Toronto and Bangalore, how do they compare? The best thing I love about living abroad is that the basics mostly simply work & people around you generally don’t care about what you’re doing allowing you to operate. Through years of living abroad I’ve some networks in these cities (mostly alums from bigtech jobs).
But math operations are not generic functions. So you'd need to create your own version of all math functions. And that won't compose with independently developed libraries (unlike the Haskell example elsewhere in the thread).
A Google employee would have told you that they work for Google.
As an American I think we would refer to this as 'sing-song voice'.
If you're American all of your foundational and historical documents (Bill of Rights) are written in cursive.
Yes, I’ve undergone the same shift, and I cherish my mom’s hoarding. I even named my holding company “<X> Hoarding” (since another family member has “<X> Holding”). This is with a degree of irony, but also an acknowledgement that desiring to gather things is a slippery slope when you don’t require things to be used with any real probability.

I mostly hoard small, rare objects of similar kind to manage, but I’m afraid the definition of rarity is both subjective and sliding. For example, I found a piece of scratched up ornamental wood broken off a piece of furniture that looks like a snail while I was having a conversation with a friend, and when I see that piece of wood, it takes me back to walking on that street: the trees in the picture get greener and the red hair of my friend gets redder every time I think back. I don’t care if I don’t see the piece for years.

It is very frustrating to share the space with a collector when you don’t share the dopamine rewards of acquiring the things, since the constant upkeep detracts every day.
> Even in game development, it often turns out to be a huge mess

Mandatory link: https://blueprintsfromhell.tumblr.com/
Don't buy a smart lock any time soon (2021)
This is a common trope that does not really match reality.

Pytorch readme quote

pytorch is not a Python binding into a monolithic C++ framework. It is built to be deeply integrated into Python.

could be applied to many key libraries of this ecosystem.

For sure, a lot of those libraries rely on tons of compiled code in C/C++/Fortran, but the python code is not mere wrapping on top of those libs. And most of the compiled code inside those repos has a lot of internal logic as well.

Some examples (using cloc on git main branch, as tokei does not understand cython):

* sklearn: 150 kloc python, ~10kloc cython, not much of other languages
* NumPy: 200kloc python, 350kloc for C/C++
* scipy: 800 kloc C, 200 kloc python (the 800kloc surprised me and it looks like a lot of it is C generated code from cython)
To be fair, that’s not exactly what German trains are known for either :D
The irony of having the word “accessibility” in your article headline

Followed by a stout paywall.
It’s your career etc. but as a well meaning random stranger:

>> I know a full rewrite is necessary

Rewrite it in rust! /s

You’re most likely focussing on the wrong thing here. The tech doesn’t matter. It’s a business, this bit matters:

>> this code generates more than 20 million dollars a year of revenue

You need to be able to quantify which lines of code you’re going to change to increase that 20 number to something higher, or at the very least, increase the amount of that the business gets to keep rather than burn on costs.

This might sound like a hard problem at first glance but it’s really not.

>> This business unit has a pretty aggressive roadmap

This is a positive. To be clear the worst case is an apathetic business unit. This is huge, you’re already ahead. People want things from you so you’re free to exchange what they want for what you need. Think of other business units as part of your workforce, what can they do to help you?

>> management and HQ has no real understanding of these blockers

Yeah that’s the way it is and it’s totally ok, management doesn’t fully appreciate the blockers impacting the HR unit or plant maintenance or purchasing or customer service or etc etc but they DO NEED to know from you the problems you can see that they care about.

That means issues about how code quality are problematic are out of scope but informing management that your team are going to continue to be slow for now are in scope.

Issues about developing in production are out. Issues about your working practice is unsafe and we have a high risk of breaking the revenue stream unexpectedly over the coming weeks and months, that’s in scope for being communicated. At the same time, take them through the high level of your mitigation plan. Use neon lights to point out the levers they can pull for you, e.g. we need SAAS product X at a cost of $$$ for the next year to help us deliver Y $$$ in return.

For every strategic piece of work you line up, be clear on how many $$$ it’s going to unlock.

Be clear on how you personally can fail here. Transparency and doing what you say you will go a long way.

Practice saying no.

You’re an unknown quantity to them so get ahead of that. For example, make it so you’re always first to tell the other units when the product has broken for a customer, rather than customer service telling you about a support ticket that just came in.
Wouldn't we then have to give them some sort of asylum? Doubt that would go down well.
You’d be surprised at the amount of games that “come together” during the last 1-2 years of development.

This is early build stuff, not worth judging it at this point.
Hockey stick graphs are just astroturf agitprop in the class of endofunctors, what’s the problem?
The false dichotomy is very damaging. It’s not nuclear or renewables. We need both, and as much of either as we possibly can. Neither nuclear or renewables would be enough to get rid of enough fossil fuels on their own.
I've noticed some streaming platforms (eg Paramount Plus) occasionally fail to make use of the center speaker entirely when supposedly in 5.1; this makes the dialog nearly inaudible. I only get this issue with some content sources, and forcing the mixer into stereo mode alleviates the problem.

There are almost surely a whole host of bugs just outputting in the format the user has, never mind mixing issues, copyright protection, and similar.
The Mac gaming market is miniscule, and requires special special care (different arch and APIs) . It's highly unlikely many game developers will choose to spend that time and money.
Subglacial precipitates record Antarctic ice sheet response to climate cycles
> Your boss does not care about your side project, as long as you get the job done. But for you to feel better, don't put your name on it until you have quit your job, it's the internet you can still be anonymous.

> No company is going to waste their time and expensive legal resources gratuitously suing you for a side project, unless it's something blatant that directly impacts their bottom line.

Don't be so sure. Some jurisdictions allow companies to own the IP you create outside of work hours if it's explicitly in your contract or you're using work resources.

They may not sue you... until you have profit - then they'll want to collect their rightfully legal share.
No one disagrees with that.

In a free society you’re free to speak in the commons. That doesn’t mean anyone has to listen. That said you can’t boot everyone you don’t like from the town square.

Social media posts can be made, doesn’t mean you have to follow or read.
I'm not entirely sure how the sarcasm is warranted given 1. I made clear that rather than the particular task, what is important is the development of skills, secondly the ability to perform basic repairs is also a rapidly declining but important skill, and thirdly blacksmithing is actually still a career.
Even with the worst possible codebase, the act of it running stably for an amount of time is an accumulated value. And that value is a actually pretty big deal. And when you make major changes you reset that value back to zero even if your new codebase is beautiful and sensible.

Very gradual, well-tested evolutions is the way to go. If it were me I would add a LOT of unit and integration tests before I changed anything. I would also formalize the expected behaviour, schemas, APIs, etc.

You’ve inherited the Ship of Theseus. Believe it or not, this is actually a huge boon for you. 18 months from now your managers will look back and say, “wow this is the same ship?! I want you on my team wherever I end up.”
There is also a fair number of people who can't read an analog clock...
How easy is it to run several GPUs?
> I'm curiuos if it could work well with new developments in AI generated images (stable diffusion etc).

Visual coding is still highly symbolic and structured, typically a directed graph representing data flow. The "visual" part is just a middleman so to speak.

I don't have a lot of experience with AI-generated images, but from what I've seen it doesn't look like its strength is generating highly structured/logical images.
Cool. I see it is a solution that has the graph embedded in the code though. Any chance you could build one to work off a generic input model that describes the starting state of the characters, nodes, connections, and connection rules? That way you could run it every day without code tweeks.
It's speculative so who knows. But northern Europe was covered fully by ice 12000 years ago. There has definitely been more melting since then, than what is left.
Theory: GTA will become the actual metaverse.
You can look at it that way. I suppose another way to say it is that I can’t seem to get motivated about letting myself down, but I can about other people.
Semantic topic modeling for music search
Discover music by navigating Wiki bios of the artists you may like. Semantic search for similar bios will help to find other artist working in the same style.
Aye I did mean literally.
> Bonus if it’s delayed by exactly 2 seconds, so that it doesn’t spoil jokes, and I can quickly reference it if I missed something someone said (helping me avoid fixating on the captions.)

I think that'd ruin me more than not having subtitles at all, because I just get stuck at reading the subtitles all the time if they are on (which, I have on 99% of the time). I go so far to avoid content that doesn't have subtitles.

What I'd love to have, would be a "speed-reading" version of subtitles, that just show each word individually as it's spoken (or maybe two/three) instead of the full sentence. That way it can still be in sync, while not ruining punchlines. Would be a real hassle to actually write/make the subtitles though, but with all the AI/ML around today, there is probably a way to automate it.
Distributed Tracing in Rust
Oh wow. That sounds crazy that such slave-like contracts are enforceable. Do you know what their reasoning in court was? I can't imagine the connection between these two topics (satellites and 70s music). Was it just a predatory "all you do belongs to us" type of contract? Could he have counter-sued them for... I'm not sure what, breach of human rights?

Also, are there laws against abusing the legal system like this? There should be, if not
Maybe Clojurescript?
NASA’s Mars rover makes ‘fantastic’ find in search for past life
I turn them on because I’ll be eating chips.
Here is what I would recommend as a path, not towards changing "how we do things around here"(because that always gets negotiated against a certain business case), but as a way of gaining personal developer comfort(the actual nuts and bolts of the work):

1. Start adding logging all throughout, wherever changes are being made. That can quickly build up insight into what's happening where and gain confidence into what can be deleted safely. You want the meeting where you can show that an entire file is completely unused and has never once been called for months. It surely exists. Find it. Then say you won't delete it, you'll just comment it out.

2. As you make changes, start doing things twice: one in the way that patches the code as directly as you can manage, the other a stub into a possible design pattern. You don't want to force the pattern into production as soon as you think it works, instead you wait until the code hits a certain evolutionary state where you can "harvest" it easily. Think "architecture as a feature-flag". If it turns out your design can't work, nothing bad happens, you just delete those stubs and give it another go.

3. I would not actually worry about the state of the tooling otherwise. Backups for recovering from the catastrophic, yes. Getting the team on git, not as important. Adding standardized tooling is comforting to you because you're parachuting in. It adds more moving parts for the other devs. That's true even when they benefit from it: if the expected cost of wielding a tool wrongly is high enough to cause immediate danger, you can't proceed down that road - in woodworking that means lost fingers, in software it means lost data. You have to expect to wind down the mess in a low-impact, possibly home-grown way. There are always alternatives in software. And there are likewise always ways of causing fires to fight.

This job most likely isn't going to lead towards using anything new and hot. But if you go in with an attitude of seeing what you can make of the climate as it is, it will teach you things you never knew about maintenance.
I think it’s more than for some reason stories about Japan being super weird seem to be very popular in Western media.
Isn't having access to Twitter similar to the use of a sound amplification system? Being removed from Twitter does not remove your ability to speak, move to another smaller platform or setup your own platform, it just reduces your potential audience/reduces your volume. While I'm not a fan of the concentration of power in a few big companies, this outcome is in alignment with current definitions of free speech (private entities get to choose who can use their property)
> - Lawrence Tribe, a very senior center-left constitutional lawyer and Harvard prof: https://twitter.com/tribelaw/status/1562951505451266050

That tweet isn't even about this case, it's about voting rights for felons.
For every 'issue raised' people in power have 5x of that to deal with one layer up, 25x two layers up and 100x 3 layers up.

It's a steep pyramid and one of the hardest things for people to do is put their concerns in context.

People tend to both under and overestimate the proportionality of their issue.

People in power may be better communicators but they are generally much more busy having to contend with this stuff.
Wasps are fascinating smart, eusocial animals.

We should study them, admire them, but not kill or eat them.

Yeah for the record I'm vegan.
Snapchat Is Now Available for Everyone via Web Browser
Billionaires are a sign that the space between the richest and the poorest is too big. They have more money than they ever use.
Matlab was standard for us in university but not used anywhere in the industry/companies I worked.
> You can learn to read cursive quickly. ... Soon every phone will be able to translate it.

Not only does that require substantial backup, it also sidesteps the problem of writing. There will come a point when you need it. Heck, if the war in Ukraine gets out of control, it may become a necessity. Your phone might just stop working.

And there's nothing wrong with being taught two ways of achieving the same. Or do you only know one way to add? One way to program? One way to throw a ball? It might even make the process more flexible and adaptable.
Your scenario makes no sense. The law isn’t a magic shield you can apply to any thing by just mentioning politics. Your bots could still be banned for abusing the platform or sharing links to malicious sites. The law just means that Twitter can’t ban you specifically for political opinions.
No other conglomerate owns IMDB either which is a huge treasure trove of data about all those things they display with X-Ray.
I once took a class taught by a Hungarian. He spoke in a monotone, and his script was unreadable cursive gibberish where "r" looked like "n", and "s" looked like "i". Please never again.
I'd be curious about the premise under which they hired you. Did they hire you to re-do the application, knowing it was not in great shape? Or did they just hire you to up the team from 3 to 4, imagining a relative boost in productivity?

Also, the "without managing them directly" is interesting. Are you a peer of the existing three team members?
The beginning of the Monte Carlo method (1987) [pdf]
>> "our workers get part ownership of the bakery and to make decisions about their wages and work hours"

> Sounds like free market capitalism, not leftism

Sounds like workers (part) owning the means of production, so socialism. A cooperative, where workers participate in ownership and decision making, is something inspired by socialist ideas and ideals, so it's pretty leftist by definition. The fact that it takes place within the framework of free* market capitalism doesn't make it an extension of the latter.
I think the biggest issue not mentioned is to not do it in public.

Public arguments can be perceived as a threat to power even if the disagreement is fully benign on both sides, it's hard to argue in the commons.

Better to do it in private.

More often than not, tow the company/managers line in public.

It's really, really hard to manage and having dissent which could appear to be arbitrary (even if it's not) is hard.

In other words, 'in the commons' it's populism, 'in private' it can be authentic, so take it to the office.
I feel like you’re still thinking of a closed system without the possibility to import or export. Maybe it’s a regional thing, I don’t know how many interconnects to abroad the US has. In Sweden this year, like in much of Europe, production is as close to maxed out as is safe, and peaks are filled by importing/exporting.
Regardless of if a court would side with you, if there was no consideration when you signed the new contract, the contract may be void anyway.
I'd guess that's just how the puzzle works.
shameless plug: https://github.com/bAndie91/libyazzy-preload/#recyclixso alternative safebelt against accidental file removal.

recyclix.so is an LD_PRELOAD-able shared library intercepting file deletions and moves files to recycle bin folder.
Many comments are permutations of different suggestions do here's mine:

Get the business to buy into "fixing" this before doing anything. Convince them to hire more, sounds like the current team is already swamped.

If you don't get business buy in, it may be the wrong place for you.
Publishers were historically (and still are!) literally the people who owned the presses, lol. Like you went to a publisher to get your manuscript printed. All the other things, like editing and marketing were secondary to these were the people who could actually mass produce your book. The NYT and WaPo own their presses.

The core business of a publisher, historically, has been the facilitation of scalable access to content created by other people. Even newspapers don't really "tell them what to write about", they hire (or use freelancers!) people who work on their own stories and submit them to the paper. And while newspapers do usually own the content they publish, they don't always, and book publishing houses rarely do.

So the WaPo's and HarperCollins's of the world are a lot more like the YouTube's and Reddit's than you seem to think.

And yes, the individuals who write the articles have first amendment (not "free speech", nobody in the US has a "free speech" right, that isn't a thing) rights. But so too do the Washington Post, and Penguin RandomHouse.

And even though lots of people have had OpEd's in the NYT, and even though Hachette has published books by tons of authors, they're under no requirement to publish my works, because they fully and totally have the right to not enter into a relationship with me, and have the right to not assist me in broadcasting my content. And the first amendment protects their right to associate with and how they want to, and that includes not associating with me.

I want to emphasize this by the way, because earlier you said

> it's arguing that censorship isn't speech

And this fundamentally doesn't matter, because the first amendment protects a number of things that aren't speech, including assembly. I can assemble with whom I want to (and also refuse to assemble with those I don't want to). I cannot be forced into service of any particular individual, and this is true for common carriers, they're not in service of an individual, but of an item. As soon as the thing you're doing is promoting an individual's words or brand, you're not doing what a common carrier is doing.

Shipping a box is exactly the same whether it is your box or Donald Trump's box. But broadcasting a speech on my loudspeaker isn't the same if its your speech or Donald Trump's. As much as you wish it to be, you cannot make those two situations the same.
GTA always been "kind of serious but mostly comedy and sarcasm/parody" and RDR always been "This is deadly serious" so the stories will reflect that. I wouldn't assume GTA will have as serious story as RDR2 had.
Do you mean that you had to buy the same book 3 times?

(or otherwise copy)

That's astonishingly bad.
Because reality is that laws are not enforced regularly, equally, and uniformly.
So does this mean the conservative baker has to make me a cake for my gay wedding?
The term ‘quiet quitting’ is worse than nonsense
But cursive is not even very good for reading.
Hong Kong takes a rare chance to protest while mourning the Queen
There's just one problem: privacy. I don't have that when using voice input. Writing won't decline in favor of voice input until we find a way to make it private. Tangential to this, smart glasses won't replace smartphones either for the same reason.
AFAIK, there's only one audio mix done with theaters in mind, and studios don't do separate mixes for home viewing. It's down to the distributor do make sure that the average home viewer gets a good experience. That's why it boggles my mind that big players like Netflix don't have any dynamic range compression and surround downmixing options in their settings. Also the way most TVs handle surround downmixing is straight up broken. I watch my movies from mkv files on a PC, so for me it's not a problem because there's tons of options available for that in players like mpv, VLC and MPC-HC, but I do feel bad for your average person that has no business knowing about this stuff. They should just have a simple DRC setting available with maybe 3 levels and a clear explanation of what it does.