skysight-inc/HackerNews huggingface dataset:
> This comment isn't really correct all, it's not possible to do that with the architecture of X.

Sorry but i do not think you understood my comment at all considering what you wrote. What i wrote is for the X server to pretend the other clients do not exist, which is something it already can do (at least for a single client, if what harporoeder wrote about putting all untrusted clients to a single domain is correct) and...

> you can't really fail anything because errors are usually treated as fatal in Xlib and most clients don't bother with error handling in Xlib

...any errors would be the same as if the other clients didn't exist and handled the same way.

Also the important bit is that you cannot do what i describe right now with the released / existing Xorg, but there is already enough functionality there to show that it is possible if the Xorg server was modified to enable it. This isn't something you can switch on with some configuration or make a couple of lines code change, it does need some effort to implement the necessary functionality and that effort combined with the lack of anyone really needing it is the main reason why it isn't already done.
China does not have the rule of law. This applies to all things including property. You can live your entire life in a house and have it seized arbitrarily without recourse. This is such a fundamental difference in life it’s hard to comprehend.
Yo! I'm mostly doing back-end development as a hobby and to learn some new tech (ai researcher by trade), and I'm looking to join forces with a front end person to work on larger projects. Shoot me a message if you're up to it, we can explore this space together. (Mind you, I'm doing this as a hobby, so time commitment varies a lot.)
Tl;dr, which is too bad, because normally danluu's stuff is great.

From the bit I had patience to read it sounds like "we made a complicated thing and it's doing complicated things wrong in complicated ways".

It is hard to believe that some of these CPU heavy, latency sensitive servers should really be in containers. Why are they not on dedicated machines? KISS.
Depreciation of assets also goes on P&L so no difference on periodic visibility. Also, while not capex, prepayments/reservations for cloud services are in fact assets/liabilities so yes opex vs capex is a good high level distinction but not 100% the essence.
> FWIW he's getting less stuff wrong over time.

That's hopeful, with that kind of following he has some serious responsibility. At the same time, I cringe when I see people working with large packs on workbenches with loose metal laying around, totally irresponsible pack geometries where balance wires cross and recross each other with abandon, recycled cells that have visible external damage and so on. Youtube is a great way to pick up some 'worst practices' thinking that if these youtube stars are doing it it must be ok.
I also was an essential slave. I wasn’t privileged enough to sit at home making twice as much on unemployment than at my job then. I share your resentment. I think the privileged, like those programmers complaining about having to do DoorDash deliveries once in a blue moon, need to start thinking about the growing swell of resentment in all societies towards them. Nothing good will come of it I promise.
> Students also have lots of debt over the past decade (15k on average)

Those are amateur numbers.
-USA
GDPR still applies in the UK via their "equivalent" UK GDPR, as does the PECR (which is their implementation of the ePrivacy Directive, which covers cookies).

UK cookie law is pretty strict, and also pretty clear to read - https://ico.org.uk/for-organisations/guide-to-pecr/guidance-...

The issue is nobody bothers to follow it, and enforcement isn't likely enough, or crippling enough, to drive compliance.
You can't just work your way to wealth. You need to reinvest what you make into other assets and let them compound...

That said, I know self employed developers making 150-200k (EUR) gross per year as contractors. But I also know employees that get allocated a few 100k/year in stock options as part of their compensation.

Yes, you do need to be exceptional. And you need to be smart in the choices you make. I thought that was a given, since millions of dollars don't just come falling from the sky.
The runtime and storage requirements you cite only apply when you need exact answers.

If you want to compute a correlation coefficient, you are probably happy to get eg 3 significant digits of precision. Thus you can use approximation algorithms and sampling.
You’ll get there also alone, if that’s your type. Artists are independent, self learners.

What I suggest for front-end is a component based approach: React, Vue, Svelte, Lit. Components are a new paradigm, there are here to stay. I also suggest to learn “The new responsive” from web.dev - in the same way the future.
The stats I quoted (drop from 70k to 50k) are not pandemic related. The drop has been gradual, as SF has become less hospitable to people with kids (costs, safety, school quality).

The enrollment dropped from 2019 to now, but by something like 5k (on my phone and don't have the exact stats handy).

My anecdotes about the last few journeys I took are recent, not from 2019. But, even in 2019, my experience of public transport in San Francisco was that it was far less crowded than that in London, New York or Beijing.

SF's roads are not congested. If buses were to become crowded due to increased population, we could just buy more buses and increase the frequency. This would keep crowding at current levels, whilst reducing wait times, thus making buses far more convenient than they are today.

Regarding Caltrain: if SF had more housing, fewer people who work in SF would need to live outside and take Caltrain in.
I didn't get the idea of ranking. But it's simple:

"In statistics, ranking is the data transformation in which numerical or ordinal values are replaced by their rank when the data are sorted. For example, the numerical data 3.4, 5.1, 2.6, 7.3 are observed, the ranks of these data items would be 2, 3, 1 and 4 respectively. For example, the ordinal data hot, cold, warm would be replaced by 3, 1, 2."

https://en.m.wikipedia.org/wiki/Ranking

Also learned that a Spearman coeff is just the Pearson coefficient taken on the rank of the data, instead of on the raw data.

But whereas Pearson/Spearman takes the sum of product of data/mean differences (Σ(x-x̄)(y-ȳ)/σxσy) where x̄ is mean and σ=std. dev., Chatterjee takes sum of rank differences (3Σ(rᵢ₊₁-rᵢ)/n²-1), concerning just the ranks of the Y data after the X,Y pairs have been sorted by X.

But still missing the intuition for why the sum of difference of ranks is so useful or where the magic numbers come from.
I'd estimate that Google uses ~1000 TB of fast storage, Bing 500 TB and Yandex 100 TB, so the most basic useful search engine would use at least... 10 TB?
It was about how that could heat (or not heat) a cabin, time is definitely a factor in that.
Or cooling.

Both loads are fairly modest in California compared to other parts of the US, though AC usage in the inland valleys may be high, and will likely be getting higher bye and bye.

Whole-house air filtration may also increasingly become A Thing.
Technically we can adapt to a lot and contemporaries with our same biology still routinely make do without much in the way of permanent shelter. However, a summer kitchen is on a different tier of requirement from food safety. If it doesn't seem so to you then we just have a different notion of what is a reasonable baseline to expect from life in this country.
I am hoping for a membership service (think Clear vs TSA PRE) that allows you to avoid ads on all (digital) platforms. YouTube and Twitter are becoming so terrible with advertisements these days. I don't want to complain about it though - I want to just pay some $$$ to not see them anymore.

We went all-in on this advertising based economy and no one really wants it but the advertisers.
The government paid businesses too via PPP. They were called loans, and then some part of them were forgiven [1]. Is that a free market?

[1] https://www.sba.gov/funding-programs/loans/covid-19-relief-o...
Congrats on the mvp path you took to lunch your product. Generally, I think that there is a place for other variations of web search, be it in the way you crawl or perhaps how you monetize. I genuinely believe that it is really hard to build a general purpose search engine like DDG, Google and the like, but you can build a fairly good niche search engine. I'm particularly fond of the idea of community powered curation in search. Just today I lunched my own take on a community driven search engine - https://github.com/gkasev/chainguide. If you like to bounce ideas back and forth with somebody, I'll be very interested to talk to you.
I've been planning a trip pretty similar to this for years, and like to think that I would have done it in summer 2020 had COVID not happened (my planned route is Skye-Bali and involves a couple of ferries so not 100% train).

I cosign everything in the OP article regarding logistics, current availability, the Vientiane Gap, etc. The only thing I'd note is that there's a different route available that is about 1000km shorter, via Barcelona-Nice-Milan-Venice-Vienna-Bucharest-Istanbul-Baku-Astrakhan-Almaty-Urumqi-Kunming-etc.

I've done nearly the full Trans-Siberian and while it's a cool experience (esp if you speak Russian and can talk with people on the train), watching pine trees go by gets boring after day 3. I personally think that if you're going to commit to a Europe-Asia train trip, it's better to take the scenic route.

The even more exciting option will be when China finishes the Dushanbe-Kashgar and Lhasa-Chengdu railways. That will facilitate an absolutely epic ride through the top of the world.
Since other comments already point to getting a job, I'd mention other options. One is going to university and being exposed to more technologies and most importantly, meeting other people and working with them. Other similar options are going through the syllabus yourself and partnering with other people in hackathons or similar group events.

I would like to also offer a different perspective on the idea of "big" web apps or more "professional" setups. If what you want is to be able to do more complex projects for your customers or for yourself, just do that. Solve the problems you need to accomplish your goals. Maybe your development cadence could improve from getting better at testing. Maybe you're not happy not knowing how to maintain or deploy your code. Focus on your path and your problems and forget about what you "should" be doing. That's how most people become proficient engineers. Meanwhile keep up with industry news and read a few books per year, and know that the best way to really kick this into overdrive is working alongside more experienced people in a team.
> When you see someone willing to give you a car (or anything else), but they want money in exchange (i.e. sell it to you), you understand, that it is wrong to take the car without giving them money (i.e. stealing).

Someone selling goods has to abide by some laws - typically, lies/false advertising is prohibited, they might have to provide a warranty, and most contracts can be cancelled within 14 days by returning the goods. This means that the car's specifications will be made available to me, the terms of the deal throughly detailed in a legal document I'd have to sign, and I might get to test drive the car before committing.

Ads in contrast don't have any of this. In your example of articles/poems/songs/funny videos, I don't get to check out the content beforehand, I have no recourse if it turns out to be defective/fraudulent/etc (such as clickbait, or a video with 2 mins actual content and 8 mins filler to get to the 10 min threshold for a second ad) after I "pay" by viewing the ad (and parting with my personal data) and I don't have any recourse either if the advertised product turns out to be a scam or malware.
funny thing: you would be raising millions in seconds if you launched the same project and stuck the label "play-to-earn" to it today
100s of El Salvadorans Report Bitcoins Disappearing from Their Chivo Wallets
This is my thought as well. Take away the supply of cheap labor coming from around the world, and from Central and South America, and you're left with lazy Americans. I don't mean that all Americans are lazy, but I mean most of us have led relatively toil free lives, and the idea of picking crops, cleaning, washing dishes, landscaping, or other hard physical jobs: Americans aren't that interested. Combine that with a movement of anti-work where menial jobs are heavily disfavored, add in a dozen other factors, and here we are.
The slides for the presentation are available here at the Boston Linux User Group:

http://blu.org/meetings/1994/08/

The audio is provided by John "Maddog" Hall, one of the critically important early supporters of Linux, while working for Digital.
> Premature optimization is the root of all evil.

Is keeping performance in mind and choosing the tech stack accordingly really a premature optimization?

This might be the most abused phrase in CS history. Perhaps we should add "Premature optimization fallacy" to the list of cognitive errors programmers use as an excuse to not seriously think about performance.
Reminds me of this Banksy quote:

People are taking the piss out of you everyday. They butt into your life, take a cheap shot at you and then disappear. They leer at you from tall buildings and make you feel small. They make flippant comments from buses that imply you’re not sexy enough and that all the fun is happening somewhere else. They are on TV making your girlfriend feel inadequate. They have access to the most sophisticated technology the world has ever seen and they bully you with it. They are The Advertisers and they are laughing at you.

You, however, are forbidden to touch them. Trademarks, intellectual property rights and copyright law mean advertisers can say what they like wherever they like with total impunity.

Fuck that. Any advert in a public space that gives you no choice whether you see it or not is yours. It’s yours to take, re-arrange and re-use. You can do whatever you like with it. Asking for permission is like asking to keep a rock someone just threw at your head.

You owe the companies nothing. Less than nothing, you especially don’t owe them any courtesy. They owe you. They have re-arranged the world to put themselves in front of you. They never asked for your permission, don’t even start asking for theirs.

– Banksy
Dupe: https://news.ycombinator.com/item?id=29689065
Yeah dude. That is your life being stolen in a very real way. Imagine if you had your life flash by your eyes in an NDE and 5% was advertisements.
Agreed. We (US) own a couple carbon steel pans of different sizes. Incredible cookware for <$100 total. Far and away cheaper than our Le Creuset cookware and in many respects just as good
I avoid them too, and I’ve never found one where pressing any buttons mutes it.
Everything he says is right and I agree that when done correctly can lead to financial independence in ~10 years, but his models are very linear and this should be accounted for.

For example, finding roommates is a good way to save money, but you have to be careful about who you room with. Roommates can both increase social opportunities for a busy software developer, but can also damage career opportunities. I had a roommate that got a homeless boyfriend. I was apprehensive about it but supportive at first. My employment depends on me having minimal interactions with police and when I found out he was bringing drugs into the apartment, I had to end the lease and got my own living space. I now live alone and I lost a friend. This is more expensive but less risky. It will slow my financial independence, but less so than job loss.

Renting a cheap apartment sounds good on face value, but the problem with it is that the quality of people you’re around is lower. When you get dragged down, you enter a world where there is no respect or affirmation for your time or goals, everything is an emergency demanding your immediate and full attention, this is cancer for your attention. If you want to develop your skills as an engineer or learn a new technology on your own time, guess what you’re not going to do in that situation? One example, when my car was broken into at my cheap apartment, police assume that since you’re a victim of crime, you’ve got nothing better to do and you have plenty of time. Guess what I didn’t do that day? I didn’t go to work. I would say living in a more expensive area ultimately saves you time and lets you grow because it takes away a lot of the barriers living around poverty introduces.
The goal here is to have a USB peripheral, so that this little device can plug in on USB and identify to the host system as an audio source (likely without even needing to install a driver, since audio sources & sinks are part of the USB spec). The RP2040 has built-in support for being a USB peripheral in its hardware, plus good support in the SDK for it.

By contrast, the ESP8266 is not designed to be a USB peripheral. Usually it's used with a USB-to-serial converter when you need to connect it to a host computer. This allows, well, serial transfers. It can't appear to a host computer as an audio source. There might be ways to do it, such as bit banged USB or custom drivers on the host computer that treat a serial port as an audio source, but by using a microcontroller with built in USB support, a lot of headaches can be avoided.

If you are particularly "into" the Espressif ecosystem, the ESP32-S2 and ESP32-S3 microcontrollers both have native USB support which would make them potential candidates for a similar project.
Ok, thanks. Yes, hallucination causes you to see and hear things that aren’t there. That are not real objects or soundwaves.

Respectfully - there is still a bit of a category error in the GP, and a bit of a goalpost move here on your part.

Here’s the whole paragraph:
> “ These belief-shifting outcomes aren’t mentioned in harm reduction guides. In many cases, they’re actually celebrated by users with an implicit assumption that all belief changes from psychedelics must be inherently good. I think it’s important to understand that thoughts and feelings imparted by psychedelics aren’t real and may likely be entirely meaningless.”

At a minimum, “what the parent comment meant in that context” refers to experiences that themselves alter one’s general perspective, mood, mindset, state of being, etc after the experience. If you prefer, taken word-as-written the GP is saying every thought you have at all under the influence isn’t “real.”

And reading the rest of the post, GP is concerned with permanent, potentially irreversible change to beliefs and brains.

So, shifting the conversation to hallucinations themselves is a bit of a dodge from the original context.

The other reply comment to yours has a salient point: emotions fall into a more durable category of experience than a hallucination. So, in what sense can any shift of perspective, mood, mindset, state of being, etc. in a person be counted as “real” or “not real?”
> threads being penalised now for activity from several seconds ago,

Exactly... They would have found this out much quicker with a trace. They would have seen "how come this application level request is being handled on thread number X, yet that thread is not running on any core, and many cores are idle"? Then quickly they could see the reason that thread isn't scheduled by enabling extra tracing detail seeing the internal data structures used by the scheduler to see why something is schedulable or not at that instant.
My experience is that these type of people are basically incorrigible. If/when colleagues hint as such, it results in response to the tune of "I am ambitious and want to demonstrate my work; if you don't, feel free to manage your time the way you like" (it may be packaged in softer wrapping but the point is still the same). Unfortunately that is a shitty but hard to combat argument without increasing acrimony.

Management usually doesn't want to discourage such behaviour because it fits perfectly into their all-too-common willingness to exploit such tendencies by throwing morsels of acknowledgement/praise to extract more work by feeding this hunger for visibility. It is rare that the work-life balance culture is widely consistent and respected by everyone including management and even if that were the case, any advise from management to tone it down generally results in such people sulking and continuing with their behaviour in more covert ways that gives rise to underhanded politics. All this is amplified if this kind of person doesn't want to leave - basically a fish polluting a pond personified.
The incessant mooing.
Once you move to hosts dedicated to specific services, as seems to be the suggestion here, you also might increase the overall hardware cost across your set of services. The cost per some of the services might decrease, though.
> good education

"Good" education alone is not a meaningful predictor of anything, in Europe at least.

So the guilt is about receiving the correct credentials to be granted further access to jobs and opportunities. It seems in UK/USA, "good education" is used as a euphemism for "received privilege".
As others have said, the best path is to join an organisation building those things, but if you insist on

as a solo person

There are plenty of good resources online, free and paid. Paid options like Pluralsight have the most easy to find quality curated content that can guide you; alternatives like Cloud Academy will give you hands on labs.

That's obviously in addition to the endless stuff on YouTube (the difficulty here is separating the wheat from the chaff) and in books and articles.

Only by diving into dedicated, expert resources like those will you get the context, but mentoring within a team will be the fastest and surest way to competence on larger systems. Look for a job in a team.
I'm sure an immigrant would love your job and probably do it for less money if we're really talking about unbridled capitalism.
It’s gotten so bad online that I do everything in my power to block them, prevent them, avoid them, and ignore them. I mute YouTube videos, I use adblock, and scroll right past the ads. I refuse to even look at them.
> like those programmers complaining about having to do DoorDash deliveries once in a blue moon

What is this referring to?
Not everything needs to be super secure. I can sit and talk with a group of friends at a cafe, and anyone can listen to us, and see that we're talking to each other. If we want to talk about something secret we can go somewhere private that's less convinient but more secure.

Same thing with messaging online. Everyday nonsense can use whatever app you want, and if there's something you really don't want anyone else knowing you can use a different solution. I think the trade-off is worth it for most people.
We already knew cookies were being used everywhere. I dont need to be told the same thing 100000 times because it makes some people feel better and altruistic.

It didn't bring any benefits and has wasted excessive amounts of my time.
My Dacor oven goes down to 100 F.
I know at least one studio that's already using AWS Polly, (IIRC) for at least prototyping voice lines. I'm not positive that they end up in production, but I've heard samples and IMO they could fly as-is for at least informational lines. I've not yet heard TTS even attempt lines with strong emotion, though.
I don't know if decreased immigration is a cause of the current situation, but it does strike me that increased immigration is a potential solution. Unfortunately it appears unlikely due to the political situation in the US.