Better HN
topnewbestaskshowjobs
Log inSign up

danielstocks

248 karma · joined Mar 12, 2014 (12y ago) · 32 submissions

Hi, I'm Daniel.

Personal website: <https://webcloud.se>

Bluesky: <https://bsky.app/profile/roflwtfbbq.bsky.social>

Submissions

comment 1y ago · link · parent

Happy Encore customer here! I’m kind of surprised they haven’t gotten more attention. It’s like the DX of Vercel for backend and infra, but open source and you can connect it to your existing cloud provider (we use GCP, but also works with AWS). We rarely have to think about about infra or CI/CD things. It just works, and on the rare occasion it doesn’t the team has been super quick to resolve it.

It’s like having a in-house 24/7 dev ops infra team but for a fraction of the cost!

Disclaimer: Our infrastructure needs are not super complex: Web services, SQL, key-value store, pub-sub and few other parts, your mileage may vary depending on your needs.

comment 1y ago · link · parent

Source code can be found here: https://github.com/danielstocks/pipeline-panic

comment 1y ago · link · parent

Made a small silly game recently just for fun, using mostly CSS animated SVG tiles for rendering: https://pipeline-panic.vercel.app/

comment 2y ago · link · parent

I can’t speak for Reason but the ReScript project and community is very alive and vibrant. There’s been some major improvements over the past year and overall it’s much more appealing and mature now compared with only a few years ago. We’ve been using it in a fairly large React app for a while and the experience has been very good.

comment 5y ago · link · parent

Carla | Full-time | REMOTE | Stockholm, Sweden | https://www.carla.se

We believe that more people should be able to drive electric. Therefore, we have set out to build the safest, most convenient and transparent way to sell, buy, or lease an electric car. Carla was founded in 2020 in Stockholm, with strong VC backing. We are now in an exciting growth phase and are more than happy to receive applications to roles within Product Management,UX/UI, and Software Engineering. Our product team is fully remote, but timezone wise we prefer everyone to be in CET +/- 2 hours.

At Carla, we look for people who have that magical mix of being great at what they do, show a strong drive, can obsess over consumer centricity, whilst being humble and eager to learn.

What can we offer?

- A career defining role at an early stage startup and an opportunity to to grow and learn from knowledgeable co-workers.

- We’re a startup, which means we work smarter not harder. Life-work balance still plays an important role in creating long-lasting productivity and output

- Market competitive salary

- Get to work on a wide variety of challenging problems like purchasing, inventory, logistics, operations, order management, merchandising and so on.

- A workplace that believes strength is found in diversity. We hire people regardless of background, education, experience or gender.

Tech stack: ReScript, React.js, Next.js, Golang, Postgres, Redis etc.

Apply at https://careers.carla.se or email me at daniel@carla.se if you have any questions.

Please: No agencies or recruiters.

6.

Klarna users are being signed in to random accounts(twitter.com ↗)

475 points · by danielstocks · 5y ago · 498 comments

comment 5y ago · link · parent

I use a print stylesheet for my HTML CV/resume since I from time to time need to “print as pdf” and send around by email.

I also find my self emailing invoices/receipts a lot and it’s pretty annoying when there’s no way to print/save as pdf from a vendor without getting the entire page layout

comment 5y ago · link · parent

I started out my career in a similar fashion as the author (dabbled with HTML/CSS/PHP).

One reason for the growing complexity in UI tooling is that many websites we build today compared to 10 years ago are not "stupid little web pages containing youtube embeds and guest books"

With that being said, many people are still building simple websites, and React/TypeScript/Webpack/Babel/CSS-in-JS/et al. probably isn't solving any "real problems" for them.

I've had to learn and adapt during my whole career, but I'm also more productive today than I've ever been, thanks to the tools that are available to me as a front-end developer.

I still reach out for Vanilla HTML/CSS/JS now and again, but I mostly deal with large and complex UI's that need to be shared across multiple projects and hundres of developers.

From a historical perpsective: jQuery solved a very real problem at it's time: simplifying and doing consistent/reliable cross browser JS development. Backbone.js later came along to solve the problem that JavaScript apps were now so large and complex that simply dropping a few JavaScript/jQuery files was not a scalable way to build. As applications became even more complex, React.js made it easier to deal with UI/state changes in large code-bases. All of these abstractions grew out of necessity.

9.

Building a Button Part 1: Press Events(react-spectrum.adobe.com ↗)

1 points · by danielstocks · 6y ago · discuss

comment 6y ago · link · parent

I used RabbitMQ together with python and celery quite extensively and it scales really well. One thing we had trouble with though was to find a nice mechanism to scheduled tasks. Eg. “Run this task 12 hours before departure”. Maybe AMQP is the wrong place to solve that problem.

comment 6y ago · link · parent

Yes, you can read more here: https://docs.simpleanalytics.com/bypass-ad-blockers

comment 6y ago · link · parent

I didn’t know about Eleventy! Looks super cool and definitely something I will try in the future. Thanks

comment 6y ago · link · parent

Good question. I think that relates to the “developer experience” point I was trying to get across: Things like file-system routing (eg. drop a JavaScript or Markdown file in /pages) and overall a Webpck/Babel setup along with the build/export scripts that just work out of the box. Regardless I still think you have a valid point and yes this is experimental and not something I would generally advise.

comment 6y ago · link · parent

It can be, but I’m not running a server in production: I’m using the static site generation feature in Next (comparable to Jekyll or Gatsby). It takes an input (Markdown in my case) and spits out a bunch of HTML files that are later deployed on a CDN. No server-side runtime required.

15.

Server-Side Only React with Next(webcloud.se ↗)

104 points · by danielstocks · 6y ago · 72 comments

16.

My Personal Website 2020 Tech Stack(webcloud.se ↗)

1 points · by danielstocks · 6y ago · discuss

comment 6y ago · link · parent

Most servers will route /login/index.html to /login

18.

Clues in Mac OS beta suggests Apple is introducing AMD CPUs in future computers(twitter.com ↗)

1 points · by danielstocks · 6y ago · discuss

19.

Why Gatsby Is Better with JavaScript(gatsbyjs.org ↗)

1 points · by danielstocks · 6y ago · discuss

20.

An extensive guide on how to style for RTL in CSS(rtlstyling.com ↗)

2 points · by danielstocks · 6y ago · discuss

comment 6y ago · link · parent

I'm on a 15" MBP and I'm really missing the physical escape key (especially as a long time vim user).

I was considering the 16" MBP, but I think I'll just go ahead with my Hacking-tosh build instead! I spend 99% of my productive time at my desk. For anything on the move I'm more inclined to go "light", a 13" Air perhaps`. I was hoping iPad would cut it, but I'm afraid iPad OS is too limiting.

22.

MX 518 Retrospect(webcloud.se ↗)

1 points · by danielstocks · 6y ago · discuss

23.

Fripost – The Free Email Association(fripost.org ↗)

2 points · by danielstocks · 6y ago · discuss

comment 9y ago · link · parent

No one using API blueprint here? https://apiblueprint.org

comment 10y ago · link · parent

Seems to be resolved now...

comment 10y ago · link · parent

I got my first SMS alert notification from Pingdom about 55 minutes ago now. One or two requests managed to reach through the the application logs in the last 10 minutes, but still mostly down.

comment 10y ago · link · parent

fyi isomorphic-fetch is just a universal wrapper around node-fetch and github-fetch

comment 11y ago · link · parent

A plugin for showing notifications, packing ~700 LOC and 25kb of JavaScript. I can admire the "no dependency" ambition but at the same time it's marketed as a plugin that has everything you'll ever need, probably targeting the audience that is already using Bootstrap and/or jQuery. Let's solve all the DOM quirks, again.

That being said, there's a probably a lot of useful stuff in there and some inspiration if you want roll your own solution!

comment 11y ago · link · parent

For those of you interested in running ArchLinux on Macbook hardware; I find this guide/overview pretty comprehensive: https://gist.github.com/terlar/6143325

comment 12y ago · link · parent

Very pretty indeed! I did a similar thing in JavaScript but inspired by the "sound of sorting" http://webcloud.se/Assortment/
12