skysight-inc/HackerNews huggingface dataset:
i have one pet peeve with every photo organizer or gallery i've tried: they are slow.. especially for very large galleries. if you read the original google blog post about how they built photos, a lot of effort went into performance. so i took that as inspiration to start building an open source offline-first organizer that takes this performance to your desktop (and up a notch). its not on github yet, but seeing the enthusiasm here i thought i would ask what else would you want to see in it? my hn username is also my github username, for the curious :)
The UK is not part of Europe. ;-)

But yeah, if you've got the money to take care of yourself, you'll have to pay it. My grandparents had a low-enough income that the care takers (twice a day) were free for them.
The development began two months ago and we have not encountered any scaling issues yet, as the majority of users self-host. Therefore, our priority was focused on building apps. Is there anything you believe we should consider?

You are correct, repeating the same index twice is a mistake. Thanks for hinting at that

We are using nano id (https://www.npmjs.com/package/nanoid) for all entities, It's stored as varchar in the database.
This is nice. Thanks for doing this.

FYI, the other existing ones that I know and have used is https://www.sejda.com
If you read my post is what I've done: separated VLANs (3) with a single AP and cable from the router.
Maybe it's better to formalize this in terms of having a rational interval as the approximation of an irrational - for example the interval [19/7, 87/32] approximates e. That's an interval of width 1/224. Then if [a/b, c/d] contains the irrational number x, then:
- either [a/b, (a+c)/(b+d)] or [(a+c)/(b+d), b/d] contains x, and
- whichever one contains x is smaller than the original.
Written that way it's trivial, though. The real meat, I suppose, is that using the mediant keeps the numerators and denominators small.

In this case, [106/39, 87/32] has width 1/1248 and contains e, whereas using the mean would give you the interval [1217/448, 87/32] of width 1/448.
Wrote a bit about that here: https://fedi.simonwillison.net/@simon/109833926824460239

I think it's a bit of both. I'm pretty sure part of that thread reveals real leaked details of how Sidney works - but I agree that it looks like part of it is likely hallucinated too.
MAiD == Medical Assistance in Dying

You're welcome.
When my mother passed last September, about 30 miles (~50 kilometers) west of Boston, private onsite hospice care cost about $400-ish a day. It's about the cost of staying in a fancy hotel. The state also covers the cost when you are on your final days, (there's a specific medical term,) but for longer-term stays, (weeks, months,) you have to pay out of pocket.

Being "on hospice" when you are in your last months (again I don't remember the medical term), in Massachusetts is free. The family is responsible for the round-the-clock care, though. The real difficulty isn't the money: The state is very good at placing people who can't pay. The people who get squeezed are those of us who want an inheritance, or the spouses who need to keep money for their own end-of-life needs, yet are unable or unwilling to take time off from our lives.

In my case my dad was under quite a bit of emotional stress, and when he's in that state, he gets irrational and can't make a decision. My mom was clearly in her last few days, but he was afraid he'd have to pay for many weeks or months of onsite hospice stay out of his own pocket. Even if that happened, he still had her brand-new Lexus and his own 1-year-old Highlander, a much larger house than he needs...
Sure - maybe. Except the article above doesn't have any compelling proof of that at all.

This entire conversation is "How dare they make requests to 3rd parties" with fuck all else as evidence of what's getting sent.

Show me where they're doing things like sending my HDD serial, or my bluetooth devices, or nearby wifi devices, and sure - we can have a good conversation about whether that's intrusive. Until then.... this is literally a useless conversation. You're making claims without any evidence (a DNS query is piss poor fucking evidence for any data collection...)

---

Also - if they want to fingerprint the device, they really don't need any of the information at all. Most folks happily leave the default settings which just generates an ID at OS install to be used for personalized content (and again - they've told you they're doing this... it's not a surprise).
The “physical toll” is a good description. I think forcing people to drive through stressful traffic into an office where they sit all day, especially if it’s a big office park and there’s nothing interesting to walk to, exacts a massive physical toll on people. And in the process inflicts massive external costs on society.
Why do we think that inside the 'weights' there is not a model? Where in the brain can you point and say 'there is the model'. The wiggly mass of neurons creates models and symbols, why do we assume that inside large neural nets the same thing isn't happening. When I see pictures of both (brain scan versus weights), they look pretty similar. Sorry I don't have latest citation, but was under assumption that the biggest breakthroughs in AI were around symbolic logic.
Weird definition since it misses the point.

Extension methods are: I want to add a new method(not function) to object which I dont have control of (in the code sense)

So I can call "externalObj.MyNewMethod()", so extend its behaviour
Why does YouTube feature or even show content from blocked channel?
I've blocked few channels but algorithm still features their content on my homepage. What is the logic behind not even giving user ability to block a channel with all their content?
As a grandchild of multiple people who went out HARD and died badly, your comments come off as the height of insensitive boorishness and you should think hard about what got you to this place.

Having a peaceful death is something I wish, even for people like you.
MAID isn’t done to save money. It is done to save dignity. It is a peaceful and respectful way for a person to die at the moment of their choosing.

The cost quoted in the comment would have been comparable without MAID. The suffering likely would have been worse. (Patients most often choose MAID for that reason.)
I’m very excited about the methods themselves, but I’m so tired of the manic “vibes” around them——-and how they’re starting to affect related fields too. I work at the border between neuroscience and AI, and there are some undeniably cool developments but there’s also so much hype and overkill.

In a better world, it’d be possible to occasionally pause, take a breath and think about what the models are actually doing, how they’re doing it, and if that’s what we want something to do. However, it’s hard to find space to do so without getting run over by people “moving fast” and breaking things and feels like doing the hard corrective work is so much less rewarded.
> For this reason, dying at home is often unattainable for many... Currently, Medicare only covers an average of two hours per day, five days a week, of home health aide coverage for a patient in hospice care.

This article left me fairly confused. Why is the author talking about dying at home and in a hospice interchangeably?
Hey all,

After years of working, I finally completed Beezle Social, discover local events!

Beezle Social is an app that is ready to be downloaded on the App Store and possibly soon on the Play store as well! With Beezle, you can explore events happening nearby. Check out the website at https://beezleapp.com/. The app can be downloaded at: https://apps.apple.com/us/app/beezle-social/id1661982809. I completed this on my own.

Rust is used at the backend. I did choose Rust because of its safety and speed. I took me awhile to get used to the type-system, but after that, I was amazed by the functionality and ecosystem. It is a joy working with macro's, cargo and code quality of other libraries.

Swift is used at the frontend. Obviously I preferred Swift over Obj-c. I used SwiftUI + UIKit to make the UI. The whole chatting part is done with UIKit because SwiftUI does not support advanced text editing options. I used some hacks in the chatting part to make sure SwiftUI doesn't reload everything all the time when a new message comes in.

AWS is used at the deploying side. I used ECS and Docker to deploy the server and a lot of other services for media, CDN and mailing system.

Beezle used libraries I created: https://github.com/Jasperav/Catalytic and https://github.com/Jasperav/GRDB-ORM. Catalytic is an ORM for the scylla-rust-driver and GRDB-ORM an ORM for GRDB.

I am happy to answer any question! Please download the app, leave a review and ping me if you missing features.
US and UK sanction 7 alleged members of infamous Russian Trickbot hacking gang
> I guess the reason is that it helps the fire chiefs or whoever really envision the landscape. "Ah, yes, this is Devil's Pass, I see how the wind is going to blow right through there and blow the fire that way. What if we cut a fire lane here? Ok, that slows it down."

Yeah, if you're familiar with topographical maps (the way any decent hiker or fire chief would be), you really don't need the physical 3d layout to envision the landscape.
Not at all. For example Ethereum and Monero etc have floating blocksizes that will adjust due to market demand. The fee market can get pricey for a while, but it quickly adapts to new volume. In the early days Satoshi begrudgingly put in a 1mb block size limit to prevent DOS, and later through some underhanded political BS, that limit was basically made permanent.

Also you seem to think that network usage is related to some way to electricity usage. Even today, a single person with a laptop could be the only miner, and the network would still run just fine.

The current block reward on Bitcoin is 900 coins per day, so the upper bound on electricity usage is however much power 900 BTC will get you. That number gets cut in half every 4 years, so generally, the max electricity expenditure is actually going down, except that the price of BTC is currently going up faster than the rewards are going down.

Energy usage is directly correlated to price, not utility. There is a loose connection between utility and price, but since utility got capped in 2015 or so, the price has continued to go up, so that connection is pretty tenuous.
This is the way a person that is far away from death thinks. No matter what you think now, you will still want to live when death is near. Even if the conditions are suboptimal.
> there's some beauty to having all output as string

Yeah, I suppose. :) In a way, it's also antiquated.
The average of the interval is the best guess if you are only trying to minimize the error. But if you want to also keep the denominator small that's when the problem gets more interesting.
That doesn't sound too far from a mail merge.
Yes, that said... depends how you define infra, I chatted with a marketing tool CEO last week who compare themselves to servers, so I've been thinking CEOs are out to lunch a bit these days.

Your point is well taken, but again: this is the power of a strong FP&A team, a good CFO and thoughtful FP&A shouldn't be blaming macroeconomics at this point. I advise CEO's and I was flagging in August last year, I talk to bankers and read the news. Seems to me if you're at this point in Q1 or Q2, you were in denial about the reality of what 2023 would look like, doesn't matter when you'll be affected, the writing was on the wall Q2 last year. It's kinda sad for your staff to be in the "last to lay off" bucket.
Exactly. Unfortunately, I think the "chat" aspect is obscuring what is actually happening here, and distracting from the achievement.

First, the human input is extremely flexible, but can include instructions. It is natural language programming.

Second, the "conversation" has state. I can give an instruction, and then a followup instruction that adds to the first instruction. Someday down the road there will be two states, your account state (instructions you taught it that it retains as long as you are logged in. Maybe my account can have multiple state buckets/buildings I can enter, one of one set of rules, one for another. Could call them programs or routines. (computer execute study routine)) and temporary state (instructions it retains only for the duration of the conversation/search.)

The exciting part here is being able to query data and manipulate it in memory. Making a search, refining the search, redirecting the search in a different direction when its not working. That collaborative, iterative type search doesnt really exist at the moment. I cant tell google "the results you just returned are garbage, here is why, try again."

It is more like a fuzzy commandline. The chatbotness is just a layer of cute on top, that isnt completely necessary.
> I would rather die a few years earlier than live my last few years this way.

What's your plan?
And if he did not go for MAID? Will our healthcare cover the care? I am Canadian but have no clue about this particular side.
Honestly yes. If you’ve been in any high exec meeting you’ll know they’re all stupid. Like, arguably more so than the average engineer.
Ontario, Canada - effectively chooses for you. You cannot go around their decisions unless you leave the country.
> why is everyone doing this at the same time?

Are you serious? Maybe you all should take a basic economics course. We are in a recession. Businesses know this. It doe snot matter if the Fed says if we are in one or not. Layoffs do not happen if the future business outlook is positive.
"Britain’s NHS was once idolized. Now its worst-ever crisis is fueling a boom in private health care"

- article from CNN
Yes. I set up VLANs on my Cisco switches. The APs are told what vlans and WLANS are configured through Ubiquiti management panel. The APs are all connected to their assigned ports on the switches and the ports are configured to see all necessary VLANS tagged and one (management) VLAN untagged. The untagged VLAN is how the management application talks to APs.

Eeach of 4 APs serves all 4 WLANs and each WLAN + VLAN are completely separated networks.

The traffic from various WLANS goes directly to their assigned VLANS and never mixes together -- the only way is either through the router or some other service like my proxy.
They also pulled domains that didn't align with their fundie agenda mich made the commercials even more bizarre.
Well, it's a business software so a lot of moving parts (but that's also because it's Java and there's a lot of code for not a lot of functionality). I'm not a spring boot pro or anything but I think it's also slow because there are faults in the project. Stuff breaks often, hot reload is a mess and doesn't even work and there's no unit testing.
Giving people the option to work remotely is objectively better, because it satisfies both parties.
Hang in there. It’s a numbers game, and you will find something.

In the meantime you could try grifting some crypto bros with an AI NFT or something, I hear that’s easy money these days.
Specifically the Fed is trying to wrestle away the monetary power that Labor has, quoting a "wage-price spiral". In other words, the Fed is trying to cause a recession in order to fend off inflation, at the cost of Labors current economic power.
I'd be interested to know what productivity areas Microsoft identified before launching Teams.
I'm sorry but obviously you had to learn how to use nushell but you didn't learn how to use find (you don't need xargs) or bash (you don't need find).

Your first problem solved in bash:

shopt -s globstar
for f in ./**/data.json; do mv "$f" "${f%json}yml"; done

You can do it without globstar (without running into weird issues with newlines) like so:

find . -name data.json -print0 | while read -rd '' f; do mv "$f" "${f%json}yml"; done

Now, since the particular problem doesn't require a shell at all, you can solve it entirely in find:

find . -name data.json -execdir mv {} data.yml \;

Your second example would be:

(
cd "$(which npm.ps1)" && \
for f in *.ps1; do printf "alias %s='powershell.exe %s'\n" "${f%.ps1}" "$f"; done
) >file
Scare probably in the sense that performance goes up and some people will quit additionally. So the 7% becomes 10-15% by itself, without them having to pay a severance package.

For the 7% you have to look like you care, since you will be hiring in the future and probably with lower salaries. Mass layoffs are a good way to lower wages throughout the industry.
At work, I would use the workplace standard, for easy sharing and interop with colleagues and systems. Work scripting has been Bash because that's been the default (so far).

Personally, Bash is stuck to my fingers out of habit.

I tend to write my scripts in a Functional Programming style, which plays well with stdio and pipes, and makes for composable and testable code.

Like this: https://www.evalapply.org/tags/bash/

edit: add reference
I would imagine there are two occurrences at play, some employees affected by both some by one, but 1. You're wondering when you'll be next 2. People you have been working with are just gone now.
Burning bridges who might have been references for subsequent employment is almost never a good idea.

There is always a time and place, of course. But generally speaking, you don't speak ill of your (former) employer or even talk about it publically lest there be ramifications beyond your imaginations.
>I don't have pictures but I can describe it.

That's very interesting, but how much power does the whole thing consume?

In my case all this setup is 45-50W, I thinks is a good goal.
I use one fish plugin and it's a total gamechanger

https://github.com/PatrickF1/fzf.fish

Being able to instantly fuzzy find files, directories, git history, processes, environment variables and command history is like having a superpower.
here is "git commit" in shell:
https://git.kernel.org/pub/scm/git/git.git/tree/git-commit-s...

here is "git status", with all its formatting glory:
https://git.kernel.org/pub/scm/git/git.git/tree/git-status-s...

but yes, I would not call it "git was written in shell". But some of its significant pieces were.
> I think the point is that we have been “meaningfully closing” the gap rapidly

In your opinion, how wide is this gap? To claim that it is closing at a meaningful pace brings the implication that we understand the width. Has anyone made a credible claim that we actually understand the width of the gap?

> The understanding of the human ‘parts’ are being chipped away, just as quickly as we have had breakthroughs in AI.

This is a thinking trap. Without an understanding or definition of the breadth of the problem space, both fields could be making perfectly equivalent progress and it would still imply nothing regarding the width of the gap or the progress made closing it.

> These fields are starting to converge and inform each other.

Collaboration does not imply anything more than the existence of cooperation across fields. Do you have specific examples where the science itself is converging?

My understanding is that our ability to comprehend neural processes is still so limited that researchers focus on the brains of worms (e.g. a flatworm’s 53 neurons), and we still don’t understand how they work.

> and at this point it is only a matter of time, the end can be seen

Who is claiming we have any notion of being close enough to see the end? Most experts on the cutting edge cite the enormous distance yet to be covered.

I’m not claiming the progress made isn’t meaningful by itself. I’m struggling with your claim that we have any idea how much further we have to go.

Landing rovers on Mars is a huge achievement, but compared to the array of advancements required to colonize space, it seems like just a small step forward in comparison.
Life insurance can be writen with an LTC rider, standalone LTC policies have gotten very expensive since they were oversold throughout the 80's and 90's. SS kicks in upto a portion of the hospice and at home care, depending on circumstances.

In Canada a growing in popularity option is to kill yourself.
Can agree. Rust-specific things (ownership, AsRef, Deref, all this stuff) drastically pollute the final code, to compare with GC languages.
"How will you afford to spend your final years of life? How much will your death cost you and your family? Can you afford it?"

We've had this talk with both my parents and my wife's parents. All four of them insisted they do not want to be a burden to us and we should never allow them to move in with us. Most of our parents took care of at least one terminal person in their life and experiencing that changed their opinions radically. It can be an almost impossible burden, no matter how much you love someone.

Thankfully in our country we have both the law and basic insurance that takes care of all those costs in the last (terminal) phase of our lives, but you still have to design your testament and other documents in such a way that your money cannot be claimed for these costs.

When the time comes, i want to be put in the Euthenasia Coaster ( https://en.wikipedia.org/wiki/Euthanasia_Coaster ) , but if they have not built that yet i might settle for the $20 heroin overdose.
>but nobody will be left with a bill of 150k € if your grandmother wants to die in her home.)

In the USA, my grandma died in my parent’s home 10 years ago and there was no bill. She was upper 90s, refused treatment, and doctors prescribed morphine for us to give her so she could die peacefully.

I think a nurse came everyday just to check on things.
The web sharing was more about sharing on local networks. It was the same concept as the Public folder for file sharing which dates back to NeXT. When Bonjour née Rendezvous was released Apple build an Apache module for it. When web sharing was enabled it would advertise the server over Bonjour. Safari still supports Bonjour server discovery IIRC.

The Apache install would obviously work over the Internet but sharing over the local network was its main purpose.
See attached link for more details!
Is that a real unedited video of the sun? If so that's pretty incredible
If you're paid $300k/year it's probably some kinda fancy faang job. How productive you are in that environment doesn't necessarily translate into productivity in others. And vice versa.

Beyond that, highest paid people I know aren't paid well because they're 5x as productive, they're paid well because they solve really hard problems - the types of problems you don't run into at most companies.

To use an analogy: neurosurgeons aren't expensive because they're really good at "doctoring". Even if you had all the $$$ in the world you wouldn't consult one for a sprained ankle.
I found the thing about iteration quite strange.

To iterate, we need to know if our mediant is larger or smaller than the true value.

How do we know that?

Edit: elsewhere in the thread someone explained that the purpose of iterating is to find an approximation with small denominator.
I agree with you. I've seen how bad end-of-life can get, through my grandparents. Dementia is a slow and miserable way to go.
I don’t even understand what you’re saying. This fantastic CEO did prep work last year with 11% of his company? Do you mean that he laid off 11% last year?
End of life care on the NHS is pretty comprehensive - https://www.nhs.uk/conditions/end-of-life-care/ and https://www.nhs.uk/conditions/social-care-and-support-guide/...

My father passed away last year and towards the end he had carers at the house 24x7.
I don’t get this - did every single company hire hundreds of people for no good reason? A global event forcing folks to temporarily use more online services is, well, temporary. I just don’t get the mindset that triggered all these companies to mismanage their teams so badly.
The median wage for a Registered Nurse in the US is around $6,400 a month. That's a large fraction of $13,000.