Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jimhi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
jimhi
4y ago
Run a website with decent traffic for a few years and watch the script kiddies come out asking for bitcoin in exchange for turning off their botnet. Not a racket when you see how common it was before Cloudflare.
212.
▲
by
jimhi
4y ago
That’s a service to run code in a very brief (not noticeable) time when you go to a link. It would be pretty bad at DDOS attacking.
213.
▲
by
jimhi
4y ago
I'm not sure you understand what Cloudflare is. They have various protections for websites including ones you do not like. They don't host attacks. They don't even offer a hosting service for that code to run on really. Those
214.
▲
by
jimhi
4y ago
It outputs JavaScript so you can only put it in places that interpret the JavaScript like GitHub pages or your own site. GitHub comments for instance or hackernews comments won’t work.
215.
▲
by
jimhi
4y ago
Vue would be pretty easy. From personal experience it’s mostly react that’s has all these open source things someone might want. Was there one you were thinking of?
216.
▲
by
jimhi
4y ago
That’s actually the main use case of this service. Feel free to email me and I can help set it up.
217.
▲
by
jimhi
4y ago
It’s also completely free for 1 library (which can be used on multiple websites) and you can download the bundle code at any time.
218.
▲
by
jimhi
4y ago
Easier, no server access, no time, no knowledge. It also lets you mix react versions. As said below, you can just google people asking how to put a cool react component they see online into their GitHub page/Wordpress/Shopify
219.
▲
by
jimhi
4y ago
Thanks! Let me know if you have any questions or want help setting it up for something later.
220.
▲
by
jimhi
4y ago
Also, you can just download the bundle if you want to stop using the site to host it. Personally I make enough edits I like to keep it up.
221.
▲
by
jimhi
4y ago
For Sure. This is for people who don't have the server access, knowledge, or patience.
222.
▲
by
jimhi
4y ago
As said below, most common react libraries will fail if you try to just use ReactDOM. Mounting has many issues if you try it for more than the basic hello world. Not to mention you can use multiple different versions of react with this. Jus
223.
▲
by
jimhi
4y ago
Hello, this is a tool that lets you paste some quick react components into any static website. So a Github page, Shopify, Wordpress, etc. Sometimes I google a cool React calculator and Webpack is confusing and ReactDom throws errors so I bu
224.
▲
by
jimhi
4y ago
You can see many examples if you google - "How do I put react into my " Github page/Shopify/Wordpress etc. Many developers inherit or prefer a plain page and just want to use a cool open source react component real quick
225.
▲
by
jimhi
4y ago
Unfortunately using most common react components will fail if you try to just use ReactDOM
226.
▲
by
jimhi
4y ago
Yeah, it transpiles it too so you can have conflicting react libraries working together
227.
▲
Show HN: Paste React components into any website
(smarketman.com)
71 points
by
jimhi
4y ago
|
40 comments
228.
▲
Put Transpiled React Components into Any Static Website
(smarketman.com)
1 points
by
jimhi
4y ago
|
1 comments
229.
▲
by
jimhi
4y ago
I frequently want to put a different open source react components into a github or wordpress page and ReactDOM throws errors. Sometimes I also want to use different open source components with differing library versions. This is a super sim
230.
▲
by
jimhi
4y ago
Indonesia has had a lot of startups in the last few YC batches as well
231.
▲
by
jimhi
4y ago
If the current method we use turns out to actually lead to producing content that has a history and can regenerate characters then it will likely be within 5 years. But right now it is possible it is only a nice math trick that is already n
232.
▲
by
jimhi
4y ago
If Estonia had the GDP, political influence, or military of the USA it might not hold up to the same level of attacks. It also helps that their population and schooling system prioritizes coding and technical literacy.
233.
▲
by
jimhi
4y ago
Can you spell that out? They are near / wary of China? That is why they have nuclear expertise?
234.
▲
by
jimhi
4y ago
I’ve tried about 500+ prompts on Midjourney, Stable diffusion, and Dalle 2 each. It’s just not there yet, it’s really good for creative results though. I agree it might do a the job decently for a dress in this instance.
235.
▲
by
jimhi
4y ago
For sure but Stable Diffusion still cannot produce as realistic quality as Dalle 2. Stable Diffusion also has fairly weak inpainting which is what is used for the first step. I am confident it will surpass Dalle 2 at some point though, it h
236.
▲
by
jimhi
4y ago
They will open up an API yes. That is different than being open sourced. Actually seems that anyone who currently has access can try this: https://github.com/ezzcodeezzlife/dalle2-in-python
237.
▲
by
jimhi
4y ago
The most important work is done by Dalle which has no open API right now. Once they open it up - there could be a way to run a program on all 3. You would still have to cherry pick which frames from Dalle look the nicest
238.
▲
by
jimhi
4y ago
I've been playing with this for awhile, within a day is doable. But more like hours than minutes for more interesting content
239.
▲
by
jimhi
4y ago
It just shows a black screen where the browser should be on my phone but looks great in the browser. If I wanted to run code that would say scroll through a site for everyone to watch, what is the best way to do it? From your docs looks lik
240.
▲
by
jimhi
4y ago
This is awesome! Is there a way to get this to work on mobile? Tried on safari and chrome
More ›