skysight-inc/HackerNews huggingface dataset:
Show HN: LLM marketing toolbox (w Memegenerator ofc)
Hi friends! I can't code for sh*t, but over the holidays I created a toolbox with 6 super-simple tools to create memes, understand your brand, or get tons of tailored marketing ideas. The entire thing is built with react front-end and python bakcend using Databutton and OpenAI. Would love some quick feedback.

While building this (without being able to code) I contemplated what the future of tools will look like - should software let the users themselves adjust the ux with simple LLM input fields? Much like I do when I build tools like these in hours with Databutton or Lovable (Took me several days, but still insane how easy it is). Any suggestion on how I can make the front-end adjustable to each user? (Say a user generates their own content calendar - gets a unique link - I would love to let the user use LLMs to adjust the setup / grid / functions of their content calendar to how they like it).

Have an awesome weekend!
Tried it, but my data package doesn't even have a metrics.csv file, let alone a birthday guess. I guess it's either activity or geo dependent.
Taking two of the worst languages as an example of "every single language" doesn't really work.
Isn't this basically the same feature that existed in ksh93?
Only until you find that your requirement or use case doesn’t work in it.
> Your comment asserted that that was the only justification I gave.

It certainly did not. It's right up above, please re-read.

Just stop. You got yourself into an embarrassing situation with an untenable argument and are behaving badly, calling your fellow posters liars and assholes.
They are great, but the speeds are sometimes atrocious. Too bad to even host my completely static personal site, because potential employers would have to wait up to 10 seconds for it to load. And ftp connections often fail completely. Bummer, really
> it is relatively easy to adapt NetBSD's drivers into a custom kernel

AUIU NetBSD is implemented in C, and Serenity in C++. Would that work at all?
The only way to really solve the problem of historic discrimination is to solve the root problem of child poverty and lack of good developmental experiences as a kid. Not all, but a lot of it is about just requires money flowing to school districts. Most rich people know this, and it's impossible for them to fix this without giving up a part of their most valuable asset: land/home

It is impossible to predict a kid who got all this, even though born in adverse circumstances, will care about DEI or support it at all(e.g. Clarence Thomas).
E. F. Codd originally suggested two types of values: "unknown" and "missing". Somehow we got NULL, which represents both.

ANSI SQL:1991 provides an optional feature that introduces a special value UNKNOWN to boolean expressions [1]. But few databases support it. MSSQL [2] is one of the few that do. As I understand it, it's not a data type that be used in tables, but is only a potential result of boolean operations.

[1] https://modern-sql.com/concept/three-valued-logic

[2] https://learn.microsoft.com/en-us/sql/t-sql/language-element...
Just saying "speculation" doesn't really paint the picture of what's going on. In 2010-s everyone here blamed foreign speculators hiding in the shadows, but we live in a different, worse, world now.

This country's housing and immigration & temp. resident policies are absolutely out of sync, intentionally. In 2021 they've changed the rules to add hundreds of thousands of people overnight, but did not build anywhere close to the corresponding amount of housing. Then they did it next year again, and again, and again, and they're still doing it, and the next government plans to continue doing it.

This isn't mere speculation. This is deliberate policy to manufacture a housing crisis. To not only keep the pre-existing crisis going, but to deliberately and methodically escalate it. Politicians profit both from their own investment properties and from bribes (ahem campaign contributions, speaking fees, board positions, ...) paid to them by all kinds of businesses who profit from oversupply of labour and undersupply of housing.

"Speculation" implies taking significant risk, often in an under-regulated market. But the current situation is nothing like that – there is barely any risk, when both the supply (zoning & construction) and demand (population growth) sides of the market are heavily regulated with the intent to raise prices. Capital is all you need to reap the profits, pretty much.
Where I grew up in Europe we had the 1541 disk drive before the Amiga came. Several people I grew up with had the C64 bread bin, the 1541 floppy drive, the cassette tape and a 9 pin printer. I only met one guy who had an Amstrad.
As often as these things are wildly incorrect or out of date, I need to applaud this effort. Seems pretty damn spot on as a description of US Equities. My compliments to the team that put this together.
Not really, at least not everywhere. If you live away of sea, you will bot be inclined to eat seafood, also will be expensive. There are many cultures in which the diet does not have enough iodine.
> Last year I was chatting with the 20 year old son of a friend, and he didn't know what Highlander was.

Well there was only the one movie.
>But I'd not put PHP in the same league of "dead and bad" with it.

It's dead to the extent that you are unlikely to start a new project in it but I wouldn't classify it as bad. It's just of it's time.
Are you quantizing information?
Seaweed has plenty of iodine
Microsoft sues service for creating illicit content with its AI platform
The State of Vim
It's important to separate how a statement about behaviour is made (e.g. "the program never loses data") and what mechanisms we take to gain confidence that the statement is true, up to, and including proof (i.e. 100% confidence). Such statements can certainly be said to be declarative (as they cannot be executed), but that's separate from how we gain confidence in their validity.

To get a sense of why software correctness is often more art than science, consider that an abstract algorithm can be proven correct but real software cannot because a software-based system is ultimately a physical system, and it is not possible to prove that an addition command given to a physical computer will always result in correct addition, even though that is true with high probability. Since confidence can never be 100%, and since many practices -- from testing through formal methods -- have been generally effective at producing software we can trust with our lives, the game is always about balancing confidence with cost.

I, for one, believe that TLA+ (and similar tools) can be used in quite a few situations to gain a required level of confidence more cost effectively than other methods, but there is no one right answer to software correctness and trick is learning when to apply different methods.
This is a very important point. Also other point is that in some hospitals people are going into ER with hiponatremia. Granted extreme cases. But many people are getting obsessive with low Na. And while a little bit too much will not affect you at all, a little bit too little will affect you immediately.
Tell HN: cd // Is Special
Yep. That is all. I just discovered this. Almost a 20 year bash user. A typo today led me down this somewhat short rabbit hole:

[...]@MacBook-Air:~$ cd //
[...]@MacBook-Air://$ pwd
//
[...]@MacBook-Air://$ cd /
[...]@MacBook-Air:/$ cd //
[...]@MacBook-Air://$ cd ///
[...]@MacBook-Air:/$ cd ////
[...]@MacBook-Air:/$ cd //
[...]@MacBook-Air://$

I checked on a Debian box and same thing. Both cases bash is ~ v5.2 but I guess this is a long time thing. Who woulda thought?

I kinda like the double slash. Very internet-y. I wonder if that's related to why TBL included (apparently later regretting) the '//' in URLs?
I discover stuff like this every day, and it’s delightful. Sure, reading the manual would’ve saved me from the surprise, but it’s incredibly difficult for me to read them unless I have a specific goal in hand.

I found out about hashmaps in Bash a year ago[1], and it came as a surprise. This morning, I came across dynamic shell variables and the indirection syntax[2]. Each time I wrote about them and learned more than I would have if I had just passively grokked the manual.

[1]: https://rednafi.com/misc/associative_arrays_in_bash/

[2]: https://rednafi.com/misc/dynamic_shell_variables/
The great thing about working with a non-hipster language or framework is that everything is incredibly stable. There's no need to worry about the latest update breaking something, or argue about which design pattern is more correct. All the tooling has been battle-tested for 10 years and will be supported for another 10 years. You just follow established best practices, build things, ship them, and focus on business.
I think it depends a bit more on what you do, than your role. As you mentioned, being President of the USA is not even enough.

And yet you might be able to list some Roman Emperors, for good or bad (Cesar, Augustus) or even politicians (Cicero, may e Seneca) after 2000 years.
speaking as a health conscious foodie ,with gagetaholism, this will press all of my "got to have the shiny thing" buttons, in an upscale retail enviroment
a version built right into a bowl would be the way to intruduce it into resturaunts and build retail demand in places big on soup, Vietnam....china
> But I cannot count the time wasted to spot issues where a map was actually a list of maps.

Sorry, I'm having hard time believing that. I don't know when was the last time you've used the language, but today there are so many different ways to easily see and analyze the data you're dealing with in Clojure - there are tons of ways in CIDER, if you don't use Emacs - there are numerous ways of doing it in Calva (VSCode) and Cursive (IntelliJ), even Sublime. There are tools Like Portal, immensely capable debuggers like Flowstorm, etc. You can visualize the data, slice it, dice it, group it and sort it - all interactively, with extreme ease.

I'm glad you've found great fondness for Elixir, it is, indeed a great language - hugely inspired by Clojure btw.

You still don't need to bash other tools for no good reason. It really does sound fake - not a single Clojure developer, after using it for more than a decade, would call a Lisp REPL "a band-aid and not a solution". It smells more like someone with no idea of how the tool actually works.
People pattern match. Gender, skin color, height, hair color are intuitively and naturally the easiest things people can pattern match on. Not a whole lot of Asians or black folks in pictures like these [https://upload.wikimedia.org/wikipedia/commons/1/1c/West_and...], just like you won’t see a whole lot of local folks who are white in China or India.
Can't mention VB6 without one of the biggest archives of source-available software for it: https://github.com/Planet-Source-Code

On the topic of "wait what that's VB6", here's an entire 3D modeling and rendering suite in pure VB6: https://github.com/Planet-Source-Code/kaci-lounes-a-3d-digit...
> (2006)

In the very least,this should feature in the title. In fact, previous submissions from over a decade ago also feature year in the title.

Otherwise it conveys the idea that this is some major epiphany.
Show HN: I built an app to manage your eBooks
Link: https://libraryio.com/

----

Hi HN!

I built a lightweight app that helps you manage your eBooks and read them directly in your web browser—no downloads or complicated setups required. Here's what it does:

- Seamless Reading Experience: It remembers where you left off and takes you back to the exact page when you return.

- Effortless Login: Just enter your email, verify with a code sent to your inbox (check junk/spam folders if needed), and you're in.

- Upload and Read: Add your eBooks, enjoy the built-in reader (dark mode included!), and focus on your reading.

Start for free: Enough to get you started and explore the app.

Why I Built This:
I've been using this app privately for a while, and it’s become an indispensable part of my reading habit. I decided to share it with others to see if it could be useful for them too.

What I’d Love to Know:

- Would you use an app like this?

- Do you have any feedback or suggestions?

- And the bold question—would you pay for such a tool?

Thanks for taking the time to check it out!

Check it out here: https://libraryio.com/
I think many devs don't know the difference and simply call any dictionary/associative array a hash map. It might be one of the concepts that "the internet" promotes: it sounds fancy, more technical, makes you seem more knowledgeable, so it gets repeated. Then newcomers think this is the way it's always been called, and that gives it enough visibility to become the preferred name.
If we're counting only programming languages (and not fill-out forms), Prolog had it in 1971, before ML. ASCII didn't include _ until its 1963 draft, so it's probably somewhere in that time.

I'll guess it's probably Prolog, but maybe Planner (Prolog's predecessor) had it too.
In Finland, "homeless" actually means "homeless". We don't mean "people suffering mental illness and substance abuse issues". So that's the background for the article.

I recently visited NYC and understand your specific angle, but "homeless" actually can just mean "person without a home" without connotations of mental issues or substance abuse.

There are extreme cases where people willfully live under bridges or something but that's super rare.
endian support is like the memory barrier and atomic support, should be inline function/keyword.
There's a time and place for evangelism. This isn't it.
Notice that other shells also has associative arrays, or at least zsh. I've found hyperpolyglot [0] to be a nice Rosetta stone for translating syntax between e.g. bash and zsh.

[0]: https://hyperpolyglot.org/unix-shells#associative-arrays
Article was written in 2006 when 32-bit architectures were dominant.

I suppose the issue is moot now on 64-bit architectures, as the difference between 2^62 and 2^63 isn't relevant. (2^62 bytes is 4611686 terrabytes.)
int mid =(low + high) / 2;

> Specifically, it fails if the sum of low and high is greater than the maximum positive int value (2^31 - 1).

I would really challenge calling this kind of effects "bug" or "breakage".

It's like calling Newtons law of gravity broken, because it's not accurate at predicting how galaxies move.

Things are engieered and tested for a certain scale.

Knowing which tools to use at which sacle is part of the craft of engineering.
It won't happen.

It's too easy to forget that even our beloved weekends were only achieved after bloodshed.

The people in power successfully managed to sell us the belief that we can achieve change by sitting on our asses and yelling really loud. If we spend 5 minutes thinking about the current power structures, it's clear that no amount of peaceful protesting will ever achieve any meaningful change.

The only real power we have is to withhold our labor on strikes, and somehow even those need permission (!) to run.
Which mathematical formal solver it is using?
I had a client with a C++ application that used COM for everything. They wouldn't write a simple C++ class or structure but rather would always fire up the wizard in Visual Studio to create a COM object. It was horrendous.

Having said that COM itself wasn't that bad. If you read the Don Box book he justifies pretty much all the technical decisions they made.

In the end my productivity doubled when I shifted from C++/COM to C#/.Net.
I like my scripts to run on both linux and macos. It's somewhat limiting, but it saves trouble.
Did you know positive discrimination is written into the Indian Constitution as an amendment(maybe there are more?).

Reservations in school and colleges is likely the only way kids get in, but from my own personal experience it's been a mixed bag. I have seen relatively more people fail and some succeed in schools and jobs who can via reservation(more of them failing in high school or college).

But perhaps that was not the point, the policy idea was to give them a chance. Public Policy and Skill at the job are not meant to align; It can create a shitty experience to work with someone who is not nearly as good as a they should be. But perhaps their future generations could do better.
It was all a trick in the first place, capitalism does what it feels is in its best interest, some days it's inclusion, some days it's world wars, every day it's self serving
No, drunk people who do stupid shit or have passed out in public are just locked up for night and then let go unless they injured or killed someone.
I think so, yes. English novels written in the 1800s would reference "Mr A------ from ------shire". As if they were redacting personally identifying information. (1)

Underscores and dashes are not that different - especially as this is not just pre-computer but pre-typewriter.

And now, underscores are a logical choice when the dash is already in use as a minus sign.

1) https://literature.stackexchange.com/questions/1944/why-are-...

https://forums.welltrainedmind.com/topic/141704-jane-austens...
My point is that any kind of formal notation using symbols can be used to write incomprehensible gibberish. That this is possible does not tell you much about the quality of the formal notation used. I would even say that it is a sign of a good notation that you can write incomprehensible gibberish, because this means that it is flexible enough and too constrained. A compact formal notation can be used to express complicated thing clearly that one can not easily express clearly otherwise. This is why mathematics also uses a lot of formulas and it also very easy to write mathematical formulas no one can understand anymore. But this is not the point, the point is that you can write mathematical formulas that can express complicated things well. IMHO C has a very good trade-off that lets you write complicated programs in a clear way. It should be judged on how well good C code looks and not how incomprehensible code is that intentionally misuses the notation.
Yep. No story here, feel free to move on...
Hi, is there ANY reviewer/review mechanism?
What controls do you have in place that it won't get me to life 10x the weight I am supposed to (and then bust a knee and then sue you out of existence?)(but most important 'the knee').

On the Pros/Cons, every time I used the services of a personal trainer they see when I flinch, when I twist a finger, when I can (or cannot) do one-more-rep, correct every centimeter of my body being off.
This is 100x times more valuable than "next week do 50kg"

Perhaps that would make sense for (very) experienced people that have nailed the technique?

Do you have some videos/gifs showcasing each exercise?

Side-note: I'm in the EU and I am getting this message on Android store:
" App not available - A testing version of this app hasn't been published yet or isn't available for this account."
That's a fair point, but scaling it vertically can take you very far in my experience.
Before Fortnite released its Battle Royale game, it was a PVE survival/crafting shooter. It did the Battle Royale game mode copying the absolute sensation that was PUBG in 2017

But PUBG began as a series of mods for Arma 3, before moving to its own game with its own monetization (and running like absolute crap on release too).

I think there have been versions of PUBG mods for Arma for much longer than when I discovered it.
Neither what you mention is working in reality, sorry. Cheap workforce? Yeah you will be exploited physically, and paid something or rather nothing. Social benefits? These are usurped by various professional groups and institutions are plagued with nepotism. Poland delegated its homelessness to Germany and Netherlands while it's pretending to be a state with 5% unemployment and without housing crisis. Your attitude is a pristine example of selfish well off part of the society. How many apartments do you own?
Show HN: I built an task management system for agencies
Most task management system out there assume the members in a work space are from the same team, which is not the case for agencies.

So I created an app that orchestrate your agency business by:
- Giving a client portal to each of your customers and their team members
- A dashboard for you and you team that gathers all the tasks from all your customers in one view

Today, more than 500 businesses are using it in their daily operations.
As someone that uses Twitter quite a lot for consumption, I actually think it's great. I've learned so much on Twitter (and yes, I'm aware there is plenty of disinformation), and it's also extremely entertaining. Maybe I've just used it long enough so I my feed is quite curated.
I like how it makes binary easy. I wish there was a simple way to do binary in JSON.
Altered States DB
Good point, this is clearly something that could go back centuries.. if not all the way back to clay tablets.
> Telling people to just get more disciplined is obviously not working.

Ok so the solution is to give them a plastic spoon that simulates salt, which solves nothing, gotcha...

> there are many many negative incentives for people to "eat properly" and obesity is still very common.

And there are infinitely more incentives for food companies to make you fat and addicted at all cost, and many incentives for the pharmaceutical industry to have fat and unhealthy people they can sell "cures" to.
Wow so cool! It really just bounces out. I used to love those Magic Eye books. There's something meditative and calming about that sort of focus. This post was really cool!
Nearly all binary searches and mergesorts are broken in languages with bounded integers.
> White people aren't being punished.

When the required score to hire a member of group A is 95, and the required score to hire a member of group B is 90, then clearly group A is being punished.

When more resources are spent recruiting members of group A than group B, then clearly group B is being punished.

When time is never spent praising members of group A just for being members of group A, but time is spent praising members of group B just for being members of group B, then group A is being punished.
I used put my finger halfway to the object, look at my finger until the crossed images in the background converge, then remove my finger and let my eyes stay in the same spot.

Now I can do it without the finger.
Using SAM-2 and PIL to automate my lil Duographs
Ideally the index should support int64 with int being a synonym on a 64bit platform by default.

If not yes frankly you're into such unexpected behaviour territory that you should check your whole codebase rather than rely on stuff working just because it compiled.

And we all know how everyone loves writing and understanding integration tests... (I personally do but most problems in the industry wouldn't be a thing if more people stopped to write them)
Can't remember where exactly but he did demo his code in talks/conferences with links.
The Altered States Database: Psychometric Data (2022)
Original title:
"The Altered States Database: Psychometric data from a systematic literature review"
What impact do you suppose this population has on housing costs?
The difference is that we know for a fact that the proper implementation works for integers up to 2^31, whereas the improper implementation deceived us into thinking that the code would work in situations where the code actually doesn't work.

I find it valuable to understand when my code will crash.
I work a lot with students who can not program well in C. I would say turning on -Wall is not a difficult problem for them. If it is, then using another programming language also does not help.
That is exactly my feeling, like lately everything must be “safe” and statically typed. While I do see some (big, sure) pros I see also some cons that I feel are systematically ignored or neglected. For me it seems to be a kind of fade/hype… but maybe I’m just connected to the wrong news feeds.