skysight-inc/HackerNews huggingface dataset:
It's about atomic habits. Like do it 1% better and you will be 100% better in 100 Days. Expand all areas and so one. SMART Goals. He does also sell a journal to track everything, so this is this.

I liked the book and the mindset. Reminded me of Arete [0]. But for me it's more like an ideal and a reminder. A bit of fake it till you make it and what would a person who already obtained the goal do or did do in my stead.

[0] https://en.m.wikipedia.org/wiki/Arete
You can't completely remove the trust factor no matter what you do. Can you completely 100% trust your computing device? Maybe. Can you 100% trust your network? Maybe.

But things like encryption help build trust. They ensure that there are safeguards in place in case something gets compromised. They reduce number of bad actors from unlimited to just one (the vendor).

In my opinion, all these are very good reasons to always opt for E2EE even if it isn't perfect.
Well, you could say the same about all of the foods at the supermarket from Red Baron experimenting with new frozen pizza toppings to Big Apple coming up with new apple specimens to HEB trying out a new flavor of fizzy water.

With the growth of veganism in the west, it's not surprising that we will see more companies targeting them with novel food products.

It doesn't seem like there's any more conspiracy when it comes to alt-meat products than what underlies all of the products in the supermarket, especially all of the packaged goods.
I have to wonder how much of the current "crises" we are seeing right now are simply because of a massive aging population. Of course the medical system is going to have issues, no matter if it is public or private, if you suddenly increase the demand, as the older you get the more health care you need, while at the same time all your most capable and experienced doctors are retiring.

Another is housing, right now we have one generation coming up right as the most populous generation is towards the end of their life, resulting in an increased demand and price, in 20 years as more and more the later generations start passing on they'll be leaving behind houses and properties, it's not like those disappear when the people do.

I've noticed that the media seems very engaged in making everything the crises of the moment and the focus on looking at things over the course of years or decades is often ignored in favor of sensationalism.
The conventional way to get a ROI is to actually improve what you invested in. Forcing a low supply is not improvement.
> 500+ LC. Kids just stay at home grinding LC all day. There are dedicated youtube channels in Hindi & other regional lang telling you how to dynamic program, backtrack, div & conquer, two pointer....its a whole different scene.

That's because it is a deeply rooted culture/attitude of the people in India (or other developing countries): intellectual one-upmanship (i.e.: my "brain" is bigger than yours).

Nobody wants to be perceived to acquire something (a job, a house, anything) easily; people want to have a sense of the greatest achievement after a tough grind.
I think this is spot on - it's still possible to make the contract voidable if you misrepresent what you're selling.
I think it mostly depended on the vendor, like today, where Broadcom and Realtek suck a lot, Mediatek and Qualcomm a little and Intel/Atheros work just fine. I remember using Ubuntu 6.10 or so with an Intel card out of the box.
There's a difference between building housing and being a landlord.
If this is something they get dialed in, I’ll buy several for sure.
Love the framework idea and want to support, but have very little use case right now.
One wonders if you created this post to be come a better typist.
>Housing prices exploded to compensate for the negative real interest rates.

They didn't "win." They broke even. The people that sold them won. The people with no house but inflated away cash/salary lost.
For me, it seemed that with Prey Chrichton had to sacrifice a lot of realism to cram the nanotech shaped pegs into the dinosaur shaped hole he was going for.
Hissp might be easier to get started with. It's much less complex as a whole and has pretty thorough introductory docs.
This looks cool at first glance. I'll dig into it more.

One note that may be helpful, if all you care about is the HTML, it's better to take a "snapshot" of the page by streaming the response directly to blob storage like S3. That way if something fails and you need to retry, you can reference the saved raw data from storage vs making another request and potentially getting blocked. Node pipelines makes it really easy to chain this stuff together with other logic.

For reference, I run a company that does large scale scraping / data aggregation.
hah! wow, i had no idea about the others

thanks for digging
Scraping JSON, HTML, and Zip Files with Pure SQLite
You can compile to vst with camomile as well, I wanted to mention.

https://github.com/pierreguillot/Camomile
Actually consumer saftey in e-bikes seems to be higher in China than in the US. Radpower bikes go up to 32km/h, while ebikes in china are legally limited to 25km/h. There's further restrictions on the weight and battery life, along with some other stuff I can't read because I don't speak Chinese. https://www.sjgrand.cn/how-legally-drive-ebike-china/
Futhermore, by the time humans react and disable the telemetry, things like system information and non-real time telemetry is already uploaded to Microsoft.

The case that we allow users to control privacy needs to be scrutinized more.
Anyone know the ownership percentage for the bay area?
Great stuff, fully agreed with all of these.

And I would add: a very large industrial effort to create heatpumps on such a scale that we can convert all of Europe in two years tops.
GNU runs on many kernels. GNU is part of the operating systems where it runs.
Yikes! Why bend over so much for clients of the library?
The parent tweet is someone from India.

Current green card wait times are approximately 10 years[1] right now. Given the length of the green card wait time you usually need some other visa (such as H1B) that will allow you to still live in the USA before you can actually apply for green card.

Currently the H1B lottery approves less than half of the people who apply.

So if you are trying to immigrate from India you are looking at:
H1B (1-4 years depending lottery luck)
Green Card (10+ years)
Time to become US citizen (1-2 years from what you posted)

So as a highly skilled advanced degree holder from India (the case of this Tweet) the overall time is 12-16 years and that is still no guarantee due to H1B being a lottery.

[1] https://worldpopulationreview.com/country-rankings/green-car... (See EB-2 and EB-3)
I have a weird workflow I think. I use ripgrep in the terminal to find relevant files and then run `subl $FILE` to open the file in Sublime Text in the foreground. Sublime knows to open the file in the window where the directory is already opened as a project.

I should probably use an IDE but I just don't like them. Sublime is insanely fast and lightweight. I don't want to wait for anything to happen and I find my current workflow allows me to navigate codebases quickly anyway.
Ahh I think we might be arguing past each other. I was arguing against the the argument that the kids wouldn't have gotten up the hill without an electric bicycle, as that's something that kids do often. I believe you're arguing that it's more difficult without the electric motor, and possibly less likely that they would have gone up the hill, and I agree with that.
Next few years? These are policies with effects impacting decades...
For one, rent can get more expensive, vs a fixed rate mortgage which doesn't.
If only there was a way to reduce the return to landlords...
These trends shift back and forth. A few years ago, certainly a decade ago, everyone was into productivity porn and life hacks and optimizing one's lives. Right now people are just generally burned out after the last couple of years.
Which society?
It’s tough because many of our societal problems are only exacerbated by population growth, especially in the areas where these types of workers tend to congregate. Highly skilled workers don’t go to the Midwest or the deep south. They go and drive up rental prices in New York and San Francisco, where the jobs are. Well the first order effects of having a more skilled in competitive work for us are good, the second order effects can be very very negative and we got to be careful about that
> A shout-out to NetNewsWire from me. It's perfect.

It would be a lot more perfect if you could force it to push local state to the cloud when it syncs (or vice versa). Automagically applying heuristics doesn't always work so well.

I really need to sit down one weekend and figure out how to make this work (by iterating through DB.sqlite3 and pushing the appropriate entries to Sync.sqlite3... I think...).
Depends on what I am trying to achieve.

Most code (especially legacy code) has more branches than typically matter: the majority of branches is error handling or special cases and can be ignored when investigating core functionality. Executing the happy path test case for the functionality I want to extend or bug fix and then stepping through the code with a debugger or manually is my usual mode.

I use IntelliJ myself. Being able to step through with a debugger can be a huge help to show actual implementations used in polymorphic code but few test suites are sophisticated enough to guarantee the possibility. Sometimes I will refactor code simultaneously in order to make it more comprehensible; that obviously requires some tests and experience but if you have the tests take the time to gain the experience and otherwise write the tests! Especially BDD style tests, the kind that survive refactoring.
Even AOSP is running something quite far from a mainline kernel, although they've been gradually reducing the delta with Linux proper. It really is a fork.
Sounds like the problem is the roadblocks...
Here in Canada I'm hearing plenty about this already. In Victoria, BC, a lot of retirees are living here and dealing with price increases for home insurance, services like water/electricity/garbage/recycling, property taxes, food, etc. and it sounds like many are being pushed to the brink of homelessness. I suppose there is no shortage of wealthy retirees here, but those just scraping by aren't uncommon either.
In general the smaller a drone the shorter its range will be. So size will very much depend on that,
> For the first time, I won a major raffle at a recent conference. However, I had to give the prize back since it was a beer dispenser and I don’t drink.

You didn't have to give it back, you could have gifted /converted it to money by putting it up on a marketplace.

> Let’s start with a beer dispenser as a prize. To be fair to the organizers (who hosted an awesome conference), all but this gift were regular ones,

Organizers don't always choose what's going to be in raffles, some of the prizes are offered by sponsors.

> and by pure coincidence, the only alcohol-related prize was won by the person who doesn’t drink.

That's how raffles work bro, if the organizers know who will win what when , there is a major problem (see https://news.ycombinator.com/item?id=17638677). However, if coincidence is on your side you'll end up with the car of your dreams when your beater dies. The only way not to be disappointed is to expect nothing out of it or just not participate.

Other than looking a gifted horse in the mouth, I wonder if the author enjoyed something at this conference and if he expected more than just the work related side. Personally I like the social side of events such as conferences where you can meet like minded folks who share common interests , yes the beer and drinks and etc as well. I don't judge when a small group goes out for a cigarette / vaping, even during work hours, & I respect people who don't partake. It doesn't mean not hanging around with them and not including them in activities.
Suffocating for lack of packages?

I'll note that Termux has about 1/3 the package count of RHEL / CentOS. It's not everything, but for a mobile distro, it's quite good.

That said:

1. Thanks for the Arch suggestion. I'll take a look at that. Root required?

2. Even with a full-fledged distro installed, if you're running unrooted Android you're still grossly crippled by the overarching (so to speak) Android system in terms of filesystem and process management and interference.
Not the OP, but you should take a look at https://www.gpd.hk/ they have a handful of small devices targeted at different niches.
> Imagine going to a meetup or work event where everyone is smoking weed and they’re discussing how to grow good quality cannabis. If you are not a cannabis user, you will feel out of place at that event.

Therefore - no more discussion of any hobbies at work or meetups!
The two tenants within a few houses of us in either direction would fit my definition (and likely that of many other folks) of "low quality tenant": don't bother picking up the beer can out of their yard, don't mow (at all), loud-ass exhaust on their shitty cars, etc. More of an eyesore than a contribution to the local community, and causing me to realize why HOAs come about.

But, yeah, it's all because they have brown skin. Oh, wait, the tenants in question are whiter than I am.
London's pub lunch would like to have a word with you.
Y Combinator alumni raise $80M for DAO to back crypto startups
It seems to me that the problem with the first version is that it's stringly typed with `key: str | ActivationType`. There would be no issue if `key` was required to be an `ActivationType` with `key: ActivationType`, as you've done in the second version.

Code like the first version is usually someone is trying to make the API more convenient, but perhaps a better way, that's more in line with static type checking, would be to have a separate `activation_from_str(...)` function.

For a similar situation, I was thinking about doing something along these lines (somewhat Rust inspired), although the duplication of variant names in the from_str method isn't ideal:

import enum
import typing

# stubs so this example is self-contained & runnable
class Sigmoid: pass
class Tanh: pass

class ActivationType(enum.Enum):
sigmoid = Sigmoid
tanh = Tanh

class Activation:

@classmethod
def new(cls, variant: ActivationType):
return variant.value()

@classmethod
def from_str(cls, variant: typing.Literal["sigmoid", "tanh"]):
return cls.new(ActivationType[variant])

activation1 = Activation.new(ActivationType.sigmoid)
activation2 = Activation.from_str("tanh")

Now, adding a new activation type just means adding it as a variant to ActivationType and adding a string to the literal list in from_str. Duplicating the name in from_str isn't great, but IMO it's better than having to add a new branch for each variant and the external API is nice too.
Getting the federal government to manage all rental properties sounds awful. I sent a request the IRS last September and they still haven't replied yet with anything but letters saying they're backed up.
Freedom isn't to blame directly, but freedom can be abused and without defense mechanisms it will be abused.
Police warn public after Texas woman poisoned by a napkin in door handle
This was by design - the real estate industry lobbies hard.
china is much worse in that regard. i was never subjected to it, but i could observe it. lot's of drinking.generally business decisions aren't made until after a big dinner with everyone with lots of alcohol. not everyone does it though, but it is considered normal and sometimes expected. they may not pressure anyone to drink, but it could affect their decisions later.
When properly locked, QR axels don’t go loose (regardless of brake type). Unless your sending 20ft kickers into rock gardens, QR is fine.
copy and paste my comment from an earlier post which failed to see HN traction (https://news.ycombinator.com/item?id=32562747):

> The complaint from former head of security Peiter Zatko, a widely admired hacker known as “Mudge,” depicts Twitter as a chaotic and rudderless company beset by infighting, unable to properly protect its 238 million daily users including government agencies, heads of state and other influential public figures.

this is a fun read. I've long said that government agencies, heads of state and other influential public figures are obvious candidates for running their own ActivityPub installations (or in paying competent people to do that, which shockingly Twitter, Inc. could be in the business of hosting/selling).
I’ve had great luck with a mixture of high-concentrate vinegar, a little dish soap, and some salt. It absolutely puts Roundup to shame. This mix is non-selective though so be careful around the plants/grass you want to keep.

Using this mix with a battery-powered backpack sprayer is AWESOME.

Edit: Make sure you rinse the sprayer real well afterwards though, vinegar and salt aren’t great for the seals/pump.
Jony Ive is tossing in his grave
Tim, would you please make sure the right people approve my app? I just sent for approval a wicked cool app that makes old phones new. And, as we know every old phone is a new phone about to be purchased - wink, wink!

So, here is the app I am introducing for August 2022 - Down Time, only for new iPhones. Down Time monitors all phone inputs, sensors, and the like - all when the phone is "down". This allows the Powerful Apple Silicon inside the iPhone on your desk to generate ML heuristics that map how the phone is used when it is not being used - when it is turned off, charging, left in the car, etc. Of course, the next step is to create local SMS messages and notifications that illustrate which of my other apps in the store will make the phone function better. If none of my apps will run on a phone, I create a red, warning hazard of a notification that says a NEW iPhone must be purchased to continue using this family of apps. It's a WIN-WIN, Tim. Please get this approved right quick!
I enjoyed the book but I feel like it ended before it really started. Which is also part of the appeal, to think what could have happened?
I've had friends who described the culture at their companies, and it sounded like everybody worked through an alcoholic haze. Somehow I've never end up at companies like that.

Although at one company there were occasional after-hours jaunts to a bar, they weren't attended by management, and nobody kept track of who attended and who abstained.

When I gave up drinking for a few years during my divorce, I was definitely in the minority of non-drinkers, but I never seemed to have any trouble. Then again, I didn't make a big deal of it by doing things like refusing a raffle prize. I wasn't trying to make a moral stand, I just didn't think it was a good idea for me to be drinking at the time.

Anyway, in my experience, OP is making a mountain out of a molehill, but I've heard from some friends whose work experience is different from mine that OP might just have had a run of bad luck.
People like their drugs and alcohol, but various societies have all kinds of issues with legalization of drugs and alcohol. Alcohol is illegal in many countries, other drugs are illegal in other countries, with varying degrees of state-sanctioned punishments.

From a biochemical perspective, alcohol is one of the more damaging drugs with long-term health consequences for heavy users, certainly on at least the same risk level as opiates, cocaine, (meth)amphetamines, benzodiazepines, cannabis, mushrooms, LSD, mescaline, nictotine, etc. Behavioral consequences of use and abuse are not much different (think of how many people are killed by drunk drivers).

The underlying issue here probably isn't infrequent use, it's people who grow so accustomed to their substance of choice that they can't do anything or attend any event without it. Smokers deprived of their nicotine can't sit still or interact with other people, alcoholics deprived of their daily drink go into fits, opiate addicts start climbing the walls, etc. If these are the people designing social gatherings, you can be sure they're going to set them up so that their substance of choice is the center of the activity. If they get upset that others aren't imbibing with them, they're just looking for social support of their rather unhealthy behavior.

For many of us, however, a 'work-related social event' is the last thing we'd want to do with our free time - it's time on the clock, representing the company, and might very well go into our performance review in some way.
"Speculators" sure, but most people who own multiple properties I wouldn't think fall into that category. We own a rental property - it's very much a long term investment, and we charge rent below market rate (it's still positively geared!). I don't believe our purchase locked out any first home buyers, it's a tiny 1BR flat, and priced at a point those just getting onto the property ladder could've afforded it (and outbid us).
If we do sell the property it'll be to help my Gen-Z son buy a house. Having had assistance from my own parents (a smallish interest free loan that I paid back within 5 years) that seems fair enough.
I enjoy discussing my work. If someone asked me about my hobbies, I'd stare blankly, wondering if they really want to hear that I go to the gym, or the hours I spend on obscure corners of Wikipedia, or doing math for fun. For small talk, stick with questions that folks are asked constantly, and that everyone has a ready and rehearsed answer for.
This is victim blaming. Destruction is asymmetrical compared to creation. It takes one idiot with a match and 30 seconds to burn your house down. Doesn't mean your house wasn't properly constructed.
You only really need super complicated types to represent existing very-dynamic javascript libraries. If you're starting from scratch typescript is as easy and/or easier than javascript. If you do have incredibly complicated types, it might be a sign that you have a bad design. At work most of the typescript libraries I wrote just ended up using interfaces and enumerated strings and occasionally a union type. Sometimes I'd use "never" to prevent certain things, but I can't say the types ever had to get much more complex than that.
They may also find another loophole: like make iPhone thinner than USB C, or certify it as a health tracker, or increase charging rate to 101 W. That technically moves iPhone into the laptop territory, and different regulations apply.

"Included devices: a larger range of small and medium-sized devices with power delivery up to 100 watts would be included under the scope of the directive, including e-readers, low-powered laptops, keyboards, mice, earbuds, screens, printers, portable navigations, smart watches, personal care devices and electronic toys (annex Ia Part I RED). Some products, such as smart watches, health trackers and personal care devices, could be exempted if they are too small to have a USB Type-C receptacle. By the end of 2026, the Commission would be required to assess and include other devices that can be charged with the USB Type-C under the scope of the directive."

https://www.europarl.europa.eu/RegData/etudes/BRIE/2021/6988...
Although i'm very much a fanboy of the matrix protocol, i really wish Apple and other big players would at least consider something like matrix...That is, a protocol that is secure, extendible, but still universal enough to be federated; not proprietary. I imagine decades ago there might have been similar (though maybe lower intensity) debates when email was becoming popular. I'm so glad the elders were wise enough (and not money-grubbers like nowadays) and came to an agreement around mail protocols like smtp, imap, etc. Even if its not matrix that is chosen, i really wish we had better choice for a chat/text messaging protocol. I get that lay people may not care about open protocols, or federation as much, etc...but my goodness in this day and age, it astounds me that we have not gotten our collective act together to standardize on secure, federatable, and straight-forward basic messaging.