skysight-inc/HackerNews huggingface dataset:
You seem to be attacking a straw man argument along the lines of "Drivers should hit pedestrians whenever possible." The actual question here is whether pedestrians should be limited in their use of roads (e.g. having to use crosswalks), which is not answered by points like "Why is a pedestrian's safety less important than a bit of energy?" and "If I were to run on foot through the streets, tackling anyone who got in my way…".

Obviously cars should not hit pedestrians, but IMO it doesn't make sense to have the slow group getting in the fast group's way all the time. The time and energy needed for me to go 15 miles without a car is much, much greater than the time and energy it takes for me to wait at crosswalks when I'm walking places. You could weigh pedestrians' time and energy twice as heavily as drivers' and you still end up with it being better to have many (not all, but many) roads be primarily car-places.
in a pure C, without operator overloading and threads:

int aa = 0;
#define a (++aa)
if(a == 1 && a == 2 && a == 3) {
printf("pff");
}
In 90 days it'll be Warningpoint4.
I get that in general. It depends if the code is meant to inspect the character x on this machine right now, or really the ASCII character x.

As an aside, if someone changes the constant value of ‘A’ now, the world will be broken for a while. (But my code would recompile correctly unchanged with the new standard header.)
What? Talk about "bubble mentality," this is the very definition of "white people problems."

Kids take the bus all the time with their parents. My brother, sister,and I took the bus all the time with my mom or grandma or occasionally both when we were very young. Sometimes when we'd add in a few cousins too, then we'd be rolling 8+ deep.

My parents car was always breaking down and my grandma never learned to drive so it was just totally normal to hear "we're taking the bus today."

When we were a little older (ages 3 4 and 6ish) we would take the bus with the teenage babysitter and her friend to go do something (usually it was ice skating).

It's just such a non-issue.

I really can't understand what sort of "problem" you'd have that you wouldn't have, say, walking on the sidewalk, or going to a store, or just leaving the house at all.
Routing is a Layer 3 issue. Loops are a Layer 2 issue.

Multiple paths on a Layer 3 network provide redundancy when used with a routing protocol such as BGP.

Multiple paths on a Layer 2 network provide redundancy when used with a protocol such as LACP. Without proper design, 2 network segments connected with multiple links will trigger Spanning Tree and shut down one of the links. And depending on the configuration, it may or may not unshut if the active link pair goes down.
No legacy ever really goes away. However it slips into irrelevance unless it's built on sound foundations that can be evolved. Sad to say, no PoW currency has a sound foundation that can be expanded and evolved... like tcp/ip has been able to evolve over the last 40-50 years.
Show HN: How React Native App Build Process Looks Like?
If we don't replace BGP, people with BGP access are going to keep "accidentally" redirecting compute resources from AWS and other data centers to themselves so they can man in the middle crypto mining, and steal millions.
You'd probably like this essay if you haven't seen it before: https://medium.com/@maradydd/when-nerds-collide-31895b01e68c
Uh... how? That seems improbably cheap.
Sustainability is having a business that doesn't depend on a rapid rollout of a technology that doesn't work in weather that most people won't trust for years and that isn't even legal yet.
> these computers are likely different from the system that sent the false missile alert

I can't speak to the particular console it was sent from, but I would place a modest wager that it's in that same room.
Pretty much this. I think that what you get into and decide to master is more a foundation of what you grew up listening to than what you're brain is innately wired to do (if that even has meaning).

I think that jazz is one of those genres that, to be legit, you had to have grown up in the culture where those dominate. While people who didn't grow up around jazz can mimic it, it's not quite the same. For this reason, I think jazz has a bit of mystique around it that other genres of music do not.

This isn't only for jazz, but several other genres of music as well.
Sure, that exact code is unlikely to be an honest mistake, but couldn't it be a distilled example of much more complicated code where that mistake -- unexpected or undocumented sideeffectiness -- was made honestly?
If I were hiring, I'd be looking for a candidate who makes considered, well-researched-and-thought-out judgements, not one who runs for the hills based on speculating that a few characters of a conditional might be representative of a company as a whole.
I looked at it before I made the post. They went from $60 a share to ~$27 a share in the aftereffects of the spill. It was an example of how these companies with great assets could still lose you money due to unexpected circumstances. I'm not asserting it went to zero. They've actually recovered quite a bit, probably due to the goldfish-like memories of the general public and the moral apathy of most investors.

That's kind of my point, really. If crypto goes low enough, especially if the price is down for no good reason (i.e. it's based on a single country in the entire world cracking down on it, not because the tech stopped being useful or interesting), there will be investors who will think it's underpriced and will jump back in, which will bump the price and draw more people back in, etc etc etc. Bitcoin went through exactly this in 2013-2015. It kept dropping and dropping and dropping, all the news was terrible for it, but it never dropped to zero because there was enough people who thought it was underpriced and bought and held, waiting to see if it would go back up. And boy, if they held through last year, those people won big time.
Yes. Apple keeps a tight grip on its supply chain, so spare parts are hard to find.

But I think I sold the wifi card to someone building a hackintosh.
The problem is that production code never looks like the toy problem you can reduce it to. Someone could write the exact same thing but make it look reasonable, or even "a sweet hack", using an object property getter instead of a function to move something along in a finite state machine:

if (state.step == DFA.INITIALIZED && state.step == DFA.RUNNING) {
...
}
I would bet that the Echo and devices like it are amongst the most monitored consumer devices in existence. Plenty of people either already have enough network monitoring to catch it misbehaving, or will install that monitoring just for the sake of catching it. In a weird sense it's like open source software in that regard. I haven't read all the code myself, I really on group knowledge to reassure me. Same for Echo. As a practical matter the Echo and other similar devices are difficult to turn into full-time listen-and-record devices unnoticed.
Yes. If the car hits you because you stepped out in front of it and the car did not have time to stop while going the speed limit with a driver paying attention to the road, the pedestrian is at fault and can be ticketed. If you don't survive the encounter, at the very least the driver doesn't receive a ticket.
If we do see something coming out of this, I think it will be based on the interests of programmers who are just learning to code, who are excited about blockchain and see new uses for it. For some young kids out there, discovering cryptocurrency is probably like discovering Gopher or MP3 piracy for the first time.

I guess we'll see in a few years when younger people have moved into the programming space as professionals.
Senators Cotton and Perdue caught lying about Trump's “shithole countries” remark
I find it interesting that the reply button in the stream/index is so prominent. I'd view that as too dominant a design decision, but then perhaps fostering discussion/involvement at the cost of style or following an off-site link is worth the trade off.
If anyone is interested in exploring this style of music in more depth, I recommend looking into "Third Stream" music. It's meant to be a sort of fluid combination of both jazz and classical styles, and is often pretty interesting. There's a whole lot of things that third stream music /isn't/ (and famously, a list that attempts to define the genre in terms of what it's /not/ supposed to be), and as such, many people who try to write third streammusic end up creating music that's a lot less subtle.

It's not really my cup of tea (more of a jazz guy), probably because there isn't a huge repertoire of third stream music out there, but it's definitely worth checking out if you think you might be interested.
The worst distractions are the ones we love
Coin shilling has officially entered HN.
Banks Are Big Winners from Tax Cut
And yet people have to do this everyday out of necessity. The alternative to not driving is not no car, public transport, ride sharing, and car hire all fill a need.

BTW, met a few people with marginal income. They totally wrecked their credit by buying a car. They did not foresee the TCO on a car. After loan payments, insurance, gas, and maintenance they were barely keeping afloat. Payday loans finally sank them and the cars ended up being repossessed anyway. They are still stuck paying the loan since the bank fees and depreciation weren't removed.
Show HN: I've created a Slack channel for discussion of cryptocurrencies
Not sure I need to spend $15/mo to know that. :)
I absolutely understand that some people shouldn't/can't get a license. That will probably restrict what sort of activities they can do, etc. I don't really understand doing that by choice though.

(And I'd hope employers would be understanding and supportive of an employee in that position. They're less likely to be as supportive of an employee who just doesn't want to do something even if it affects their ability to do their job.)
10,000 miles - it was also $4000 down, but you get $2500 back from the California EV incentive program so it comes to $1500 down and $90/month for a three year lease.

You can get lucky and find deals where the money down is even lower. I missed one where it was $1500 down so CA was basically paying you $1000 to take the car (or if you factor in the monthly fee cost around $60 a month).

Part of the reason for this is that it's a compliance car. I think the way it works is CA requires the MPG of your fleet to meet some very high standard. In order to meet this manufacturers that want to sell in the state make an EV with a very high MPGe that helps the average. Then they have to sell a certain number of them (it can't exist in name only). You can end up getting lucky.

[Edit] Looks like my understanding of the compliance car bit was wrong, seems to be just a hard requirement to sell some amount of zero emissions vehicles: https://www.thoughtco.com/what-is-a-compliance-car-85648
Jazz piano:

https://www.youtube.com/watch?v=Y8HzMEwobvM

Classical piano:

https://www.youtube.com/watch?v=-rywN8MoiEk
Living in cities changes the equation.

My insurance (younger driver, no history) was about $250/mo ($3k/year), car payments (again, young with no capital & no credit history) were $300/mo ($3600/year) for a modest Hyundai.

Average cost for private NYC parking is $430/mo(!) or probably about half that in rent premium if you rent a (very rare) building with parking, but realistically you're parking on the street - a solid 30-45 minutes of looking for a space every time you drive and remembering to move the car when the alternate side parking rules are in effect. If you drive to work, you'll either need to work somewhere with parking, or pay for a space at the destination too - doubling parking costs.

So that's up to $13k/yr to have a car in NYC, or $35/day. I could ride Uber/Lyft to work and back every day for the equivalent cost.

However, most of the time I take the subway which is $116/mo (can pay out of my pre-tax payroll too so real cost is about $80) - my car would be dormant for all but a couple of trips a week & it'd just be a pain to have to move it around for parking. I have a car2go membership that I use once or twice a month (costs about $50, or $0 if I don't use it) and I use Lyft maybe a half-dozen times a week. Once or twice a year I rent a car for further drives ($150 to rent an SUV to move some furniture, or $400 to rent a Tesla from Turo for a weekend trip upstate)

Far cheaper and more convenient to use ride sharing and public transport than to own a car here in NY. I have zero desire to go back to car ownership.
You seem to be thinking of it as a yes/no/definite answer question. Interview questions should elicit discussion and deconstruction of the subject. Through this you can get an impression of how a candidate approaches the question.

Your breakdown being a good example of such discussion.
did you build your own robot or used some existing ones?
The energy consumption of the bitcoin network is not inherent to proof of work as a consensus mechanism. Bitcoin uses a difficulty setting to keep the rate of block creation relatively constant even as the hashing power dedicated to it increases. The reason so much energy is being used boils down to speculation in the price of bitcoin. At $10,000 per coin and with a block reward of 12.5 coins, successfully mining a block yields $125,000. That means that for each individual miner it would be profitable to spend up to that much per block they win. $125k can buy a LOT of electricity. But on the other hand, if the price of bitcoin were closer to $1 again and nobody expected it to appreciate very much then the level of investment, and thereby power usage, would go way down.
Heh nice, that's clever.
The problem is that the number of such places is small and generally not growing particularly fast because transit isn't being expanded all that much (and often expansion comes in the form of rail lines to suburban park and rides), while zoning often prevents infill growth in existing neighborhoods. As a result, there is a scarcity of such places in many metro areas and they are becoming increasingly expensive as a result. California's proposed SB827 is an attempt to change this, and hopefully some progress will be made in this direction soon.
It's part of the reason I haven't bought a car. I'm in my mid 20s and didn't get my license in high school because insurance would have been too expensive (my parents wanted me to pay for it).

I think driving is a good life skill so I got my license in my early 20s, but I still have zero desire to own a car.

That said, I live in Seattle, where there is good public transportation.

Here are my numbers:

Parking (I work downtown): $250/month * 12 months = $3000

Parking spot at my apartment complex, 5 miles from city center: $130/month * 12 months = $1560

Gas: $100/month * 12 months = $1200

Car registration fees in Seattle: ~$400/year

Insurance for a 25 year old in Seattle: ~$1500 (It might actually be higher?)

Maintenance: we'll say $1000

So the total cost for me would be ~$8660+ per year. And that's excluding the cost of the car!

With a 5 mile commute, public transit 3 days a week plus Uber/Lyft 4 days a week is cheaper, hands down. Uber/Lyft 7 days a week cuts it closer but is still cheaper.

So yeah, it depends on where you live.
Pretty much everything successful now was ridiculed or dismissed in the past, but that doesn't mean everything that was ridiculed or dismissed became successful.

And even those things that became successful did so in a form that the contemporaneous positive predictions did not expect. The 1990's predictions of the Internet was of decentralised power and freedom of information, what actually happened? There was a land-grab, and a new generation of billion-dollar corporations have become established. Where once there was Blockbuster, now there is Netflix...

My prediction is the same will happen with cryptocurrency and blockchain applications. The technology will live-on, mostly in non-currency applications (e.g. behind the scenes settlement rather than day-to-day transactions); most of the "land grab" phase will die off though. Then, one day, ten or twenty years from now, we'll realise that "fiat" currencies have been blockchain based since some un-trumpeted central bank upgrade eighteen-months prior. But no-one will have noticed, as they still spend "dollars" on a credit card... same as they always did.
I got a pocket... the keyboard lets it down a bit, I hanker after the Psion 5 keyboard.

Unfortunately the team trying to bring back something like the Psion are the same people who are not bringing the Spectrum Vega to its backers, but instead seem to be spending the backers money on frivolous lawsuits.
Dropbox International Unlimited Company appears to be based in Ireland, and thus subject to EU law.
The hollowing out of the US middle class.
Well, we still don't have the computational power to do things atom-by-atom, even in small things like modeling cells, let alone something like simulating wind shear on a plane or predicting weather patterns.

It's not just computational power but memory. There's something like 1E14 atoms in a cell. Storing the x,y,z position with 4 bytes for each dimension (though you'll probably want 8 bytes) comes out to 1.2E15 bytes = 1.2 petabytes of information. Add in more fields for velocity and other pieces of state and you're talking about something that would only fit in working memory in some of our largest machines.
... like when drive home after skiing or downhill mountain biking, you often realized that you're mentally conditioned to go fast and take corner quickly ...
This has always been an unsettling affect, and I have no doubt that video games could have the same influence on the mind.
Massive Identify Theft Broker Arrested in Toronto
I wonder how much of this is due to advances in artificial intelligence and how much is due to a decline in the reading comprehension of the average human. I'd wager that its a hefty dose of both.
Could you maybe use some considered, well-researched-and-thought-out judgements regarding the kinds of questions you ask so that candidates can get a better feel for the demands and level of quality you put into your code instead of intentionally asking lower-quality questions which give you arguably little insight into how candidates actually code?
Two points:

1. Just because something is true in the past does not make everything else true in the future.

2. Just because something works does not mean it should be overvalued.
It's tricky, but this is generally interpreted to mean that while a business can choose not to accept cash/USD up-front for payment, they must accept USD to extinguish any debts (i.e., payment after the fact). This is because a non-standard form of payment must be agreed upon prior to the sale/service at issue.
I find that HN overall is a little too ludditic for a discussion of merits of crypto as opposed to "it's all gonna go to zero".
You have a really good point. My issue is that the speculation is tied so closely with cryptocurrency.

The future will definitely have cryptocurrency used in ways we can’t even imagine. Digital cash will be huge. That I believe. That any of the current currencies warrant any value at all much less the speculation, I’m iffy on.

Both statements “the future is crypto” and “current crypto is a bubble and all are worthless” can both be true.

The main use case of crypto currency, digital cash for digital transaction, does not require a bitcoin worth $1M. Successful cash doesn’t mean massive increases in crypto portfolios.

So the article doesn’t seem in conflict with my HN reading, 80s/90s surviving self any more than me thinking AOL and Broadcast.com sucked back then even though I bet my whole career on the Internet.
Well, PHP has finally come full circle in the lifecycle. It's fully following in the footsteps of Perl. There was a big push and a lot of talk in the Perl community around 2010-2012 to find and remove old and poor quality Perl tutorials so people searching didn't end up with bad information. Part of this push included writing new and better tutorials and trying to get them placed higher in results for old tutorials that could not or would not be removed.

Since we all saw and remember how Perl regained it's top spot as most popular programming language, I'm sure this will work out wonderfully. :/
Actually I don't see any practical issue with the resolution. I do mostly backend programming using IntelliJ/Jupyter so it works for me.

A 1080p screen would be a nice addition though. Plus for the sub-$1k price point I think the overall specs are pretty good. Not to mention the battery backup. The macbook air really lets me use a laptop like a cellphone - charge overnight and use all day.
It doesn't become necessary unless you make it necessary. It makes some places harder or more expensive to get to, but there are plenty of other places to go to.

It's a tradeoff, and obviously if you want to go places where there's no public transport options at all on a regular basis, it's probably a good idea to at least have a license, but for my part that's simply been enough of a reason to bother getting a license.
It's a pretty ridiculous interview question, but a really nice example to highlight part of the internals of the ECMAScript language specification. It's great to ask in a teaching environment, but insane to ask as a test of competency (unless the job required truly deep knowledge of the language specification).
It could. Or more simply practising lots of driving in games could improve your reflexes and hand-eye coordination and also make you a safer driver.

When I say I think it would be valuable to research this I really do mean it. The results might be interesting. More interesting than this priming stuff anyway.
When you were 16 insurance probably wasn't as huge a freaking scam as it is now. Damn rent seekers everywhere now.
I liked your answer. But you didn't answer his/her other criticism: "...It's almost 10 years old and today it's actually less useful than it was a few years ago due to runaway fee growth. The feedback system works in the wrong direction. Did the Internet get less useful the more people used it?"

The fact that network effects to some extent works in the wrong direction for this technology is concerning. What happens when the current speculative cycle comes to an end and crypto needs to justify itself by its utility to end-users as opposed to investors?

P.S. Beside this point but one thing that can work in favor of crypto is the conflation of investors & users. You essentially get so many evangelicals for your project from the investment perspective "for free". If you can turn them to users, then you are in a nice shape. Though issue is that most these investors are only summertime soldiers.
Even the JVM has a fair number of issues if you use class reloading to do Weird Stuff (tm), especially with advanced debugger tricks added into the mix. That's one of the reasons some of the folks I know who use Scala switched in the first place.

I think any hot-reloading solution for a big, complex, introspective/reflective language is going to have some warts* and places where it stops working in some scenarios. The trick is just to minimize those to where they don't get on your nerves on a daily basis. C# will hopefully get there soon.

* Unless, that is the language is designed from the ground up to support code reloading. Erlang/Elixir's runtime inspection/injection/behavior alteration capability is second to none, and largely replaces the role of a true/traditional debugger. And you can do other cool stuff with it like zero-downtime in-place deployments, though that doesn't exactly come for free.