skysight-inc/HackerNews huggingface dataset:
Show HN: Simple and self-hosted URL shortener
Hi HN!

For the past 3 days, I have been actively working on a URL shortener called FlyURL. It started as a project to help me learn Python and Flask, but now has grown into a pretty big project.

Some main differences between FlyURL and other self-hosted URL shorteners (like Pckd[0] or Shlink[1]):

- FlyURL is ONLY compatible with SQLite (Unlike Pckd)

- FlyURL has NO API or CLI (Unlike Shlink)

- FlyURL has really basic tracking (Only by clicks), while Pckd and Shlink features more robust tracking (This is something on working)

- FlyURL has a clean and basic UI (Influenced by is.gd[2], and thanks to Lit[3])
- FlyURL requires NO logins (Influenced by chilp.it[6])

- FlyURL uses blacklist from Steven Black's hosts[4] and its in-house URL shortener service list[5] to block harmful websites and prevent creating a "chain" of URLs (Influenced by is.gd) (I'm not sure if Pckd or Shlink do the same, but it's likely they do)

- FlyURL is built with Python and Flask (Shlink is built with PHP, and Pckd is built with React)

If you want a URL shortener that just works, then FlyURL may fit for you. If you want more features and more robust, then Shlink and Pckd are better choices.

[0]: https://github.com/PckdHQ/Pckd

[1]: https://shlink.io/

[2]: https://is.gd

[3]: https://ajusa.github.io/lit/docs/lit.html

[4]: https://github.com/StevenBlack/hosts

[5]: https://gist.github.com/HoangTuan110/e6eb412ed32657c841fcc2c...

[6]: https://chilp.it
This reminds me of the theory that the King James is the best English translation of The Bible because it has heavily influenced the English language. So we intuitively understand the true meaning of KJV phrases better than we do those in a more literally faithful translation.

Just passing along a fun idea and not looking for a debate.
Based on my experience, we'd get better real world results if we abandoned most universities and promoted community colleges to full undergrad level. My best teachers by far were at a community college. Probably because that's all they did. No begrudgingly 'teaching' students while really wanting to do research.

Not that there isn't a place for research teaching, and students along that path, but like 99% of everyone else would get better results from a different academic culture.
I'm a huge advocate for making everything open source so good for 4coder!

I feel like a couple of posts on HN the past few months have been "X is going open source". It makes me question why projects that aren't open source when they initially release switch over to open source later. I understand keeping a repo private before having a working/stable product, but why release a product as closed source and then open it up later? Why not just keep the product off the market until it is ready to be released and make it open source before or at launch time?

I totally have space that I'm just crazy but as someone who tries to keep my stack as open source as possible I find myself not really interested in products that start closed source and eventually open up. Is it just me?

Just to reiterate: I'd rather a project go open source later vs never.

EDIT: I just realized the context for 4Coder was that it was a "we're ending this product so here's the source for anyone who wants it" -- I am super grateful for closed-source products that do this. But my question is still relevant for other projects that have done what I described above.
It’s not just fame, there is a multi-generational cultural inheritance from Shakespeare because so many people have been thinking and writing and talking about it for so long.

Any cultural work subjected to that much thought and criticism becomes a mirror, or a lens, through which other subjects can be explored. Essays about Shakespeare written 100 years ago not only enrich our appreciation of Shakespeare, they reveal how people thought about things 100 years ago. The text of Shakespeare doesn’t change, so by observing changes in analysis of Shakespeare over time, we can reveal changes in our own culture over time.

You can’t do that with a new piece of writing, even if it were “new to us” despite being written contemporaneously with Shakespeare. It would be analyzed first in the context of Shakespeare, not by itself, because that is a context we all already share.
> What does that tell you?

It tells me that there isn't much of a market for small hatchbacks in the US. The Bolt's fast charging also isn't that fast at a maximum of 55 kW. You can road trip a Bolt but you're in for longer charging sessions. The charging less of an issue if you plan to use it as a city car with home charging.

> after you allow for the Federal tax break of $7500

GM no longer qualifies for the federal tax credit.
The email service Hey (from the makers of Basecamp) has a feature where the first time someone emails you it goes into a screening bucket. You can then approve those senders who are allowed to email you. If you don't approve, you don't see the emails anymore.

I initially signed up for the trail when the service launched. The first or second time I went to check the site/app it wasn't working. I was pretty much done with it at that point. I probably should have given it more of a chance and maybe they worked that out, but at $99/year for email my tolerance for issues is pretty low. They did (I suppose still do) have a lot of neat ideas around email though.
They’re both easy to reason about, you just need to learn about the recursion fairy: https://jeffe.cs.illinois.edu/teaching/algorithms/book/01-re...
No, the g in gRPC stands for gRPC.
Patent data alone isn’t enough to measure innovation. Instead, it’s necessary to leverage both leading and lagging indicators to paint a holistic picture of the market, a company, or a technology area.
And considering the influence of ml in rust roots it's not surprising.
Without P2W and micro-transaction mechanics, I don't think Mac users are more valuable than other ones for OP (I assume that, in the context, you are referring the fact Apple users spend more [1, 2], tho it could just be a cheeky joke).

1: https://www.phonearena.com/news/app-store-users-spend-more-t...

2: https://timesofindia.indiatimes.com/gadgets-news/iphone-user...
I’ve begun to think we’re only distinct from other things in the context of consciousness, which is entirely subjective and manufactured by our neurons. The further you go down that rabbit hole, the more you might realize reality as we understand it is totally illusory and not even fully shared across humanity, let alone species. It’s a trip. We are as much a part of the systems we live in as anything.

In a sense we aren’t distinct from the external world because there is no internal world to differentiate from. It’s imaginary - it exists only in our neurons, an abstraction to help us navigate reality, just impulses firing along various pathways in a brain.
I'm looking forward to quitting the App Store once sideloading is allowed, once I can get my iPhone software from GitHub I won't go back to apps vacuuming up my data under Apple's oversight.
Interesting idea but too vague. Keep thinking.

BTW, the statement:

“But we have to do something.

We have to try something.”

This is the Politician’s Fallacy. Not buying it.

Please be specific - especially if you want to raise $57M

Also: “seeking gun control” as the stated mission is focusing on a specific (and ineffective) political solution rather than a desired outcome.
I remember watching "The Price is Right" as a kid, and seeing a Planko type game where the contestant releases a round puck at the top of the board that then bounces off of metal pegs to land at a number down below. It seemed to me if the puck was of metal, and the pegs could be magnetized with current, you could influence the probability where the puck landed. A sort of simplistic neural network could be made by varying the charges until the puck landed at the desired position.
But the ancients released Karflon B43 into the the woods beyond, mutating the monsters therein. Plenty of coin to be made in clearing the elven lands of these fell beasts, to those brave or foolish enough to try.
Looking at Q2 is misleading. QTL revenue has increased from 4.591B in 2019 to 6.320B in 2021. https://investor.qualcomm.com/segments/qtl.
Qualcomm is heavily represented in lot of industry standards. Every "if condition" is patented and counted as part of any standards. Standards group decisions are highly political and not completely based on technical merits. With Qualcommm political power, they are able to include many of their proposals in standards which end up getting them royalty.
That's the consequence of machine learning and allowing people to mark stuff as spam. 80% of all spam reports I get are for legitimate mails. A surprisingly large amount of them are people who mark their own mails as spam.
Andrei Jikh is on track to a similar amount but by selling poor financial advice haha.

Yes, in 2022 we have reached a point where the low-bar for being a youtube "financial influencer" is literally lacking a college degree but having experience as a magician.
They were everywhere long before the Air Farce sketch. That's why they used Tim's in the sketch.

It used to be better. Or more accurately other chains used to have worse coffee.

Back when it was getting established its competitors (eg Country Style Donuts) focussed more on the donuts than coffee.

Tim Hortons made it's name on brewing fresh coffee carafes every 20 minutes. The standard at the time for other shops was to brew a large coffee urn in before the rush in the morning and let it sit all day.

Walk in for a coffee at 5 am and you might get the dredges of yesterdays brew.

So if you're on a long drive and need a cup of coffee at an odd hour, Tim Hortons was a good bet. Also if you were driving to hockey practice early in the morning. Or an early worker.

Is it a great choice now? Not really, but if you're driving it's still consistent and open late.
I have had the opposite problem for years. (Well, if it's a problem.) I have many Google accounts opened with disposable addresses, one for each service. (They are pretty old (10+ years) and to many of them I have lost access. I have the password, but Google does not let me in without providing a phone number first. Because I don't want to share my phone number every time I cannot register to any new Google services. But I guess that's only a good thing, the company has become too evil a long time ago.)

All addresses get forwarded to my "main" gmail. And since the beginning of times all updates of terms and whatnot go to spam. I believe for phishing, not even for similar messages have been recognized as spam before. I mark them as not spam every time, but their filter just doesn't learn.

Because I use disposable addresses everywhere I get very little spam. I close addresses that end up at a spammer. For me Gmail's filters produce at least 80% false positives. And marking messages as not spam seems to have little to no persistent impact.
Magic mushrooms evolved to scramble insect brains
Mac OS release?
Another no regrets catch-all user. Looking into my rules, I have 4 "to" addresses that get sent to spam.

Two stories as well:

a) After contacting a company, I got a mail from their legal department asking me to explain why I’m using their trademarked name in my email

b) Using an online-shop that requires emailing the owner for your order (so he can send you a PayPal invoice and then snail-mail you the music CDs you ordered…) I got a personal message attached of him asking why his label’s name is in my email address.

In both cases, a short explanation was sufficient, though.
> I don't see why we can't have more elite universities.

Pretty simple really. Why wouldn't existing non-elite universities become elite university. I don't think there is some federal ban on creating elite universities.

Come to think of it University of Phoenix can be elite university as it offers world class online education to students who couldn't get admission elsewhere.
There's a lot that I would say is troubling about this number.

Psychotherapists have been prescribing mindfulness-based interventions at increasing rates in the past few decades. You can't escape mindfulness, you'll hear about it everywhere you go. Yet, most of the literature about mindfulness or meditation and its impact on health is written in Sanskrit. Some of it is translated, and some of the translations make their way into English-language papers in psychotherapy or psychology journals, but it's such a small amount.

Rather that dig through Buddhist texts, we have created our own, new set of practices called "mindfulness meditation", prescribing it left and right, going on vipassana retreats, reading books on transcendental meditation, etc.

Mindfulness meditation is a western invention assembled out of pieces, taken out of context, of Buddhist and other traditions. Transcendental meditation was invented by a yogi in the 1950s. To be clear, I'm not talking about how recent these are in order to imply that older traditions are better--but older practices are better studied and we don't read about the older practices.

You can find a ton of studies in western medical journals about the benefits of various MBIs, but these studies, taken as a whole, are somewhat troubling. One troubling aspect is that many of the benefits are based on data which is self-reported, and the nature of questions in a self-reported study is limited. This is normal and expected in these kinds of studies, but it gives us a very narrow selection of observations about the effects of MBIs, and these questions / observations are often selected in order to prove positive effects--researchers, of course, want to prove positive effects of MBIs.

Meanwhile, there's two millenia of scholarly work, including descriptions of negative outcomes from meditation--what those negative outcomes were and how to structure the practice of meditation to prevent those negative outcomes--but these scholarly works are, again, not written in English and you hardly ever see literature reviews of these works in western medical journals.

Anyway. As a metaphor, it seems like we're exploring a continent, and there are people already living here, but we're ignoring them because they speak Sanskrit, and some of us are getting hurt. It's not even really the ancient texts, but modern texts, even modern texts with English translations.
Yeah that claim is absolutely not true. It might have made Tim Hortons known to OP, but the reason the skit worked was because Tim Hortons was already a ubiquitous part of the Canadian experience.
Such a good book. One of I think 3 books I’ve read cover to cover in a day. Which, sure, also says something about the particular days I decided to read those books, but still–it’s fantastic.

I haven’t had one of those kinds of days in so long. I miss the freedom and relaxation!
Which companies are those? Is there a list somewhere? The only time I ever encountered this was with AliExpress.
Setting the record straight: Your funds are safe at Coinbase and always will be
Not having your mailing address tied to your physical address would also have major benefits when people move. Simply update your address with the post office and you're done.

The whole idea of revokable tokens would pose an issue for any company that sends bills, as I assume revoking address tokens would be common with them. I'm sure there are many situations like this.
I still have bookmarks for groove salad and occasionally use them - on a 1.25ghz iMac G4 from years ago. The old Mac OS 9 version of iTunes still works and still plays internet radio streams.
RabbitMQ is a more natural alternative to SQS than Kafka I’d say. Redis can also be leveraged as a message broker depending on your needs.
I think it's simply a hybrid approach: you'd handle those unknown contacts with many:1 addresses (since there's no real alternative, as you imply), and you'd handle most known contacts with 1:1 addresses.

A benefit is that you might let messages to some or all of those 1:1 addresses be sorted one way (e.g., they ping you) while messages to some or all of the many:1 addresses are sorted another way (e.g., you only check for them with a much longer interval). But then again, a diligently-maintained contact list can be leveraged to achieve same...
This is a systemic error. How can large conpanies and individuals not detect this sort of grifter?
How wildly serendipitous. Are you aware that you just described the exact details of the major subplot to the Warehouse 13 episode I mentioned up above? In the event that you are not, please, go watch it. It basically describes what you wrote. It’s season one, episode two.
> Their reported beta-testers usage is 30 / day. At their current expense level, that would be $116.25 / mo.

30 searches/day comes to around $11/mo. We expect the quantity of usage will drop with time because

a) we make a better product that helps you find stuff more quickly (so quality of usage goes up)

b) lot of users are still searching more then normal because of novelty of product, testing etc.

Of course we could be wrong :)
"How to teach technical concepts with cartoons" https://news.ycombinator.com/item?id=15575411 https://westurner.github.io/hnlog/#story-15574890 :

> I learned about visual thinking and visual metaphor in application to business communications from "The Back of the Napkin: Solving Problems and Selling Ideas with Pictures" [ https://www.danroam.com/my-books ]
I've gotta say... Changing the name of everything to Meta to try to change the perception was a bit absurd. Just stop requiring Facebook accounts to use VR devices.
OpenRA

https://github.com/OpenRA/OpenRA

I wish the developer of ChronoDivide would open source their code. I read it was implemented in TypeScript.

https://chronodivide.com/
I completely agree with you. I think it would be best to expand class sizes in addition to this lottery.
I liked Bill Gates' idea of making senders pay a fee (perhaps a minimum amount specified by the recipient) and giving recipients the option of refunding it for personal contacts.
Widelands - I've spent days in that game.
Theranos was valued $9B yet no one sleuthed the actual machine.

Nikola Motor Co was valued $22B with a "fully functional" truck rolling downhill.

Maddoff ponzied $65B without a business.

It really is wild that so much money gets thrown at frauds without proper due diligence.
I personally love that Rust doesn't automatically convert between different types of numbers, with different precision and rounding/overflow behaviors. If I'm multiplying numbers of different types, I want the compiler to force me to convert them to a common type. I've been bitten too many times by implicit and lossy numeric conversions in languages like C.
Back in the day: Vegastrike.
I don't currently have one, but I would love to see an open-source version of MOBA's and CS:GO complete with map editors and game "seeds" so players can experiment with different rule sets.

The hardest part about setting that up is likely the servers.
I got a little way in and assumed by the dumb gopher and code examples that the author was pushing Go.
Yeah right. Just like a village of hundred people had one chief, now a village of ten thousand people can have hundred chiefs with same level of power/prestige.
We plan to do exactly that. Our constraint is not the lack of vision but the lack of resources. Opening widgets API to users would be a great thing to scale this effort (provided there are enough users to build them).
I've been meaning to check out sc-im ("Spreadsheet Calculator Improvised" https://github.com/andmarti1424/sc-im) for a while now. Among its listed features:

> GNUPlot interaction.

> Scripting support with LUA. Also with triggers and c dynamic linked modules.

> Implement external functions in the language you prefer and use them in SC-IM.

Does anyone here have experience using it? Is it stable and reliable, and does it handle large files well?
+1 Linux here. Game looks great! Exactly my kind of game, hope I get to play it some day.
For me, maybe the most interesting thing is the contrast between the probability of someone sharing a birthday as you, and the probability of any two people sharing a birthday, given a group of N people. The individual experience might be uncommon even when the phenomenon isn't.
> Harvard enrollment increased 4 times since 1800s from 1.5K to 20K.

?

You might mean 4 "doublings", but then the other number doesn't make sense. Or 14 times?

> It seems fair to assume doubling elite universities would not be catastrophic to elitism.

How do you double elite universities? It's more like we have an eliteness gradient (T10, T20, etc...) and the masses together decide what's "elite enough". Is WUSTL elite? Is Cornell? Is UCLA?
> 1.26 million spheres slowly decaying through your target orbit, and you can end up with a favorable initial phase, altitude, and inclination

Three degrees of freedom are deceiving. Millions of projectiles sounds like a lot. It’s not.

You could do this hundreds of thousands of times in LEO and thousands in MEO and still barely change a single satellite’s collision odds.
workforce grows as more is goods and services are produced.

So the real question is - whether the ratio of different roles changed vs total population.
Previously the stunts were smart. Now, I'm not so sure. He's in the news cycle at the moment for consistently negative reasons. It's deterred me from buying a Tesla. He might get some traction with a new set of customers by playing the culture wars, but I'd guess he's alienating a number of people who would've otherwise been very interested. Creates a great opportunity for rival manufacturers as they (slowly) bring products to market.
This is one of the reasons I’m stuck in the Chrome world. Having separate windows for different profiles and having MacOS open a link from another app in the window your last had focus of is so incredibly convenient. But having a personal and work password manager is something I couldn’t overcome in Firefox. Especially with the Firefox profiles being so archaic and painful to use.
Not far from the truth: IIRC, Baroque concerto cadenzas were often improvised.
Some of them are companies who open sourced their proprietary game. Many others are individuals tinkering alone in their spare time. Some of those eventually grow a player and then developer community.

There are some places to discuss libre/open games:

https://libregamewiki.org/
https://libregames.gitlab.io/
https://freegamedev.net/
I'm sure experiences vary but I did all my general ed stuff at a very good community college with excellent teachers and a class size of about 20-30 people max per teacher. Many teachers were professionals with other jobs who taught as well, so it was an excellent educational experience, for the kind of things most people take in their first two years at any university.

Then I transferred to a well-recognized research-centric university, and I have to say, those first-year undergrads had it rough in huge classes with grad students doing most of the teaching. On the other hand, this 'second tier' school had upper-level math and science classes and I got to work in actual research labs with tons of cutting-edge equipment. There were some questionable researchers for sure (borderline frauds), but the majority were top-notch and dedicated to doing good science.

When looking around for a grad school I actually went to one of the 'top elite schools' to check it out - the labs were absolute crap at the one I went to, and the overall snooty attitude was even worse (I don't think they even like grad students at those places, they're more for undergrads). I turned down that offer, and never regretted it.

China's technological boom isn't being fueled by British-style elite schools for the posh to rub elbows at. They're more along the lines of MIT and Caltech from what I understand:

https://www.scmp.com/news/china/society/article/2140178/new-...

America is going the way of Britain in the late 19th century and early 20th with its class divide, and the elite schools are a good example of why that's a bad idea. We need more MITs and Caltechs, not more Harvards and Yales.