Better HN
topnewbestaskshowjobs
Log inSign up

turtlebits

3,089 karma · joined Mar 24, 2012 (14y ago) · 1,583 submissions

Submissions

comment 5y ago · link · parent

Agreed, but for most companies, you're not going to be able to run the whole stack locally.

comment 5y ago · link · parent

This use case is a development machine on a VM.

Docker driven development is generally code on your host and run the app in a container. Considering their git pull takes 20 minutes, it makes sense to go the VM route.

comment 5y ago · link · parent

XPath is like SQL, learn it once. Anything you write with Beautifulsoup will not translate to any other language or library.

comment 5y ago · link · parent

Javascript content loading is easier in most cases. Just look at your browser network inspector and grab the URL.

Usually the response is in JSON and you can ignore the original page. You might have to auth/grab session cookies first, but thats still easier than working with the HTML.

comment 5y ago · link · parent

While BeautifulSoup is great, lxml + xpath really is the way to go. XPath is a W3C standard and works cross language and even in the browser.

If you need a an quick way to scrape javascript generated content, you can just open your browser console and use `document.evaluate` with an XPath query.

comment 5y ago · link · parent

It's not necessarily that a developer won't attempt it, not all specialities of computing require it. I am in my field because it interests me, not because I can't or wont try other things.

comment 5y ago · link · parent

How are you paying $400 for 3 lines? I’m on T-Mobile’s most expensive plan (unlimited 5G) and it’s only $140 for 3 lines. The 3rd line is free.

comment 5y ago · link · parent

Honestly, I would just prefer everyone mask up and everything be locked down again. The amount of bickering is maddening.

comment 5y ago · link · parent

You can easily do this with AWS Lambda and the boto3 library. You get logging, metrics and alerting if you want too. AWS has a generous free tier.

For python devs, this is a great framework to easily create and deploy them - https://github.com/aws/chalice.

comment 5y ago · link · parent

Yes, anything with the same chemistry is also dangerous. I would hope Powerwalls would have better cell isolation as they aren't as constrained by weight and size as in a vehicle.

That said, it looks like Tesla is going with LiFePo for powerwalls which is a much safer chemistry.

comment 5y ago · link · parent

Are you sure that's correct? The BMS should have a high voltage disconnect and not allow further charging.

comment 5y ago · link · parent

Bricks are for decorative purposes nowadays (pretty siding). They aren't practical as you won't meet code for insulation. You will also need to frame another interior wall for vapor control.

A single layer brick wall isn't structural.

comment 5y ago · link · parent

Agreed. Bricks aren’t great for construction. Not structural, poor R-value, a ton of labor.

Just have concrete poured or stick frame and a fake brick facade. Will probably last longer as well.

Seems like the wrong problem to solve.

comment 5y ago · link · parent

I’m not so sure I like people “rewriting” history. Edits past a certain time also break comment chains (which is why people call out their edit). Moving posts in and out of threads would make it very hard to find things, as well break timelines for troubleshooting.

comment 5y ago · link · parent

It's easy if you have the $$$. Personally, I don't want to spend a few thousand to buy a charger and have an electrician run a 240v plug to my detached garage.

On my old house, there wasn't enough capacity to add another 240v breaker.

comment 5y ago · link · parent

Not all EVs charge at the same rate

Tesla = 250kW

Bolt/Bolt EUV = 50kw Kona EV = 75kw (almost an hour to 80%) Leaf = 100kw

comment 5y ago · link · parent

When fast charging takes over an hour (Chevy bolt fast charges at 50kw, less in actual use), you do really have to plan trips.

A majority of EV owners don't have L2 charging at home, and a short 30 mile weekend trip (60 both ways) is more than a L1 charger can replenish overnight. Way more if you use AC or drive when in cold weather.

I can easily drive more than I can daily charge with errands or driving the kids to class/camp.

comment 5y ago · link · parent

Charging speed depends on the car. My Bolt (and the current Bolt and Bolt EUV) max charges at 50kw. In actuality, it's between 15 and 34kw (depending on weather).

If I have to fast charge, it's over an hour to get to 80%.

comment 5y ago · link · parent

The change is just returning to status quo, it's not giving up some right that you already had.

Most companies are asking for partial return to office, which IMO is already a concession, and people are up in arms over it.

I'm not against remote work, I just think people are being too entitled about it.

comment 5y ago · link · parent

I appreciate your opinion, but you use words like "impose"/"force" and bring up prison.

You have the choice to choose your own employer and if you don't like the terms, the choice to leave.

A lot of people were hired on the condition of going into the office and I find it all the backlash from employees after being asked to go back into the office a bit absurd.

comment 5y ago · link · parent

What happened to the days where you earned the privilege to have/do things? That there are consequence with breaking the rules? Show them how to use it responsibly, the downsides that can come out of it.

Start with limits and let them earn the right to have more access. When you kid starts riding a bike you don't let them ride everywhere, you let them stay on the block, and if they understand safety and are being safe, you slowly expand the range they can go.

comment 5y ago · link · parent

Kids need to learn self control, reason and consequences before giving/using a cell phone. (as well as most other screen based activities).

Parents are relying too much on screens as a form of parenting/entertainment without teaching these critical skills.

comment 5y ago · link · parent

That seems absurdly low. My 250w panels get within 90% of rated output and I'm in Seattle.

comment 5y ago · link · parent

Yes, 2.4kw in a day is a lot. I was hoping to switch to it from tethered cell service for my off-grid cabin. (I need 24/7 for security cameras), but it looks like I won't be able to without a substantial solar and battery addition.

comment 5y ago · link · parent

Doubtful. Most of the US does not get 6 hours of full/peak sun (2400w/6 = 400w)

comment 5y ago · link · parent

I get around 48-56Mb down tethered to my 5G T-mobile phone. (in the north Seattle area)

comment 5y ago · link · parent

If you put in a L2 charger, you can charge fully every night (~24mi*12 hours = 288 miles of range).

Agreed on the truck. Or you can just have 1 EV and 1 truck/SUV.

comment 5y ago · link · parent

I got my Chevy Bolt for 30k. (22.5k with federal subsidy).

If you are taking an 8 hour road trip , it's not a huge stretch to put an 45 min charging session (especially if only twice a year, you're out 90 mins).

comment 5y ago · link · parent

Do you never get online receipts that you need to keep a copy of?

comment 5y ago · link · parent

For a security camera, you need an IR array for night vision. Also cell phones draw too much power. (My cellular security camera battery lasts 3+ months).

Also I once tried to use my Pixel 1 as a off-grid hotspot. After ~4 days I would have to reboot it to restore connectivity (even though the hotspot was still enabled)

1
363738
53