skysight-inc/HackerNews huggingface dataset:
> Why are there no guides on the typescript site about library developers? What about a guide on the recommended tools for a library developer?

One interesting thing about Typescript is that it prefers .ts to .d.ts files.

So if you ship you .js, .js.map, .ts, and .d.ts files next to each other, your downstream consumers will be running expensive type inference on the .ts.

Instead, you have to manipulate package.json entries so that the .ts and the .d.ts are separate. (Or inline sources into source maps and exclude .ts from the package.)
You can also use something like the NIKE missile system or the iron dome.
I'll take a whack at it. You have your mortgage, and let's say the hypothetical payment is $1000/month. That is all you'll ever be obligated to pay each month in order to live in your house (we'll ignore property taxes for the moment). Whereas your neighbor rents her house for $1000/month. But next year her rent is $1050/month, and so on. In ten years, she'll pay on the order of 50% more to stay in that house. But you'll still be paying $1000/month, and will continue to do so for 30 more years.

But that's just how mortgages work, right? Lock into a rate, and have that for 30 years? Only in the U. S., AFAICT. Canadians will correct my details, but as one example in Canada one gets a mortgage for, say, five years at x%. After five years, go renegotiate? (Help me out here, Canucks; as soon as I went to write it out, I knew I had it wrong.) Anyway, point is, the "lock it in at 2.5% for 30 years" seems to be unique to the U. S., and assuming that your wages increase, after a period of years you will keep more money in your pocket than the neighbor that rents.
Shut up and take my money

Seriously, power, volume, silencer, lightning, 3.5mm jack, home button on the back for touch-id, what more do you want (well maybe usb-c instead of lightning)
Media is mostly run by the left so easy to vilify the other side.
H1B employees cost a lot more to employ than fresh grads. On top of having to pay above average wage, companies have to employ lawyers to handle a lot of paperwork.

> most companies don't want to invest in training anyone up anymore

The past four companies I've worked for had training programs for new employees and internship programs to funnel college students into jobs after graduation. Maybe bad experience on your part?
You could have the home button that was placed on the back of the phone wake it up. I still enjoy my S9+ because of it's well-positioned fingerprint sensor on the back that wakes the phone and bypasses the lock screen.

I suppose when you're turning the phone off, you can easily shift your grip to hit the top. I still wouldn't think to put the power button there, though.
Surely if the moisture sensor was on that would have put out the fire?
Not to mention that if you do anything requiring security, then this all becomes a giant nightmare that results in the entire editor and toolchain being disallowed.
These are just bandaid solutions that do little to solve the underlaying problem and well established fact that we simply haven't been building enough homes over the last 50 years. Proposals that don't address this, or remove capital from the market should be met with skepticism imo.
This thread treats the question as if it has a single correct answer, but there's a pretty big probability it will vary between sectors, companies, employees and countries.
> testing types

Right, this happens in any language where you are writing type lambdas or functions at type level, which makes sense actually. We've been doing this in C++ as well for years...

On another note, Redux is fundamentally a bad experience in typescript because the action type must extend from `AnyAction`, so it poisons the well.

What we need is a first-class typescript state container with a rigid API, even better would be first-class enums and pattern matching...

Writing generators isn't fun in typescript, so yes I imagine redux-saga would be painful.
What is the benefit of signing a commit with a SSH key vs. a GPG key? Is it simply being able to use ssh-keygen instead of gpg?
I’m sure it is but the status I see shows that there isn’t much support for anything newer than 802.11n cards period, so if you’re using anything from the last 5 or 6 years, you may have a problem.

That’s a it different from the various Broadcom or whatever issues the Linux kernel was dealing with in the early Ubuntu eras (where Ubuntu also I think accepted some blobs/drivers that weren’t in the kernel at the time).

The problem here seems to be no support for certain stuff, regardless of chipset maker, rather than having to pick a certain one, unless you’re able to go really far back (which may have issues on some networks at this point).

As always, the best option for less-mainstream operating systems is to use Ethernet when possible.
We should stop pretending it's a choice between single-family houses and 30 story high-rises. There are lots of seattle neighborhoods, for example, where people bought single family houses 20, 30, 40 years ago because of the character of the neighborhood and now suddenly the yimbys have changed the zoning to accept seven story buildings. A good friend of mine has lived in and cared for his home for 25 years and now the houses bordering him directly to the south have been sold and a 7 story apartment building is going up 5 feet from his property. Once it's built, he will literally never get direct sunlight again. That's pretty significant.
Germany offers a shorter and significantly cheaper path to citizenship, for instance.
> Kindergarten Cop - "Spring Morning"

> John Kimble reads the final two stanzas of the children's poem "Spring Morning," by AA Milne, to his kindergarten class

https://www.youtube.com/watch?v=UnPsFFk0sBg
He must have been the kid that cried after getting the wrong toy in their Happy Meal.
Yes, at the top of https://www.solarmist.net there is a mailing list signup box.
If people share your values and are ruling in your interest then it doesn't matter if they are far away. If someone is ruling against your interest and doesn't share your values, it's no benefit if they're local.

And what does "local" mean? London to Brussels is only 200 miles direct, that's closer than Belfast, Edinburgh, or St Davids which are all places more or less ruled by London as "local" to the UK.
Where I live, the hospital is struggling to hire nurses due to the lack of housing options. That's not even the 'low income' bracket. Teachers struggle to find housing as well. Those are both things that high income people need, especially the former.

Restaurants are shutting down for want of workers. Because they can't afford it.

Low income workers provide valuable services in our communities. Telling them they can't live where they work creates all kinds of problems, both social and environmental - they often drive in to do those jobs, creating more pollution and traffic.
I bet a trebuchet launching random scrap metal or rocks and debris would work just as well too. You can make one with some scrap wood capable of sending a watermellon hundreds of yards as it is.
Real estate investors are legally required to rent out their units.
Beats mini and micro
Salience bias. You don't notice the competitive people who aren't assholes, but there are plenty of them. Some of them are even humble.
You need to re-add your SSH key and there's a new key type select box that has "signing" option. The old keys are only good for auth.
> This is patently false. If you start smoking cigarettes occasionally and start doing it more, you are becoming more of a smoker. The actions you take or don't take are the clearest input to the person you become. It's true that this is also the person you are, but that distinction seems meaningless if you're trying to become someone better (whatever better means to you).

I don't know about 'patently false': it's literally true. The things you do reflect who you are when you do them, the person you are becoming is a hypothetical who does not exist. For example, I am the one splitting hairs in this comment, not the future me who wants to be named world's biggest pedant.

What your example points out is someone who is doing more of something over time. A smoker who smokes more is a trend, not an action.
Nobody is talking about buying or selling zoning laws. However, the value of property and the taxes paid on it are very much impacted by zoning laws. So people absolutely do make decisions on buying property based on zoning laws.

The value of my house would be decimated if there were a pawn shop next door to it. I wouldn't have bought my house if that were even a remote possibility.
Automotive yes, and standard profiles like tubes, but not smaller consumer goods because it's very expensive to tool up for a chromed item due to the finish needed on the substrate (without CNC, remember). For example a chrome case for a telephone handset would be brutally expensive compared to plastic (until metallised plastic was developed).
Is this demo meant to be working? I can't upload a video.
That's fine if you don't want to do that. Really. A lot of people (and, to be clear, I'm not saying you specifically here) fall into the trap when seeing things like this and they feel like it'll be forced on them like someone will come along and just build a second house on their hand and say "congrats, you're a landlord now".

But plenty of people will do that. They will want the extra income. The problem is currently that's literally illegal in most of the US.

As for evictions, these vary state by state but evictions are only really a huge problem with housing supply is so restricted. Yes there are some bad actors. But a lot of times eviction means homelessness for some people.

I'd personally be OK with making it relatively easy to evict someone who is living on your property (as opposed to say living in an apartment building).

But a very real problem with treating real estate as an investment is the owner profits by forcing negative externalities on their neighbours without having to suffer through them themselves (eg AirBnB). We need to clamp down on that.
And move where? Most of the cities that are growing have a housing crisis. Most of the cities that are shrinking can have major safety issues - see @pontifier's misadventure in Pine Bluff, AR[1] for a particularly extreme anecdote.

1. https://maxread.substack.com/p/the-man-who-bought-pine-bluff...
" It is impossible to take USD out of Argentinian ATMs,"

Why would you expect to be able to do that?
FreeBSD on laptops sounds like Linux on smartphones. ;)
I’ll take another look. Usually I just check out whatever my local grocery store has on offer, but I’ll try and find some places that offer a better selection. Thanks for the recommendation.
Not directly. I've been developing open source for almost 30 years now (I co-founded Apache Java/Jakarta). I consider that the experience gained from developing extra curricular projects pays for itself in other ways. For example, I've never had to interview or even look for a job and I've never been laid off.
You don't need a dongle, just purchase a supported wifi card. I put a supported atheros card in my framework laptop and the wifi works flawlessly, natively. The framework laptop is designed to be opened and have the parts replaced, so its the perfect laptop for doing hardware changes like this.
Pork belly is very disappointing if you are looking for bacon. It has all the fat but very little flavor. It’s usually bulkier and doesn’t cook down to an acceptable texture. Just a flabby kind of a disgusting mess. I don’t really know why people often suggest it as an alternative to bacon. Not the same product at all.
The Soviet Union seems to have failed that game by collapsing through external debt.
If someone wants to read some science fiction related to this topic, I recommend: "Anxiety is the dizziness of freedom" by Ted Chiang
I can't take a "maybe it does what it says" to my boss and expect approval to use that extension. It might be different if the license didn't agree to telemetry, but that means they can't even sue if the extension leaks private or secure information.

That's a legal minefield.
> That is the whole point in creating a library. To hide complexity in a nice easy to use interface/API.

Totally agree. Minor ergonomic changes in a library have a wildly disproportionate impact on developers. If I save a developer 5 seconds with a better type, and I have 1000 developers using my library, that's 5,000 seconds I just saved - and that's assuming they only ever use my type a single time! With this in mind, I'm totally OK paying a tax on making libraries a bit harder to write, if it means that the benefits of stronger types fan out. After all, writing that type could take 4,995 seconds for me to write and still be a net positive.

And honestly, 5 seconds isn't even close to accurate. Good type definitions have saved me hours.
My Google Cloud was suspended too
> At the levels where an LVT is effectively coercive, it’s functionally indistinguishable from rent paid to the government for land you don’t actually own.

I don't see how this follows. Would you mind explaining?
Just do Sortition, give more power to a representative sample of the population.
as another American from an immigrant family. I think getting an H1-B should be easier, not tied to a company, and require companies to pay them more than a citizen. This prevents a lot of the abuse I see right now to people on H1-B's, staying with jobs that they hate, and prevents wage suppression in the industry for others.
Canva has many subtle behaviors, such as how it clips and pan photos, snapping and alignment. If you want to build something comparable I would recommend ditch fabricjs and roll your own. Just need to brush up on matrix transform and vector math.
Why nuke cities when you can just bomb factories with precision? We already have technology capable of sending a missile to a specific seat of a car. US military has been deploying missiles that just have big swords on them now because they are precise enough where they don't have to bank on a large explosion to ensure they hit their mark. If the enemy opted to shift manufacturing into homes or hide it otherwise, you could just have an agent on the inside who marks these targets from the ground and they are later destroyed with precision.
Yeah, Redux Saga is known for heavily using JS generators and I wonder how much of this is just the relative obscurity of that language feature for him. It's not exactly a straightforward library.
That doesn't cover whether or not he had contact with Musk and when he started the whistleblowing process.
Others are quibbling that there are lots of things that can make a person feel excluded due to lack of a shared interest, and alcohol isn't special, and that one can always get a non-alcoholic drink, etc. But I think alcohol _is_ kind of different:

> Most folks don’t understand the effect of peer pressure on those who don’t drink or are in an early stage of recovery from alcohol problems.

I think the 'early stage of recovery from alcohol problems' concern is valid, and is not at all on the same level as a person who is disinterested in sportsball having to nod through a conversation about sports.

But I also think his post brings out some questions that people should be thinking about with such events: are you making choices which will make your event less successful at achieving your goals? The people planning a network event almost certainly didn't want the author to feel alienated and excluded at a _networking_ event. If a person that helps close a big deal doesn't drink, perhaps opening a bottle of champagne to celebrate doesn't actually make them feel seen, valued and appreciated.
Excellent advice in the last sentence - I second that.
Nationality and race are not intrinsically linked so I am not sure how that is racism?
Surely you are joking. If a hostile can get a torpedo that close to the target without being detected, they would just use a ordinary torpedo and warhead instead.
I ate cereal for breakfast this morning. I'm sure I could analyze this decision, judge my future self, and change what/when/how I eat. But I'm not interested in that much introspection or self improvement. I'm just trying to get through the day.
Emergency medical treatment, right?
Nah. I’m a “real adult” (in a wealthy American city) who makes plans like an adult and isn’t driven by childish cliques and in-group behavior but I have 100% excluded android users or asked someone to manually relay messages to them when they got dropped from an iPhone group chat.

SMS is botched and finding an overlapping app across 15 people is impossible. How are you supposed to coordinate that if you can’t even use SMS groups? How do you find a common app? You’d need one or two people doing person to person investigation to figure it out. At that point, it’s easier just to find the one person who’s phone doesn’t work and relay messages to them. Half the people don’t want to download a new app. Another half don’t trust Facebook apps. Another half think email is too slow (and too easy to exclude someone).

The general social sentiment is that the android users did this to themselves by choosing a cheap phone or choosing to care more about “not letting apple be in control”.
I doubt it. Shrapnel and bullet kills will decline because of the energy cost of carrying the weight restricting range. I expect them to use needles fired precisely by a mini railgun at exposed areas of skin. Coated with a chemical agent. I also expect them to be able to recharge via solar or perching on power lines. They can then sit on rooftops and wait for a facial recognition match on the streets below. They could sit there for years. And what about the use of a nuclear battery? Now you can’t shoot them down for fear of contamination. Nightmare
I suggest to share your experience in [1], so others can benefit of your testing.

[1] http://linux-hardware.org/
> Let’s take things offline could mean: [...] “If I have to talk about this with you for one more minute I’m gonna go apeshit in front of all these people.”

Couldn't help but be reminded of https://www.youtube.com/watch?v=1RAMRukKqQg
Everyone continues to willingly miss the point. Let me spell it out again.

--- start quote ---

Because, as it turns out, I can't expect this from any computer, be it hobbyist, educational, family, gamer, professional, or whatever adjectives you can put in front of it. Except Apple.

--- end quote ---
Those can be tasty but are nothing like bacon.
That is my initial reaction, but ... a minimal linux VM in a minimal hypervisor, might not be that bad, for a network adapter. Perhaps -40MB- 128MB of memory? Double the context switching? Sounds kinda like a micro-kernel driver.

Have you ever tried to install a minimal driver for a printer in windows, and then watched in horror as it automatically started downloading 600MB of HP junk?
To the deaf there's nothing colorful about music, just silence. To the diabetic there's nothing colorful about cake, just "grey and black from a certain point on". So why do people always have to involve music and cake in their celebrations, and spend so much time talking to each other about it?
I don't think allowing users to call libraries in all manner of crazy ways is a good thing at all, and I don't think anyone would really be that put out by following a more pythonic approach of just allowing one way to do something.
> HOAs

If people are going to do restrictions about who lives where, HOA's are probably better than zoning. They're more localized, and the costs of administering them are born by those who perceive them to be beneficial.

I'd never live in one, but to each their own. I'd rather have someone choose one of those in a free market than get involved to zone the entire city one way.
You'll need to re-upload your public SSH key as a signing key for the signatures to be shown as verified. https://calebhearth.com/sign-git-with-ssh#github
Definitely not the case.

In my middle- to upper-middle-class mill town there's a proposal to turn a disused historic mill building into luxury apartments and residents are fighting hard against it. The main stated reason is traffic, although it's unclear to me if having a bunch of apartments will generate noticeably more rush-hour traffic than when the mill was operational. I think some folks are also put off by the term "luxury apartment" too, as this area is becoming less affordable than it once was. So they counter-productively fight against increasing the housing supply, which would actually create downward pressure on rent, even for non-luxury places, as folks in more modest apartments might be tempted to move to these fancy new places, creating vacancies for others.

I think a lot of people just don't like change, so they fight it - they want their town/neighborhood/whatever to be just the way it was in the "good ol' days", which just isn't realistic. The mill jobs aren't coming back, but we do have white collar workers willing to pay for attractive places to live. Why not re-use the damn mill building?
References to the racialization of property in the united states. The issue is not simply who has a right to a own home, but who has a right to housing.

- The History Wars and Property Law: Conquest and Slavery as Foundational to the Field, K-Sue Park, https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3793972

- Racialized geographies of housing financialization, Desiree Fields, Elora Lee Raymond, https://escholarship.org/content/qt5gd214jn/qt5gd214jn.pdf

- Race and uneven recovery: neighborhood home value trajectories in Atlanta before and after the housing crisis, Elora Raymond, Kyungsoon Wang & Dan Immergluck, https://www.researchgate.net/profile/Elora-Raymond/publicati...

- Race for Profit: The Political Economy of Black Urban Housing in the 1970s, Keeanga-Yamahtta Taylor
my suggestion of volunteering as a team outing instead of yet another drinking one was not well-received
I do not understand this. Because this mythical moronic figure everyone in this thread is talking about doesn't account for confounding variables, telemetry is just bad generally?
Power button on top was the old configuration for iPhones, too, for the first 7 generations. It went to the side from iPhone 6 onwards, as the phone got larger.

"the top button was renamed to "side button" and moved to the side of the phone instead of the top to improve its accessibility."

https://en.wikipedia.org/wiki/IPhone_6
The Linux kernel has been 2038 safe[1] since early 2020. But there's a lot of work to be done on older systems. It's amazing the date is still 15 years away, but time flies.

I've got embedded Linux systems still on the 3.x kernel that have a good chance of still being in use in 2038. We've been backporting patches where and when we can.

[1] https://lore.kernel.org/lkml/CAK8P3a2iZyA1VSFqvcEc9o59F76Ggz...
https://news.ycombinator.com/item?id=32571075
"At seven hundred freaking degrees, fluorine starts to dissociate into monoatomic radicals, thereby losing its gentle and forgiving nature."

Lol - that's the best
Streamers of string? Fishing line / kinked / sticky / cross linked.

https://www.google.com/search?q=Confetti+Streamers+defense+d...
You cannot know that. NASA flew shuttle payloads for decades at a substantial loss. Who knows what aerospace companies might have filled that void.
Will Tate's disgusting misogyny actually go unchallenged if he isn't posting on Instagram? Are you advocating for considerably more feminist activism resisting forces like his?