News for hackers. Stuff that matters.

bhdzllr

Re:Ask HN: What developer tool do you wish existed in 2026? on Tuesday December 23, 2025 @03:02AM (#46363376)
Is a terminal app for you? https://posting.sh/ (You can also use it with the mouse)
Re:Ask HN: For simple layouts, do I need CSS Flex or Grid? on Saturday November 05, 2022 @05:56PM (#33486290)
No, you don't need it if you use block-level elements (like div, header, nav, main, footer). Block elements always start on a new line and are therefore always one after the other in a column direction. This is part of HTML and will not go away.

Here is a simple example without styling:

https://jsfiddle.net/3g71hLf0/2/

And with some styling:

https://jsfiddle.net/3g71hLf0/1/

Re:Matrix web-based green code rain, made with love on Friday September 23, 2022 @09:19AM (#32951529)
JSFiddle Preview of the code: https://jsfiddle.net/yLn41po0/
Re:Show HN: Apfel Menu – Rebuilt Apple website menu on Tuesday August 23, 2022 @07:00AM (#32562991)
Hello HN.

I am a web developer and rebuilt the apple website menu just for my own improvement and fun. The menu uses JS but also works without JS or CSS and I paid attention to accessibility (like screen readers or keyboard navigation).

The menu has a lot of small details that I realized while building it, like the animations that took me some time.

I didn't include the search with auto-completion and suggestions.

Source on GitHub: https://github.com/bhdzllr/apfel-menu

Re:Please stop disabling zoom on Thursday May 05, 2022 @04:00PM (#31277810)
Maybe a lot of people did this to prevent Safari on iPhone to zoom in when an input field gets focus.

But if I remember correctly the correct way to prevent this was to set the font-size of the input field to at least 16px.

EDIT: More infos: https://stackoverflow.com/questions/2989263/disable-auto-zoo...

Re:Ask HN: Who is hiring? (May 2022) on Wednesday May 04, 2022 @06:51AM (#31258763)
ÖBB (Web-Team) - oebb.at | Full stack web developer for ÖBB websites | Remote (AT) or Vienna, Austria | Full-time

Work:

* As a full-stack web developer, you will be responsible for the new and further development of internet and intranet sites for the ÖBB Group companies (e.g. www.oebb.at, www.railcargo.com, bcc.oebb.at, infrastructure.oebb. at, www.nightjet.com, www.klimaticket.at and many more).

* Together with your teammates you are responsible for the new and further development of Java-based web applications.

* You will work in an agile software development setting in both the front and back end.

* You actively contribute your ideas and enjoy regularly exchanging ideas with your teammates about new technologies.

Profile:

* HTML, JavaScript (ES5/6), TypeScript and CSS (Sass & Less)

* Java

* Cross-browser development, responsive design

* Nice-to-have: GIT, Gulp, Freemarker, Jira, Confluence and Bamboo

* Nice-to-have: experience with content management systems, Docker and Kubernetes

* A collegial, open working environment is important to you and you are a team player with a strong customer orientation

Offer:

* Modern workplace with top public connections.

* Free travel for employees on ÖBB trains in Austria.

* Flexible working hours and work locations (50-100% home office).

* For families: nanny service and a nearby company kindergarten.

* Lots of benefits (special conditions for train travel & in our travel agencies, holiday homes and apartments in popular local holiday regions, in-house car sharing).

* Employee apartments available nationwide.

* For the function of specialist in IT development (according to the collective agreement for employees of companies in the field of services in automatic data processing and information technology), a minimum gross salary of € 45,990.00 per year is provided for a working week of 38.5 hours. Depending on qualifications and professional experience, overpayment is possible.

Application (DE): https://oebb.csod.com/ux/ats/careersite/4/home/requisition/1...

I store all my data (including photos and documents) on a encrypted external drive because I don't have enought space on my machine. With Beyond Compare I sync all files that I need from this drive with my machine.

This harddrive is backed up a few times in a month to another encrypted harddrive via a Raspberry Pi Server in the LAN. On that Raspberry Pi also Nextcloud is installed to allow syncing specific files with other members in the house.

The first harddrive that is connected to my machine directly is also backed up to another drive once or twice a year.

Hello HN,

here is some context:

There was this post on reddit about an antique pocket shopping list on "r/interestingasfuck". I liked the idea so I built it as web app very quickly just for fun.

It uses local storage, allows changing the items and you can add it to your phones home screen.

This was the post on Reddit: https://www.reddit.com/r/interestingasfuck/comments/jxfsfv/a...

Re:Openstreetmap, a global map for worldwide insight on Friday July 03, 2020 @07:02AM (#23722935)
Not necessarily, but it might be faster.

Basically you need map data (in form of tiles) and you need a way to show and interact with your map (e. g. Leaflet).

Here is a summary and one way to do it: https://switch2osm.org/the-basics/

Tiles can be images or vector based. I also recommend having a look at https://openmaptiles.org/ if you want vector based tiles. You can generate your own tileset with this (output is a mbtiles SQLite file based on a open source schema; the schema describes which information go into the database and later can be shown) or download a set of tiles (because e. g. for the world it will take a lot of ressources and a long timeto generate a tileset). There are also servers (like tileservergl or tileservergl-light) that can serve the tilset - not only as vector tiles but also as graphical image tiles.

Raw OSM data can be downloaded for free from https://download.geofabrik.de/

Re:Bye on Sunday June 21, 2020 @02:34PM (#23594140)
There are a few more funny links at the bottom of the page.
Re:Ask HN: What's your PHP development environment setup? on Tuesday June 16, 2020 @02:59AM (#23536610)
You can use docker, so the OS doesn't matter and you don't need to install a webserver, php, mysql and other things on your main system. Even if you use Ubuntu as your main system it's good idea to use docker for you local environment.

If you need a starting point I have a example on GitHub that may help you: https://github.com/bhdzllr/localhost/tree/master/docker-lemp

It's a LEMP stack. You need to change the volumes in the "docker-compose.yaml" to match to your system and adapt and copy the "nginx/default.conf" into the volume path of nginx. The "nginx/default.conf" has some examples which you may delete.

Re:Ask HN: How to come up with side project ideas on Wednesday June 10, 2020 @01:44AM (#23474325)
A few weeks ago was a post on Hacker News by Peter Askew how he created his projects based on expiring domains. You can check which domains are expiring, buy one and turn it into a project. You may also just use the list of expiring domains as inspiration.

Here is the link: https://news.ycombinator.com/item?id=23235671

Thank you for your congratulations and taking the time to write such a detailed comment.

Yes, the demo is just the access point for guests, so changing the status on the status page is not possible. It's an information for the guest about there current orders. The interface for waiters is nearly the same, except they can choose the table at the beginning and are able to checkout orders on a table (mark them as paid).

Maybe a video with some examples would be helpful to understand the process.

Currently it is important for me to find real customers so I will definitely work on the pricing model. I also thought about different pricing models (like tauntz mentioned a % revenue-based approach with an upper cap). For starting this MVP it was important to keep it simple so I decied to use a fixed price per month. Maybe I should cut it to find real customers.

Thank you for your feedback. Of course I will check the status page, maybe there is something wrong with rendering.
Thank you for your insights and suggestions.

I explain the thoughts behind the price a little in this comment: https://news.ycombinator.com/item?id=22625906

EDIT:

> From my survey I know that organizers pay more than $ 200 for a order management system (e. g. about $ 300 for the system and more per device needed).

I would like to add that this is the price for two days of rent.

Currently it focus on processing orders, but this would be a nice improvement for the future.
I built the inital version for my own university project. Now, after a few years I got it out of the drawer, adapted it and now it is publicly available. It was mainly built for events.

Part of the university project was to make a quantitative survey, ask the staff of events what they need, ask the customers what they need. Then I built the application and made an event to test it. This enabled me to collect a little feedback.

From my survey I know that organizers pay more than $ 200 for a order management system (e. g. about $ 300 for the system and more per device needed).

Until now only leisure clubs used it for events.

You can expand this by graying out only those items which were on the screen. You could use Intersection Observer for this: https://developer.mozilla.org/en-US/docs/Web/API/Intersectio...

Ask HN: I have 5 % stake in a startup, how much should I work?

I got 5 % stake in a startup because I do technical work for the founders. I have created the website with an online shop and some individual functions in the background. Currently I have invested about 100 hours, the founders knew this beforehand. I get a one-time payment of around $1000.We have discussed that I can do some work during the year, the question now is how much time should I...

( Read More... | 11 comments | 5 points | on HN )
Re:Ask HN: What’s your list of sideprojects? on Wednesday December 13, 2017 @04:12PM (#15917703)
1) Order Link (http://www.orderlink.io/), 2017: Beta status, it is a web app and helps to process orders at events or in restaurants with mobile devices in real time. Guests can also order with their own mobile devices. Currently looking for real users and a way to ensure that people are really at the location.

2) SU Grabern (http://www.sugrabern.at/), 2017: Website of local football (some would say soccer) club, quite simple and minimal, but a lot of expansion potential.

3) Graberner GeschichteN (https://www.grabernergeschichten.at/), 2016: History documentation of my austrian community (video interviews), videos in german with english subtitles. Created with a friend, maybe we do another round in the future.

Re:The web, on this day 10 years ago on Saturday August 05, 2017 @03:16PM (#14937375)
Nice idea.

Looked at the Apple website and before they opened iOS for native development (and monetarization through the App Store) they tried to push Web-Apps, but maybe this was just a experiment to validate if people will use it:

> Developers can create Web 2.0 applications that look and behave just like the applications built into iPhone, and provide seamless integration with iPhone applications and services including making a phone call, sending an email, and displaying a location in Google Maps. Third-party applications created using web standards can extend iPhone's capabilities without compromising its reliability or security.

Ask HN: What possibilities to determine if someone is in a certain location?

Hello, I'm currently building an application that can be used to process orders with mobile devices on events. The application allows self-service for guests with their own mobile device.To get to the order process and to determine if the person is really at the event the application uses unique URLs and QR codes for each table.The problem is that orders can still be done even if the guests...

( Read More... | no comments | on HN )

Older »