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

> will rely heavily on public chargers

Public chargers =/= DC fast chargers (like Tesla superchargers).

I've already seen level 2 chargers that drop down from light posts in my city. Roll those out to every light post near apartment buildings and throw in some curb-side stalls if you need more capacity. Most people won't need to charge every night with 200/300mi+ range, so you won't need a 1:1 mapping of chargers to cars. This way, people charge passively overnight at stations that are cheaper to build than DC fast chargers.


> Roll those out to every light post near apartment buildings and throw in some curb-side stalls if you need more capacity

Don't forget your local electrical grid will likely need a significant upgrade too. An LED streetlamp probably draws a couple of hundred watts, tops.


Apparently LED can use less than 100W, and before LEDs streetlights would use 250-400W . The really bright sodium ones were 1000W, but those probably weren't over your neighborhood sidewalk.

https://pacificlamp.com/street-light.asp


Local electrical grids are already being upgraded due to the increasing need for AC thanks to climate change.


As a former HBO dev, can confirm that the majority of test cases or random debugging messages are Game of Thrones quotes.


I guess HBO devs are too young to be able to quote The Wire.


404: Code Not Found. Man’s Gotta Have A Code.


400: WTF Did I do?


    401: I robs drug dealers


502: you want things to be one way, but they’re the other way


502: What the fuck did I do?


500: Fuck fuck fuck fuck … fuck


To this day, that is in my top 5 favorite scenes, ever. So much said with a single word.


Totally agree. I loved how it just showed the difference between a cop going through the motions, and these 2 guys show up months later and solve the thing in the span of 5 mins. "Real police"

Show me a GoT scene anywhere this level


The Sopranos too.


Not directly related, but it still enrages me to this day that HBO allowed the two idiots who shall not be named to butcher Game of Thrones. It went from one of the biggest things in popular culture to basically nothing over the span of a few weeks.


They created the show in the first place, so it's hard to blame HBO for keeping them.


> They created the show in the first place

Well, "created" may be too big a word here... Transferred it from book to screen, rather.

As evidenced by the fact that when they ran out of stuff to transfer and started actually creating for themselves, quality took a nosedive.


Actually it's not, anyone with half a brain and access to the script should have know it won't work.


Ginger Minge


For me personally, just scrobbling.

At this point, that's the only thing stopping me from using it. Looks great, but I'm a stat freak and I need my scrobbling.


Plug -- I maintain a Chrome extension that does exactly that: https://chrome.google.com/webstore/detail/google-play-lastfm...



As someone who is (Probably a bit more than) a junior dev with no formal education or experience in a team, do you have any suggestions to write better code?

I feel like my code would be considered bad, but I have no idea what good or bad code looks like. Does anyone have some examples and comparisons between good and bad code?


Really depends on the language and paradigm you're using, but the general aim for writing good code is to aim for loose coupling, high cohesion, don't repeat yourself, the single responsibility principle, and the Open/Closed principle (and several other philosophies) in order to maximize code re-usability and reduce maintenance effort.

You should aim to use whatever features your language provides to attempt to enforce the above, by information hiding, encapsulation, avoiding global mutable state as much as possible, and using design patterns to achieve a good balance.

You could give two similarly experienced programmers a fairly trivial problem and they might come up with wildly different solutions, because the best solution is a myth, but we know the wrong solution if we see it (that comes from the experience of making the same mistakes.)

If you give details on the language(s) you're using I may be able to point you to some literature on good design.


Sorry for the late reply.

Recently, mostly Python and Javascript


>Technically adept attacker

It was a 15 year old kid http://krebsonsecurity.com/2014/02/the-new-normal-200-400-gb...


That the attacker was 15 doesn't preclude them from being technically adept.


I have a friend who claims his aunt (Who works of MS) said that it would cost $1k (This was literally the day of the announcement, too). He has been rather reliable in the past, but it should still be taken with a grain of salt, since I was given no context.


Airs shouldn't be that bad. IIRC, Linus runs one.


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

Search: