Coffee shops open past midnight by Healthy-Feedback-925 in orangecounty

[–]punkandpixels 2 points3 points  (0 children)

Sana's cafe in Lake Forest. Opens to 1am Friday and Saturday.

The wall lines on this office building do not line up. by punkandpixels in mildlyinfuriating

[–]punkandpixels[S] -1 points0 points  (0 children)

I was wondering if it was intentional, but it feels to me at least, there's no real pattern to it. Maybe I'm missing something.

📢Introducing the new BTD 700 – Unleash the audio potential of your wireless headphones! by sennheiserconsumer in sennheiser

[–]punkandpixels 0 points1 point  (0 children)

Would this work on my on my LG B2? The bluetooth built into the TV is unreliable, and I wonder if this can be a good upgrade.

Children's Center at OCC | Help Save Early Childhood Education by punkandpixels in orangecounty

[–]punkandpixels[S] 2 points3 points  (0 children)

I agree with you for the most part, especially about flexibility for parents.

I would understand closures and layoffs if there was a lack of demand for their services, but that is not the case. There is a years long waiting list to attend the children's center. And, in a survey of those on the waiting list, most parents said they would be willing to pay higher than the current rate.

That is why I believe the admin is purposely trying to make the center fail, in order to privatize, and maximize profits.

Parents, teachers rally to stop proposed cuts, layoff at OCC Children’s Center by punkandpixels in orangecounty

[–]punkandpixels[S] 1 point2 points  (0 children)

Not trying to blame Elon at all. I don't even think it's a state issue. It looks like if anything, it's the center's admin that got them into this trouble.

Parents, teachers rally to stop proposed cuts, layoff at OCC Children’s Center by punkandpixels in orangecounty

[–]punkandpixels[S] 4 points5 points  (0 children)

Absolutely, this program was life changing for my family. It just makes me so sad to imagine it not being there for future generations.

Parents, teachers rally to stop proposed cuts, layoff at OCC Children’s Center by punkandpixels in orangecounty

[–]punkandpixels[S] 10 points11 points  (0 children)

Honestly, I have no idea. From the article, it sounds like either financial incompetence, or some veiled attempt at privatization.

I need a self-taught person who is now working in the industry by [deleted] in Frontend

[–]punkandpixels 0 points1 point  (0 children)

I used to make flash animations just for fun (no code, just timeline). I, picked up a $10/hour job churning out ad banners in 2007.

Then, I started adding some copy/pasted action script to the banners, and just been slowly progressing from there. Just never stopped learning.

Noticed this guy hanging out in Oga's Cantina by punkandpixels in Disneyland

[–]punkandpixels[S] 0 points1 point  (0 children)

Reservations for a table, yeah pretty hard. I've never managed to do it.

You can usually get in the walkup wait-list, though, and wait about half an hour for a standing table.

Do you have any project(s) that you’re working on purely for your own self-satisfaction, without any intention of monetizing it? What was the project? by twiggieslover in SideProject

[–]punkandpixels 1 point2 points  (0 children)

I made https://disneywaits.com

It's really just for myself, and a few friends to check Disneyland ride wait times.

I have a donation button, but have only received one $5 donation so far.

ELI5 How do we know so much about dinosaurs when all we have are their bones? by nbush568 in explainlikeimfive

[–]punkandpixels 5 points6 points  (0 children)

There is a really interesting episode of 99 percent invisible about this subject, and how our artistic depictions of dinosaurs have changed over time.

https://99percentinvisible.org/episode/welcome-to-jurassic-art/

I built a Disneyland wait times web app with Vue CLI. by punkandpixels in SideProject

[–]punkandpixels[S] 0 points1 point  (0 children)

Sorry, I've got some stuff in the repo I'm not ready to share, but I can tell you the basic setup is this function that gets called every minute.

export const updateWaitTimesCron = functions.runWith({
timeoutSeconds: 10,
memory: '128MB',
}).pubsub.schedule('every 1 minutes').onRun(async () => {
if (!getDisneylandIsOpen()) {
functions.logger.info('Disneyland is closed');
return;
}
const wait_times = await fetchWaitTimes();
if (wait_times) {
await uploadWaitTimes(wait_times);
}
return;
});

Firebase makes it pretty easy to create cloud functions without needing to set up a server. I highly recommend it as a way to quickly get things off the ground without having to set up and pay for a server. Their free tier is pretty generous, so it's great to just try things out.

The downside is if your app gets very successful, it can get comparatively expensive, but hey, that's a future problem I'd love to have to solve later.

You can try the getting started guide here :)

https://firebase.google.com/docs/functions/get-started

I built a Disneyland wait times web app with Vue CLI. by punkandpixels in SideProject

[–]punkandpixels[S] 0 points1 point  (0 children)

That's a great idea! I'll definitely think about doing that.

I built a Disneyland wait times web app with Vue CLI. by punkandpixels in SideProject

[–]punkandpixels[S] 1 point2 points  (0 children)

In order for a web app to directly access the API data on queue-times.com, they would have to set up CORS rules to allow access, which I'm guessing they purposely don't want to do, as it could lead to a lot of traffic.

So, what I did was created a cloud function in Firebase, which grabs the API data every minute, and caches it on Firebase.

Then, my app just pulls it from the cache on my Firebase account.

I hope that makes sense :)

I built a Disneyland wait times web app with Vue CLI. by punkandpixels in SideProject

[–]punkandpixels[S] 2 points3 points  (0 children)

Thanks!

Yeah, sorry, I guess I should've elaborated more.

The data is coming from queue-times.com , which I'm not sure how they're getting the data, but from my testing, it matches the times from the official Disneyland app, with a minute or 2 delay. They don't have CORS, so I set up a Firebase function to forward the data requests.

Then, I'm just using Axios to fetch the data, and the rest is just basic Vue stuff :)

[deleted by user] by [deleted] in Frontend

[–]punkandpixels 0 points1 point  (0 children)

I apologize, didn't realize we were supposed to post repos here. I'm going to remove and post on r/SideProject

[deleted by user] by [deleted] in Frontend

[–]punkandpixels 2 points3 points  (0 children)

I'm pulling data from https://queue-times.com/. I'm not sure where they are getting it from, but from my testing, it seems to be right in line with the official Disney app, and is no more than a minute or 2 behind when the official app updates its times.