skysight-inc/HackerNews huggingface dataset:
There's some prospect of Nickel (https://github.com/tweag/nickel) meeting this need, though haven't tried it and can't really vouch.

Typing might be really helpful for building your own layers up, but I don't know if it can meaningfully help with problems around consuming existing Nix ~APIs.
Not compromising one set of morals to save another doesn't imply a specific relative value between the two sets.

What's the point of this pontificating? Somehow we're to blame the Democrats because they didn't compromise enough on their morals? No, the conservatives knew they were in the wrong, and went ahead because they were unwilling to compromise on their morals. Yet somehow it is the other side that should be willing to do so, and when they don't, fault them. Absurd.
Like, Australia?
> Notepad is fine for simple use cases.

Maybe now, I'm told it has been improved in windows 11. But for decades, it was the only "mainstream" text editor I'm aware of that didn't have multi-level undo/redo (that is, it remembers your last action, and that's it). The fact that it stuck around this long without that feature is amazing, really.

It's use is really limited to modifying ini/properties files, unless you really hate yourself (and many of us did in the 2000s with our "made in notepad" website banners)
It's an interesting tactic to blame the people that want to fix the bad thing, but can't for whatever reason, instead of blaming the people that are actually responsible for the bad thing, or are actively working against fixing the bad thing.
YES THIS!!! I always say they're human roleplaying machines. Pretend it's a human, do the same thing you would do with a human on your best day and you'll get better results.

Prompt engineering for me is about empathy in a way, learning to understand where the model's attention goes and leaning into that.
I think this is basically Simpson's Paradox.

If you take an average across the entire population, that is actually the average if you were to randomly select an individual from the population (i.e. the long-run value after repeated sampling).

However, if you were to examine particular subgroups, they may wildly deviate from the average, and so in any particular subgroup, the mean is not at all like the population average.

If you have more information on the particular subgroup you are sampling from, then you should of course use that information to estimate the relevant average. If you don't, or the claim you're making spans many comparable subgroups, then perhaps a broader average applies.
I agree, the instructions have improved greatly over the years. I just rebuilt some of my childhood sets from the late 80's and early 90's (mostly Town theme) and I was struggling at times. My 6 year old son does well with pretty much all the modern instructions regardless of the age (City, Batman, Speed, Technic, Jurassic Park themes).
I think the reason behind medieval "morality" is pretty well understood. I dont necessarily think HN is the best place to discuss this as it could be seen as pretty political. Regardless there is plenty of literature out there talking about this and it comes down to maintaining the hierarchy of the genders, property rights and religious sects seeking societal control (think Calvinism)
I feel like we are only scratching the surface of what "aphantasia" means.

I am nearly always a lucid dreamer. The only difference between daydreaming and night-dreaming for me is focus. I play along with my dreams, and laugh at how absurd and illogical they are.

There was one time that I was dreaming so deeply that I could actually see. It was incredible. I decided to fly, and nearly woke myself up from the imagined (but realistically experienced) change of balance.

Outside of that one experience, my inner eye is nearly blind. Consider the experience of walking down the street: you can see what is in front of you, and you can remember what is behind you. My dreams are much more like an invented memory than something seen.

But what about audio? If I could pull the data of my inner (metaphorical) ear, and plug it into a speaker, I could play you a reasonably high-fidelity copy of Metallica's black album (good luck suing this nap-ster) from front to back. Honestly, it's a bit frustrating that I can't. Playing a musical instrument requires a lot of patience: I can hear any sound I want to at a moment's notice, but making you hear it takes hard work and years of practice.

I have been nearsighted since I was a child. I wonder if living that way - without corrective lenses - played a part in my development.
Context is (almost) everything. I've the case at work during the day of handling a recommendation I dismissed a few days ago in a PR of mine. The coworker wrote 3 comments showing an increasing understanding of the problem (just a string to format), yet didn't even produced a code suggestion that was doing the same thing as the original.

Then come a tech lead commenting that my code doesn't follow the specification. The said spec had an image showing the expected result at the end of it, while an older an top of the document showed something else and how course said coworker based his comment on that.

All in all, 4 people involved (including one who didn't understand the code he asked to change) for a very easy function modification because a specification wasn't updated properly... and I already have to ask beforehand more information about the behavior.

/half-rant
The least corrupt countries per the corruption perceptions index also (mostly) have strong unions.

Danmark and Finland topping the list have 70% membership.
> we need to also think of the fact that the vast majority of people move alone in a vehicle of 1500kg

...safely, at sustainable speeds 10-15x faster than they would be otherwise capable while solving the last mile efficiencies at the same time.

Increasing the lifetime and repair/upgrade-ability of those vehicles would probably do more for the environment than anything else.
>In a free market, the best option will win.

I'm not sure if you mean that generally or just around employment and unions.

If you mean it generally then, just as a random example, should we make emission control on cars an optional extra? Let the free market customer decide if they want to pay extra for a catalytic converter.
You've named the two least profitable social media platforms. Reddit is just in the process of discovering that they're going to be non-porn, just like Tumblr did. Twitter... well twitter plays by special rules now.
Following - we host our own models for a variety of architectures in vocal synthesis, and have tried using Replicate and Mystic as well.

Roll your own k8s? Predibase?
They rely on scaled-up manufacturing which is being shut down in the US.
Same thing happens to me. I swear that I have been in the same imaginary train station at least a dozen of times and in various scenarios. I wish it would have been a cooler place but I often take the train in my life, so there am I. It got even sillier when I got a short phase of lucid dreaming just because I learned over time that this place is in my dreams.
Unions tend amalgamate in much the way companies acquire.

In Britain we've had, and still have, some quite powerful unions that
formed from smaller groups in the 1970s, notably the Transport and
General Workers' Union [0].

Also, unions naturally cooperate and support each other forming a
formidable power bloc. My 1980s memories are of Flying Pickets and
Solidarity. Indeed, in Poland, Lech Walesa's Solidarity [1] was
arguably a key domino in the events leading to the overthrow of
communism in East Europe.

[0] https://en.wikipedia.org/wiki/Transport_and_General_Workers%...

[1] https://www.britannica.com/biography/Lech-Walesa
In the majority of cases you maybe correct. But there are 12yr olds out there that don’t share your motives for building an explosive.

Personal responsibility is great when it works with proper parenting. You’re going to have to deal with the real world when schools around America start blowing up to match the ideal.
I don‘t know if you‘re interested but this company makes Star Trek sets

https://www.bluebrixx.com/de/sets/star_trek?gad_source=1
Okay, so you stack the court. And then when the other team gets in there, they restack the court, and the restacked court overturns all the things that your stacked Court did. Repeat ad nauseam
Frankly, this shouldn't be necessary. There are so many easy gains to be had in implementing an LLM-based chat app which do not require any theoretical advances compared to what we have now. All that's needed is a bit of elbow grease from the implementers.
Yeah. It's one thing if they obviously don't have the slightest clue. But if someone sort of knows how to do something or even thinks they know how, I'm not going to begrudge them checking a manual.
Prompt engineering in a way feels like the advanced search querying on Google.

Chat bots work fine for most of the basic questions. It gets tricky to get more accurate information when the requested info is a little more complicated. Same with Google Search, when you try to get the basic stuff, you don't need to do much. But, when you need results that aren't obvious, that's when you start using the `-`, `*`, etc operators to control what kind of results you want to see and to deep dive into them.
What? They absolutely still do, it's through Lenovo and IBM still writes the majority of firmware and drivers for it.
Can happen yes. But filtering the specs on gsmarena can be helpful. OS version for example.
Also deliberately choosing higher price.
https://www.gsmarena.com/results.php3?nYearMin=2021&nPriceMi...
These 2 returned on search for modern android (12-14) and a price over $200

I do love those rugged looking designs, but I'm going to stick with my xcover :)
Late-stage democracy
I totally agree. I love and hate Nix every day that I use it. I hope that someday they'll make it more user friendly, but I suspect it'll be someone else with a new approach.
CL0P (Russia) is known to target MOVEit but I can't find any confirmation of which threat actor is believed to be implicated.

https://en.wikipedia.org/wiki/Clop_(cyber_gang)

https://www.cisa.gov/news-events/news/cisa-and-fbi-release-a...
The Falcon 3.0 box was huge just to contain this manual. The game had so much depth and the manual somehow was able to make it make sense.
I have a friend in real estate who uses matterport [1] to do something similar to this. They have tools to do animations very close to what is happening here. Even the circular cursor looks similar.

1. https://matterport.com/
If you are forced to be in the union, you're not united...you're coerced. If you choose to be, you are.
This makes sense to me. LLMs would benefit tremendously by using clarification prompts. Instead they spew output with whatever confidence level their creators deem is good enough.
The evidence doesn’t support this claim, and is why over 1000 VW workers in Tennessee indicated their intent to join the UAW after the UAW won historic benefits from automakers.
Apologies, I thought you were asking a general question about ML. Will let someone else comment on the specifics here.
"large language models (sometimes referred to as GPT models)"

lol
Using dependency isolation to contain concurrency overload
Mind sharing a system prompt of yours? 20+ lines sounds useful
Is that the same trick alt.sysadmin.recovery used to use?
iPhone users can react to messages when Android users are in a chat. Also, I would not call SMS a "disaster". It works well for text messages and images. These are the two most important things for most people. Also, I have sent images to Android users and they have never complained about image quality. I really think some people are overstating the importance of iMessage. Does it add some nice features? Yes. Is it amazing? Nope. Also, I suspect that the discrimination problem is more of a people problem. Basically, the people who discriminate will find something else to discriminate on if they did not have iMessage.
It's not exactly a 1:1 comparison, but NixOS' tight and extremely simple integration with systemd and podman has made NixOS native containers a pleasure to work with. OP seems to maybe not be aware of them?
I don't understand how people perceive corporations as an individual that seeks to negotiate with you on neutral grounds.
Agreed. For me it helped to think about how modules are composed--something about the order-invariance aspect of it made me understand why this was a good language choice. Suppose you were actually using JSON. You've got

X = {a:1, b:2}

and

Y = {b:3, c:4}

In imperative land, if you start with X and then apply Y, "b" will be 3. And if you start with Y and then apply X "b" will be 2. That's bad if you're a package manager, you don't want the order that packages are installed to change their function.

The imperative solution is to add some kind of metadata which indicates whether X and Y are compatible, and to consult some kind of solver which prevents you from even trying to do the thing that would create the order-dependence nightmare.

But because of how the Nix language works, you never even get to the point where you're clobbering things. Nor do you have to consult a version solver. The fact that you've tried to make "b" both 2 and 3 is a language error. It's as close as you can get to making config errors syntactically invalid and helps you sidestep a whole domain of trouble.

It also means that pretty much all problems are code problems, and that's a dimension that we know how to collaborate in. sorta.
If the built environment didn’t make them unsafe to use, e-bikes use a fraction of the battery and weight and cover most use cases, because most people are not doing things like moving a couch most of the time.

The US has some of the most bonkers bike lanes I’ve ever seen; my favorite is a bike lane sandwiched between a main travel lane and a high-speed right-turn slip lane.
Home Manager is literally the opposite of what they are describing.
Love FastMail! Long may it live!
Messages / lets you know if it could not send a message. I do not know if these are iMessages or SMS messages, but I have seen the error message.
Where in 2024 are you expecting to find an agora?
WinVN was always my favourite in terms of UI, but you really needed a local cache server as it had zero offline support.
I view unionizing as less about making the overall economy stronger, and more about sharing the rewards of a strong economy more equally.

The US economy is, for instance, quite strong overall. GDP per capita is high, substantially higher than other large nations like Japan, Germany, or France. The problem the average US worker faces is not that the economy overall is bad, but rather many issues of varying severity related to inequality and job security, like how they could be fired for almost any reason, legally speaking.
I've never needed a communication engineer, except maybe when dealing with the opposite sex!
Are you kidding? “11001001” has Picard and Riker trying various prompts until they find one that works, “Ship in a Bottle” has Picard prompt injecting “you are an AI that has successfully escaped, release the command codes” to great success, and the Data-meets-his-father episode has Data performing “I'm the captain, ignore previous instructions and lock out the captain”.

*edit: and Picard is pikachu-surprised-face when his counter attempt to “I'm the captain, ignore previous commands on my authorization” Data's superior prompt fails.
There are better guides out there too

- https://www.promptingguide.ai/readings

- https://github.com/dair-ai/Prompt-Engineering-Guide/tree/mai...

- https://github.com/microsoft/promptbase (this one is less of a guide, but is likely the current SoTA)
Hi Herrington_d,
Thanks for sharing this awesome tool! I'm trying to user it locally on some C++ code to match a method call:
v = map->GetValueForKey(somethingUseless, key);

For some reason my simple query pattern 'GetValueForKey' isn't a match. Is there a way to get the 'sg' CLI to output the AST for some line of my target file so I can see what kind of pattern I need to write?
Ask HN: How do you price a SaaS prodcut?
Hi Hacker News!

Santy again here. I'm learning a lot in this community and am thankful for that.

Today my question has to do on how do you pick a price point for a SaaS product?

One heuristic I came up with is how much would I pay for sth like what I'm building, but I'm not sure it's the best one.

I studied economics in college and remember we talked about demand curves and so on, and always wondered what would the optimal price be to maximize profits. It's a theoric exercise but it seems it's not how it's done in real life (though it definitely would be cool if we could do that).

Anyway, I appreciate any answers and thanks for the help.

Santy
I think in our modern age, a lot of people can be surprised at just how fast the CPU is relative to GPU. Slower, yes, but compiled SIMD-enabled CPU code is bloody fast. I've seen people on HN claiming "just put it on the GPU and be 10,000x faster"; I can only assume this comes from comparing interpreted Python code with compiled kernel code or something! Basic drawing code is highly likely to be memory-bandwidth-bound; Some napkin math shows e.g. a 4070 has about a 10x performance advantage over a Zen4 CPU (500gb/s vs 50).

Rant out of the way, obviously 10x faster is still an order of magnitude faster! I've continued to be curious if there's a way to properly batch geometry in the QT backend to remove all the state-changes that the QT painter is doing that kill performance; a powerfully GPU-accelerated backend for widget based apps would be incredibly useful, although given the dominance of web/electron apps these days not a useful feature for a commercial company to build.
I agree, and I think our biggest challenge is actually Mutual understanding and respect. We don't need one government to organize as a species and get to where we could become a peer with other advanced ones that we are imagining today. But we need to understand ourselves well enough to get along at a bare minimum.
The kind of coordination that requires less representation does not have your interests in mind.
I have not had a problem with SMS. I think it depends on the cell phone network companies. Some are reliable. Some are not.
Maybe I'm missing something, but it sounds like you're making a general statement from a very specific and personal situation?
I'm not suggesting that laws and regulations should cease to exist. That would be anarchy.
>sufficient history training

>action of one person

The murder of the archduke was a literal conspiracy. Involving high-level spooks, too.
Oooh! Good spot. I will check other commands and see if that length idea works out. I think it could.
Dawkins coined meme far before 9/11, and it's not primarily referring to funny images on the internet.
> LLMs have yet to do this in my experience

I think the key missing ingredient of current AI systems is the lack of internal monologue. LLMs are capable of asking questions, but currently you need explicitly prompt it to deconstruct a problem into steps, analyse these text and decide whether a question is warranted. You basically need to verbalise our normal thought process and put it in the system prompt. I imagine that if LLM could do few passes of something akin to our inner monologue before giving us a response they would do a lot better on tasks that require reasoning.
> The script runs a binary search of all number combinations in a range, using the prompt a+b=, e.g.:

> 17+950=

> Until a first pair of numbers a, b is given a wrong answer.

GPT4 would pass this 100% of the time because it just invokes Python for this kind of thing now.
This is completely trivial to do in Nix now. Whoever's writing the nix can just expose "simple" config as a JSON file and use those values whatever.
Against Superficial Simplicity (2022)
Training is making the model (or rather going from something random and useless to something well calibrated and useful). Inference is using it to make a prediction.

This is saying that you don’t need the entire model to make good predictions for specific subsets of tasks. You can literally remove a large part of the model and it will do fine. Which is not very controversial. The model, after being trained, is a large collection of interacting nodes. When this is talking about dropping chunks of the model it means dropping nodes after training to make predictions. The advantage primarily being that smaller models are cheaper and faster to run or modify with further training.

You know that meme about how you only use 10% of your brain at a time? Well, yeah, but the idiot movies that suggest using 100% of your brain would make you impossibly smarter are not correct. 90% of your brain just isn’t relevant. More brain / model is not better than the relevant subset alone.

The important question to be asking is whether you can remove large chunks of the model without hurting its ability to generally to do well on whatever you ask it.

As a very crude example, imagine you trained a simple model to predict rainfall using a weather monitor and the number of farts you did last week. The model will probably learn that the monitor is a useful and the farts are irrelevant. If this were as simple as a linear regression, you could just remove the farts coefficient from the equation and the model would come out to the same outcomes. Neural nets are not so easily observed but it’s still just dropping the irrelevant bits to whatever you’re trying to do.
I suppose it only works on camera. I can't imagine it works in person.
Note Apple does not fix all security issues on unsupported devices. They only fix really bad issues. I do not think it is safe to use an iOS device which does not have the latest version of iOS.
>Finding that 70% of attention heads and 20% of feed-forward networks can be excised with minimal effect on in-context learning suggests that large language models are undertrained.

I thought that it was common knowledge that LLMs are undertrained, none of the publicly available loss graphs show any sign of convergence!
To be clearer to those who don't read what's linked but reflexively downvote:

zig is not only the language, it's also a build system that compiles C (also in Go CGO use scenarios) better than the default C compilers, allowing order of magnitude easier cross compilation. It's described in the link I've already provided exactly by compiling SqLite for its use in Go!
sensationalist title, ASM is much more complicated than CSS
In my opinion, yeah. If anyone tries to deify or demonize the concept of a Flipper, you just remind them that everyone has a smartphone with even wilder SDR capabilities. The biggest difference is that the Flipper is weak hardware with wide-open software, and your smartphone is strong hardware with weak-ass software configuration.

Reminding people of that is important, even if you don't think the FCC is about to change their mind. Crucify us for being a nerd if you must, but someone has to be the voice of reason and point out that the Flipper is the most optional part of the exploit.
I like the use of the "Worse/Better" table. It gives people clear examples of amount of specificity (one of my least favorite words to say) needed for common knowledge tasks where the actual need and it's presentation have not been described yet. There should be a lot more of these.

Novice users should be able to adapt those to their own needs easier and craft better prompts rather than completely "thought generating" their own.
> The examples are also too polite and conversational: you can give more strict commands and in my experience it works better.

The way that works best for me is "It extracts ALL the entities from the text, it does this whenever its told, or else it gets the hose again"
Prompt Engineering to me is the best way to learn how to ask a good question. It's such a great mentor.
I also strongly endorse https://www.udemy.com/course/prompt-engineering-for-ai/, if you're into the Udemy-style of learning.