Better HN
topnewbestaskshowjobs
Log inSign up

PascalW

1,028 karma · joined Jan 14, 2011 (15y ago) · 161 submissions

Submissions

comment 5y ago · link · parent

I considered this as well but didn't really want to mess with the hardware. But if you're up for that you can buy the components yourself, or go for something like inkplate [1] which is an E-paper display + ESP microcontroller and battery in one package.

[1] https://inkplate.io/

comment 5y ago · link · parent

I don't know exactly yet, but from what I'm now seeing it consumes 3-4% battery per day, with the dashboard updating every 30 minutes for 10 hours a day.

I'm only letting it update during office hours, so I reckon I should get around a month of battery life with this usage.

comment 5y ago · link · parent

Yes that should be possible. You could use this as a starting point: https://www.mobileread.com/forums/showpost.php?p=3812831&pos.... With that you can wait for the 'goingToScreenSaver' event and then write your dashboard to the screen.

There are some minor downsides though. If you keep the built-in Kindle UI running it will draw a menubar on the screen when the Wi-Fi connection status changes and power consumption will be a bit higher with this setup. All in all still a good tradeoff if you want to keep using the Kindle for it's original purpose too.

Edit: someone else posted a link to this tool which does exactly this: https://www.mobileread.com/forums/showthread.php?t=236104

comment 5y ago · link · parent

https://wiki.mobileread.com/wiki/Kindle4NTHacking and the mobileread forums have a wealth of information on this topic!

comment 5y ago · link · parent

You do need the screen to kick off the jailbreak process I'm afraid.

comment 5y ago · link · parent

Yeah they seem to actively prevent jailbreaking on more recent devices. I specifically picked up a used Kindle 4 NT for this project, because it's so easy to jailbreak.

37.

Show HN: Low-power Kindle-based dashboard(github.com ↗)

284 points · by PascalW · 5y ago · 71 comments

comment 5y ago · link · parent

Thanks for pointing this out! I've been using Aegis for quite a while and didn't know this.

comment 5y ago · link · parent

Nice work! I was looking for a wiki system with a similar workflow the other day and was surprised not to find anything. If anyone knows of a wiki system that supports this kind of review/merge flow I'm very interested.

comment 5y ago · link · parent

Can you expand on why Sapper is no longer a thing?

comment 5y ago · link · parent

I've been hosting Nextcloud since version 13 and have upgraded 7 times in total, to version 20 now. Never had a single issue upgrading. I'm hosting via Docker, so upgrading is as simple as pulling and starting a new image. Nextcloud takes care of upgrading tables etc itself and has never failed on me.

comment 6y ago · link · parent

I just noticed this project is using a bit of code [1] I put up on GitHub over 4 years ago to create Alfred workflows in Go. I never realized people other than myself were actually using this, wonderful!

[1] https://github.com/pascalw/go-alfred

comment 6y ago · link · parent

Nice work!

How does it compare to n8n? [0]

n8n is the closest OSS alternative to Zapier I've seen so far.

[0] https://n8n.io/

comment 6y ago · link · parent

I don't really understand this sentiment of not needing a queue system. This is not much different from spawning a thread in Java to delay the email sending.

For any serious application you want a job like that to be persisted so you can guarantee it runs even if your application is restarted.

I know that Erlang/Elixir is designed for stateful applications and if you have a cluster and do hot deploys this is less of a problem, but who does that? Most Elixir applications I've seen are deployed as stateless systems just like any Ruby, Python, Node etc systems.

comment 6y ago · link · parent

This 100%.

Dialyzer helps a bit but is difficult to work with due to really cryptic errors. Also the workflow of having the typechecker run as a separate process not part of the compiler feels really cumbersome; it's easy not to notice you have a type error somewhere (often miles away from where the error originates!).

46.

Making Django and Webpack play nice together: no plugins required(pascalw.me ↗)

2 points · by PascalW · 6y ago · discuss

comment 6y ago · link · parent

It's up here: https://pascalw.me/blog/2020/04/19/webpack-django.html

comment 6y ago · link · parent

Tailwind is becoming the new Bootstrap. It's pretty recognizable in it's default configuration.

comment 6y ago · link · parent

The trick is to let Django handle the file names. Django's static support can do this very well.

I hope to get the post out somewhere this week!

comment 6y ago · link · parent

I've tried setting up django-webpack-loader but it felt very heavy handed and I didn't like how it forces you to use some non-standard manifest plugin that was pretty buggy.

Instead I went with vanilla Webpack outputting files into Django `STATIC_ROOT`. That way Webpack is only concerned with producing the files and Django handles the whole file name hashing, compression etc in production.

I've found this to be much, much more straightforward. I'm planning to write a post about it.

comment 6y ago · link · parent

The Django Inertia adapter seems to be abandoned [1], what are you using?

[1] https://github.com/jsbeckr/inertia-django

comment 6y ago · link · parent

It doesn't. In fact it doesn't do anything for assets in general. But integrating it with Webpack is quite straightforward if you're comfortable with Webpack.

comment 6y ago · link · parent

We recently used Kind for a k8s workshop. We provisioned a beefy cloud server and ran 15 3-node Kind clusters on it, so everyone had it's own k8s instance without having to install anything locally. It worked absolutely great for this purpose.

I wrote some scripting around it so people can claim their own cluster via SSH. I'm planning to write a post about it soon and make the code available.

54.

HTTP Caching Gotcha: Heuristic Freshness(theguild.nl ↗)

2 points · by PascalW · 6y ago · discuss

comment 7y ago · link · parent

Kabisa | Software crafts(wo)man | Weert / Eindhoven / Amsterdam, Netherlands | ONSITE

Kabisa is a software agency based in the Netherlands. We're 13 years in business and have a team of 50 people.

We have in-depth knowledge and experience in the design and implementation of complex integration concepts and utilize the best techniques and methodologies. We focus on full stack solutions and are specialized in Ruby on Rails, Python, Java and Elixir on the server and JavaScript on the client side.

We highly value our three core values: craftsmanship, customer focus and collaboration. These values are reflected in the culture of our company in the way we treat our customers and employees. We strive for an ideal mix between professionalism, ambition and fun.

We are currently looking for:

  * Java developer
  * Python developer
  * Ruby on Rails developer
  * Front-end developer (React)
  * Elixir / Phoenix developer
  * DevOps engineer
Apply at https://www.kabisa.nl/vacatures/software-engineer-english/.

comment 7y ago · link · parent

Kabisa | Software crafts(wo)man | Weert / Eindhoven / Amsterdam, Netherlands | ONSITE

Kabisa is a software agency based in the Netherlands. We're 13 years in business and have a team of 50 people.

We have in-depth knowledge and experience in the design and implementation of complex integration concepts and utilize the best techniques and methodologies. We focus on full stack solutions and are specialized in Ruby on Rails, Python, Java and Elixir on the server and JavaScript on the client side.

We highly value our three core values: craftsmanship, customer focus and collaboration. These values are reflected in the culture of our company in the way we treat our customers and employees. We strive for an ideal mix between professionalism, ambition and fun.

We are currently looking for:

  * Java developer
  * Python developer
  * Ruby on Rails developer
  * Front-end developer (React)
  * Elixir / Phoenix developer
  * DevOps engineer
Apply at https://www.kabisa.nl/vacatures/software-engineer-english/.

comment 7y ago · link · parent

Kabisa | Software crafts(wo)man | Weert / Eindhoven / Amsterdam, Netherlands | ONSITE

Kabisa is a software agency based in the Netherlands. We're 13 years in business and have a team of 50 people.

We have in-depth knowledge and experience in the design and implementation of complex integration concepts and utilize the best techniques and methodologies. We focus on full stack solutions and are specialized in Ruby on Rails, Python, Java and Elixir on the server and JavaScript with React on the client side.

We highly value our three core values: craftsmanship, customer focus and collaboration. These values are reflected in the culture of our company and in the way we treat our customers and employees. We strive for an ideal mix between professionalism, ambition and fun.

We are currently looking for:

  * Python developer - Amsterdam and Weert
  * Front-end developer (React) - Amsterdam and Weert
  * Elixir / Phoenix developer - Amsterdam and Weert
  * Ruby on Rails developer - Amsterdam only
Apply at https://www.kabisa.nl/vacatures/software-engineer-english/.

comment 7y ago · link · parent

https://github.com/grafana/loki is very promising in this space. Dead-easy to run.

comment 7y ago · link · parent

Those 503's are by design,see https://www.backblaze.com/blog/design-thinking-b2-apis-the-h...

comment 7y ago · link · parent

Does anyone know of any programmable alternatives that are not tight to AWS?
123456