skysight-inc/HackerNews huggingface dataset:
We need to get rid of fossil fuels, of course. Firstly, the use of coal and oil simple electricity generation. Replace it with hydro, nuclear, solar, tidal, geothermal, I don't care, but we need to stop burning coal and oil in power plants. Gas is the last we'll get rid of; it burns cleaner and more efficiently than coal and oil, and more importantly, it's great at adapting quickly to changes in supply or demand, and we're going to need that as long as we don't have sufficient high capacity energy storage yet. But once we do, gas too will have to go.

We're also burning oil in cars of course. Fortunately, electric cars have become incredibly popular thanks to Tesla. Once electricity generation is clean, electric cars are perfect for taking advantage of that.

Planes and ships are going to be hard. On top of that, many ships burn incredibly dirty oil, and the fuel for planes and ships is untaxed, which, in a world where all other forms of energy are taxed, make them effectively subsidised. International treaties are necessary to make ship fuel cleaner, and extra efficiency may be encourages by taxing fuel. For short distances, planes may be replaced by high speed trains, but for long distances, I don't think we'll be able to get rid of them.

Fortunately, there are other things we can do: trap CO2 from the atmosphere by planing trees, encouraging other plant growth, and possibly even stimulating algae growth in the oceans because that's where the real large scale capacity for this is. There might be other ways too.

At least in part, this can be accomplished simply through better policies by governments, maybe international agreements. But to encourage businesses and people to burn less carbon, I think a growing tax on the emission of CO2. I don't see the cap-and-trade working very well, and even if it does, it merely limits it; it doesn't bring it back to zero. A carbon tax can do that. I think the carbon tax should start low, because you don't want to kill the economy with crippling taxes, you just want to make it attractive to switch to cleaner energy. The tax should then be used to either invest in cleaner technology, or to directly remove CO2 for the atmosphere. You could even pay companies to do that for you, creating a new industry that cleans up the pollution from those businesses that are unable to make the switch for whatever reason. At first, the tax won't be enough to clean up all CO2, but eventually it definitely should be. And once you're there, it doesn't really matter if some people or companies still pollute, as long as they're also paying to undo that damage again.
Maybe you are right. I never tried it.
Useful sleep hack from the military. I tried it and it seems to work: https://www.independent.co.uk/life-style/national-napping-da...
I would totally hire a middle schooler who can program over a PhD who can't. That said the guy we hired did an insertion sort.
I do machine learning and computer vision in python, statistical analysis, plotting, and anything to do with dataframes in R, and computational stuff, network science, and almost everything else in julia. I would like to switch my data analysis stuff to julia but waiting for libraries and functions to load is just too frustrating when I'm doing things interactively. I'm hoping Julia will have a good machine learning, computer vision, and data science environment in the future and it is looking like it will. But for now, it is not an easy environment to work with in these applications and you'd need some fairly specific needs to justifiably use Julia here. But the thing is that when you do have relatively esoteric things to do in these applications, it is much easier to do them in Julia.
Shared memory is still an issue though. To my knowledge there is no convenient way to share memory between processes in OCaml. That said, you are right, threads are horrible.
> Does the US needs all that oil?

The USA doesn't need to use the oil for the USA to claim there is either a "national security" or world geopolitical rationale for going to war to "protect" it.

Petrodollar Warfare[1] is a theory that the US can and does attack (or otherwise undermine) any oil producing country that tries to transact its oil in any currency (or commodity) other than USD.

[1] https://en.wikipedia.org/wiki/Petrodollar_warfare
I choose to name: lack of de facto individual rights and coincident lack of independent judiciary.
If it is going to be permission based with a few ruling all... why make it a blockchain? It would be easier to achieve the same result by just adding a feature to Facebook rather than create a blockchain AND then the feature.
I used to release all my code as GPL. But the more time I spent witnessing the madness that is license wars, the less I felt like contributing to the mess.

I spend a lot of time and effort on my code, and I don't mind sharing it for free. I would prefer if other people tuned into that mindset rather than greedily raping the world for profit.

But adding more rules never seem to help, it always causes more division.

My current perspective is that its simply not my responsibility to push others into doing what I believe is the right thing.

Which is why g-fu [0] is released as MIT.

[0] https://github.com/codr7/g-fu/tree/master/v1
GP's point that historically, people have had data cost issues, (and still do today, unfortunately) still stands, and it makes sense that they would have those switches somewhere.

Unfortunately, those switches aren't easily configured at times.
The military secret to falling asleep in two minutes
Nope. This only applies to pornography if I recall correctly. There's not laws against showing R rates movies to kids, it's just the theaters that refuse to admit them. In 2011 the courts struck down a California law prohibiting selling I'd M rates games to minors, too.
That is exactly why I had to dump my Ejabberd server after years of self hosting. The XMPP client app habitat is in disarray.

If Conversations offered voice/video, that would have been a different story.
>I'd greatly appreciate something like Little Snitch on the iPhone so I could see which apps are doing this and delete them with extreme prejudice.

It would be trivial to do this if you can get your hands on an iphone with a jailbreakable OS version.
Sure, if they actually have any. You’d need a way to verify the code was actually written by them. You’d also need to be careful you’re not overly biasing towards “people who [have time to / are allowed to] publish on GitHub”. Plenty of good developers don’t/can’t use GitHub.
Simple Foreign Key Detection – Automatically find foreign keys in your database
Not in California or specifically Silicon Valley. To pick another financial center of the world.
Turn off your phone?
> They cannot use anything except an algorithm to recommend videos

That’s assuming recommendations need to be personalized. They could recommend at a higher level to groups of people using attributes like age range or region.

I’m not a fan of their personalized recommendations. It’s algorithm overfits my views to recommend videos extremely similar to videos I’ve recently watched, which isn’t really aligned with my interests.

If they took a completely different approach (not personalized) it could really impact the UX in a positive way.
Iran knows that the US public doesn't believe its own US intelligence after Iraq, so it could easily be behind the attacks knowing that the US is on a leash of public opinion to do anything about it.

That's a very optimistic take on U.S. public opinion. I think this is going to be a lot easier than you assume. If you start with Trump's approval rating, which is somewhere in the low forties, you just need another ten percent of the country to find it unbelievable that somebody would fake a casus belli against Iran and U.S. intelligence would go along with it. Once the mobilization is in swing, there will be an additional cushion of people who don't think the government should be second-guessed during a war, or who shrug their shoulders because they think Iran has it coming anyway. The media can't help cooperating; their editorial content might be against the war, but war coverage is inherently exciting and will stoke people's appetite.

If Trump does this -- and I think he regards it as his best shot at re-election -- I wouldn't be surprised if his approval rating goes to over 60% in the first week of the conflict.
An abstraction of what? If the paradigm is dataflow - i.e. capable of running directly on (hypothetical) dataflow hardware - a graphical representation is more natural than a textual one.
Landline numbers are still vulnerable, it just isn't as common of an attack.

You can go to specific forums and pay $10-15 for a change to be made to a cellular account, usually by rouge employees or hacked point of sale terminals. A landline requires you to get some additional details like the account number, photoshop a bill, and submit that to port the number to somewhere that you control.
Correctly implemented concurrency/parallelism primitives are not a bad idea. I am thinking along the lines of Clojure/Erlang/Go. They make life more enjoyable.
The first: no nuclear power plants to build, and an abundance of skilled and experienced blue collar labor available (but dwindling as time progressed).
For working late at night with low ambient light, "dark mode" styles are not so bad. But in normal daylight, or worse - outside - dark mode UIs are terrible.

It's a fad that I wish would stop propagating.
This is a bad comment on multiple levels. It's factually incorrect: a LOT of bombs were dropped on the UK, and knowing that seems like a pretty low bar to having any opinion on the topic.

But beyond that, it's obviously ludicrous to reductively say "between bad guys and bad guys" and simultaneously complain that people don't want nuance.
What are you meaning by 'no longer a black box' in this context?

Sorry, I mean "black body." We were taught that the Earth absorbs as much radiation as it emits. The term we were taught for that is "black body."
Governments aren't strange 3rd party alien entities enforcing their "rules" on a captive population. All governments (and corporations) consist of individuals. Some day governments will consist entirely of people who haven't been born yet, so it seems a little disingenuous to imply these people are just being born into an authoritarian world that they have no power to change. Governments continue to enjoy legitimacy because populations choose to continue to accept them.

My argument was that these massive social structures are already the result of unprecedented levels of cooperation and their global influence and homogenization appear to be expanding. Are we at peak cooperation yet? Apparently not, some companies abuse the GPL and I still occasionally have to clean up other people's dog shit. And realistically there will probably always be a few "Mikes" somewhere polluting the lake for their personal profit, but I believe we are moving in the right direction and we will be able to reduce the freeloaders to a tolerable level as long as we continue to produce way more than we can possibly use. In the meantime I prefer to walk the walk, I'll continue to gift my extra time and energy to help others achieve their goals and I absolutely will spend an extra $50 on widgets if I find out Wanda is up to something shady.

I'm not against people who choose to use the GPL, I think it's an extremely clever legal hack, but I look forward to a world where people don't feel like they have to.
Probably the most notable thing is compatibility with the upcoming 5.2 kernel, otherwise just minor bugfixes.

0.8.0 came out just a few weeks ago and was a pretty huge release. It added encryption, TRIM support for SSDs, ability to remove disks from zpools, performance improvements, and more.

https://github.com/zfsonlinux/zfs/releases/tag/zfs-0.8.0
What a generous comment! I'm going to check these out. Thanks for sharing.
Ketamine Opens a New Era for Depression Treatment
I've said it many times: 4chan is a hive of degeneracy and 8chan is where people that have been banned from 4chan go.
In a complex and intermixed system, things won't be limited to just bankrupting millenials. Are those loans being traded as securities or something like that? What about families, communities, job conditions and even laws? It will change society, and probably for the worse.

It will be a piece of a far bigger problem that will affect most of the system.
It would be like if that shopkeeper also followed you around town, followed you home, noticed what you read, tracked when you fell asleep, read your diary, and opened your mail.
Anyone have experience making an enclosure for something like this to use outdoors? Thinking of like a Stephenson screen with a built in solar panel for powering the Pi + Hat.
I was assuming that if you were developing code for someone they would also get access to the sources. But you’re right. That’s not necessarily a given.
I never thought I'd see the day where the term meme warfare was used is earnest rather than in jest. What a time to be alive.
So the one that started construction in 2013 doesn't exist?

20 years between plants isn't that big a deal. They're not building houses. Nuclear reactors take decades to built. It's one of the reasons they're so expensive.
You have a link to that far left death toll? Because I'm not aware of.. basically any, in America.

I went searching and looked into where this idea of mine came from. My statement is a little out of date, stemming from 2017 so I'll retract it partially. If you look at this Washington Post article, and scroll down to the bar chart, for 2016 amd 2017 you'll see 11 killings by the right wing extremists and 16 killings by the left wing extremists.

https://www.washingtonpost.com/national/in-the-united-states...

However, you'll note that the number isn't zero. It's just that the mainstream media is very left biased, and engages in the kind of "not technically censorship" suppression of information typical of the West, as called out by Noam Chomsky in Manufacturing Consent. Note how effective that style of soft suppression was in preventing your awareness of those killings.
IIRC, it was retired General Wesley Clark who stated[1] in an interview that someone he knew at the Pentagon told him about plans that had already been drawn up to attack 7 Middle Eastern countries:

> We're going to take out seven countries in five years.' And he named them, starting with Iraq and Syria and ending with Iran.

[1] https://www.salon.com/2007/10/12/wesley_clark/
A comment from the last time this was posted:

https://news.ycombinator.com/item?id=18075506

If the above is still correct, interest is charged at 1% per month, based on the credit limit, not the outstanding amount. So the APR might be something between 12.7% (if you borrow the maximum) and ~infinity (if you have a non-negligible limit, but borrow only 0.01 GBP).
My partner is a professional pianist and she very definitely repeats the hard parts - over and over and over - until they're fluent.

This isn't rocket science, and it is something professionals are taught to do.
So, the FBI is asking for IPs used to comment in two posts whose authors later committed acts of terrorism. Doesn't surprise me, I had thought they would have done this already.
Let’s say someone didn’t know any sort algorithms since he has been using one provided by the language. Would you have been willing to explain on a high level how the algorithm works? I wouldn’t be opposed to any algorithmic type question if you explain the requirements on a high level and let them do it within an IDE.

But, you are hiring for a software developer, who should be able to translate business problems that you face everyday into a working system. Don’t you have any real world scenarios that you could use to test on?
can be disabled. But then I'd recalibrate them after a few months. (I do it after 6 months usually)
It is true that paper, and a very large proportion of fabric, were made from hemp until William Randolph Hearst orchestrated a fear campaign about "devil weed" to create a larger market for his timber holdings.

There was quite a lot of resistance to paper made of wood. It was acidic, so turned brown and crumbled in a short time, and was generally of lower quality than hemp paper. The quality problems have been addressed, since, but wood still takes quite a lot more processing to make into useful fiber.
Awesome idea!

Aside:

Every time I stumble across a tweetstorm and have to wade through 50 tiny little messages and figure out what the hell they're trying to say, I think to myself:

This is a solved problem.

It's called a blog post.

Nobody's stopping anyone from writing a blog post and then snipping a few bits out of it to make a mini tweetstorm that links to the post. Nobody's saying either tweet or blog. You can do both people! You can do both.

Now go forth and write. :)
> it's a tall order to expect him to rewrite everything in Observable.

I didn't say anything of the sort. That's your idea, not mine. I think Matlab and Fortran are great.

I would, however, expect new folks who don't know Fortran or Matlab to instead pick up something like Observable, if it continues to evolve in its present direction.

My point in the comment above is that, although I think Jupyter is fantastically designed, and I love the kernel abstraction, it began and is all about the notebook and graphical UI. So a thing like Observable, where they are similarly committed to the reactive interactive environment, without being committed to legacy languages (and in fact are willing to head down toward a reactive language which are far outnumbered by the languages akin to Python/R), could be very interesting down the line. I am very bullish on hybrid visual/text programming environments in data science, which have been around for a long time, but are becoming particularly more useful now that we have so many great data sources and tools to process that data.
Why cloud is the best defense against AWS
Forgive me because I have used a similar idom when dealing with io.

I do something like:

for i=0; i<3; i++:
try:
doSomeIoWork()
catch:
if i<3:
# maybe some network/disk issues retry?
sleep SOME_TIME * i;
continue;
else:
# tried too many times now quit
raise

Am I doing something stupid here?
Count-Min-Sketch https://sites.google.com/site/countminsketch/

TopK https://www.usenix.org/conference/atc18/presentation/gong
Nav Canada “hijacks” drone flying too close to water bomber base
No, they did get the sources. What I wrote is that you don't have to "release the code publicly or contribute to the original project."

Obviously our clients (who got the sources) could have published them. But they have no incentive to do so.
Actually I think free software is more important than ever, as many people don't get the difference and think open source is sufficient. What they do not get is, that there are no ethical values beyond literally an "open source" are implied with open source, while free software does pursue ethical values as well.

Since many are so uneducated about the difference, it is especially important to highlight this difference wherever one can.
Most of the time I can't visualize either while awake but sometimes I can and my dreaming is almost always in color (I've had dreams where part of it turned grayscale and that was quite distinctive). I also over decades of sleep issues noticed that I often visualize unintentionally right before I fall asleep and sometimes attempting to do so can help me get to sleep. Some people seem to think that NMDA receptors might be involved somehow. I think in my case images do sometimes appear very briefly even when I can't visualize. On the flip side, I don't think even people who visualize well are usually able to hold a detailed image in mind for a long time and examine different parts of it individually (however I could be wrong about this, it is just my impression; I think people can usually recall the image at least a few times). It might be that my brain is just prioritizing a different representation.

My internal audio reproduction seems to be quite good (which would be great if I could remember more music, or at least whole songs, to play on my internal jukebox :/ - sometimes I do remember more when dreaming). I think recall/visualization/etc. is affected by limited working memory capacity and how working and long term memory interact; I suspect that is often the major limitation when awake also and would still apply to some extent when asleep (although things can clearly work somewhat differently when asleep).

I do believe that a majority of people can visualize fairly easily since it seems like most people can describe the appearance of someone they just met when not looking at them, which I am unable to do (most days). Yes there are non visual tricks to do that, but it does seem like many people do that type of thing effortlessly and also for things they are less likely to have previously learned tricks about. When I do know someone better I seem to be better able to recognize their distinctive style of movement than most people.

Dreaming is strange... lately I haven't been wanting to be aware of my dreams at all since I often end up with events looping while I am increasingly paralyzed (and of course everyone else want me to do something). I've noticed this seems more likely to happen on days I take baclofen (as a help stay asleep sleep aid), but it happens at other times also and happened occasionaly before I ever took baclofen.
on what platform is riot slow? if android, give riotx a try - it’s roughly 6x faster.

in terms of too many opaque moving components serverside; the baseline is just a homeserver. pip install matrix-synapse and off you go. configure your client not to use an identity or integration server if you are worried about them.
These are the first-level dependencies:

chalk: log formatting
dockerode: docker API
download: file download?
fs-extra: functions like mkdirp, emptyDir
hasbin: check if bin exists in PATH
js-yaml": yaml parser
mustache: templating
node-virtualbox: VB API
progress: terminal progress bar
simple-git: Git API
sudo-prompt
tar
uuid

It looks reasonable at first sight. Of all these, fs-extra is the only one you can argue should be part of the standard lib.

A lot of the other dependencies are simply cruft, for example, `safe-buffer, `safer-buffer`, `buffer-alloc`, `buffer-alloc-unsafe` all patch the same issue and haven't been necessary since ~2016 / node 6.0. Same for `sort-keys`, object key sort order was baked into the ES2015 spec and has been the default behaviour since the beginning of the decade.

As mentioned by other commenters, this is a result of an extremely easy-to-use packaging system, coupled with a culture of sharing and reusability. The dark side of it is (justified) laziness and reinvention of the wheel - the core functionality of many of these modules can be written in one or two lines of code, but it is indeed faster and safer to just import something that exists and has been tested. The vast number of choices means it's hard to find standard solutions, and this also encourages developers to create their own 'improved' version of everything, in a self-reinforcing loop. The language itself has been in constant change, meaning new flavours of previously stable modules pop up to support new patterns (promises, generators, await, classes, etc etc). Then you get egos, marketing and corporate sponsorship added to the mix :)
The Safest Place in a Car Crash Isn’t the Back Seat Anymore
yup, our plan is to fix the valid issues highlighted here and blog a response.
And yet it is the one technique backed up by science!
Brancher App - Create Branched Videos Easily
I’ve got an idea - don’t let your kids get on YouTube and only allow them to get on curated sites. You can easily lock down a mobile device to only allow certain apps/curated websites.