skysight-inc/HackerNews huggingface dataset:
Don't forget the state and muni laws.

I was going to build a ebike with my teenage son last summer, however it would be illegal for him to ride it in our state regardless of power output until he gets his drivers license. Also during the electric skateboard/scooter fad about a decade ago my home town banned them from city sidewalks, city property (aka parks and trails) and city roads, and the anti-e-skateboard code would cover e-bikes. So I'd only be able to ride it out of town, and my son could only ride it out of state.

The BBSHD is available from many places and seems to be a good kit with a good rep. Kits are modular and most battery packs are quick swap so if you're willing to fill backpacks and bike baskets with spare batteries you could go thousands of miles between charges if you're willing to pay for that kind of ridiculous privilege. Before I found out state law prohibits it, I was hoping to cruise some of our rural completely empty state bicycle trails purely for fun, requiring more range, so I'd likely need a slightly larger battery, but its all modular and very easy to install as large of a battery as you're willing to pay for. Being modular it doesn't matter that OP didn't like his electronic controller, luckily there are plenty to substitute, including all manner of software patches, and OP did not list the exact controller and firmware OP has and is dissatisfied with, unfortunately. The ebike battle seems to start with discovering what is even possible, first, and of course that changes from month to month...

I find it interesting that OP wanted higher efficiency tires, whereas I was interested in the idea of lower efficiency larger tires to make potholes more survivable. I don't really care if my drive to the food store takes 16 minutes of battery charging or 17 minutes of battery charging, but I would like to avoid flat tires and wiping out on the way.

Of course law enforcement is spotty, much like every other law, especially driving. I didn't see any point in putting my son (or myself) in some cops crosshairs so I gave up on that project. Oh well.
More Elixir. I would love to be writing Elixir full time by end of 2018.

Xamarin Forms, seems about time to start working on mobile. I have an idea and started the elixir server part of it but will start on the Xamarin Forms part soon.

React or Angular. I started learning Angular 1.x right before 2 came out but never actually kept up with it or moved to 2.

Embedded development. I have an R Pi that I want to use Nerves with but I would also like to get non embedded linux hardware too
Daily, year-round bike commuter in Seattle - I think electronic bikes are awesome for the hills in Seattle for folks new to biking. I'm concerned with the possibility of this increasing accidents, however.

My commute is mostly on roads with cars. I don't ride as fast as I can. Driving defensively, you want to be able to break and avoid a collision.

I witnessed a really bad accident, where a car t-boned a cyclist. This has cured me of riding as fast as I can into work.

I see a lot of normal bikers as well as e-bikers going faster than is safe and I think e-bikes contribute to riders putting themselves into jeopardy.
Analysis of tweets to map out the South African Hip-Hop landscape
I sencond Working With Legacy Code. A lot of advice comes down to writing tests so you don’t break existing functionality. You should write a lot of tests, particularly high level stuff that tests the entire system because with tightly coupled systems you’ll modify part A but part Q will break. Integration level tests help find this stuff out.

You have two problems on your hand. One is understanding what the code is doing from a technical perspective but another is understanding the business rules.

If you haven’t already, get a high level view of the system. Maybe it can be divided into 4 chunks, and chunk 1 can be broken down into 8 components, etc. Then start documenting the different components in the codebase. Try to understand what the different components do — how are they called, what’s the input, output, do they mutate objects, etc.

Once you have a road map you search for “seams” where you can break things apart. Maybe component A, B and C are tightly coupled, but you can split A into two parts — A1 and A2 — and write something that encapsulates all of them (A1, A2, B, C) pinto a cleaner interface. Try to write wrappers that use existing code, then you can have higher confidence that behavior isn’t changing. If you rewrite low level components there’s no telling what the side effects may be.

Lastly, learn the language well. I work on a similar code base but it’s in Python. Knowing “advanced” features of the language has helped. Often a lot of boiler plate code can be eliminated by an advanced language feature. By knowing the “seams” of the system and the language you can bend the system to your will.
No, turnabout is NOT fair play. It's still racism. In fact, it is justifiably WORSE racism, because it is done with malice in order to get payback. According to that logic the cycle of racism will never end. If a victim of a crime turns around and perpetuates said crime because "do unto others", is it any less a crime? Who would expect to be seen as a victim while they run around doing exactly what they are crying about having been done to them? Being racist because others were racist against you justifies nothing, it merely continues the cycle of hatred.

I apologize if my tone is off here, I just see this sentiment a lot and it makes me incredibly sad, as it feels as though we should be progressing, and instead are regressing. It's almost as if the internet, rather than bringing us all closer, has instead pulled us further apart.

As an aside, EVERY politician sees EVERY race as nothing more than a resource.
I figure it this way, I would want it for boosting on take off and going up hills. the limit on speed is not an issue to me as if I am maintaining a pace higher than that it is because I am on favorable terrain.
In an e-bike assisted context, the extra 10-15 lb, most of which is non-rotational weight is negligible.

A 20-25 lb steel bike with sufficient robustness does not really exist for $1500. Something like a surly ogre is about 30lbs. To shave off that extra 5-10 lbs you're looking at some very performance oriented parts and/or construction with extremely elevated prices.
Erm, no thanks. We're not retards.
No worries! Just wanted to make it clear :)
Everyone knows that in "IoT" letter "S" means "security" :) We do have an ability to burn updated firmware for most of the devices on premises using special hardware pieces, similar to ones used by factory staff. For less complicated devices we can just replace microcontroller modules, and reuse old ones later. That would be quite expensive, but we'll live. I heard there's some sort of insurance contract for that matter.
> every criticism I've ever seen of people's attempts at perpetual motion always seem to involve the fact that some part will wear out eventually.

Every informed criticism of perpetual motion machines starts and ends with the second law of thermodynamics.

Any experts will usually leave it at that, because people who want to believe in a perpetual motion machine, are going to believe in a perpetual motion machine and any deriving discussion is usually not that interesting.
Most of the comments have to do with the police interaction. My question is, what can be done to discourage swatting?

My reflex reaction is to give everyone involved long prison sentences, and some aggressive prosecution of other incidents, so that people tempted to engage in swatting are discouraged by some realistic chance of doing real prison time for doing something so reckless and stupid.

The guy who made the call was fairly unconcerned about the prospect of real punishment when he was interviewed a few hours before he was arrested.[1] His voice tone during the call was also fairly flat.[2]

[1] https://www.youtube.com/watch?v=cCHOI39nJPM
[2] https://scallywagandvagabond.com/2017/12/tyler-raj-barriss-s...
but I wonder how one can live with oneself exploiting this gullibility.

I think it takes a sociopath to pull off this scam as a profession.
Everyone involved in machine learning, i am going to tell the world everything
It's true they Leninism hadn't always been dominant, but it did spend a lot of the twentieth century with a dominant position in left wing thought even in the West, which is somewhat ironic since it is largely an adaptation of Marxism to work outside of the developed capitalist world, which arguably, aside from whether it worked to achieve it's theoretical goals, never had relevance to the West.

It is the escape from that dominance that is the Renaissance, and, yes, as a rebirth, it is naturally prefigured by conditions that existed prior to what it is an escape from.
1) Shoe Dog - Phil Knight

2) The Subtle Art of Not Giving a F*ck - Mark Manson

3) Start with Why - Simon Sinek
The "paperclip" in Stross' talk is not the item being produced, but earnings. If a corporations could massively increase its quarterly earnings by starting a nuclear war, it may well decide to do so.

It is not that the item or service is useful or not in the short term, but that it will pursue a set goal with a single minded conviction.

Another analogy may well be the Sorcerer's Apprentice.
That seems unlikely. The police have strong political support; they would have to accept it.
That's the thing about postmodernism though, you get to use whatever words you want because you have new definitions. Should anybody disagree with you, they're your enemy... shout them down!
I don't think you have tried out an eBike before, 1000W is just about enough to make most inclines easy. If I drop my BLDC controller down to 250W it makes things rather difficult. Remember you are carrying around the extra weight of a battery pack and motor.
Since you are working with dynamic language, step 2 should include adding type annotations or whatever they are called in php. Specifying stricter types makes refactoring much easier.
Breaking free of “total work”
That person is safe from physical retribution, that's why. Fear of injury or death is the number one instinct involved as an inhibitor to deception and theft of someone else's resources. Fear of being personally branded untrustworthy is another inhibitor, that's been set aside in these kinds of fraud.

The law provides some safety for thieves, but technology provides the thief with additional safety from both the victim and authorities. The thief's family may have no idea he earns a living stealing; they may be poor and therefore stealing is morally justified. The balance of force, information, has been altered to thieves' advantage.

As far as what motivates them: top on the list is poverty, or more specifically wealth inequality; feeding a family is a top priority, poor alternative choices, and stealing with a technology providing anonymity seems easy, and safe, and they don't witness the fallout from their actions. None of the normal social inhibitors apply to these events.

And as for the gullible, well a lot has been written in HN about how technology fails the average non-tech person miserably and continuously and it needs to get better. But that's still just a side effect of wealth inequality and preserving that classism.
Ereditato was worried about giving an interview, but I'd say the author (Ransom Stephens) did a good job of conveying the truth of the story. I feel nothing but sympathy for Ereditato. Imagine the pressure he faced, being in charge of this experiment with results consistently showing faster-than-light neutrinos, having to be the spokesman for such an enormous and expensive project with such crazy results. The potential for embarrassment due to the no confidence vote might have been exploited by a less decent writer, but Eriditato seemed less concerned with his own reputation than the proper telling of how science works. Many scientists hoped that something weird had actually been discovered, some new physics, so it was a big letdown for them when it was all traced to the timing mechanism, and those egos are probably still smarting from hoping for the still-impossible. There must be a lot of people who have an axe to grind, even now. It's good to be able to see into the human side of science, to see how things can go wrong and how it can affect people, especially those who are in charge of organizations. It must be great to be in charge when everything goes smoothly, but otherwise, uh oh.
Under good circumstances, yes. When you are cycling recreationally, you get to pick a nice day. But if you are cycling to work every day and deal with strong wind, elevation differences, maintaining 20-25 km/h is going to be tough.

Sustaining 20-25 is easy for me on a calm day. But on steep roads or windy days it's definitely more in the 10-15 or 15-20 ballpark.

(This is from experience. I am fit, cycle 22km every working day (roughly 5200km per year) with elevation differences and have an excellent bike.
The author mentions that ebikes in China run around $500. Has anyone here tried importing one of those models?
So these things you mention are the reason why it hasn't happened already. There's quite wide agreement that the changeover to electric is going to happen, which implicitly means these things will be addressed. The question is whether it will take 5 years, 10 years or 20 years.

1. Range: There are cars on the market now for $35k that have 200+ mile range. Range will continue to go up and price will continue to come down for the next few decades. Whether 200 miles is enough depends on your point no. 2 so...

2. Generally, you plug your car in at night and start each day with 100% range. For most European lifestyles 200 miles in a day will deal with 95% of days. Granted, the US is more spread out so people drive further.
But the crucial point is that 'going to the gas station' doesn't really have an equivalent with electric. On a long journey you recharge at highway stops, but the rest of the time you just charge at night. Highway chargers are fast and charge times are generally 20 to 40min to get to 80% range. I generally find that by the time I've got the kids out the car, had a wee, had a snack, the car is ready to go.

3. Yes ideally you need a charging station at home. In my country you get a 500 GBP grant from the government which covers the cost of installation in most cases. chargers are fairly simple to install. Granted, houses with no off-street parking are tricky.

4. Generally there are a lot fewer moving parts and less to go wrong but yes we will need mechanics. As more electric cars are sold, I expect more electric mechanics will appear.

5. True, resell for say Nissan Leaf is not that good, due to rate of improvement of new models over the old ones. Teslas hold their value quite well I hear, it remains to be seen how the Tesla model 3 will go. A lot of people buy their cars on 3 year PCP contracts in which the manufacturer offers to re-buy the car at 50% price after 3 years, I guess a lot of people might do that?

6. Yeah a bit, e.g. my 2016 Leaf isn't as good as the 2017 or 2018 one. But now that we've cracked 200 mile range (Bolt and Tesla Model 3) I think we're in the 'good enough' space.
Chargers are fairly settled, there are 2 or 3 standards that are widely supported and are not expected to change that much over the next few years. Adapters are generaly available to make most cars fit most chargers. Speeds and power of chargers will increase but the existing standards allow for that.
Perhaps this was meant to be rhetorical but I'll spell it out. The site is a poster child for the alt right. It's quite literally a case of Jews funding blacks to churn out anti-white propaganda.
Spotify Music Premium v8.4.33.536 Mega Mod APK [Download] HERE
1) Read 25 books

2) Go to the Gym 50 times

3) Visit 2 new countries

4) Create Colorado 14ers app for Android and iOS

5) Meditate 100 times
+1

It’s on my list of books that every developer should read.
Are you me?

This is the exact position I was in 6 months ago and it wasn't just legacy code (legacy code isn't inherently bad) it was/is bad legacy code.

https://leanpub.com/mlaphp is very very good, it's a roadmap/process to get a legacy PHP project to a reasonable state efficiently.
A parking space where I live (London) would cost 1100/month. I find it very hard to imagine getting that much value out of a car - what would I ever use it for? I mean sure it would make it easier to make a spontaneous trip hundreds of miles while carrying lots of luggage for some reason, but how often do I want to do that?
Take it a step further and design your own stuff - find a hardware store that will cut everything to your specs and you can assemble it at home. It's very satisfying, higher quality and may even be cheaper if you already own some power tools. I remember Stock Vermeersch and Bauhaus fondly :D
Also year-round commuter in Norway w/ an e-bike. I agree that the increased speed increases the probability of an accident. I've personally had several close calls vs cars in roundabouts and on bike lanes (!).

I also have a motorcycle license and I've been riding motorcycles for about 5 years in traffic. A lot of the risks are very similar to the ones you experience on an e-bike in my opinion.

Edit: The best tip I can give to two-wheel riders is to increase visibility as much as possible, and be observant of cars. Lights and bright colored clothing helps a lot.
Hmmm, after reading this I thought maybe I should just buy a new macbook charger instead of creating a hand-cranked braiding machine from 3d-printed parts to replace the worn-down cable insulation on the current one.
Yes, these scams existed already in the 1980s. Letters and faxes were sent from Africa mainly to businessmen and politicians. I guess they must have used national "Who's Who" type registries [1] to collect the targeted people.

The most prominent scam case I know is Olavi Mattila [2], a Finnish politician. He was Minister for Foreign Affairs as well as the chairman of one of the largest industrial companies in Finland. In the '90s, Mattila received Nigerian scam letters that convinced him to invest his fortune in the "investment opportunity".

Although initially he was the one scammed, he got so deep into trying to make it work that he spent other people's money too. Eventually he was convincted of fraud in 2004. (After the conviction, he apparently became a Jehovah's Witness. Interesting how that goes.)

[1] https://en.wikipedia.org/wiki/Who%27s_Who
[2] https://en.wikipedia.org/wiki/Olavi_J._Mattila
1) Request

2) Ripple

3) Stellar

4) Cardano
>>> If the ride is so great and economics so favorable, why haven’t I seen more adoption here in US and Canada?

The author's answers to this question focus solely on the bike technology itself. This is a common thread in a lot of discussions about cycling: If we only built the right bike, more people would ride. This is usually followed by a CAD rendering of the perfect bike, that looks like nobody would want to ride it.

I don't think it's the bike. I think that there are a lot of cyclists who are simply not candidates for e-bikes because riding under their own power is part of the attraction. I'm one of those people. A friend of mine who loves his e-bike finally gave up trying to understand why I don't want one.

So you have to reach the same people who were deterred from cycling in the past for reasons good and bad. The motor addresses the issue of effort, but not safety, weather, or a variety of other factors, including the fact that driving a car is fun for a lot of people. The e-bike could produce a marginal uptick in cycling, in the short term, but not a revolution.
I've taken 20mg Adderall XR or 50mg Vyvanse for over a decade and have no issues quitting it which I regularly have to do when I run out while living abroad. Agreed - much easier to skip than caffeine.

That said, when I meet other people taking these meds, their doctor frequently has started them out on heroic doses. Like 80mg XR + 2x IR tablets a day to bump. Absolutely insane. And I reckon those people have a harder time quitting, especially psychological. The difference between an unmedicated and medicated day is just so extreme.

I've certainly met many people in uni who just can't control themselves with stimulants and quickly find themselves spiraling down the toilet bowl, and those are people I always worry about. Like the person who can't just take one, instead eating them over a 3-day spurt of zero sleep.
Binge Drinking Is Increasing For Americans Born Before 1988
If I am doing that I probably want extra cargo capacity and will want to rent a van
I swear the best commuter ebike is the Revelo Flex (https://www.revelo.ca/pages/flex-electric-folding-bike). It's like someone shrank a penny farthing and put a motor in the back wheel: the front wheel is 20" and has pedals attached to it (so you can help the motor when uphill), the back is 16" and has the motor inside (torque!). You can order it with bike ABS as well (https://www.bikerumor.com/2012/11/27/hands-on-sabs-antilock-...). Since it's folding and rolling folded you can easily carry it on public transit. It's only 15kg which is just about the lightest possible (those batteries are heavy). There's no chain to maintain, no grease, nothing. Just hop on, zip along and stop when the situation warrants -- the stopping distance of the SABS pads is nothing short of incredible (I have been rearended by another cyclist once when I fully engaged them to avoid a collision with a car -- normally when riding in a bike lane I don't grip them like my life depends on them because I know how they behave).
> Edit: Why the downvote?

Maybe it's because you've said you don't understand e-bikes for the ridiculous reason that they don't fit your very specific living situation like what kind of housing you have, which floor you live on and how many bags you're prepared to carry.

Other people have different living situations, and e-bikes suit them. It's not a mystery.
It's a lot older than that; like 16th century. It's actually amazing how close the modern variants are to the original Spanish Prisoner scam.
How am I agreeing with you? I'm asking you where you've seen that kind of critique. It's not one that would be used in a middle school physics class or article aimed at the general public.
In-Gmail Text Templates and Search & Replace Text Functionality
Most people have Amazon Prime which means that packages usually ship via the free two-business-day service using UPS or FedEx. Raising the USPS rate would have limited and probably negative impact.
That's what so great about IKEA furniture. Good enough for a cheap price.

Means people on modest incomes can get decent enough furniture.
It's difficult to make a blanket statement, but the idea behind alot of these is to take something that required energy to produce, break it down somehow, and claim that the released energy is "free" and that makes it perpetual motion.

If your machine has positive power output you have a perpetual motion machine. If you have a machine the has positive power output but also consumes a gear (and the power required to repair the gear is higher that the power output before it broke) then you have a gear-destroying machine.
This is why statistics is so damn hard!

http://slatestarcodex.com/2016/08/31/terrorists-vs-chairs-an...