skysight-inc/HackerNews huggingface dataset:
My wife wanted to be with family in her hometown, so I moved with her. I have regretted that decision ever since.
Easy. I joined the military. Where i live is thier decision/responsability now. (In reality we select a posting preference. I picked and got a posting within 100 miles of my home town.)
People have been including strsep in packages since the 1990s (people used to include their own snprintfs, ffs). If you're really this freaked out about it, call your local copy "mystrsep" or something like that.

You know what else isn't in POSIX? All the rest of your C code.
I live in Provo, Utah. I moved here to interact more with conservatives and those with strong religious beliefs–I felt that was lacking in my perspective.
Some of us think that programming is actually fun.
There's no conspiracy. Poland has really changed that rapidly during the '90s.
I'm not a freelancer but it's not that hard to find a dev job in most major cities. I was living in SF and moved to NY. Reasons include:

- Getting out of the state I had spent my whole life in until that point. California is a great state, but I don't think I would have been happy with myself if I had never lived outside it for a significant amount of time.

- Moving to a city that doesn't hate tech (as much). Here, there are plenty of other industries assisting with gentrification, so we don't get singled out.

- Public transit is passable here.

- I originally came for a Recurse Center batch. They just moved to Brooklyn, and I live a 5 min walk from the location.

I miss my friends back home and being near all the nature that CA has, but overall it's a pretty good life here.
I'd say just use memcpy.
It's perfectly possible in languages with ordinary ADTs.

data Nat = Z | S Nat
data NonZeroNat = OnePlus Nat
data NonZeroInt = Negative NonZeroNat | Positive NonZeroNat
How do you get paid? I'm asking because I also live in Argentina (Misiones) and I'm interested in working remotely, but I have no clue where to start.
Again you seem miss understand I’m not saying that the Sun extracts energy from gravitational potential but you cannot have stellar fusion without gravity it’s not part of some initial condition that is then irrelevant it’s a constant factor.

A good analogy would be walking it’s very easy to do so on earth under constant gravity but it doesn’t mean that you extract energy form gravitational potential which is when you stand on the surface of the earth is for all intents and purposes zero.
However if you switch gravity off you wouldn’t be able to walk.

If we want to simulate gravity in say space there will be an expense to that in terms of say rotating a drum which means we need to expand some energy to do so.

Now with fusion it’s exactly the same we need to bring in the elements into a condition in which fusion can happen and we need to sustain the reaction by not allowing it to expand and cool.

This requires energy so instead of trying to explain me high school physics you might want to answer my original question do we have a model which allows for the extraction of energy form a fusion reaction that does not cool it down until it stops.
And does this model including the confinement energy is energy positive or not.

I didn’t asked where the energy released form the fusion comes form it’s a stupid question all energy in the universe came form a single source that is the Big Bang there is no more or less of it in the universe today than there was 15 billion years ago.
University in '80s Warsaw - a math professor realizes he would make more money if he worked in the docks, so he quits his job and goes working in docks. And truly his first paycheck is double that of a university professor.

Party wants to increase education of working class so they offer 10% bonus to those who would visit evening school. So the professor sign up for it.

Very first day, the first class is math. But the subject is so simple that professor becomes bored and starts reading book under the desk. Teacher notices that and call him up to calculate area of circle on the blackboard.

Professor is taken by surprise and suddenly cannot remember the formula, so in his head he transfers circle to polar coordinates and uses integral to get the formula and starts writing on the blackboard: -πr²

Then he scratches his head and start thinking where the minus came from when suddenly from the back row someone shouts: flip the interval of integration, colleague.
Only Sith Deal in Absolutes – The right way to write software
I got a remote job and moved from NYC to Boulder, CO. My reasoning was it's also a wealthy place with high real estate prices and good restaurants, but is in a more natural setting. Clean air, hiking, camping, skiing, etc... also close to a really good international airport (DEN).
When you say "everything else just pales" do you mean that licenses/subscriptions are the only viable options to make sure you don't go out of business, or are they the only option to justify multi-billion evaluations and multi-million investment rounds?
Treat living in new places like dating. You're learning and growing the whole way, and for many people the ultimate goal is to find a good long term fit.

Right now I live in Indianapolis. My ex girlfriend and I wanted to try somewhere new, so we looked at a bunch of different options and listed the pros and cons. Ultimately our decision to live here was based on the high population yet low population density, the growing tech scene, the cleanliness of the city, and the low crime rate.

Those are all great qualities, but I've learned a lot along the way about more things that are important. First of all, I really can't stand the cold. My house had the heater on even during some summer days (running endlessly now in the winter). Also, everything is too spread out in Indy. There's not much outdoorsy stuff nearby. Being landlocked sucks and I love the ocean. Finally, I love Asian culture which barely exists here.

So again, now that I've learned all this, I'm applying this knowledge to my next place. It turns out that Oahu, Hawaii seems to fit the ticket. It has all the positive qualities I mentioned above. The super high prices out there are less than ideal of course, but living in San Francisco already taught me that it's not a deal breaker (plus I'll finally save some energy with the heater turned off)

So, hopefully I'll make cool friends and find that Oahu is a great fit. It seems like somewhere I could live for years, and possibly settle down in.
As a Massachusetts resident, our neighboring state, New Hampshire has no income tax. I was working at a place many years ago, that moved to along a major N/S highway that made commuting from out of state more feasible.

Those at work who looked into moving there have noted, the commute is much worse, income tax is negated a lot by high property taxes. When the company started downsizing it was noted that those in NH had significantly worse unemployment benefits. Some feel its worth it, but a lot don't. I think we had one person move.
SF. Immigrated to the US ~20 years ago. >90% of people I know in the US are in the Bay Area. Walkable. Goldilocks weather. Bright (can’t take the winter darkness of the far north). Good access to activities I like (hiking, Tahoe, Napa, etc).

Have been unable to find that mix anywhere else + fear of the unknown/devil you know.

Married w children + house, so friction of moving pretty high. Wife really wants to stay.

There are a host of downsides of course, and sometimes I think we’re crazy for staying.
> I’d bet not even grep uses it.

I’ll take you up on that bet. I see #include <regex.h> in every source repo of grep I can find right now.

http://git.savannah.gnu.org/cgit/grep.git/tree/src/search.h

https://opensource.apple.com/source/text_cmds/text_cmds-99/g...

https://android.googlesource.com/platform/system/core.git/+/...

https://github.com/c9/node-gnu-tools/blob/master/grep-src/sr...

You owe me a beer. :)

BTW, I do super agree with your comment to just not use strtok, and also the idea that most people are better off parsing text in perl or python...
Grew up in NJ. Most of my family came to the US through NYC and it seemed a lot more exciting to me than NJ.

That was around 7 years ago and now I'm thinking about moving to Miami or LA. My only requirements are warmth, some tech jobs, and a little more space.
An allocation you don't have to free is, at the margin, a simple pointer increment. It's the need to free memory that makes allocators expensive, not the amount of memory they allocate. This is why performance-sensitive programs use pools, arenas, and other preallocation strategies.
Long enough to explain things well, but no longer than that.
Especially if the goal is passing on information, be concise and do without the fluff and life stories.

So, better 100 than 300 pages.
> The fact of wielding real power means very little in the face of impersonal structures and systems beyond anyone's (and this includes the president's) control.

No, it doesn't. It means a lot, as is evident in the effect of Presidents on the actual behavior of government.

Yes, there are legal, bureaucraticd traditional constraints on Presidential power (but the Presidential power also extends to altering all of those things, though not arbitrarily and instantly.)
> I don't see any problem with source code that says something like 'auto maßtab = waage.m_maßtab();'

There's no potential for confusion if you allow ASCII letters and 'ß'. Confusion can arise, however, when you allow all Unicode letters.
I’m in FL too, but not the same city/county. Curious what you mean by additional property tax? Is that something in all of FL or just that county? (Maybe you were referencing Nashville)?
How about not going down that particular flamewar right now? Maybe find something actually interesting in those photos, instead of tenuous evidence for the ideological blinders shaping your every perception of the world?
I live in a tiny town in North central Washington state right by North Cascades National Park. We have about 200 full time residents. Originally built our house as a weekend place (about 4-5 hours from Seattle) but started working remotely in 2011 and was getting sick of Seattle going the way of San Francisco so we decided to move full time. I have to go to SF a lot for work and the travel can be tough with mountain passes, weather and flight delays out of the tiny airport I use but it's 100% worth it to be within a 5 minute drive of hundreds of pitches of climbing and right in the middle of the largest maintained network of nordic ski trails in North America.
I live near where my wife and I grew up, exclusively because we find it important to have our kids spend time with their surviving grandparents. That's the only important thing in our lives that is location-specific.
First proposals accepted on the world’s first decentralized dual-vote fund
There’s a big difference between those and, say, a Britta filter.
No kids yet?

We loved the location we were in, but the school districts were awful.
strcspn is ANSI C90.
Florida is an awesome location. You can basically catch a direct flight to anywhere in the USA and some European destinations. Weather, no State income tax, low pollution, access to some of best medical in the USA, etc. It's in my plans to move there one day.

At the moment I live in what I consider another top contender, DFW has access to anywhere in the world via direct flights. No state income tax, excellent access to medical, lower cost of living than the North East, etc. There is also a lot of available work. Interestingly enough Bloomberg ran an article that it is the #1 place for people relocating from the LA, NY and Chicago.
You can get around the registration by typing in a nonsense address like `asdfaadsfasdfdsadsff@yahoo.com`
Aren't there several sites that cache npm packages or redistribute over CDNs?

Though I agree, over reliance on just npm can be a bad thing (the 2016 issue over kik)
>China is just catching up to what the rest of the developed world has gone through

in the past there was no world trade organization and there were no multi-national free trade agreements. It's like saying china should be allowed to enslave people because it happened hundreds of years ago. There are now laws against it

I've seen this argument parroted multiple times on many different websites. It's either just the blind leading the blind or Chinese sock puppets spreading lies to justify blatant trade abuses
I live in coastal Los Angeles. The city has everything I'm looking for: fantastic weather (esp. warm winters), non-hectic pace of life, enough opportunities to become involved in interesting things (professionally and not), a diverse immigrant population, ocean access, great food scene, etc.

I work for a fully distributed team (Agentrisk), with people across the US and Europe. I'd be hard-pressed to leave SoCal for any other place.
The problem here isn't depending on an external library for a trim function -- all it does is wrap string.replace, so minimal if any non-native functionality is actually being provided.

The problem is that something this basic is considered a complete library. If you know regex you could write this on your coffee break. If you don't, you could look it up and still write in on your coffee break. If you want trim and do anything else with a string, you need another dependency tree.

This is not even really a problem with javascript lacking a standard library, so much as a problem with the accepted practices of the javascript community.
Do people treat you like a foreigner? That would be my concern about leaving America.

I have many friends who moved to Europe who say the locals never let them speak their language and keep their distance.
In Russia it's considered very bad and novice style to use Russian words as identifiers (they usually spell it with latin letters anyway, constantly switching between latin and cyrillic layouts is very cumbersome). There's one exception: 1C platform, but that software is used internally for accounting and basically a DSL with heavy use of application domain terminology.

Sometimes I'm tempted to use Russian identifiers for application domain terminology, because very often there's no adequate translation or I just don't know English enough to translate some terms. I like the following example: every man here has name combined from last name (Фамилия) which is used for all family members, first name (Имя), that's pretty standard. But there's also third name: Отчество, which is basically father's name with some suffix, e.g. father Иван will have child with third name Иванович. Now I've seen all kinds of translations for those terms, including plain wrong. Last name, family name for Фамилия, first name, name for имя, father name, second name, patronymic, patronymic name for отчество. I've seen bugs because one developer interpreted those terms differently from another.

And that's just for name. There are plenty of other terms. Add to that that many developers are bad at English and at best will use first result from Google Translate. So may be national identifiers have its place.
https://outline.com/vVv8UD
I live in Bolivia. My parents and my wife's parents live here. Having our parents here is great because we have children and are helped a lot by them. (I studied and worked in Switzerland before moving back.)

So, how did I decide? I just knew I wanted to have children and that grandparents are a great help, so it's mostly a family related decision. I work remotely as a consultant in software modeling.
Interesting answer. Do you ever worry about security issues?
I’ve never heard Indianapolis referred to as having a low crime rate. Is there a specific type of crime you are referencing?
Wow. But it sounds almost too good to be true; anyone know if it's for real?
> in Jerusalem people just are.

Can you expand on that just a bit?

Also, curious if you are Jewish by birth or conversion?
My original comment is entirely reasonable. Fusion faces generic obstacles that are likely unsolvable, and certainly unsolvable in the near term.

Consider the problem of tritium breeding. Fusion reactors have to make their own tritium -- T from fission reactors would be far too expensive -- but tritium breeding blankets cannot be tested without a working fusion reactor. And the requirements for the breeding blankets are seriously constraining. They must achieve some neutron multiplication (from (n,2n) reactions of energetic fusion neutrons) to offset losses, not lose too many neutrons to penetrates/parasitic capture, and be able to give up the produced tritium fairly quickly. And there are very strict limits on how much tritium can be lost to permeation into reactor materials (or lost from the reactor exhaust, since ~99% of the injected tritium doesn't fuse).

No one knows how to do this, or if it can be done economically, or even if it can be done at all. And I repeat: testing it is going to require a working fusion reactor! This circular dependency in development will be painful to run around, and won't happen quickly.

Then there's the matter of materials that can withstand prolonged exposure to fusion neutrons. These materials have not been developed, in part because this again requires something close to a working fusion reactor (at least, something with Q at least ~0.1), and much painful rebuilding as that reactor, built with less adequate materials, destroys itself over time. This material development will not be fast, so we will not have working, practicl fusion reactors soon.

Even when all that is solved, the fundamental problem of fusion -- low volumetric power density -- remains. That alone seems insurmountable. When you see a fusion reactor design, ask what this power density is. For ITER, it's 0.05 MW/m^3. For ARC or Lockheed's design, it's around 0.5 MW/m^3. These are very bad compared to fission reactors.

A final point: the complexity of the irradiated part of a fusion reactor (the part that's too radioactive for hands-on maintenance) will be MUCH higher than that of the similar part of a fission reactor. Reliability is going to be an enormous problem. Making fusion reactors reliable enough for them to be practically interesting, even if all other problems were solved, will take much experience and time.
If you dont mind me asking, is this on a work visa or something like aliyah? Background is that I’d be interested in living in Tel Aviv at least for some time, don’t have a point of reference yet for how realistic it would be to get a working visa approved, given the Israeli workforce is already in supply of pretty good IT talent.
As bad as these tactics sound, they were still laughably benign compared to the plot to kill Occupy leaders by snipers.
https://www.chron.com/houston/article/Occupy-Houston-assassi...

The FBI refused to release documents or identify the group that had snipers tracking Occupy leaders in Houston but if you read the redacted documents it becomes quite clear it was a government agency. The redacted documents contain lines that basically said the sniper "group" would take out any Occupy leaders "if deemed necessary". That latter language is used to describe government agency activities, not some renegade alt-right group who decided to take out Occupy by force. If the FIB has knowledge of ANY criminal group ready to take out people on-demand "if deemed necessary" there would be quite a few arrests, even if no murders took place. The fact that FBI arrested nobody in that plot speaks volumes about who the snipers were. Either the FBI itself, the Houston SWAT team, or some 3-letter agency that officially does not exist.

Those same forces that were ready to take out Occupy leaders are the same forces that killed MLK. Most people, even African Americans, do not know that MLK's biggest threat to the established order was not his campaign for racial equality. It was his campaign for economic equality. As soon as he made the issue class instead of race, he was killed.
MLK planned something called "Poor People's Campaign" and envisioned a million-people-strong demonstration in DC with the goal of non-violently interfering with government business and "occupying" the capital until the demands of the poor people are heard. Does it sound eerily similar to the Occupy group? Where do you think the Occupy leaders got the idea from? It was a re-incarnation of the MLK campaign from the start. And just like back in MLK's days, the government stood ready to murder the inconvenient leaders. Thankfully, it did not get to that point but it is quite obvious that individual rights and the law in general in the Western capitalist "democracies" are long gone.

https://www.huffingtonpost.com/obery-m-hendricks-jr-phd/why-...
"...Yet in December, 1999, after hearing the testimony of over 70 witnesses, including the owner of a restaurant close to the murder scene who admitted his complicity in the plot to kill King, an interracial jury in Shelby, Tennessee unanimously concluded that King’s murder was the result of a conspiracy of unnamed “GOVERNMENTAL AGENCIES.”

It is way overdue that we ALL wake up and realize the truth - we ALL live in an international fascist dictatorship that knows no boundaries and obeys no laws. The laws are just for us, to keep us from disturbing the status quo. And no matter how hard organizations like ACLU et. al fight for the rights of the common person, it is a lost cause from the start as these secret entities do NOT follow laws. They cannot be reformed. President Kennedy said the same thing about the CIA (that it cannot be reformed) and he was killed a month later. I think it is rather obvious where this whole process is going.

Unfortunately, history repeats itself, even for the people who learn from it.
How does that help? You have the same bookkeeping problem with memcpy as you do with strncat.
I... Got married. She has a business and I thought I could work remote. But the city still has a nice tech scene (SP, Brazil).
FDA: “Is Rinsing Your Sinuses With Neti Pots Safe?”
https://www.fda.gov/ForConsumers/ConsumerUpdates/ucm316375.h...

Highlights:

* “...usually safe and effective products when used and cleaned properly”

* “Tap water isn’t safe for use as a nasal rinse because it’s not adequately filtered or treated.”

* Neti Pots are FDA regulated medical devices
Lived overseas for years in major cities in Europe and Asia, came back to my hometown outside of Boston. Good schools, lots of things to do nearby in terms of work and travel, kids can grow up near grandparents.

Regularly travel and work remotely for 1-week to 1-month stints, and hope to expand that when kids finish high school. So easy to do these days.
Heh, I’m considering the opposite.

I’m currently living in Raleigh-Durham but thinking about moving to a larger tech hub. Options are DC, NYC, and Seattle.

Regarding your list of concerns, I share with you: explosive growth, zero public transport, and suburban hell.

The job market is good but not great. None of the big tech companies have a presence here, except Google for nothing more than historic reasons. I highly doubt that this will change anytime soon, simply because of the poor infrastructure and transit.

This leaves you with companies like Cisco, IBM, Lenovo, etc. They are not “bad” companies and there is a lot of interesting work to do, but they are also not Amazon or Google.

I'm still just starting my career, so I want to at least try out working at a big tech company. Also, my wife and I travel pretty frequently to Tunisia, and flights from RDU are long and expensive. As a comparison, a flight from Seattle to Tunis costs ~$400 less than from Raleigh while taking the same amount of time!