skysight-inc/HackerNews huggingface dataset:
On a somewhat tangential note, for C++ threading, Intel TBB is the best thing after sliced bread. Can't recommend it enough. It's just plain amazing. Very advanced. Complete with a flow-graph implementation. Should be part of the toolkit of every serious programmer (on par with C++ standard library).
The passing of the 2018 Farm bill effectively legalized hemp-based products defined as Cannabis containing less than 0.3% THC, which includes CBD products.

There is a little gray area on some fronts though. Certain states (Nebraska, Idaho, and South Dakota) still can go by their own state laws and no comply with the bill. But rules are constantly changing.

We are also waiting on the FDA to make a final statement regarding how we can use CBD. They may say you cannot put CBD in ingestible products (e.g. CBD gummies), but we don't know when they will actually have a statement or how they will rule on CBD regulations in ingestable products.

An anecdote: TSA searched my bag in late 2019 (for reasons unrelated to CBD or cannabis - the Xray just looked weird). I had some full-spectrum CBD products and TSA couldn't care less.
CES 2020: Q&A Interview with AMD CEO Dr. Lisa Su
I'm not super familiar with interior mutablility, but I don't think this is the same "interior mutablility" as used in Rust.

Interior mutablility:

A, immutable, points to B.

B, immutable, points to C.

C, mutable, points to D.

D, immutable, points to E.

Even though A and B are immutable -- B points to C mutably, so you can modify its contents. Some "interior" part of A (and of B) is mutable. You can't change which C is pointed to by B (because B is immutable, or rather we only have an immutable reference to it), but it's open season on the contents of C.

What this article describes:

We have 2 operations.

We are passed in Array A.

We can either:

- Apply both operations to A, modifying it even though the "owner" may not want this.

- Copy before each operation (or as part of them), which leaves A untouched, but requires triple the memory usage.

- Cooy before (or as part of) the first operation only. The second operation can be applied in-place on the copy. This leaves A untouched and only requires double the memory.

They're totally different concepts. I don't know what you'd call the second concept -- I think the important part is that A remains untouched, so... "Avoiding side effects while reducing memory usage", or "How to make performant pure functions" ?
I don't want to get political, but what you're talking about sounds a lot like corporate welfare.

I don't know much about Nortel, but Avro seemed like the sort of company that was trying harder to get featured in Popular Mechanics than make something useful, and I don't know if anybody ever considered Blackberry tech cool enough for it to be a "halo" product. Supporting home-grown tech sounds great, but how do you prevent porking?
The cynic in me would correct you that neither pays much taxes.
It’s primarily designed for “firstline workers,” employees who face customers and run day-to-day operations inside companies.
What's the shipping waybill from?
They are still paying plenty in property tax. From the city's perspective, you couldn't ask for a better resident. Somebody who pays full property tax and consumes almost no services (schools, police, etc).
American billionaires dont pay much taxes either.

The solution to this is to fix the tax code, not retreat further into nationalism.
As the creator of Insomnia, that makes me so happy to hear :)
Replication increases risk of data loss when implemented incorrectly, because added resources increase the probability of bit errors. This applies to both replicated disks (RAID) and servers. Replicated servers must use ECC memory as well as checksum blocks and periodically scrub data to ensure integrity (e.g. what ZFS does for you). If they don't then a bit error corrupts the data on all servers, because you have no way of know which copies are pristine or how to piece together pristine parts.
The key question is, did Gandi offer and explicit backup service for your data on their plans? I just had a look and I don't see this being offered.

As a former hosting engineer, at the risk of pissing on everyone's outrage parade, but unless an explicit guarantee of a backup is included in your plan's contract, or you can pay for backups as a bolt-on, then if you've lost data it's your fault for not planning for this scenario.

And I mean proper backups where you get, for example, twenty eight days of hourly backups and you can pick a specific version of file to recover in that 28 period. And where those backups are stored on different hardware or off-site. We offered this as a bolt-on (in-site and off-site). Tt was 20 quid a year for in-site, the off-site was a bit more. But a great many customers chose not to pay for this add-on, even despite the great big red bold warning text explaining that unless they paid for this add-on we made no guarantees about the permanence of their data in the event of a storage problem. Guess what....

Now that's not saying we didn't take snapshots of the hosting environment, but they were for internal use and to allow us to recover quickly in the event of something unexpected going wrong, but now and again stuff breaks.

Sure, it's unfortunate some lump of storage hardware has failed and whatever mirrors they may have had have been taken out as well. They possibly could have done better but shit happens sometime.

You shouldn't rely on an "implied backup" from your service provider, if you want that then you're going to be paying a shedload more for hosting your Wordpress and Woocommerce site. It's up to you to make sure absolutely sure your data is safe if it's critical to the day-to-day running of your business.

Edit: ok, so this is tucked away in their docs (thanks to itake below):

https://docs.gandi.net/en/simple_hosting/common_operations/s...

But it does say:

> Snapshots do not make a backup of your databases. If you would like to perform a backup of your databases, we recommend you perform an export, or launch a dump script via crontab.

The bottom line...is it guaranteed in your contract? Always check. And as per my follow up comment, those plan prices are are just too cheap for that facility to be taken seriously for business continuity. They're a convenience to quickly recover a version of a file, not a serious backup.
TIL that gandi was bought by a private equity firm around a year ago.[0] This may explain some things...

[0] https://news.gandi.net/en/2019/02/futureofgandi-the-adventur...
Well, people who are unaware, or uncaring of the fallout, decided to install peep holes in their homes, with the implicit belif that no creep would be so vile as to actully look in. Now we have a quarter billion of those holes installed. Neat huh?
That's definitely not what the implication of the article is. Many would read this and think, well, we should just put the homeless people into those vacant homes!
They should use the money they're spending on this to license the artist's map and use it. It is a substantial improvement over their one.

But instead they're trying to suppress a superior design using faulty copyright arguments.
The problem here is programmers having a fixation on licences as some sort of template that must be followed exactly without having any real experience with how the law actually works. This is convenient for something like an OSS license used extensively because you have some common reference.

However, many contracts don't follow a template and it's normal in other contracts for items to be customized to any extent required. Template licenses are often used to intimidate people who aren't aware of their rights and what is possible. For example, employers may say that they can't modify an employment agreement because it's a standard template to make the potential employee feel like there is some legal rather than policy issue at play. Similar things happen in other places and you have to decide how much you want to fight policy, but parties almost always have the option of agreeing on custom terms.

This is hard today in the OSS ecosystem, but it'll have to evolve to support additional terms.
The C++ spec simplifies what is basically an abstraction over the posix layer. I dug into this very deeply a long time ago, there’s a lot nuance there and documentation is confusing: https://github.com/neosmart/pevents/issues/2
> more potential arable/livable landmass than the entirety of the US + Europe.

That's fine if you want to spend trillions moving the cities of Europe and US to Siberia.

It would be much cheaper, and require far less political co-ordination, to avert the CO2 emissions leading to climate change in the first place.

And even if you do take the incredibly drastic step of moving most of humanity to the Arctic circle, you still have the problem of runaway heating. What are you going to do when the climate changes for the places you have moved to?

Besides, I rather like having a range of different biomes available on my planet.
The whole idea of DRAM is about making the whole thing cheaper by limiting the outside bandwidth (it is not that DRAM chips have multiplexed address bus to save pins but because supplying address in two phases is inherent to how DRAM array works).

There is nothing that prevents you from making SRAM/CAM array running at same or even higher clock speed than CPU made with same semiconductor technology except cost of the thing. And in fact, n-way associative L1 cache (for n>1) is exactly such an CAM array.
I have a weird feeling this has to do with higher alcohol consumption in the older days. I wonder if there are many other heavy drinkers who have a high body temperature like myself.
Perhaps this can be partially explained by measurements becoming more precise over time?
Study: US could save $600B in admin costs by switching to a single-payer system
Can CBD products sold in state-licensed medical marijuana dispensaries be trusted to be accurately labelled?
In Europe? well, that's most of a donor kebab in Berlin, so not terrible ;)

In Cambodia... I could easily feed myself on $1.90 a day, if I wasn't white and getting barang (foreigner) prices.
These kind of scenarios can happen with workers in government offices, archives and medical institutions as well. And yet the paper documents are not E2E encrypted.

Maybe... just maybe... technology is not really what should be the core issue here? But we should perhaps look at our policies and legislation? Adding proper liability there will make technology come by itself. The magic of free market doesn't seem to be working here.
all fruits are apples because apples are fruit, right?
U.S. early warning satellites helped avert casualties from Iran’s missile attack
curl is all you need.
At 06:30 in the video: "No one knew at that point how the Unix wars would shake out -- Spoiler alert, BSD ended up winning"

BSD won the Unix wars? what?

There were no winners. Unix remained fragmented and Microsoft stepped up.
Build Your Own Codelab with Google Codelab
Some have the never get cancer solved (I read that about chickens... but I can't remember where)
A localized entity responsible for the inefficiency doesn't sound like a local minimum, though. It sound like a place where you should (eventually through mutation) find the more efficient path.

There may be a more esoteric explanation... Imagine higher efficiency has a price : plant lives a shorter life, and reproduces less. Then you want to fine tune for the right amount of efficiency in your environment. Then it's advantageous to have a single efficiency lever, instead of a dozen systems to fine tune jointly... Just a guess - I know nothing about bio. :)
Everyone gets to feel good if they can blame "the wealthy foreigners" rather than look at their own crappy housing policies, such as the rampant NIMBYism and huge market distortion from Prop 13.

Faceless "wealthy foreigners" are easier to dislike than their own neighbors who show up at planning commission meetings to rant about someone adding an extra bedroom to their home (this is an actual thing I read about in San Francisco).
In Denmark this would be impossible as we have “bopælspligt”. It means if you buy a home or apartment in an area like this, you are required by law to live in it.
The privatization of profits and the socialization of losses are the signs of a corrupt system.

"Let's make money on something that was created with public money"

"Let's rescue this private business with the public money"
MTA bus schedules, being works of fiction, may fall under copyright laws.
I have some domains here, mostly secondary domains to not have all my eggs in my namecheap basket (e.g. if anything happens to namecheap or my namecheap account).

Will likely transfer those to elsewhere after this. Probably Name.com, I guess.
More detailed definitions: https://www.census.gov/housing/hvs/definitions.pdf

> Vacant Housing Units. A housing unit is vacant if no one is living in it at the time of the interview, unless its occupants are only temporarily absent. In addition, a vacant unit may be one which is entirely occupied by persons who have a usual residence elsewhere. New units not yet occupied are classified as vacant housing units if construction has reached a point where all exterior windows and doors are installed and final usable floors are in place. Vacant units are
excluded if they are exposed to the elements, that is, if the roof, walls, windows, or doors no longer protect the interior from the elements, or if there is positive evidence (such as a sign on the house or block) that the unit is to be demolished or is condemned. Also excluded are quarters being used entirely for nonresidential purposes, such as a store or an office, or quarters used for the storage of business supplies or inventory, machinery, or agricultural products. Vacant sleeping rooms in lodging houses, transient accommodations, barracks, and other quarters not defined as housing units are not included in the statistics in this report. (See section on "Housing
Unit.")

The survey also distinguishes different types of vacancies. See pages 4-6 of the linked document. The overall vacancy number could be misleading without seeing the breakdown.
> Starting the day with heavy dose of FOMO...

I don't know if you should "F" necessarily but you are "MO" :-)

C++ has become a completely new language, with a large carbuncle of back compatibility attached (though they've been slowly deprecating some of that).

I like programming in modern C++ and am lucky enough to be able to compile everything std=c++17 (which we recently changed to =c++20 though support for that standard is just starting to appear). It's quite an expressive and powerful language.

Though a lot of the legacy stuff is ugly, it does give you access to older code, external libraries and the like. So you can write clear code using modern C++ and still be able to link in older code. Pretty nice.
Clearly they aren't progressive enough. I want to see what will happen when a state goes as far to the left as humanly possible.
I read somewhere that pthreads can transfer ownership.
It is bright orange with white, my first thought when I saw the title was something you'd want to hide on the ocean floor but this doesn't appear to be the right color or shape.
We moved from postman to insomnia a year ago and have loved it due to its simplicity and ease of use. The ability to use the "environment" variables is amazingly flexible since you can use them in almost every text field.
I used BeOS for most of the 2nd half of the '90s and I guess in my mind at least the regrettable, messy, and unethical end of BeOS in 2001-2002 is emblematic of the Dot Com collapse.

Crushed by Microsoft's anti-competitive business practices and sold for scrap to a failing company who was unable to actually do anything with parts they wound up with but who never the less made damn sure that no one else could either.
These summaries are known to academics as review articles. For some examples of great review articles, see the Nature Reviews journals.
IE11 and the Missing Polyfills
Definitely agree regarding the strange semantics recently like the pipeline[0] or `.:` method reference[1] operators. I do think those kind of functional features would be handy if they behaved correctly and had a more Ruby-like syntax instead of introducing foreign looking operators.

Luckily this new pattern matching feature appears to behave like expected and feels pretty natural - just a new `in` keyword and some variable binding syntax to familiarize ourselves with (which we already kind of use with statements like `rescue`).

Awhile back we experimented with an alternative Ruby pipe operator proof of concept[2] that is "operator-less" and looks just like regular old Ruby blocks with method calls inside of it. Maybe there's still a chance for something like this now that those other implementations have been reverted!

# regular inverted method calls
JSON.parse(Net::HTTP.get(URI.parse(url)))

# could be written left to right
url.pipe { URI.parse; Net::HTTP.get; JSON.parse }

# or top to bottom for even more clarity
url.pipe do
URI.parse
Net::HTTP.get
JSON.parse
end

[0] Revert pipeline operator: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/...

[1] Revert method reference operator: https://bugs.ruby-lang.org/issues/16275

[2] Experimental "operator-less" Ruby pipe operator proof of concept: https://github.com/lendinghome/pipe_operator
Navy Oceanographic research is an euphemism for submarine hunting, right?
I have a couple of these devices outside along with some more traditional hardware going to a local DVR. I wanted cloud video storage in the event someone stole my dvr. I accept that someone someone may have access to this footage. I trust Amazon/Ring more than I trust some random Chinese company.
Stennis Space Center is also the location of a Naval Research Lab, and specifically the Naval Oceanographic Office and Naval Meteorology and Oceanography Command.

https://www.usno.navy.mil/NAVO
https://www.public.navy.mil/fltfor/cnmoc/Pages/home.aspx

"CNMOC is focused on providing critical environmental knowledge to the warfighting disciplines of Anti-Submarine Warfare; Naval Special Warfare; Mine Warfare; Intelligence, Surveillance and Reconnaissance; and Fleet Operations (Strike and Expeditionary), as well as to the support areas of Maritime Operations, Aviation Operations, Navigation, Precise Time, and Astrometry."

This is almost certainly some kind of sensor array.
The exception I guess is when paired with a condition variable, since CV waits are not guaranteed spurious and necessarily must be combined with another condition. The caveat being that the variable being tested upon wake must not be modified without the lock held (presumably to prevent reordering).
No way. Even for email/password I use a library (sorcery) which takes care of encryption, protects from timed attacks and is easily expandable to oauth services.
Lots of homeowners in SF who have made huge gains from their property investment pay lip service to their liberal worldview by insisting that any new construction must meet the most stringent review and have a very high percentage of units set aside for affordable housing. This way they are able to stop new construction, exacerbating the housing crisis and making their investment more valuable, while claiming they are fighting for affordable housing.
It would be great if he could flip this on the MTA
Security from what? Do user accounts really provide much benefit in the personal computing space? Where the median user count is 1?

Neither OS had the kind of security that is really useful today for this usecase, which is per-application.
There’s a lot of money in real estate. It’s better staying in the country than going to Chinese firms.

If it makes no difference to you, why not favor your own country?
Thank you for pointing out the space bar issue.
A cookie is set by google analytics.
I installed BeOS when it first came out. To me it was a cool tech demo, but it was fairly useless as it didn't have a usable browser (NetPositive was half baked at best), couldn't play a lot of video codecs and couldn't connect to a Windows network share.

I feel like if they launched a better experience for existing Windows users, it would have done much better.
I don't have any data to back this up, but I suspect solid Windows support was a big driver of that. I used to do a fair bit of Python before Ruby and there was a nice MSI installer for the runtime and plenty of libraries had precompiled Windows installers available. This was important because we were working with some software that necessitated running Windows.

I love Ruby, but when I started developing in it, I was surprised at how much the Windows experience lagged behind just about everything else I had tried up until that point (Java, Python, Perl, x86 Assembly, at least). Even today, it's not really easy to run for anything requiring native extensions. You have to set up a separate compiler* just to build those extensions because most gems don't push binaries out. That may be better for security, but I don't think that's the driving factor. You're better off just running JRuby, assuming WSL isn't an option.

* Granted, RubyInstaller makes this a lot easier nowadays.
How to check if two double values are equal in the code?
Legalizing marijuana could help fight the opioid epidemic, new research says
Maybe you're obviously not the target audience then.

Since you seem at a loss as to why this article is so successful -- maybe you should ask yourself what you're missing. It seems to me you haven't mastered the author's talent of addressing deep problems in an uplifting way that draws others in.
Looking at the choices voters regularly make in direct elections, I would be a little careful with that modernization.
> Many would read this and think, well, we should just put the homeless people into those vacant homes!

Decommodifying housing sounds like a good idea. People in the streets sounds like a bad idea
No, I think you've proven my point. $35k in 2005 is roughly $43k in 2016, which I'll use as a point of comparison because it was when I was myself making roughly $32k before taxes.

I'll just stop now to point out that this would be enough alone to allow you to drop 10% - and then some - into retirement savings, without living any more or less comfortably than I did. As I said before, the best way to encourage saving is to increase pay.

I assume you were paying less than my $900/month in rent (a studio price in a similar market to the one you describe), between your having the privilege of being able to split rent, and dealing with rents that were ~5% lower on average. This, again, would allow for a hefty savings rate compared to my baseline of losing roughly $100/month on necessities, even without the higher pay rate.

Considering all of this, I have to conclude that you were actually a poorer financial steward of your income than I was - again, even though I was losing money every month. Living under circumstances similar to yours (higher pay, lower rent), I could easily have put away 20%+ of "my" earnings - you only managed 10%. However, the truth is that we lived under different circumstances, yours much more forgiving of carelessness or mistakes.
From the intro, why this is interesting:

> The question of whether mean body temperature is changing over time is not merely a matter of idle curiosity. Human body temperature is a crude surrogate for basal metabolic rate which, in turn, has been linked to both longevity (higher metabolic rate, shorter life span) and body size (lower metabolism, greater body mass).
> Why would they include that sentence?

They're a French company; it may be a non-native speaker not catching the implication.

It's also possibly an editing error, e.g. they started writing something like, "these types of incidents are extremely rare and when they happen etc" and most of it was dropped without considering how that changed the implication.
All my domains are registered through Gandi. What good registrars would you suggest? I'd like to move them out.