skysight-inc/HackerNews huggingface dataset:
Functions are indeed objects in JS, however:

'function' === typeof (function(){}) while
'object' === typeof ({})

There are no classes in JavaScript, the way there are in some OO languages.

The new syntax of 'class' introduced in ES6 is just a synthetic sugar which will be translated to an Object and would use inheritance via the prototype chain.

I suggest the book 'JavaScript: The good parts' (by Douglas Crockford) for more on this topic.
Unlike petroleum, batteries are almost 100% recyclable. Our "peak battery" is bounded at the product of "peak population" and per-capita battery need, both of which are fairly constrained. Not really the right analysis.
I’ve largely had managers I thoroughly were very good to great managers, although about 10% of my time was spent with a miserably bad mananger (who was unceremoniously let go for being terrible)

Importantly, I’ve managed to have good relationships with my managers even when the rest of my team thought they were terrible.

The key has been figuring out what is important to your manager for them and their career and trying to align to that, as well as generally being empathetic and friendly to them, and delivering strongly on the work I do. Which, of course, are the same activities that I find make a great manager. It’s a two way street.

Then again there was the guy who gave 6/8 people on his team a bad review. That guy was just a clueless jerk.
Touche. But let's be honest here, it's an implied average. Blame English, or comprehension skills.

He also did not say "literally all women" but I don't see anyone here making the case for that either.
I agree with the intention of your message but if Twitter is making money from attracting eyeballs, won't it become the metric unless their business model fundamentally changes.
I think he's saying that eventually we will run out of economically viable to extract resources and we should start planning for that now. I'm not quite so sure because there are still tons of people living in awful conditions and they need a lot of this resource extraction to raise their standard of living.
Some of these seem a little hacky.

Jupyter has sort of a terminal mode... I really think we should start using something like Jupyter as our main terminal.
Of all the resources needed for such a reactor, thorium is probably the smallest percentage. Copper, iron, lots of nickle, vanadium in the various alloys, aluminium everywhere, and a tiny blob of thorium in the middle.
1G for 2000km is really really fast IMHO.
Last time I read a library-related discussion on HN, one of the sentiments expressed was basically ”I download ebooks, why would anyone need a library?” Boggles the mind. There was also a bizarre comment about libraries being only funded to keep a bunch of otherwise useless civil servants employed.
As long as the people getting richer keep consuming enough to offset the reduced consumption of those getting poorer, it could work out. We just have to ignore the part where 20% of the population enjoys life while 80% go through the grind to provide for the 20%.
Aircraft also can glide if they lose power, and they don’t carry oxidizer with their fuel. I prefer the failure modes of an aircraft to those of a rocket.

It would be nice to get to orbit without sitting on top of a marginally controlled bomb.
Right now space on NYC streets is free, leading to a 'tragedy of the commons': Businesses are each incentivized to overuse the resource because the costs, congestion and greenhouse gas emissions, are externalities for them - Uber and Lyft don't pay for them. With no cost to supply, it also leads to an oversupply of drivers, which depresses their incomes (another reason I don't like the 'contractor' model - the drivers take on all the risk and cost).

The obvious, market-based approach is that businesses bid for street capacity (and greenhouse gas emission capacity, but that's a different political issue), to shift the costs from an externality born by the public to the people consuming the resource, the businesses. If I understand correctly, that is how medallions work (it's funny how ideas suddenly make sense when you come to them on your own). But maybe there are more modern solutions: Remember Bloomberg proposed congestion pricing; I oppose that because it distributes a public good, the public streets and transportation, to citizens unequally based on ability to pay. However, if we think of congestion pricing as dynamically priced medallions, that seems like a more efficient solution for businesses who are consuming public goods. It also would seem to make the market more open; rather than long term reservations of capacity (medallions), anyone can buy in at any time; on the other hand, that might discourage long-term investment.
That's just cost / benefit.

We can keep the top ~5 meters of earth and extract what's beneath it without disrupting ecosystems. However, the current approach of massive mines is cheaper and frankly we have such a vast abundance of resources that's working fine it's not like every person on the planet has any need for 20+ lb of gold. Further, we can always just mine old garbage dumps as elements are not destroyed just shifting chemical bonds.
I know you're joking, but many D batteries (and effectively all the rechargeable ones) also contain nickel.
Hi - see my comment here, to save redundancy.

https://news.ycombinator.com/item?id=17626412
WordPress is built on fallacies (and 1M+ lines of code)
Bitcoin suffers another big blow, this time from Google
As I heard an economist say once:

"The best cure for high prices is high prices."
> because education and information are almost invaluable

Citation needed.
We need to work on super-springs, so you can wind up your car...
LOL
Right now there is a lot of lithium in the earth, much is not economic, but as lithium prices rise, more mines will become economic. Cobalt, as well as lithium will become far more highly recycled. Battery innards will be improved to reduce Cobalt use. Lithium use can not be reduced very much per KW hour, as the chemical changes oxidation state in a charge/discharge cycle.
Lithium is both light in weight and has nearly the highest possible voltage swing of ~~3.7 volts (versus 2 volts for lead and 1.2 volts for Nicads and NiMh which are many time heavier per KWHr in addition))
Shock Land Rover Discovery: Sellers could meddle with connected cars if not
It was definitely ahead of its time. It would be interesting to do a reboot with much better chatbot technology (driven by all the advances in NLP).
But hey, drones will solve the road use problem!
This ridiculous law can be easily bypassed with vending machines and food delivery directly to office(doesn't even have to be out of building, making food on-site is not illegal).
I'm largely in agreement with this Vox piece, but I think there's much more to say in defense of libraries as well.

I have a friend who found a red envelope with some money in it in a book that he'd checked out of the library. He figured it belonged to whoever had checked the book out earlier, so he went into the branch and mentioned it. They said that they could find out the last person to read the book, but no more than that, because by and large, librarians (at least in that system) deliberately avoided keeping long term records of what people are reading, to safeguard privacy rights.

Can you imagine Netflix or Amazon, Google or Facebook behaving this way? Could be that I'm from an older generation, but there was a time when people considered the idea of an institution having a long and complete list of everything you've read more than creepy, it was terrifying. Add in cell phone tracking devices that show where we are, map apps that show where we go at what time and what routes we take, commence sites that show what we buy and consider buying. You know for a while there it was impossible to remove a film from your recently watched list on Netflix? (the tech advice was to just select a bunch of stuff randomly and bury it deep if you didn't want it sitting there for everyone else to see the next day).

Libraries don't play nearly as much of a role in making sure that people can access information privately as they used to, they've been shoved out of the way, but they were far more principled guardians of it than tech companies (I mean, night and day, they were guardians, tech companies are rapacious violators of this principle).
Why would anyone put Amazon and a library in the same sentence is beyond me, let alone contrast and compare them then argue against libraries. The Forbes editorial in question should be publicly displayed in all libraries as an example of poor judgment and lack of civility. Bizzare.
Ask HN: Is it possible we are living in a simulation?
The laws of physics appear to break down at really small scales (quantum mechanics) and really large scales (general relativity) - could this be evidence we're living in a computer simulation?
A realistic plan to pay for a universal basic income in the Netherlands
What about graphene-based batteries?
>”I download ebooks, why would anyone need a library?”

Pretty much the tech version of

"I am a W.A.S.P., I pretend everybody that has different economic, social, and cultural differences from me doesn't exist"
Bugs in Samsung IoT Hub Leave Smart Home Open to Attack
This happens in pretty much every mining and extraction industry. Oil reserves have been enough for about 50 years for the last 50 years iirc. There's no point in trying to find all the reserves ahead of time since your technology will change and things that were previously unviable become viable.
Separate applications do not break that; you can still send that meeting request from the calendar app, or see availability when writing an email.

Just because they are separate application does not mean, that they do not operate on the same data. However I appreciate when I can use the full-blown GUI to look at calendars in another window, even when I'm in the middle of composing an email. The modal switcher in Outlook was one the worst thing I've experienced in productivity software.
Exactly. Most companies are willing to advertise their wins and lessons learned because it means they grew. If they don't have wins yet, they can use the wiki to work on their process and eventually contribute back what works. And I'm sure there's lots of existing companies who have gone through all of that (several of which are in the SRE workbook)
So Forbes takes the op-ed down and says:

“Forbes advocates spirited dialogue on a range of topics, including those that often take a contrarian view,” a Forbes spokesperson says in a statement. “Libraries play an important role in our society. This article was outside of this contributor’s specific area of expertise, and has since been removed.” [0]

Forbes op-ed's are filled to the brim with people speculating about things that are not their specific area of expertise and yet none of it is removed. I think this article was supposed to be a submarine [1] which went viral in a negative context and so has been quickly swept away.

[0] https://qz.com/1334123/forbes-deleted-an-op-ed-arguing-that-...

[1] http://www.paulgraham.com/submarine.html
Just firejail (despite the name it has no association to Firefox):

https://firejail.wordpress.com/

https://wiki.archlinux.org/index.php/Firejail

It's super easy to use.
In Italy the national post service (which also doubles as a bank) offers dirt cheap Visa Electron debit cards called Postepay (no recurring fee, 5€ una tantum for the card, 1€ fee everytime you deposit money into the card), and the minimum age for requesting one is 14. This fostered some competition from other banks which started to offer products with similar prices and even more features (like the ability to send or receive wire transfers).

The national student card (which can be used to obtain discounts at museums and other cultural places) now also doubles up as a Postepay, so now basically every kid owns a free debit card that can use physically or online as he wants.

Something like this can really speed up card's adoption while avoiding discrimination and in fact this is what I've seen since I was a kid and I had to borrow my dad's card: now all my little cousins own their own little yellow debit card in their name and even use it often in their daily life.
I've worked on a number of large rollout projects where multiple vendors have been considered.

When you tell a CEO/CFO/CIO that you can bundle OS, updates, productivity tools, communication/colab tools all in to one monthly bill they almost always take the MS route. The predictability of the financing is the key thing helping MS kill it in enterprise.

It also helps that 90% of their staff have never known anything else and will need very little training.
You're seriously generalizing. I only met my wife because of services like this; we met on Instagram and got to know each other over Twitter. I have other friends I similarly met and keep in contact with mainly over Twitter. I'm very glad the services exist.

There are alcoholics who have dozens of drinks a week and there are people who responsibly augment a night of socializing with a drink or two. Alcohol isn't fundamentally irredeemable because some people develop problems, and neither is social media.
How about fixed wireless? I have ISP experience and a decent amount of startup capital. It just seems like potential for a real money pit and massive losses with cable and fios both in the area...
It's not so much that it's highly radioactive as it is that radiation detectors are really sensitive. It's not inert, but its specific activity is pretty low. The types of radiation it emits do mean it is significantly more dangerous if you breathe it (say as dust) or otherwise absorb it into your body.
Why should the city buy them back? They sold the assets, they have no obligation to re-purchase them. Investment risk is in the hands of those people (usually companies) who purchase them. Besides, at what price would they even buy them back at? They're certainly not worth the price that some people pay for them (last I checked, about $1M each).
> An oversupply according to whom

The article raised several negative consequences due to oversupply, which are generally well known. How should we address them?
I live in MN now, but when I lived on the East Coast, I remember talking to a Digi-Key order taker on the phone (pre-web days!) about the weather. It was winter and all the roads were closed, but many of the employees came to work on snowmobiles.

I have to add that in the (holy cow!) 30 years that I've been buying parts from Digi-Key either for personal use, my own businesses, or employers, I remember them making exactly three mistakes! Two of which I didn't care about, the third, since the order was for the company I worked for, they corrected immediately.

I can happily live with 3 errors in 30 years!
Twitter to prioritize fixing platform over user growth, shares plunge
I don't see how coherence is a problem. Windows the platform is pretty incoherent.

The article is light on details, but I think the issue is really in interoperability. When everyone around you runs Windows, you either have to be very good at interoperating with key Windows apps (all parts of Outlook, Word, Excel, Visio, MS Project, etc), or to run Windows, too.

Part of the problem is that many of these things operate on closed data formats, and MS has little incentive to help with interoperbilty. Conversion tools can exist but they are often cumbersome, imperfect, and thus painful for regular use.

This is how an ecosystem lock-in works. BTW it's not specific to Windows; every platform makes it simpler to use this platform's tools, and, because of that, any out-of-platform tools become harder to use in comparison.
Thanks, I'll take a look! I've been in industry a couple of years now, but my experience with JavaScript has largely been "hit it until it works and then don't touch it again" - there seems to be at least two ways to do anything with no way to tell if one is objectively better.
Linux Foundation needs to run a hardware support testing program for desktop linux to be successful. In a situation where hardware manufacturers don't support linux and there's no regression testing for community developed drivers, it will never be successful.
> Citation needed.

Ask a librarian.
EPA Move to Weaken Carbon Rules Won't Spur New Coal Power
I wanted to learn SNES assembly once, but I found the actual limitations of the SNES frustrating, do I made my own 24-bit virtual machine and basic assembly language. I was getting confused with how to implement interrupts so I took a look at an open source gameboy emulator....turns out without really knowing what I was doing I had written an emulator.

That was really awesome to work on though. I probably learned more working on that than anything else. It was the first time I really felt like I understood entirely how a computer actually works.
See irony, dude. My comment highlighted the hypocrisy of your downvoters, in an amusing way. They're happy to have immigrants in the county, because fast food. They're much less happy to have them in the neighborhood, because racism.

That isn't to say that I agree with you. Although it's true that immigrants as a percentage of overall population have increased since the 1960s, that increase is slowing and we're only now approaching the percentages we had at the turn of the century. Immigration back then has been a long-term benefit to the nation, and immigration now will probably be the same.
How many users actually use it over SMS though?
This won't happen until Linux Desktop figures out a way to be 10x better than Windows desktop (consumers won't switch unless things are extraordinarily compelling).

I would argue that VR/AR provides a small window for Linux to be 10x better than Windows. (It's true that Windows is working on MS Holographic, but it hasn't reached anything near widespread adoption).

Bringing Linux Desktop to standalone VR/AR headsets is the mission of Simula: https://github.com/SimulaVR/Simula
Nighttime TV has changed, especially late night. It used to be old people but the Daily Show or Colbert aren't watched by old people. Retirees watch the daytime news, the fox/CNN/MSNBC crowd. Nightime TV, and streaming generally, is for the working young.
The best thing a library can do in this day and age is support something like Overdrive, which lets people with a library card digitally rent books to deliver to their Kindle or E-reader. Mine fortunately does, and despite the limited selection, it's great: I can check stuff out without even leaving home. The "books" are automatically returned after the check-out period.

That's it. If Silicon Valley wants to help, they can work on enhancing the technology that allows stuff like that to work. If they want to replace a bedrock of this country's public services with private, for-profit infrastructures, they can go pound sand.
I hear you! I've been using the Internet most every day since 1988, and am still occasionally struck by the amount of resources seemingly straightforward programs use these days.

Re: Slack resource utilization: I'm not passing a value judgment as much as expressing confusion over multiple claims I've noticed about Slack utilization that is far, far greater than anything I've seen.
A significant portion of the population can’t save up for a 20% downpayment in good times, I doubt it’s a realistic expectation for many. The whole thing keeps churning because of FHA (taxpayer funded) lending.
Maybe but it's like showing up with a shiny new street Mercedes at a Formula 1 race. You'll just end up being the safety car.

Don't take each solution in a vacuum. Consider that you have to use one and put them head to head. Unless you're a very flexible company or with some very very niche requirements the MS solution will win every time.

People usually understand "Linux (open source) is no good" instead of the real conclusion: today it's not the best for everything so why assume it should be everywhere?
How to (slowly) steal secrets over the network from chip security holes:
http://www.emulator101.com/logical-operations.html

/* Example 2: turn on one LED on the control panel */
char * LED_pointer = (char *) 0x2089;
char led = *LED_pointer;
led = led | 0x40; //set LED controlled by bit 6
*LED_pointer = led;

Really?
Except that's patently false. Twitter is extremely vulnerable to coordinated campaigns to create fake swells of opinion held by few (or even 0) people. Talking to 5 people in Manhattan is more likely to give you a breadth of opinion than listening to 100 thousand automated nazi bots on twitter.
By no means do I have it figured it out, but my approach is somewhat balanced.

1) Expectations

Start with setting expectations for yourself, then with everyone who matters in your life.

2) Define

What is "work" to you? When do you work? How much should you work? For me, I'm mentally working nearly all day everyday... except for when I'm explicitly not. If I'm spending time with my wife & son, I'm 100% focused in on spending quality time with them.

I've chosen to spend high quality limited time > low quality abundant time with my family.

3) Prioritize

I've dedicated myself to 3 things in my life as it stands today: my family, my business, my health. That's it. I've painfully cut out friends from that equation (not friendships, but hanging out with them). I've cut plenty of other things as well, but it does take sacrifice at the end of the day in some dimension.
Oh, I didn’t know that! I’ll have to check it out.
Wow. I'm pretty sure this is the first time in 8 years I've commented anything that's been flagged. I'm not entirely sure what "this" is.

Is it saying "don't go robbing the masses"? Is it agreeing with the parent's comment by means of a literary reference that I thought was an approachable and analogous representation of the phenomenon the parent was describing? Seems whoever flagged this read it in a wildly different way than I intended it. Would it not be "this" if I had worded the same point differently--e.g., "You know, you're right, parent. These events totally remind me of 1984's Two Minutes Hate."?

Genuinely curious what "this" is that I shouldn't do, dang, because I've spent 8 years intentionally avoiding doing it.
More or less.

As I recall, the few Mac home users in the mid-2000s were talking about how Macs couldn't get viruses as a selling point.
Existential was the wrong word to use. What I mean is geared towards your second paragraph - that we won’t be locked out of space. Our current systems are in a pretty narrow range of ideal orbits which would get cluttered up. But there’s a lot of room in sub-optimal orbits that would still be clear, and can still be used for everything we do today. Just at a little higher technical cost.
Expenditure of public money on an endeavor should not be driven by romantic notions like whether something has "essential soul." Tax money is a scarce resource. Money that's spent on libraries is tax money that's not available to offer better lunches to needy children. That's the calculus.

Our county library system gets $22 million a year in tax dollars to service 2.4 million visits. Could Amazon meet those needs more cheaply? If so, that is a win.
When things get more scarce, they become more valuable.

When things get more valuable, they become more expensive.

When things get more expensive, people find new ways to sell them.

FUD over supply and demand is so boring!
what were some if the big problems with rocket chat?
It doesn’t matter - if you’re the founder of a company and you were able to convince investors (equity) or banks (debt) that your money losing venture can eventually make money, why not continue taking money from them? If the venture fails, your investors and/or bank loses money and you go out there and either start another business or get a job.

On the other hand, if it’s your own money, don’t get caught up in the sunk cost fallacy.
Isn't this like asking a cosmetic surgeon if you need a nose job?