skysight-inc/HackerNews huggingface dataset:
Show HN: I created a simple LLM (ChatGPT, Bard) prompt builder
Based on the comments in the previous HN post (https://news.ycombinator.com/item?id=39201182) I made some updates:

- Introduced the ability to create/update/delete templates for your custom prompts

- Define your own menu options for variables in the template builder

- Introduced the ability to create/update/delete examples (predefined values) for the prompts

- Saving your current state to browser's LocalStorage so your templates are persisted between browser sessions

- Ability to export/load the whole workspace to/from a text file

- Navigate with the tab key in the template builder's editable fields

- Edit template builder's fields in place
I’m not sure it has much to do with culture but almost everything with cost.

Missiles are extremely expensive and you’ll soon run out of them during a long war of attrition (especially in a symmetrical conflict like in Ukraine)
My guess would be that Apple is trying to blackmail some large software company inside the EU. And after careful consideration, they noticed that threatening to wipe all of their apps data of all Apple devices will do.

If my theory is correct, we will soon see a large EU software company - which deployed PWAs in the past - mysteriously start supporting Apple in their refusal to open up to alternative App Stores in the EU.

They will talk about security and user choice, while completely ignoring that the EU is merely asking Apple to treat them as well as China. In China, Apple has already been allowing 3rd party app stores for some years.

For what it's worth, I used to be a proud Apple user. But recently, I can't help but imagine the financial incentives behind their every move.
Fake News – no cure for that?
Super cool. I wish I could switch it to my local language. I see that there are a few alternative language wikis available. Unfortunately the English wiki does not have many points of interest outside of quite famous ones. I did not check the others, but I don't expect them to be any better than English for my country.
Will they be offered with some sort of battery warranty/insurance. So if one ends damaged battery it will be fully covered. As prices for replacement seem too high...
AOLServer was interesting, yeah. A useful counterpoint to Netscape Application Server, and quite influential over mod_perl and PHP.
I mostly ride motorcycles instead of driving and own bikes ranging from 125cc (Thai Honda Scooter) to 1300cc (BMW K1300R). Riding became a bit less since the pandemic increased remote working, and also I ride my bicycle locally (groceries, also commuting etc).

Fastest was/is about 175mph, but that is rare (and really uncomfortable on a naked bike). Most dangerous encounters are inner City during commute times when theres lots of "angry" drivers and the same on highways. When the road is empty, there is less danger. What I am uncomfortable with are tight bends with fear of approaching traffic that may cut corners, lane splitting is also not for the faint of heart and dirt in corners. And "idiots" that try to challenge me.

Edit: Also, my most used bikes (Ducati & KTM dualsports bike) have all the latest electronics, which makes a huge difference in dangerous situations (eg. slippery corner, emergency braking)

Edit2: what helps against fear? For me: Riding more, thoughout the year and security training on a closed track to keep a feeling for edge cases and not lose it when there's e.g. minor slide. After I kissed the tarmac in 2019 I did exactly that (got a new bike with latest electronics and kept riding, took some 3k miles to fully overcome the fear). Also: I only ride in full gear (helmet, gloves, riding suit with full set of protectors and motorcycle boots)
“Supposed to”? Is this a lifestyle/athletic goal, or a medical recommendation (or something else)?
Find and Patch: A Novel Functional Programming Like Code Rewrite Scheme
Browser makers: creates carefully thought out security features

Junior Developers: what’s this do? Probably nothing… yeet
I guess loud noises sell more bikes because the riders tend to be obnoxiously noisy assholes.
Haha yeah that is accurate. The right language is situational though haha. People are generally overconfident in their ability to mathematically describe things. There's a clique "all models are wrong" and like all cliques it is something everyone can repeat but not internalize lol
Looking at the site, it looks like it still doesn't support USB-C displays or Thunderbolt, which unfortunately, for me, is a dealbreaker (I use my MBA with a Thunderbolt dock on my desk). Looks like I'll still have to wait for a while.

How's battery life compared to macOS?
The people performing animal experiments are not heartless research machines, causing death and suffering changes you.

“Wer mit Ungeheuern kämpft, mag zusehn, daß er nicht dabei zum Ungeheuer wird. Und wenn du lange in einen Abgrund blickst, blickt der Abgrund auch in dich hinein.”
Now we just need some software to automate the watching of youtube shorts and we'll be sorted
> How did we get here? Crisis of ideology? Counter-reaction to relative social liberalization?

It’s a reaction to top-down liberalization by elites. Immigration, globalization, and social liberalization were imposed by elites (economic and cultural) on the masses.

Modi is a good example. Socialism and secularism were brought to India from Oxford by western-educated elites. Modi is a populist reaction to that: https://unherd.com/2021/04/the-culture-wars-of-post-colonial....

The authoritarian aspect arises because only an authoritarian can control the control the cultural and economic institutions where elites exercise soft power. Modi is aligned with your average Indian on the issue of secularism, against your average Indian college professor. Likewise, Trump is aligned with your average American over racial preferences, against your average American college professor.
Context Control in Go
Apple broke web apps in iOS 17 beta, still hasn't fixed them
> I drive and bike. It's more annoying on a bike to come to a complete stop.

That's a side effect of your choice, not an excuse to blow through stop signs.
And there is nothing in the article either that convinced you?
Star Wars is destroyed beyond redemption by now, and the same goes for Indiana Jones. Pixar is also on a downwards trajectory, and whoever says otherwise is deluding himself/herself.
Bots and engagement farms.

Musk has utterly failed in tamping out bots. Not only that, but it's even worse, with crumbling moderation and wrong incentives backed in.
If you look at the source [1] you can see how they solved their what are the doctors going to do problem. It is literally included in one of the prompts now :-)

Users tend to ask broad, vague questions of the document in order to test that the system is working. We want those queries to work well. For example, a user would ask "what are the doctors going to do?" of a document that is about a junior doctors' strike. Take this into account when generating the questions - in particular, refer to noun phrases by less specific descriptions, so for example instead of "junior doctors", say "doctors" in your questions.

[1]: https://github.com/helixml/helix/blob/main/api/pkg/dataprep/...
Then ride in dedicated bike lanes, but don't make up excuses why you should break the laws just because they are inconvenient to you.
If your system provides strong consistency, it is possible to build exactly once processing over it. NFSv3 is an existence proof, and there are plenty of theoretical results showing it is possible. Roughly speaking, you run the job and install the result in the consistent store iff your output register is null. If you side effect outside of the exactly once system, and the receiver can’t suppress duplicate notifications then you’re screwed, but the system in the article precludes that, as do many existing systems.

As for your other points, with eventual consistency you get weird problems like “I wrote X, then Y, but then read X and the system converged to X, except a week later I read Y, but just from half my fleet, and only for a 30 minute window”.

Unless you layer consistency on top of that (which is not always possible), then, tautologically, you don’t get consistency. In particular, most intuitive application-level invariants are going to be violated in all sorts of bizarre ways that take many pages to explain.

In practice, eventual consistency is closer to corrupting than not corrupting, because most application developers aren’t going to follow this conversation, and will use the database wrong.

I’m sure you or I could model our program and the storage in TLA+ and confirm we’re correctly maintaining application state, but that doesn’t help most developers.

Also, it’s not economically efficient.

We’re talking about “only” getting 6 nines instead of 7 because we chose CP instead of AP, but as a side benefit the system is easier to maintain, and it took less than 1/10th as much to implement, and has orders of magnitude fewer implementation bugs.
Killing Safari would hand control of the internet over to Google. This requires everyone trust that Google will do the right thing now and forever, and not work in their own self-interest. That’s not a bet I’m willing to make.
If Taiwan sees China assembling an invasion force, why not build a nuke then, China already signaled that it's going to attack anyway.

A nuke is easy to hide, we are not talking about global second strike capability here, just delivering a couple of them to close coastal cities, even by smuggling them in some civilian transport. Can China be 100% sure that not one slipped through? Taiwan could do a proof detonation on non-city Chinese soil if things get tense.
Thanks for the notice, I'm not too concerned though. I didn't violate any rules. People must be upset that I made an argument that it can be safer to not come to a full and complete stop. But I'm not making the argument that it is safe to blindly blow throw an intersection either. Given the comments I'm seeing, it appears that it is difficult to differentiate these two things.
Yes - at the same time it would similarly fit other tools where some form of working with LLMs is the main feature. And with time we might get more of these.

At least it’s not called “ai”, we have that already, e.g. https://github.com/yufeikang/ai-cli
Wait, I think its New Zealand, but AU might follow. Something about lack of infrastructure/regulation for putting down EV fires.
Thank you! I have mostly worked on web apps before this. I built the same app with Tauri before deciding to move to GPUI and a pure rust UI.

Pros:

- GPUI is heavily inspired by Tailwind, which made me productive pretty quickly.

- I love the tight coupling between the Rust structs and the rendering. Makes for nice and reusable components similar to Svelte.

- It's obviously purpose built for performance/latency and it shows. I haven't optimized Loungy at all, but it feels way smoother than the previous Tauri version.

Cons:

- GPUI is very obviously still in it's infancy. There isn't even a text input!

- There is no animation system. This is a huge drawback compared to CSS/Svelte

- There is no global hotkey API like in Tauri. But I could just take the hotkey crate by the Tauri guys and make it work for GPUI.
The DSL approach to Lisp programming was mainstream in the 80's. It comes natural to any system that has enough frictionless syntactic plasticity and expressiveness.
I love the bookmarklet from water.css, it allows you to turn lots of websites into something more readable.
Totally open to criticism, polls always need to balance completeness, clarity, and effort. What approach do you think would work better?

I notice that Asia is currently at one vote. Lower than the much less populous Australia/Oceania. If that trend sticks, I think it's meaningful.

Re. Russia, I suspect Western Russia would select Europe and Eastern would select Asia. As much as possible, I'd like the commenters to decide which feels right to them.
Back in the early days of Android there was a super little app called Wikitude, which was very useful for working out e.g. what stately home that was on a hill in the distance in the Kent countryside.
If I understood what happened, not in this case. When you drive through an intersection, you assume that the traffic coming in the opposite direction who wants to turn will give you priority, as I believe is the rule in every jurisdiction. It seems to me here that the cyclist made a turn without looking if cars were coming in the opposite direction.
Actually, it was 15 years ago now. The article says "ten years ago" but it was posted in 2019, so 15. I freaked out too when looking at that really old UI and thinking "that was in 2014?" but nope
I think you misread GP, they only said the appendix is not an evolutionary mystery, not that it doesn't serve a purpose. In fact, he noted the presence of lymphoid tissue, which makes is useful to the organism, as stated by the article as well.
I want to say that's so cool, but why so manu vms are needed? Isn't possible to run all of this on hackintosh directly without VMception?
Nice! It wouldn't be much work to add fuzzy-search functionality (all results with a prefix edit-distance below some threshold delta, so that a search for "hackrnew" matches "hackernews"). Basically, what you would do is you add an additional inverted index, but this time the keys are n-grams of words in your document collection (typically 3-grams), and the postings are the words (or their ID) in which these n-grams occur. There is then a nice lemma that basically says the following (where PED is the prefix edit distance, and N(x) are the n-grams of word x):

If PED(x, y) <= delta, then |N(x) ∩ N(y)| >= |N(x)| - n ∙ delta

That is, x and y must have at least |N(x)| - n ∙ delta n-grams in common to have a PED(x, y) less then or equal to delta.

If you now have an input x, you calculate N(x) and retrieve all postings from the n-gram index for each n-gram of x. You can now merge all of these postings and get a list that looks like this: [worda, worda, worda, wordb, wordb, wordc] (for each q-gram x and some word y have in common, you get one entry of y). If you merge the duplicates, you get: [(worda, 3), (wordb, 2), (wordc, 1)], and for each y (in this case, worda, wordb, wordc), the number in the corresponding tuple is |N(x) ∩ N(y)|.

If this number is larger than |N(x)| - n ∙ delta, you explicitly compute PED(x, y) and check whether it is below your threshold. If the number is smaller, you can simply skip it, saving you large amounts of costly PED calculations.

Your result is a list of words y with a PED(x, y) to the input x below some threshold, and you can then use this list of words to query your existing index.

I used this approach many years ago to implement a fuzzy client-side JS search engine on https://dont.watch/ (if you look into the JS code, you can see that the inverted index and the (compressed) n-gram index are simply transferred in the JS-file). The actual search engine is around 300 lines of JS, with no external dependencies and some very basic heuristics to improve the search results).
gentleman's agreement... what a weird way to say there was no agreement.
Location:India
Remote:OK

Willing to relocate: Yes (if required)

Technologies: Skilled in Python3, Data Science (Dask, NumPy, SciPy, Pandas, Xgboost), Deep Learning (TensorFlow, Keras, PyTorch), Flask, SQL, Neo4j, and Cloud Technologies (Google Cloud Platform, MLFlow, Kubernetes)

Résumé/CV: https://drive.google.com/file/d/1tO7kfqy6zk_onhJyerYVbblMpG4...

Email: reachout.parthsharma@gmail.com

https://www.linkedin.com/in/parth-sharma-ai/

With over 7 years of experience as a Machine Learning Engineer, I specialize in machine learning/deep learning and software development. My expertise includes ML Algos., Computer Vision and NLP. I have a background in building both internal and customer-facing software products. Passionate about using AI to enhance lives, I excel in self-management for independent projects and thrive in collaborative team settings. Currently seeking a paid full-time position, open to remote or hybrid arrangements, and willing to relocate with visa sponsorship if required.
I really worry reporting incidents like this will skew the stats against self driving cars.

As a cyclist I've been involved in two very minor collisions, neither of which would have been reported. If Waymo is reporting everything that results in just a scrape or bruise it's going to have a very inflated accident per mile rate.
Cool service! You could get rid of prerendering as well as handle clicks client-side if you switched to MapLibre and vector tiles (e.g. tippecanoe). On small zoom levels it doesn't really matter, but I think it would further improve the experience of zooming in.
Perhaps the term "wired differently" wasn't so far off the mark after all?
They would cannibalize their hardware products and with the massive margin (especially on upgrades) that’s not worth it at all. The App Store revenue is peanuts (on macOS but I would assume on iOS as well relative to hw sales).
"interesting" is a huge stretch. I'd estimatte that there's not even 1% of places that are actually interesting there.

In London it's all big roads, schools and tube stations.

Install the Atlas Obscura app on your phone and it comes with a map of actually interesting places around you.
A term for the twisted psychological phenomenon where people turn viciously on their saviour.
Yeah, my surface level evaluation of these projects is that they're just not going to be viable - you have the height but you don't have the volume - mineshafts are by definition narrow - and some sort of automated load/unload system is going to run into issues of complexity and reliability and ease of access for maintenance to whatever's at the bottom end.

It's always going to be easier to move water around in an automated fashion, though, so I'm immediately skeptical of any system that isn't some variant of two tanks and a pump/turbine.

If you really do want to use gravity as a power source and don't want to go the hydro route you're better off building narrow-gauge train lines up the sides of hills. The lower-impact and lower-output version of that would be aerial ropeways.
In a similar comment I gave an example and maybe that'll help. I can leave my food in the oven too long and I will not be surprised to find that it is burnt, but I will definitely be disappointment that I ruined my meal. I think this should clarify and why I was a bit snarky lol. While they often correlate they are not the same.
Large study finds five indications associated with the right wing
What percentage of apps “outgrow” Postgres?
Unveiling Tuist 4 and Tuist Cloud
Almost everyone who opens up a new field does not really understand it the way the followers do.
X, formerly known as Twitter /s
They would probably earn more money from selling those 20 macs than 200+ official hackintosh licenses.
Did you read the article? Tucker is interviewing Putin and releasing it on X. This is undoubtedly going to draw a lot of attention and interest.

None of the other stuff matters that much if X has some exclusive content that is of interest on the world stage.
Closing the accessibility gap to mental health treatment with a chatbot
JFK tried to construct a system that did not involve (at least explicit) US hegemony. But he was canceled.

https://www.jfklibrary.org/archives/other-resources/john-f-k...
Papyri: Rendered documentation inside IPython/Jupyter
Just to nitpick a little, let's use the word cyclists, not bikers. I feel that bikers actually obey traffic signs more than cyclists do.
Same, there are few places I go to I may not come back drunk!

This, and freeing up the streets from parked cars. If cars are self driving they can go park themselves into some big, far away car parks instead of clogging the streets. In europe it can easily multiply by 2 or 3 the throughput of most big cities.
Their commercial offering is advertisement, which seems to be liked.
Also if for example somebody has written a window opener function in their site's code and made the mistake of naming it tabgod there might also be problems.

But from reading the description it says in all devtools consoles - so I had assumed it was only in devtools context that the function was available?
Hey, I tackled phrase matching in my toy project here: https://github.com/vasilionjea/lofi-dx/blob/main/test/search...

I think I tested it thoroughly but any feedback would be appreciated!

Edit: I delta-encoded and base36-encoded the positions
His podcast is sponsored by Athletic Greens. He has promoted their product in every single episode that I've listened to. That's a bit more than sometimes.
Google trying to ride the open source hype that Meta is blessed by, except google is a mean girl who regrets opening up the transformer without taxing it, so they're really sour about it and doing these tricks now to pretend to still support open-source.
> behavior from cyclists seems to be proportionally much more common than dangerous behavior by Waymos

I'm not trying to take any position to this notion. I don't know the facts. I only know that not coming to a complete stop (different from blowing throw an intersection!) does not equate to dangerous behavior. You'll find another link that shows evidence otherwise. "Stop-as-yield" laws would be worth looking into if you're interested.
Nice idea and naming, I love concrete and brutalism.

I miss some concrete texture, could be easily done with SVG filters. Also, concrete is gray, but this is black and white, I'm not really sure that fits the theme perfectly. Maybe a single modifier class on the body would make sense.

Edit: I see that it detects my OS dark theme, but the site could help me compare with the normal mode.
I've got a family member that works on production at Lucas, Unreal is still very much a mainstay and not going anywhere.

They're actually expanding their use of it with more virtual sets, mainly because they're now leasing them out a fair bit and need the capacity.
> 500$ Dell/HP that constantly has issues because there's no budget

So they wouldn’t buy any macOS licenses unless they are <$50 either? Which makes it totally not worth it and would result in a significant decline in revenue for Apple
Is there no law in the US that requires an employer to find a job for somebody before firing? And that includes being allowed to apply for open roles...
>> innovating on ai and integrating it into its ad targeting.

Summer child.

No one who has add space to sell wants an efficient, accurate market. Those inefficiencies create competition, create volume create profit for those with ad space to sell.

The ad market had more effective targeting and better ROI 10 years ago than it does today.

Go and try to run a CPA campaign at any cost... you can't. It's all display add's CPM garbage, carpet bomb for pennies.
More likely to die in the middle of desert with a BMW R1250GS short of water than smashing into a pylon on a toy racer.

Job wise we spent years and hundreds of millions of kilometres draping the ground at 70 m/s (252 km/hr | 157 m/ph) with ~80 m ground clearance dodging birds and power lines so that's always seemed like a comfortable speed.
How did you implement this? It's exactly what I've been wanting for ages.
It looks like it might be any Chrome browser tab and not "any browser tab"

however since Firefox supports Broadcast channel API it should probably be theoretically possible in there.