skysight-inc/HackerNews huggingface dataset:
Show HN: Check Out Our New Open-Source Project: GroupTrack
Hello, HN Community!

We're excited to introduce GroupTrack, our new open-source family safety app that emphasizes secure location sharing and effective communication! As developers passionate about creating impactful solutions, we've put a lot of effort into creating an app that helps stay connected with families and friends.

What Is GroupTrack?
GroupTrack is designed to enhance safety and connectivity among loved ones through precise location tracking and real-time updates. Here are some standout features:

- Group Management: Users can effortlessly create or join groups using a simple invitation code.

- Real-Time Location Tracking: Keep tabs on where friends and family are at any moment.

- Geofencing Alerts: Users receive notifications when group members arrive at or leave specified locations.

- Integrated Communication: Support for both group chats and private messaging enhances user interaction.

- Journey History Access: Users can view historical travel data for group members, enriching the safety experience.

Dive into our GitHub repository to explore the implementation details and see how we've built these features: GroupTrack GitHub Repo.

Looking Ahead
We're focused on continuous improvement and have a roadmap filled with exciting features, including:

- End-to-End Encryption: Ensuring privacy with secure messaging and protected journey routes.

We're eager to hear your insights on how we can make GroupTrack even better. Any thoughts on features, performance, or best practices would be greatly appreciated!

Thank you for taking the time to check out our project. We look forward to your feedback! Happy coding!
https://github.com/canopas/group-track-android
"R2-D2 you know better than to trust a strange QR code".

Scanning QR codes outside a trusted environment (e.g. a workplace stock keeping system) is asking for trouble. Security advice now routinely recommends not deploying QR codes on your products, nor encouraging your employees/users to scan strange codes.

It's like 1995 all over again.

EDIT: In response to doubters below
https://www.bbc.co.uk/news/articles/cz472gy8nd9o

Besides, to paraphrase Dubya: "Goatse me once, shame on...shame on you. Goatse me—you can't get goastsie'd again."
Musk's Plan to Send a Million Colonists to Mars by 2050 Is Pure Delusion (2022)
Thank you for your answers, it is much appreciated.

I suppose I will not use "quick_exit" either in that case, I have many workers, there is a job queue mutex, along with phtread_cond_wait and phtread_mutex_{lock,unlock} and when the "job_quit_flag" is set to true, that means all jobs are done and I am ready to return NULL.
learn a bit of the history of journalism, and specifically of the history of american journalism and its connection to politics and voting, i dare you.
And "everything is securities fraud" isn't? It's hilarious, but definitely exaggerated. Matt Levine is interesting while also poking fun, which is practically the definition of entertaining.
There is no free lunch. You need to go to a finer wire strand, better insulation, better loom, better support for the harness etc, if you want that super fine wire to last. Some of those have pretty direct labor cost impacts too. That's gonna kill a lot of your cost savings, especially at lower production volumes where the design cost is harder to amortize. There's no free lunch.
> Waiters in the US make more than their peers in: Britain, France, Germany, Spain, Italy, Japan, Canada, New Zealand, etc.

That seems unlikely - do you have any figures to back that up?
I don't agree, in the initial stages solving problems without LLMs will give a good enough knowledge about the intricacies involved and it helps develop a structured approach while solving a problem!
I'm personally not saying that excuses it, but I've once read that it was an absolutely conscious decision by Apple to put the port where it is.

A lot of people tend to simply leave the mouse plugged into a cable when using it, even once it's charged. Apple is famous for the image that they would like their products to convey. They don't want people leaving the mouse plugged in because it's convenient or they're unable to act on a month-long warning. They want to force you to use the mouse as it was designed -- wireless.

I'm not saying it's good, I don't have one myself and I plainly don't like the ergonomics of it. I like the look and I think I would be able to work around the port-location constraint, but it just doesn't feel nice to hold.

Pretty to look at, though.
The issue at hand was me making an analogy about how Meta releasing LLaMA to many .edu addresses still would not mean that LLaMA would be actually used widely, since the Unix™ source code was similarly released by Bell Labs, but the actual Unix™ source code did not end up being the code which we now use.

The fact that UNIX™ later went on to become a compatibility specification, not a specific implementation, is irrelevant to the analogy.
I like how in this case 1e11 almost reads as "hell" :)
What I really want is a Notebook experience for the terminal, but output is for each command is automatically stored in separate buffers.

Then I can tweak commands, or chain the input from the buffers. (automatically using mkfifo or something)

I want my command to history stored in another buffer, and another buffer that I can quickly move the commands and/or output to a script or a markdown document for documentation.

That way I can quickly debug or build scripts, or perform analysis, and it will automatically have an executable to reproduce all my steps.
This is a good feature enhancement, to check the location of the ding-donging party.
I think a lot of tools should support json as well as plain text. Probably the latter by default, and the former with a "-o json" or similar option. I'm fine with wc giving me `5`, I'd prefer that to `{ "characters": 5 }`.
Interestingly, I have never seen tips being demanded by restaurant staff almost as an entitlement in any other country other than the US - even in far poorer nations.
I mean, sure, there may be cultural differences, but let's not ignore how Spain as a country has been fucked by successive rounds of people in power making self-centered decisions, not to mention the relatively recent liberation from literal fascists.

I think Spain would fix its potholes the moment it could afford to make that a priority.
I think you are correct, but I think your example is a bad one. Most people do not have a realistic (their employer will use it at work, it even occurs to them that they could use something else) alternative to MS Office so will use it whatever MS does.
JetBrains: Important update to our discount policy
To be fair, Windows 98 came with almost-ads in the stock Active Desktop wallpaper - and promos for AOL/CompuServ/Prodigy.
I see where they're coming from, though: right now you have to be certified on this very specific program, meaning you only get the benefits if you have access to one of the 38 people currently trained for it in the UK.

I would definitely want a professional to be in charge but, as the article itself points out, "Joe recently went back to his GP in search of help with his anxiety (...) The GP put him on a waiting list for NHS talking therapy, and warned that he could be in for a very long wait". Given how bad access to mental health resources is I may be willing to take "a community nurse, or a nursing assistant" now over "wait several months for a chance at a doctor who may not be the right fit for you".

I wouldn't dream of allowing an AI to roam free - as the article says patients can get more psychotic and arguably "you should end it" could very well be part of the training data. But if the AI suggests lines that a trained human can oversee... then maybe?
My immediate thought was: get an esp32 with an eink display and regenerate the code every ten minutes, but of course we've left the extremely easy realm quickly.

But I agree I wouldn't want a static QR code linked to anything that could bother me.
Why would you need 10 Gb/s speeds in a car
"Works on PHP 8 without preinstalled frameworks"

I like it, but it is not a static site generator, can't compare both things.
There's no displayport/HDMI/dvi/vga port on the monitor. Apple did n't implement target monitor mode. OTOH, if you have a mac of some sort, you can use it as an airplay target and mirror/extend your desktop, so it can be used as an external monitor, just not generically.
There's a working build of just the open source part of VSCode (with basically all the same functionality) called VSCodium
Apple Intelligence waitlist due to PCC rollout
Private Cloud Compute[1] is insanely next level from a server engineering perspective. I really think it's on the order of the transition to stateless architecture 30 years ago or microservices 15 years ago.

Now that clouds are operating at planetary scale we need to turn our attention to the privacy and security vulnerabilities that have become a regular feature of web server architectures. Until now it's basically been "take an open system and lock it down". PCC is basically ripping things up and rearchitecting everything in from the perspective of "an airtight node that is cryptographically provable to not share data with any other node and leaves no trace of your data."

Here's how insane this is:

* Apple uses custom chips that it manufactures with secure elements, providing a hardware foundation of trust.

* There is a deployment trust ceremony that helps ensure data center hardware is authentic.

* Server binaries are publicly auditable and clients verify nodes are authentic and running audited binaries before sending requests.

* Client requests are anonymized and well distributed across the cloud to ensure attackers cannot target a specific user without compromising the entirety of data center hardware.

* There's no shell you can log into these nodes with or PII in server logs/metrics.

* All request data is encrypted with node-specific private keys that are impossible to read or share with other nodes, and also rotated regularly, wiping any inadvertently retained data.

* The only state that is even potentially kept is a caching layer that is encrypted with a public key provided by the client, thus unreadable without the client's private key provided on the next request.

From a SRE perspective it's Nightmare Mode (that's a Doom reference), so you better have very good metrics enabled.

Anyway, today is a big buttcheek clenching day for Apple server engineers as this is a major new 1.0 cloud architecture on custom hardware (impossible to buy GCP/AWS instances) getting deployed to tens of millions of users. This is no doubt the reason for the waitlist that iOS 18.1 upgraders see. They are controlling the rollout to ensure it is scaling in a healthy manner.

[1] https://security.apple.com/documentation/private-cloud-compute
Linus Torvalds reckons AI is '90% marketing and 10% reality'
<< Higher ups may want it done, but probably only if it can be done immediately and doesn't cost a lot of money.

Since we are talking evil, I suppose money is a good place to start ( being root of it and all that ). So motivation would likely be there, but I am willing to accept your qualification of 'yes, but don't spend a lot'.

Lets look at some of that potential cost structure. The analytics part these days is not exactly expensive. Hell, HN just yesterday had a story about $4.80 GPU time being used to do some reinforcement learning to find 'best HN post' on 9gb of HN data[1]. That used to be a little require more time and be more labor intensive. Edit: Yes, what we are discussing would naturally go beyond $4.80, but in terms of bang for buck it is hard to find a better time than now.

One could reasonably argue getting the right people ( right experience and knowledge ) could be prohibitive in terms of cost, but.. if you are already an insurance company, it is not exactly impossible that you already hired people with applicable experience, knowledge and skill. And if you are already paying them, maybe this little offshoot project could be sold to them as a great advancement opportunity. And if they took it too far? Well, no one told them to go overboard. After all, we at <company D> have a strict ethics policy.

If that is the case, two big pieces of the cost structure are either negligible or already part of the annual budget.

FWIW, I want to think you are right.

[1]https://openpipe.ai/blog/hacker-news-rlhf-part-1
I agree with most points but would like to add one about "tunability". This article focuses mostly on correctness, which is of course important (and without which the whole system would be useless) but in itself is often not sufficient for large systems. I've seen it happen more than once that a big table rewrite causes so much load the database might as well be down completely.

One thing I would love to see implemented more thoroughly in database systems is the ability to throttle and/or pause the load that DML can impose. Normal SQL only says "what" the ALTER TABLE should do, but the "how" is often rather lacking. At most you get a CREATE INDEX CONCURRENTLY in postgres or an "ALGORITHM=instant" in mysql, but rarely do you get finegrained enough to say "use at most XYZ iops for this task", let alone that you can vary that XYZ variable dynamically or to assign priorities to load caused by different queries.

AFAIK TiDB and pt-osc provide ways to pause a running migration, gh-ost can also throttle a migration dynamically. Vitess also has several ways to manage migration, as it leverages gh-ost. For postgress I don't think any of the currently popular tools have good ways to manage this, but I would love to be proven wrong.
Show HN: I Made an AI Image Roast Generator (It's Free)
You misspelled AI - that's the extent of the irony
Though since it's trivial spoofed I don't know why you'd bother.

Something like this really needs a periodic refresh or some proximity proof like NFC.
One people on the planet do this.
Yes the lack of discoverability, plus the unfamiliar syntax of Groovy, plus names changing between versions, I started with Gradle thinking it would be easier but in the end I'd love to go back to Ant. That was awful to write but at least you could understand it.
> Yes, X11 programs can maliciously keylog each other, but this just isn't a thing that actually happens.

A simple search leads me to this: https://github.com/anko/xkbcat

There isn't a real attack using it yet, only because attacking Desktop Linux is a really unprofitable endeavor (considering the marketshare, the ROI must be very low).

> To actually be safe while installing and running malicious applications you need extensive sandboxing

FWIW, X11 is unsandboxable unless you run a second X server on top of your current server [0]. Which is fine, but you need to consider that most, if not all sandboxing solutions on Linux that "newbs" use, like Flatpak, do not employ such technique when running sandboxed X11 applications.

The "security by default" behavior of Wayland limits the possible attack surface a lot, without requiring the end user to understand all the nitty details involved.

[0]: https://wiki.archlinux.org/title/Bubblewrap#Sandboxing_X11
...get them while you can, I guess....
> state of the art in speech recognition for decades

Decades doesn't sound right. Around 2019, the Jasper model was SOTA among e2e models but was still slightly behind a non e2e model with an HMM component https://arxiv.org/pdf/1904.03288
SmarterEveryday posted a video interview with Don Petite and fellow astronaut Matt Dominick on the ISS. (Before Dominick's return to earth)

https://www.youtube.com/watch?v=JJofuF2zcTE
This is one of my big gripes - when apps are trying to get ahead of me with validation or submission. When I'm entering a 2fa code, I don't need a big red error telling me that the code must be 5 digits before I'm even finished. Worse is when they immediately auto-submit upon entering the last digit, so if I made a mistake I can't backspace and correct it
> But when you actually think about it, it's an insanely stupid UI choice that neither of proper UI frameworks would even consider.

You say "insanely stupid", I say wonderful.

Everything you apparently hate about the web is what makes it good for users. Content is primary, and my user agent can resize it, restyle it, copy it, extract it, link it, read it to a blind person...

If you want to make a binary blob app, just make that. Stop trying to break the web.
> Flutter Web is for web apps, not web sites

When you want to draw this distinction: most web apps will still suffer heavily for many users if they use Flutter. To begin with, few web apps don’t use text, scrolling, or form fields. Games are almost the only thing that may not suffer, or only barely suffer. But beyond that: well, that’s what they say its purpose is, but at least two of the three times I’ve encountered Flutter in the wild on the web, it was inappropriate, and frustrating; regular DOM should certainly have been used. (The third, I’ve forgotten what it was. It was probably similarly inappropriate.)

Skia is not the bottleneck. The web platform is. Scrolling is limited on two counts: ① what browsers expose in events is insufficient to match the native implementation (which varies by platform) in scrolling amounts, overscroll behaviour, and related things; and ② the browser is a compositor, and your code will never get access to that layer, because it’s way too deep in performance-, security- and implementation-detail–land, so you’ll always be stuck at least sometimes at least one frame behind “native”, and janky.
> I genuinely don't think the technology is there.

Definitely true for OP's case, especially for non-trivial language pairs. For the best case scenario, e.g. English<>German, we can probably get close.

> I can't even find a half-good real-time "speech to second language text" tool, not even with "paid/online/on powerful device" options.

As in "you speak and it streams the translated text"? translate.google.com with voice input and a more mobile-friendly UI?
yes this!!!
Whenever I write a prompt, I tend to divide it into smaller prompts, and in this process, my brain thinks of multiple ways to solve the problem. So yes, it's not limiting my thought process.
I didn't notice this thing until I read this.
i still write notes daily and already this year have finished 4 notebooks...however, things i need to review are typed, i write to keep things in my mind as they are being discussed...example, if i encountered an error while reviewing a program execution i would write it down "encountered error during attempt to do x" but i would also type it in my notes in vastly more detail with screenshots and other points...handwriting to me is almost like tagging it in my mind so i just don't forget that it happened.
It really rubs me the wrong way that you tell everyone to chill and then go on to levy your own value judgement of the situation. If you want to larp as the ref or moderator you don't get to pick a side.
You might be living in a bubble. The majority of the population doesn’t have a PC, most people use a smartphone as their only general purpose computer. And while you may not run blender on your phone and render a full-time movie with ray-tracing there, there is absolutely no fundamental limitation, it just so happens to primarily target portable devices, not beasts of a machine with 4 video cards. This functionality requires zero special permission, neither does photoshop (of which there are multiple mobile-versions), or digital painting which, etc.

You would be surprised how many content creator gets by with a single ipad.
Your feedback is really appreciated, Tim!

Hope you'll keep the promise :) and in the next few weeks we'll get the content updated.

The whole scope as you layed out in the toc looks great!
At this point just knock!
Can you touch draw 120 WPM?
On that theme if you're interested in a repairable eBike battery, We're engineers/designers from France, and we've built a DIY Battery that you can repair and refill :)

It's launching as an IndieGogo and there is an offer for early-backers here https://get.gouach.com for a 25% discount on the battery!
I agree understanding KM is a very good place to start survival analysis. Many examples in my business I have for KM the censoring is due to certain events taking along time (auditing healthcare claims) to resolve.

When I first learned survival analysis, my professor had me construct life-tables, and then learned KM. You can often do quite a bit with discrete time tables, so if you have data:

ID TimeRange Outcome
A 4 1
B 3 0

You can then explode the data into the form:

ID Time Outcome
A 1 0
A 2 0
A 3 0
A 4 1
B 1 0
B 2 0
B 3 0

If you groupby this table and get the numerator/denominator, that is what you need to calculate the life-table, and the discrete version of the KM plot.

Understanding that also allows you to use more typical binary regression or machine learning models, and then you just calculate the cumulative hazard from the predictions afterwards, https://andrewpwheeler.com/2020/09/26/discrete-time-survival....
Lua is a fine language. You can do wonderful, delightful things with it.

I've used it in million-dollar products where other languages cowered in fear at the memory BOM. Lua can go places many other programming lanuages simply cannot, such as in embedded/low resource systems, high performance engines, and even scientific realms.

Its not 'just a scripting language', as if that were some sort of valid pejorative.

On top of that, its not just a "language" but also can be used to create an extremely powerful engine for any application, systems software, or high-profile component.

Its a highly flexible and powerful VM-based language which can be wired into EVERYTHING and ANYTHING a competent programmer might find worthwhile.

Lua can do anything and everything, from teaching tools and video games, to network switching equipment to high-precision jet fuel analysis systems.

(Disclaimer: I've shipped all of these types of products using Lua.)
I unwired my doorbell and never looked back. It’s been one of the best decisions I’ve made about my house. If you get past the FOMO you might love it too. Why does the world get an interrupt button for your home?
Check out our latest blog, "Improving Search Experience Using Elasticsearch."

At NeetoCourse, Elasticsearch powers our search capabilities. Recently, we optimized our Elasticsearch configuration to enhance the search experience. This blog explores the updates we implemented and the insights gained along the way.

Read more: https://www.bigbinary.com/blog/elasticsearch-improvements
I think it’s absolutely weird that the proctor is voicing the avatar

I’m imagining some Unreal Engine Skyrim deity on screen being voiced by my therapist, acting with a vocoder. Like, c’mon.

Definitely train a computer to do this part, generate your psychosis demon and have it really say the abstractions you described. Theyre already shockingly scary in realism when theyre not prompted to be.

A VR headset might be a little too immersive and triggering

But as long as its supervised I think its better
Those protocols weren’t designed for privacy or financial transactions. Those things have just been kludged on top.

No one back then designed those protocols for our use cases today.

Ask rather why we haven’t upgraded all the hardware that supports all those old protocols? So that these protocols could also be updated and modernised.
>I have never heard anyone not already a Linux user comment on even one of those as a problem.

Those specific words are uttered by Linux users, true. However, Linux beginners _do_ notice some X11 issues, it's just that very frequently they only know "something" is off but not why they feel so.

From anecdotal experience, touchpad gestures are actually something my friend complained so YMMV. We ended up making a file in /etc/X11/xorg.conf.d/ to configure the synaptics driver. Another experience had to do with screen tearing, I helped them fix it by installing a compositor.