skysight-inc/HackerNews huggingface dataset:
How can I find a swift mentor? (SF)
I like the Apple Watch/iOS/Mac as platforms but swift has been a bit of a struggle because the community is smaller than the JS community (and all my friends are web devs).

People make decent swift tutorials but when I'm tweaking stuff to work for me, it's hard to understand what the underlying models are/what best practice is.

Because of that, I've wanted to get a mentor but I'm not really sure what a great way to do this is. Does anyone have recommendations? There don't seem to be any active local iOS dev meetups here.
NB: I really like the follow-up question concept, though I'd like to see what you have in mind for that. Usually that's something I accomplish by adding or removing terms / conditions to my query. That's often useful, but frequently not, and remove classes of results (e.g., commerce sites, social media, SEO / content farms) is often a frustration. Poorly-detected date ranges would be another.

User-definable ranking and exclusion criteria would be great.

In the past few weeks on HN we've seen articles on:

- How universally reviled autoplay video is. Excluding sites which do this from SERPs would be a strong incentive.

- Paywalls and privacy invasions, similarly.

- Known SEO-baiting sites, e.g., Pinterest and Quora.

- Excessive JS.

- User-hostile designs.

Simple site quality and reputation would be a huge factor for me. I've increasingly taken to searching specific sites rather than general Web search just to be able to cut through the crap.

Suggesting filters to apply might also be of interest --- say, "X filter returns / removes Y results".

As noted in an earlier comment: establishing a self-indexing search standard, which would allow websites to create their own indices, and for those to be distributed to multiple search platforms. (Yes, cheats would need to be identified, and mechanisms for establishing reputation determined.)

Better metadata search, and inclusion / exclusion by category, would be great. Search exclusive to scientific, technical, or academic sites, or exclusive of commercial, paywall, erotic, gaming sites, for example. (Such filters could of course be reversed if that was your kink.) Inclusion/exclusion of social media is probably another big one.

Tools for leveraging site-specific search more cleanly, inspired by DDG's Bang! searches, might also be interesting.

Really good date-ranged search. Google still beats DDG at this, though DDG can at least filter by past day/week/month/year, which is useful.

Search inclusive of the Internet Archive's Web and other holdings would also be great. A search not just of Web space but of Web time.

A true news / magazine archive search.

Governmetnt records searches.
I'm... Honestly not sure if you're kidding, so I'm not sure how to respond. I don't think there's a single National Park in in the US that had free entry.
Cross the line? As a kiwi who got stuck in Peru for over 6 months due to the border closure and lack of flights, and had to go through MIQ when I was finally able to return, I'm extremely grateful for the MIQ system. Do I think it could have been handled better? Yes, especially recently as the answer to a lack of MIQ spaces shouldn't have been to make a lottery system it should have been to make more spaces; but overall I feel that NZ's response has been one of the few sane responses in the world and despite what I personally had to go through I'm very proud of that.
Thank you! I edited my comment to not disturb the discussion but you've got a real-life example of reacting too quickly. In a discussion about, among others, reacting too fast.
JWST Countdown
Huh? Have you seen a computer forage for food, hide from predators, and compete for mates? AlphaZero is a cool toy but it plays a relatively simple game with well defined rules and success criteria. None of that is even remotely applicable to AGI.
> Yeah, ADHD is a difference to non-ADHD, but that doesn't make it a disability. It's just a different mode of thought, in the same way that introversion and extroversion are different modes of thought. Most people in fact have periods of introversion and extroversion, and surely modes of attention are not fixed or static in people either.

I talked briefly with a psychiatrist about this - to be clinically diagnosed with ADHD (in his clinic anyhow...) it has to be severe enough to be a major detriment to your life, basically. To quote DSM-5

> There is clear evidence that the symptoms interfere with or reduce the quality of social, academic, or occupational functioning.

How would you define a disability? What criteria must be met?
Microsoft KEAR surpasses human performance on CommonsenseQA benchmark
I have to insist the formula is still correct in principle. Yes, there are many causes for homelessness. However, shall you magically fix all the problems you named, some people will have to remain on the streets if N_people > N_homes.
Once N_people < N_homes, only then it is possible to fix the rest of the problems efficiently.

Regarding substance abuse for example: Shall I happen to lose my home, I would have to use the named substances to soothe a terrible shame and misery associated with my new status. I could only think of fighting my harmful addictions if I can see the way out. Currently though, with number of houses almost constant, if you manage to pull a homeless person out of the streets, there will be another person priced out of their home.
> The thing that most (if not all) people who have ADHD want is to be normal.

Another viewpoint: ADHD can be as much a blessing as a challenge. Well-handled ADHD seems better to me than being neurotypical.
The parent's comment doesn't read as snotty to me at all.
>> I understand my entire codebase.

FFmpeg doesn't have any dependencies does it? You are probably onto something.
It does not guarantee that you won't encounter a deadly fire. It just adds one extra escape route for this extremely rare event. You could also add an escape slide for each apartment.
This makes no sense at all. Your life would have been strictly easier if MIQ didn't exist, so why are you grateful for it?
> Tf you overestimate everything - and you never finish things close to the mean estimate - that's a sign you're a low performer...

This is but a different kind of a rat-race?
Ok but what on earth good is identifiable data to PHAC? Why would PHAC try and de-anonymize this data? What could they possibly do with it? Canadian government entities tend to be well intentioned even if not always the most efficient.
Canadian here, and this is just false.

There's nothing remotely 'radical' about the NP.

The National Post is has an editorial bias, but the only source that the publication could be considered 'radical' would be the editorial letters from Conrad Black, which are not 'news'.

Otherwise, it's a welcome bit of information from the insufferably poor lack of perspective offered by the CBC, the national broadcaster.

I wouldn't trust the 'National Post' as a 'single source' of news, it's not broad enough, however, it's an important part of the fairly limited diaspora of news in Canada.

The evidence for this is right in the story: however ultimately benign this issue is, it's an incredibly important bit of information for Canadians to have, and the CBC is not giving us this information.

Moreover, the article itself is clear, well written, well sourced and I can't fathom how someone would really characterize it as clickbait other than if they misread the headline.

So you can have a possibly sensational headline (arguably) from a privately owned news paper that has to earn a profit, or, no news at all because the national broadcaster, The CBC, apparently doesn't think you need to know that the government uses this data.

I'm thankful for the NP, and there's a dearth of good journalism in Canada.

The Globe and Mail is equally behind a paywall, the Toronto Star and Sun are rubbish, the Montreal papers are very Quebec focused - and so it's slim pickings otherwise.
This guy (Fabrice Bellard) is my personal hero.

I have designed and build with my team VOD service for leading local entertainment TV provider in 2009.

We were amazed at provided flexibility by ffmpeg.
In no time we were able to hook up our back-end logic and go.

We opted to "risk" with Nginx and Jquery and delivered successfully on the front-end.

The funny thing is that at the time a lot of commercially available "solutions" were a total joke and costed an arm and a leg.
What about 11ft 8in?

https://en.wikipedia.org/wiki/Norfolk_Southern–Gregson_Stree...
Another lesson is:

Don't cripple your standard library. If C had a function for this super common need then this problem would never happen.
My Spanish is like that - my vocab is about a hundred words and I'm very comfortable using it but native speakers are not amused and there have been cases when I literally was asked to speak any other language
Someone needs to say something to those people so they know to speed it up and table discussions. Ideally peers would say it, not a manager, as it’s the devs’ meeting.

If you keep noticing this wherever you go, you should be the one to say it.
Likewise, for the moment I haven't found any other solution than "work more", to compensate for my lack of organization...
Dream Machine running NextDNS and Tailscale on the device itself feels a little bit like living in the future. It finally feels like a culmination of promises and desire, simplified into something that is just non-discrete enough to disappear. There is an ebb and flow to wanting all your components interchangeable, and then longing for an all-in-one. Having your router itself be a Tailscale exit node is slick. When something goes wrong, there are three panes of glass, but only one hardware device to investigate.

https://github.com/nextdns/nextdns/wiki/UnifiOS

https://github.com/SierraSoftworks/tailscale-udm

https://tailscale.com/kb/1103/exit-nodes/

The other home networking things I would throw in that people may find useful are: using MoCA to put access points in places that have an existing coax drop but running an ethernet line is impractical, you can have y and forked shaped networks without switches (although not the cheapest solution); and http://getchannels.com + an hdhomerun (tuner -> ethernet) plus a media server, nas, or nvidia shield.

It's interesting how "feeling futuristic" is a single network device that does everything and an over the air tv antenna, but the shit actually "just works" finally.
And that's fair enough but if there are limited spots they should go to existing NZ citizens/residents, and those with the greatest m=need should be prioritised.
Those you mention are biological bits in bio logic gates.

The desires FTA are more abstract
Meanwhile, there's a decent case to be made that smartphones - even with their short lifecycles - are a net win for the environment because of all of the single purpose goods and electronics they replace.
One can absolutely have is "both ways" if both is: private data and govt knows your caste. It's the public data that is the problem.
I don't want to hide the corruption or for everyone to lose faith in society. I want the corruption to end.
A Field Guide for the Modern Embedded Engineer
Notes.org file in emacs (or notes.txt in vim, or whatever similar thing) with different sections for different topics. Put everything in there. Sync it to other devices with syncthing. It's searchable, it's everywhere. I think that's a lot safer than dealing with a physical notebook or planner.
> Delay your responses to situations long enough to come up with a good and controlled long-term plan * Pattern-match past situations onto the present situation to guide your current response * Mentally tell yourself what to do and have it stick * Manage your emotions towards your long-term interests * Imagine and evaluate multiple possible future outcomes

God fucking damn, every time I think about it I want to die. In fact, I want to die any time.

You know how much this shit ruined my life? No, you don't.

And no one will help. "Doctors". Useless garbage.
It will be cheaper when housing is not used for investment
> The CBC apparently doesn't think you need to know that the government uses this data.

Canadian here. I agree completely with the CBC. This is one of the least interesting non-stories I have seen in years.

"Public health agency does job - uses aggregated, anonymous statistics to see how people move and interact in hopes of improving public health." Oh no. Anyways.

> I'm thankful for the NP, and there's a dearth of good journalism in Canada.

Well, there is the CBC :)
Because in the free market airlines provide as many seats are required.
> Normal brains are constantly ignoring small prediction errors and are very tolerant of ambiguous, uncertain, or new situations. An ASD brain cannot blend in the minor mistakes as well, so it spends a lifetime perpetually surprised and overstimulated by every event that is even slightly unpredictable, and is fairly intolerant of ambiguous, uncertain, or new situations.

Has a mechanism for any of this been discovered, or theorized?
> VSCode shines when you want to quickly open up a project and do something minor.

VSCode shines in comparison only when all you need is a text editor to quickly open a couple of files, you don't need to do anything beyond reading code without navigating files or doing the occasional typo fix, and you don't actually need an integrated development environment.

Other than that, I struggle to come up with a scenario where, if anyone already had both installed, vscode would be the preferred solution.
The Bible Project
CNN Coverage of the Dissolution of the Soviet Union (December 25, 1991)
Changing the perspective a little... A few years ago, we applied client-side applications and edge computing for chicken farmers in Mozambique. https://www.quantisan.com/facebook-loving-farmers-of-mozambi...

That was a fun side project but I got ahead of myself in the tech and failed on finding a product-market fit.
$5k cluster of 83 Raspberry PIs
I agree. Starting a subprocess is fine. Using an existing tool (mkdir) was probably a better approach than reimplementing it.

The error: you should never pass unescaped/untrusted input into a subshell.

In Python, it’s the difference between the safe:

def make_dir(path):
subprocess.run([“mkdir”, “-p”, path])

Instead of:

def make_dir_unsafe(path):
subprocess.run(“mkdir -p “ + path, shell=True)

The latter is easier to type because you don’t need to use the annoying list syntax, but it’s unsafe. If you are writing a library function a subshell is not a sound approach.
I was not a big fan of Soviet regime and I‘m still fully agree that the collapse of the Soviet Union was for the good and do not wish it restored in any form.

But being born in 1970 in Tselinogtad, middle-sized city in Soviet Kazakhstan, I cannot say that my life in USSR was any kind of bleak or depressing. Yes, there were much less variety of food in stores and clothes were not very fashy, but this is not what makes you happy, at least they meant almost nothing to me.

I always wanted travel the world and very early understood that this is complicated in the country where I was living. So at age of 9 I started to prepare myself for a career of a diplomat - my favorite book was “Countries of the World” and I joined “The Club of Inernational Friendship” at the Palace of Pioneers. Gradually I became a “president” of this club and in 1982 went to Artek, famous international pioneer camp in Crimea. Later on, still at school, in 1986, I visited Bratislava to participate the programming Olympiad for children. I went from my native Tselinograd to Novosibirsk Akademgorodok in 1985 to study at physics-mathematics boarding school. Akademgorodok at that time was kind of place from a sci-fi book, where scientists lived and worked. There were 27 research institutes and a university set in a Siberian forest. It was a fantastic experience to study there. What happened to Akademgorodok after dissolution of the USSR is another (sad) story.

So, as I said in the beginning, I don’t want to return to the USSR, but I don’t think we lived miserable lives there.
My Spanish surname is a lasting legacy of the Jesuits deciding to rename (by sword or by reward) entire villages during the 16th century. https://mb.com.ph/2020/07/05/the-jesuits-in-the-philippines/
> I'm not writing an eq method or a repr method in most cases, so it just doesn't add much for the cost.

Until you need them for debugging.

And dataclasses make them free, at lesst syntactically.
I grew up in Hungary where the socialist leadership (it is a very interesting fact how much they avoided the word communism and used socialism everywhere but I digress) was hell bent on continuously raising the standard of living because Janos Kadar was afraid of another revolution. (As his deranged last speech in 1989 revealed, he had nightmares for decades of his comrade, Imre Nagy, the prime minister in 1956, whom he betrayed in 1956 and executed in 1957.)

So we didn't have breadlines and politically charged prison sentences were long gone. Even Miklos Haraszti in 1973 only got a suspended eight months sentence for his book -- twenty years before he would've been executed for it, ten years before it would've been a several years non-suspended sentence. And I was a kid in the 80s which was even milder.

But what I do remember is the hopelessness in the shadows of the prefabricated giant concrete buildings. That there's nothing exciting in the future, that we have no choice in our life that no matter what we do, we will live and die in those meagre surroundings. I have, from the age of 10, every afternoon spent a few hours on extra mathematics so that I can get into an elite school so that I can get into a Western university once I am 18. This was not something my parents hammered into me, this was something I wanted to do, desperately so. I remember telling my mother when I was 9 that I wanted to commit suicide which of course she didn't take seriously and then I made this plan to escape.

I did get into the high school I wanted at 14 but my English wasn't good enough to get into MIT when I was 18 but that was not too bad because by 1993 of course that regime was over and there was hope again. Which, for me, was crushed in 2006 and I filed for a Canadian immigration visa and moved there in 2008.
Okay, but can't we objectively experimentally compare them? Take a class of 20 undergrads, have them use method X. Have the next class use Y. Repeat with as many methods as needed, with as many classes/semesters as needed, control for as many confounding factors as you can. Publish papers, reproduce. Is the noise floor too high, the effectiveness too close, or am I missing something? (Yes, probably that last one; if so, what?)
Which would be represented in OKRs. Honestly this article feels like using project management definitions without understanding where they are coming from.
What’s your electricity bill like?

With all the chat about crypto mining I always wondered if it would double/treble a household’s bill, or is it actually more reasonable than that?
It's ok the study will be conducted with mice.
As someone born in a smaller place in Lt I can totally relate to your words!

But somehow my little part of lithuania (very north east) feels like an empty shell these days, compared to what it was 20-30-40 years ago.. No people, no economic activity, just empty. I know this is not how it feels in Vilnius - the place gets better by the day, but deeper Lithuania feels deserted.

Is this happiness?
This is very encouraging to hear, thank you for sharing this!

I am considering building my house (being my own general contractor and doing as much work myself as possible), but I was discouraged by the extreme number of regulations that seem to forbid anything, with just obtaining permits taking years and costing ~25K. Perhaps I was looking at the wrong state.

The 250K range that you cite is about 5 years of my current income. I honestly think I can build the house myself faster than saving those money and paying a professional.
Yes I like this, parallelism for simulated brains. Basically Kardashev scale levels can be skipped rather quickly.
> “Everyone in the industry uses it” is always the argument for some legacy tool before it’s replaced by something better.

I guess stability, tooling ecosystem, and ages of user/customer support info means nothing then, and being new is reason enough to scrap all your tooling and workflow?

Developers are paid to deliver features, and test-driving the latest and greatest fad gets in the way.
> Really? How about in industries where it's straight up impossible for the developer to do so? How do people function in those industries? How does cutting edge tech get made in, say, the medical industry?

> Are you suggesting that people building machines to perform brain surgery should have to go to med school and specialize as well as becoming an engineer?

Consider your limitations as a developer, and having your department defer to hiring or consulting from trained and experienced medical professionals to help guide and shape what it is you are making? Along with ongoing hands on training for targeted demographic for insight and instant feedback I can't think of a way for cross-disciplinary innovation to occur.

> Here's a question. What would you say to a blind programmer who is working on autonomous driving vehicles? Do you think such a person could never do a good job, because they have no experience driving a vehicle?

This is an extreme, because while I'm sure blind developers exist, I'm also sure they are a small minority and are likely NOT working on main developer roles for AV; but if they were I bet they were doing so collaboratively amongst other able bodied developers who are relying on training deep learning model rather than making an if else command for his colleagues never seen 'what to do if a baby carriage steps out of your Tesla' situation.

You are resorting to hyperbole to try to make a weak point and it doesn't bode well for the substance of your argument, either way I think you get what I'm trying to say, albeit some what condescending manner. You can agree or disagree with it, but I think this is a major trigger point for so many here (likely the FAANG/MANGA underlings) they know it's a bone of contention.

> There are tons of extremely valid reasons why a software developer might not want to or be able to put themselves in their customer's shoes directly, without it being "white glove developer syndrome" as you put it. And they can still be excellent developers.

I disagree. You can be a developer, and as noted in my preface an above competent one, but I hardly think you'd call yourself an excellent one in the presence of an actual excellent one if you've ever met one. I'm cognizant that I am not nor do I dire to be an excellent developer and I've been humbled when I have met one and they are usually obsessed and perhaps tortured by their obsessions which they are focused on; still, despite it being somewhat socially awkward it was a worthwhile experience.
You don't have to plan for malice, just plan for a fire where it is probably a lot less likely for exits at both sides of the building to be blocked.
There’s plenty of old architecture that is utilitarian and for the poor. I think much of our romanticism for old architecture in the US is seen though the lens of survivorship bias. Construction in the US is fairly cheap and we tear down things down often, especially if it’s ugly. I’d rather look at the average US 5-over-1 than a Spanish corrala
Are there any guide or books available on how to setup something like this?
Happy Holidays!

The powerful demonstration of how AI can change the Art World
Thank you, it's quite nice here.
> Adherence to the rule of law is a major reason why NZ is regularly in the top 5 countries globally for lack of corruption

This corruptions indices are pretty much always “corruption perception” indices, as in, New Zealanders consider their country to be less corrupt than other countries, not that it actually is less corrupt than other countries.
No, I don't mind at all.
New to python? It might be big, but it sure is slow!