Hacker Newsnew | past | comments | ask | show | jobs | submit | NiagaraThistle's commentslogin

You just summarized the last 35 years of my life.


I love this!

I've been building something similar for far too long - and it is far too buggy still - for Europe-only travel.

Good luck with this. I know how hard it can be doing this sort of thing between job, life, family, and dreaming of your next trip :)


Just got back from 12 days in Germany to follow Scotland in the UEFA Euros - team was a bitter disappointment, experience was once in a life time.

Having to use my phone for everything from buying/selling my match tickets on stubhub, match tickets on the UEFA app, Deutsche Bahn train ticket on an app, online QR code attraction entry ticket, audio walking tours, restaurant menus (much less of these thank god), and more, made me VERY anxious every day.

If my phone's battery died through the day (which it did FAR too often), or if i lost my phone, i was completely screwed and would not have access to my overpriced match tickets nor my much needed train ticket.

I felt like a luddite carrying a paper guidebook so I didn't have to really on my phone for maps and location/attraction details, but I don't know how else I would have managed.

Luckily my mobile plan allowed international data so I didn't have to roam.

Our reliance on our phones is frightening, and every company locking us into their apps for 'basic' information/tickets is bothersome. I get it from the business point of view (and the 'let's save the trees' perspective too), but from a traveler's point of view it is very cumbersome and overly complicated to have to not only juggle all the apps, but also focus on maintaining the battery and connectivity of your device so you don't lose access to must-have important documents.

I sorely miss the days BEFORE ubiquitous internet, connectivity, and mobile devices. Maybe I am a Luddite.


I wonder if at some point phones will have built-in maps to the nearest (sponsored, naturally) charging location, to plan our routes like electric cars can do.


It's not built-in to any devices or sponsored by anyone but OpenStreetMap already has a tagging scheme for phone charging stations: https://wiki.openstreetmap.org/wiki/Tag:amenity%3Ddevice_cha...


God I hate these interviews.

I'm 45, focus on Web development, have worked in-house on teams building ecomm carts/solutions for multi-million dollar per ear local companies, in design agencies focusing on custom $100k or templated $5k Wordpress websites, and have freelanced for everything in-between.

During COVID lockdown, I got burnt out at my existing employer, resigned, and took several months of. When I started looking for work again, one potential employer was a Wordpress 'freelance' company that gave me a LC test as a second round interview.

I BOMBED - like a 27%. I've been building sites and web applications for 15+ years and had zero idea what I was even being asked in any of the 3 questions on the 'test'. The company ended the interview process and advised I study Leet Code for 1 month and come back to re-test since my experience was outstanding for what they were looking for.

I did and got an even WORSE score: 13%. I spent way to much time on trying to cram useless (for my daily work) programming techniques to pass a useless interview test when I was told I had the experience they wanted - I've built custom WP solutions/themes/plugins since wordpress first rolled out.

TLDR: With 15+ years experieince in Web development, I still couldn't score higher than a 27% on a LeetCode test and got halted in the interview process for a position I was told I was WELL qualified for.

LeetCode tests for non-overly-technical positions is awful.


Isn't Pieter Levels using AI to build is therapistAI app with pretty good results?

I'm sure it's not perfect, but from what I've seen and heard about it, it seems to be a good springboard for basic "therapy" but not REAL prescribed therapy of course.

Sounds like it is helpful as an entry level to 'therapy' and is only getting better.

Arguably maybe it's because Peter is not using ChatGPT for his model AI.


Wow. I was just telling 2 co-workers this week that I keep a "How the F" file on my machine. It is not exactly what the author describes, but it's very similar and includes all the "how th f do i do this thing again?" every time I run into a problem when I'm new to a team.

I don't bring it to management's attention like the author suggests, but it gives me a perspective on what sticking points the team and company have that I need to work through over time.


i love my iphone 12 mini for this very reason. It's still small enough to fit 'mostly' comfortably in my pocket, even a shirt pocket. I hate how large most phones are now and everyone i know that sees my phone makes fun of me/it. I just don't get why (or how) one uses such huge devices as their phones now.


The reason the market has shifted to larger phones is that for many people outside the HN crowd, phones are their _primary_ computing device.

Reading books, watching videos, social, etc. but also interacting with webforms, etc. are all easier on a larger device and screen.


Phones are more of a content consumption devices than a communication device for probably the majority of users; a bigger screen directly makes it a better content consumption device, even if you sometimes need to adjust your grip to tap something on the top edge of the screen.


A friend of mine has an iPhone 12 mini. She has to carry a powerbank the size of the phone around. Thus it is bigger than my iPhone 13 Pro. YMMV.


Depends a lot on what she does with it, doesn't it?

My friend with a 12 mini complains it's still too large and basically always needs to have a purse with her since it won't fit any of her pockets. Never complained about battery life and doesn't cart any external power source, either.

Different friend had one of those cases with integrated battery packs around her iphone pros. She spends her days on the phone, though...

As another data point, my iphone 7 had basically enough battery to last me through the day until last year. I changed it because the battery was bulging, and at the end the screen was hanging on to the body by next to nothing.


Love my iphone 12 mini too. I was so disappointed when I found out they wouldn't be releasing mini versions anymore


Do developers really build basic websites / pages WITHOUT pure CSS when it's an option?

I know there are times when you need to do something CSS can't (and shouldn't do of course. But I mean when the 'thing' is design/style only, aren't we all already using only CSS for those things? Or am I just so old I still practice the separation of concerns and no one else is.

Also, while kudos to the OP for doing this, this is exactly a time when using CSS to do this is incorrect and using vanilla Javascript IS the right decision, as this is a behavior and not a style issue.

NB4: Yes I do code sloppy when time dictates, but I still seperate my HTML, CSS, and JS as the norm, not the exception.


> Do developers really build basic websites / pages WITHOUT pure CSS when it's an option?

Yes.

There are developers who have only styled websites using bootstrap classes. (or related css-frameworks, e.g foundation, bulma, etc...)

And there are developers who have only styled websites using tailwind classes. (or other related atomic css frameworks)

Both sets of developers lose out on some very powerful css features (e.g. page layouts using css-grid, container queries, light-dom web components, etc...) that can completely change the way you build websites.

------------------------------------------------------------

Bootstrap developers tend to use bootstrap instead of css because:

- They are entry/minor level front-end developers who are still becoming proficient with css. They tend to use only bootstrap at the beginning, then progressively use it less as their own knowledge improves.

- They aren't front-end developers and are using bootstrap as a crutch to get a front-end out for the system they are building

- They are older front-end developers who have been disincentivized to improve their skills. They have become stuck in a local maxima trap because they're relying on bootstrap to fill a knowledge hole, for example: How to code a responsive design (i.e. bootstrap classes -X> media queries -> reflowing rule based layouts -> container queries), how to build an accessible navigation, how/when to use js to build an interactive component, etc...

- An easy way to spot these kinds of developers is to see if they are:

1. using the BEM class naming scheme because they're coding a div soup instead of using fewer html elements and modern css selectors

2. using a js library to make something when a few lines of css will do the trick

------------------------------------------------------------

Tailwind developers tend to use tailwind because:

- They're using react, which doesn't have a good builtin way to keep component related styles close to the component itself. In css parlance, they don't know how to scope those styles to the component. They only know how to:

1. Put styles in a separate file like in regular page based websites. This method almost always fails because developers will change a style in an external file without realising that it affects more than one component, and they don't have sufficient visual-regression/snapshot testing to catch it.

2. Inline styles to each html element which turns the component into style soup. So they settle on tailwind to make class soup as a shorthand for the style soup. Instead they should be using a framework solution that scopes the css to the component (e.g. vue's `<style scoped>`) or scope the css to the component using web standards, or declare their styles in-component and yse their build system's asset bucketing system to dedupe the declarations.


> page layouts using css-grid, container queries, light-dom web components

Tailwind doesn't "miss out" on any of these css features.

https://tailwindcss.com/docs/grid-template-columns

https://tailwindcss.com/blog/tailwindcss-v3-2

"Light-DOM web components" aren't a CSS feature... and they certainly aren't one that tailwind prevents you from using.


Tailwind's grid support poor. It has no support for named columns, rows, or areas. You basically only have the same grid support as bootstrap.

Container queries are supported (kind of), but without named grid elements to handle the page's layout, their usefulness is severely hampered.

Light-dom web components aren't a css feature per se, but are used to simplify css. It allows you to both scope css to a component while taking advantage of the cascade. (As opposed to tailwind which tries to hide the cascade from developers because it tries to pretend that scoping isn't a thing)


What do you mean it "isn't accepting" that you spent all the days since September 16 in the Scehngen Zone?

Is it not accurately calculating that you no longer have days available to your (assumed) 90 in the 180-day window?

Is it giving an error that "you must input a number of 90 or less" and that the "earliest entry date must be within 180 days"?

If that is the case, this is one of those edge cases I need to fix - if anyone has already blown through all their days allowed within the preceding 180 day period.

1. Thanks so much for even looking at it! 2. If you can clarify what issue you are running into, i can fix it.

Thanks!


Yes, it's giving the error that I must input a number of 90 days or less.

I'm being facetious, I don't fully understand who the tool is for (I'm definitely allowed to be here for more than 180 days in a row)


TLDR: Love your kid.

Read and sing to your kid - even if you are an awful singer. I read and sang lullabys to both my kids from when they were weeks old. THey didn't understand, but the memory is worth it, and I continued to so nightly until they were 7 or 8...or until they repeatedly said "Daaaaad! I'm too old for lullabys and bedtime stories." Then just read one more :)

Spend ALL the time with your kid - the time FLIES and one day you'll look at your 14 year as he mouths off to you and wonder how just moments ago you were cuddling with him as you were trying to put him to sleep in his crib.

I'm a night owl, so i never suffered from 'sleepless' nights like so many people complain about. Once my son's could take formula (ie when my wife wasn't necessary for the feeding), those were my favorite times: my wife could stay asleep and I could just grab a bottle and sit up every few hours through the night and feed them. Just me and either of my kids. Cherish those moments.

It is no exaggeration when a parent or grandparent tells you "Enjoy this moment because they fly by and before you know it they are grown." 15 years from now you'll wish for the sleepless nights when you were holding your baby trying to soothe them back to sleep.

"Lead by example" - You try to teach your kids the things they should know and to be better than you. Sometimes that means doing things better than you did (ie teaching them from mistakes or bad habits you might have), but kids are perceptive and will "learn it by WATCHING you". "Do as I say, not as I do" is less effective than leading by example. BE the man you want your son to be or your daughter to end up with. It's very difficult to backtrack on this when you realize you've been the wrong example.

Around 10 or 11, they will stop needing you as much or seeing you as their only hero. Take full advantage of the years before this to be the hero you want them to have and remember.

Teenage boys will rebel against their father and test boundaries. If you've set god boundaries and led by good examples and taught them good fundamentals, they'll circle back once they realize who they are and that you have always loved them - even during the arguments.

Be careful with criticism - even when trying to be helpful and constructive. They have a funny way of remembering constructive criticism as "negativity" :)

Overflow with praise for them - when deserved. Reign it in - but give it - when it's less so. They'll know that when you say something, you mean it.

When they're older sometimes you have to be "the bad guy" to help them learn right from wrong. Stand your ground if you know you are right, but always let them know you love them and are willing to talk about whatever dilemma they are going through.

End of the day: Love them the best that you can and tell them that every single day.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: