skysight-inc/HackerNews huggingface dataset:
Show HN: I built a template for cross-platform development (Expo and Next)
I've built a cross-platform template, based on the tech stack I use myself everyday.

Brief overview of what it includes:
Expo, NextJS, TypeScript, Tailwind, Firebase, AppsFlyer, SEO, ATT, Internationalization, Authentication, Analytics, In-App Purchases, Stripe, Push Notifications and a lot more. All setup by default.

The inspiration for building this came out of the experiences and challenges I’ve faced over the past 10 years of developing apps for iOS, Android and Web.
As developers, we tend to spend waaay too much time on boilerplate functionalities. All our time and energy should go towards building the exclusive features of our specific app, not on setting up auth, payments, analytics etc.

Additionally, if you've ever had the pleasure (pain) of launching your product on multiple platforms, you know the joy (horror) of dealing with synchronization of IAP vs Web payments, authentication, analytics, ad measurement etc. which has nothing to do with your app’s unique features.

The amount of time being wasted reinventing the wheel in this process is significant. And it’s especially silly, considering the fact that the vast majority of apps need the same exact basic functionalities that “wrap” their unique core features.

I hope this template might be able to help other devs focus on the actual core features their app offers, instead of spending an abnormal amount of time on all the standard config that users will never notice or appreciate.

Thanks for taking the time to read my rant. I’m open to feedback.
Ask me anything. Or tweet at me @chrisesmann
If they don't care about going slow, they could reduce the wire count massively using a relay multiplexer. One input/output at a time.
> US Cellular has great coverage back home (Maine) but shoddy coverage where I live now (New York) and T-Mobile vice versa.

US Cellular as of 2012 no longer operates in its headquarters city of Chicago. <https://www.prnewswire.com/news-releases/us-cellular-to-sell...>
> because it further ingrained the user tendency to click through scary browser warnings (all for the sake of encrypting things that were fine in plaintext).

Why should there be more scary warnings when more websites use TLS? Sure, you get more scary warnings if you set your browser to "warn if it's http", but then you're asking for it.
> The BBC understands the mistake might have been due to a family resemblance. The Metropolitan Police declined to comment.

The BBC should understand that much facial recognition software struggles with non-white faces, like Mr. Thompson's. "Family resemblance" my ass.
The measurements taken by the watch can be viewed over time in the Health app on iOS. Try image searching for "Environmental Sound Levels" "iOS" "Health" to get an idea of how it looks. e.g. here is a screenshot: https://www.idropnews.com/wp-content/uploads/2023/04/Apple-H...

It sounds like this iOS app can write noise levels to the Health app too: https://apps.apple.com/us/app/niosh-sound-level-meter/id1096... so maybe that could let you test drive this if you don't already have the watch.
Thanks so much :). The pricing is towards the bottom, should I just add a link to the footer/header to make it more visible scrollable you think?
i have been very impressed with trillium notes
https://github.com/zadam/trilium
Why Are Movies So Bad at Making Civil War Look Scary?
I think that means they aren't cheap.
There seem to be three inter-connected things that lead to happiness:

> One could draw a snap judgment from this analysis and conclude that money, in fact, simply buys happiness. I think that would be the wrong conclusion. Clever sociologists will always find new ways of “calculating” that marriage matters most, or social fitness explains all, or income is paramount. But the subtler truth seems to be that finances, family, and social fitness are three prongs in a happiness trinity. They rise together and fall together. Low-income Americans have seen the largest declines in marriage and experience the most loneliness. High-income Americans marry more and have not only richer investment accounts but also richer social lives. In this light, the philosophical question of what contributes most to happiness is just the beginning. The deeper question is why the trinity of happiness is so stratified by income—and whether well-being in America is in danger of becoming a luxury good.

* https://archive.ph/4ofJ6 / https://www.theatlantic.com/ideas/archive/2024/04/happiness-...
Doesn't the fragment (property selection) feature of graphql only solve the frontend network load part? I mean, I doubt anyone creates an SQL query based on the graphql query properties, right? That means the network load between backend and db server is consistent, independent from which fields are selected via graphql.
Civil War Has No Cause to Fight For
Oh absolutely. Money is the root of all evil.

But crypto bros are often delusional about what intrinsical value exists in the normal market, compared to crypto coins where they invent the value. Therefore manipulation of value compared to real world markets becomes a lot more abstract.
Thanks a lot Nayam :). Let me know how it goes when you get a chance to try it, added chatbox to make it easier to leave feedback now
As long as people are willing to pay “anything” for their home - prices will always be near the max that they are able to afford.

To be honest I don’t think capitalism is able to fix this problem, the only solution I see if government takes over and subsidizes housing enough from taxes to make it more affordable for salaried employees (needs to come with strings attached so the free market does not turn a quick buck reselling)
Saying X is fine because everybody else is doing it is tiresome. It’s implied in the original argument that X is not okay regardless of how many entities are doing X, so obviously it isn’t okay in the other circumstances as well.
there are many deductions:

1 year in halfway-home, pre-sentencing, drug program , up to fifteen percent time reduction for good behavior. it works out to only 80 percent of the sentence served.
Semantic caching with context-awareness to reduce Voice AI latency
Semantic caching can reduce Voice AI latency, but it doesn't work well without building contextual awareness in the caching mechanism. The cache needs to understand the context of what someone is saying in order to know if the response can be served from the cache. This blog post describes more about why context is important for semantic caching and how we're building it.
If the global price of materials means that it isn't possible to build a housing unit for less than $40,000 then in places where $40,000 isn't an affordable housing cost, your only options are to somehow lower global commodity prices or somehow raise local wages. Both of which are hard, and neither of which are particularly specific to the housing market. It's just not a place where that problem can be solved.

Whereas if the global price of materials means that it is possible to build a housing unit for $40,000, but local regulations make it cost $800,000, and then as a result local housing costs are $800,000, that is a problem in the local housing market.
We used an app to automatically schedule coffee chats between random people when we went remote. It was a good way to intentionally add back random opportunities for relationship building that were lost in the remote world. Also, we were more intentional about giving time at the beginning of meetings for random chitchat to replace what used to happen as you waited outside a meeting room. They aren't quite the same, but I think they helped.
Kafka is a disease.

It's a queue, it's a stream, it's a journal, it's an event bus, it's a database.

It's also apparently a workflow engine now?

It annoys me so much how appealing this is to a median developer. "Wow I just get to learn this one tool and then I can use it for EVERYTHING!" is not something competent craftsmen/professionals do in any other field, yet in software it's all the rage.

"The way we are building event-driven applications is misguided"

Maybe the way you are! Don't overcomplicate/overabstract things so much!
I don’t know what you’re arguing against.
For all we know, it was made by a person/bot/process authorized to publish to an official Google repository[1].

It may have been accidental, sure[2]. But is there a basis to claim unauthorized action?

[1]: https://news.ycombinator.com/item?id=40505708

[2]: Reminds me of “Night of the Living Dead”, which accidentally became public domain; source: https://en.m.wikipedia.org/wiki/Night_of_the_Living_Dead
Sambanova breaks 1000 tokens/SEC on LLama3 8B
That’s a terrible argument. If someone can run something on port 80, they have root on the machine, at which point can do whatever they want (including getting rid of whatever existing process was listening on port 80 and replacing it with their own).
Market Impact
I was hoping for the "no more secrets" effect.

https://www.youtube.com/watch?v=F5bAa6gFvLs
They cooperated and are charged with lesser crimes. I suspect they'll get less than 4 years each and serve maybe 2 (First Step Act).

SBF put a ceiling on the sentencing because he was very guilty, fully in charge, and showed no remorse.
Totally fair, and I was really excited about the iOS safari built-in version. It didn't work for the book I bought and then after using AI bases TSS, I just couldn't go back.

I would love to be able to run the models on the device, and it will come in the future. The OSS models are not quite there from a quality standpoint yet. But they will surly get there
Great article! We've updated the OpenAI API to 403 on HTTP requests instead of redirecting.

$ curl http://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer 123" \
-d '{}'

{
"error": {
"type": "invalid_request_error",
"code": "http_unsupported",
"message": "The OpenAI API is only accessible over HTTPS. Ensure the URL starts with 'https://' and not 'http://'.",
"param": null
}
}
You’re literally on a website that is effectively a VC company’a marketing wing. Now’s not the time to get uppity.
Show HN: MyScale Telemetry, Tracing and Evaluating Your LLM Applications
MyScale Telemetry is an open-source alternative to LangSmithand provides capabilities similar to LangSmith, including tracing and evaluating LLM applications. MyScale Telemetry reduces system complexity and improves data security by utilizing the versatile and powerful MyScale SQL vector database and the widely used Grafana dashboard. Additionally, since MyScaleDB is ClickHouse-compatible, MyScale Telemetry can be directly used with ClickHouse.
Magnum Photos
Since this seems to be most relevant to SEO practitioners I might as well ask a loaded question. Given how prevalent spam sites are in search results now and how bad Google seems to be at filtering them out, what's the argument for how SEO is a good thing in aggregate?
People have bank passwords, social media accounts (which can be used in all sorts of nefarious ways), etc. Some may be 2FA protected, some may not be. Some may be protected by bad faux-2FA.

Just because there aren't million at stake doesn't mean you can't bring someone to ruin.
Kyle's Lambda
> In almost all cases we found the inverted version more sound.

Maybe that's why happiness is so hard. So many promising roads leading out.
I disagree. So does Wikipedia ("where the attacker secretly relays and possibly alters the communications between two parties who believe that they are directly communicating with each other, as the attacker has inserted themselves between the two parties ... for example, an attacker within range of an Wi-Fi access point hosting a network without encryption could insert themselves as a man in the middle") and so I believe do most people.

"Active MITM" would be how you describe someone who does modify traffic.

And an attacker in each of the scenarios GP mentioned can modify traffic. (For ISP/attacker-controlled networks it's trivial; for other networks you just need to ARP spoof)
I've heard nothing but gripes about Win 11 from distinctly normal users. Like, the kind of user that calls me panicking because they can't find a file, because they got the Explorer search and directory bars confused and typed a search term into the wrong one. It's the users that are least able to disable all this shit who are understandably most upset.
This "matching gpt-4" catchy phrase has lost its meaning to me. Everytime an article like this pops up, I see marketing buzz and unrealistic results in practice.
Thanks so much yeah a few people asked for an API to make it easy too. Added it to my list of TODOs :)
I wouldn’t work towards anything.

I’d shitpost online, read books, go to the coffeeshop, watch movies, go on walks, etc.

Took 3 years off in my 20s to do exactly that and it was incredible. Best years of my life. Would drop everything and do it again in heartbeat if I could swing it financially.
https://github.com/sfj3/Navier-Stokes-Smoothness/blob/main/o...
Peace on Earth, and goodwill toward men.

I'll see what I can do.
Please let me know any way you think this is wrong.. a couple people agree but I don’t know who can tell me how correct it is.
Your assumption is that alignment cannot arise out of a natural ecosystem that rewards collaboration between two individuals with no leader, that there must be 'Leadership' orchestrating the ecosystem to be in a state where alignment is possible.

Who, then, leads the leader?
> > You cannot realistically build enough so that the rents decrease.

> I'm curious what makes you think this.

> Suppose you built twice as many housing units as you had residents. Rents wouldn't decrease? Why not?

It seems entirely logical that rents should decrease.

Not the OP but I do always question this, despite sounding logical. Why? Because it has never worked that way in practice. Can you think of a city that built so much housing that rents became cheap (relative to local income)?

It's easy to say "built twice as many housing units as you had residents" and I agree if you could do that overnight, rents would free-fall. But in practice it would take years to build so much housing. Meanwhile, more and more people and jobs are moving in, attracted by all that new housing. The area becomes ever more popular and more expensive. So you end up with a city that is more vibrant, with a lot more people and a lot more jobs and economic activity. All good things, but rents don't go down, given all this success rents go up.
They're not better, they serve a different purpose: primarily for highway access from an arterial. You're not going to put a roundabout on your highways, and both roads can expect to have the highest level of demand on throughput.
I mean surely populations would exist, bit the spatial and cultural significance of the species is gone.

And, for how long do we want to believe that environmental change (including fungus) can be frozen in a specific time moment that should be preserved?
You could use a backend framework that optimizes the SQL as well (I believe Hasura does this), or just have a string interpolated select statement in the SQL.
Yeah great point, I will simplify the pricing and just say "Listen up to 10hrs of audio" instead.

It is a lot more clear and avoids any misunderstandings. Just need to make the changes to the app to do that.

Thanks for the great feedback
https://www.science.org/content/article/lasers-defuse-nuclea... (“Lasers Defuse Nuclear Waste”)
Omega-3 supplementation reduces aggressive behavior: A meta-analytic review
looks both cool and frustrating :)
Can't wait to find these in TV shows!
Good luck putting one of those on an interstate.
Try Decibel Meter Ultra (https://www.decibelmeterultra.com/) if you have an iOS device. It will give you a graph over time and you can leave it running over night. Free version is limited to 2 min duration but has a 7-day free trial.
O'Reilly has that Mind Performance Hacks book [1], and apparently a second similar title I haven't read [2]

https://www.oreilly.com/library/view/mind-performance-hacks/...

https://www.oreilly.com/library/view/mind-hacks/0596007795/

The first covers techniques you seem to be curious about, and more.
dude thanks
But you will end up with different divisions trying to solve the same problems in ways that either confound each other or the customer.

Nobody wants to deal with a company that behaves like eight rats in a trenchcoat.
“Rules of thumb” form many of the fundamental tenets of engineering practice.

Using HTTPS everywhere is one such rule of thumb.

It’s just not worth expending the mental energy considering every single edge case (while likely forgetting about some) in order to try and work out whether you can cut the corner to use HTTP rather than HTTPS, when using HTTPS is so easy.
At first I was a bit confused why this was a big deal given that Cosmogenic Radionuclide Dating[1] (which is based on cosmic rays) has been a thing for a while. But it turns out this uses an entirely different cosmogenic method based on atmospheric carbon (combined with Dendochronology from the tree rings). Very cool!

[1]: https://en.m.wikipedia.org/wiki/Surface_exposure_dating
I suspect they will allow it, but that doesn’t mean it’s a good idea.

Each of them are already competitive enough to attract customers and be profitable. They might not be targeting you yet, but reinvesting into growth is all about finding new ways to cut into Verizon and AT&T and thus attract new customers. Post merge I suspect the goal will be cutting redundancy which is good for shareholders, but not really customers.

Considering the economics around cellular in rural developing nations, I suspect a US carrier could operate a nationwide network on something like single digit percentage of total customers. There’s a lot of room for competition.
The answer is apparent if in the nature-vs-nurture girls-vs-boys discussion you keep a healthy inclination towards nature.
Of course, it's nothing else. Who could possibly believe that OpenAI and others would dump billions into development and training and aren't smart enough to figure out they could also do it with $500.
Correction to the correction: it is factorial. Relationships are not limited to two people: observe how easily issues between two people can become a third person's problem.
I have a theory that Ive left Apple after designing this building because his ego couldn't handle how many people told him he fucked up big time.
That's... surprising. But it kinda goes to the whole "the stuff that people really care about on social media is really only part of the picture" thing.
For me it's become a signal the person making the claim is unserious.
If someone is in your path they can just fake listen to 80 and intercept, then forward your call to 443.

Probably best to listen on 80 and trash the token right then as the majority of the time there won't be a MITM and breaking the application will force the developer to change to https
I've stopped opening port 80 at all for some of my web services. The parent domain is in the HSTS preload list, so no modern browser should ever be trying to connect to port 80. And (as the fine article intimates) API calls shouldn't be available on port 80 anyway.
https://archive.md/1TrYN
$8k is a crazy amount of 1972 money for a car.

It's the $3000 cars that are going for $80k.

Oddly enough, the luxury high end cars at $8k in 1972 is the equivalent of $60k in 2024. With average new car price being ~$48k today, if the average automobile price stayed the same from 1972 the average new car price would be $26k today.

Something went off the rails. Ah...tarrifs. nvm
Streaming SQL Overview and Uses
Is there a reason Phi Vision is omitted?
Cool use case! How do you make it choose a random effect?
Magnum Learn
Lots of employees walk halfway around the ring just for lunch. All the way around the ring doesn’t sound impossible.
That moment when you read the first half of a sentence and know it's clearly sarcasm, and then you finish the sentence and realize it's not... :(
on osx it's .... ping6 -I en0 ff02::1 maybe different way to specify the interface
You're looking at a commit that contains all of the leaked files/documentation conveniently on the directory view on side of the github page.
or ping6 -I en0 ff02::1 on osx
thats how real men did it in chernobyl
https://www.reddit.com/r/WritingPrompts/comments/6vpej2/wp_y...
At the end of the day the FTX crew were still outsiders. They tried to buy political influence, but the type of regulatory capture that F500 companies enjoy takes decades to cultivate.
It's a different kind of cheap. A high functioning team costs what it costs. Until you break it.

Once you become more interested in power than success then the high functioning team becomes the enemy because you can't control them.
Lab sequences rabies in infected black bear
Great, will check it out - thanks!
The problem with brutally honest introspection is that coping mechanisms exist for a reason.

The people who would benefit the most from self-honesty are the people most vulnerable to not being able to handle the truth, and potentially leaning even harder into unhealthy coping.
I think so, probably it is hidden near some nuclear reactor thing
Streaming Processing
Ingenious? Or disingenuous? Regardless, I agree with you, "tricks" and "dumb" was not said derogatorily, I meant basically what you said, that humans are biologically "dumb" in terms of falling for these "tricks," similarly to how optical illusions work. It seems you summarized my point better than I could.
Are non-traditional TLDs (e.g. .io, .ai, .bio, etc.) more likely to be classified as spam?
thank you, reading :)
> One day, an intermediary system is hijacked which carries your traffic, and your weather information can be rewritten in transit. Your credibility for providing outstanding data is compromised when you start serving up weather information that predicts sunny skies when a tornado watch is in effect.

Why would they want to do that? Is your weatherman always right?

> Additionally, you have now leaked information related to the traffic of your users. Even if the request is just vanilla HTTP-only, an adversary can see that your users from one region are interested in the weather and can start building a map of that traffic.

Ah, yes, people are interested in the weather. Wow!

Of course, they could get the same info from observing that users are connecting to the IP address of a weather API provider.

> They also inject a javascript payload into your traffic that starts computing bitcoin hashes and you are blamed for spreading malware.

Got there eventually. Crappy ISPs.
This is really a huge bummer. It was a fantastic service and made it easy to run a "two-person approval" system on all kinds of access and infra changes without building something blocking or bureaucratic.
Don't see a license listed in the repo; presumably needs to be the same as Meta's Llama 3 license?
? and relax.

> It's easy to comment off the armchair "just get more customer d'uh!", when people don't understand what they're talking about.
If you're serving web traffic and API traffic on the same domain, which many services are, then not listening on port 80 may not be possible. Even if you do use a different domain, if you're behind a CDN then you probably can't avoid an open port 80. I do keep port 80 closed for those of my services I can do so for, but I don't have anything else that needs port 80 to be open on those IPs.

I think Stack Exchange's solution is probably the right one in that case -- and hopefully anyone who hits it will do so with dev keys rather than in production.