skysight-inc/HackerNews huggingface dataset:
That's easy: LinkedIn should simply ask for permission. "Hey, you're about to submit a support request. Can we quickly check your browser for a few plugins that are known to cause trouble?"

"Is that plugin installed" is also a terrible "protection" against scraping.
Most compilers skip optimizations when compiling in debug mode, so that it is still quick to iterate/test, then perform the optimizations which take longer to compile for release builds. Obviously it means one can only profile code when it has been compiled in release mode, which I guess has its drawbacks...
>There is literally NO reason (other than time, mentoring and desire) that the jr. Java developers couldn't pick up Elixir in a short amount of time and be fully productive.

Put in another way. If your devs can't learn a new language that's not super foreign in 3-4 weeks to a decently productive level, you didn't hire good devs in the first place. I'm sure they would create a similar dumpster fire in Java.
I agree, except I don't think we should be surprised that a business that exists for the purpose of data mining is mining whatever data they can.

Maybe they can think of ways to "use" data about the relative popularity of browser extensions, whatever. Collect it first and figure out what to do with it later.
‘I’ll work on it over the weekend’: pressures faced by early-career researchers
What is it about this that you find odd? I just tested it in Chrome and it provides the same answer. I'm pretty sure this is the documented behavior.
First it was HD, then it was Full HD, the next big thing was 3D television that backfired and then, they figured out that device has to be "smart" to successfully produce money; thus, I don't think that smart tvs will disappear anytime soon.
[...] exclusivity is antithetical to the spirit of the place, of the community, and of the idea that Joyce wrote for everybody, especially the ordinary person.

Let us say that that is not how I would have phrased that sentence.
> We just put them on the shelves.

And we put them back to front, so they look nicer. https://twitter.com/PeteOtway/status/947495792788590594
> Allocate capacity in make to avoid re-allocation

Am I the only one who has done this and used append() within a loop, and resulted in a slice that is 2x as long as the original desired length, and the first 1x of items are all empty?

I quickly caught it and fixed the approach (instead of append, I used the `i` as the insertion index into my new empty slice which already had capacity allocated), but the ease with which that subtlety could be overlooked turned me off to this approach unless I profile and really find it's a hot path.

Edit to add: I tried his code, and it resulted in the new slice being as expected.
What do you mean liberal?

Even drugs are not legalized, up until recently homosexual marriage was not recognized. People toil about the same hours, though more often mentally than physically now.

You have no direct choice in how to pick candidates for Senate or presidency - you can only pick from choices presented to you, and even there tribalism of the masses beats any individual choice. (The best you can hope for is picking a governor.)

Where is liberal in that? Where is the liberal, when all rulers are ivy league educated?
Romance books are just porn for women. Works for men too but for men it's easier to just look at some pictures.
Docker Embraces Windows Subsystem for Linux 2
Some millennials are considering the collapse of civilization as a factor in their retirement plans: https://www.marketwatch.com/story/how-to-get-young-people-to...

I understand the pessimism. I think that course of action can be justified. I am still saving for retirement but I can't really justify it beyond some very early markers that we are going to decarbonize and save what we can.
As a person born and raised in Soviet Union, I strongly believe that whoever thinks that a proper economic response to raising prices is literally to order them to stop raising, is a lunatic.
The program knows it's being wasteful. It is just limited in what it can do about it. Mainly because the same kinds of thinking used to get the program into this mess are what's being tried to get the program out of this mess. Einstein had the definitive quote on how well that works.

"We can't solve problems by using the same kind of thinking we used when we created them."
Yeah, that's reasonable, I think it's much more likely to be an arms race w/ contact scraping extensions than a support issue.
Show HN: Build an App/API with a MultiCloud, GeoDistributed Back End in 10Mins
Symptom: rents are too high

Cause: insufficient housing supply

Solution: disincentivize new construction?
A “straight forward romance book” would still be inappropriate
The world is a very big place and there's more than enough space and resources for everyone. Overpopulation is not and never has been a serious problem.

The only issues are in engineering and government to ensure citizens are actually provided what they need, which in this case is limited by decades of corruption and poor decision making. India is more than capable of handling the issue, it just needs better leadership to cast off some of the anchors it has been carrying for far too long.
Library to scrape and clean web pages to create datasets
I once worked for a company that was on the verge of bankruptcy.

The owner (main shareholder) of the company decided that what the company needed was a new CEO to turn the ship around.

At the time, the company was so broke that we were getting less than the needed amount of office supplies. At the end of each month, basics were missing. So us, the employees, were bringing in our own toilet paper, coffee, cleaning materials, etc.

The new CEO came in at the end of the month when everything was missing. He felt were were 'gloomy'. So he went out and bought us all balloons and something else I forgot by now.

But the feeling of going to my desk to pick up toilet paper that I had to bring in while carrying a 'free balloon' with some 'motivating' words is something that I will carry forever. It was part of my motivation to spent 8 years self employed.
A fake commercial they made https://youtu.be/R35gWBtLCYg but the whole thing is fairly worth watching.
"In the U.S, a considerably larger country than Ireland, greater-than-EV-range journeys are outliers."

Well, for me thats nearly every weekend in the Summer where I go hiking and I need 300-400 miles roundtrip.
The variation I was taught (and it works rather well), is to look at the Requirements and estimate them in terms of T-Shirt sizes of LOC (Small, Medium, Large, XL). Then baseline your S/M/L/XL sizes into LOC. e.g., Small is 20 LOC, Large is 750, etc. From that, use your historical data (you have been tracking closely how long it takes to implement a feature vs its LOC size, right?) to estimate that say, a Small feature (20 LOC) will take 2 days at a rate of 10 LOC/Day.

It takes a lot of discipline and planning, but in the end it's the most accurate method of size and time estimation I've ever seen.
2 Giant Buddhas Survived 1,500 Years. Fragments, Graffiti and a Hologram Remain
Other than converting the trunk and passenger area into a cargo area, this hardly classifies as a truck. It appears that little was done to improve the vehicles handling off-road. The wheels and tires look to be stock meaning no gains in traction. No mention of suspension or ground clearance which means it will still be limited to fairly well groomed and paved roads. But as I'm familiar with Simone's content so I'm aware this is pretty tongue in cheek.
LinkedIn offers a marketing feature where users can opt to prefill forms and etc using their LinkedIn data. But not OAuth based (a quick and dirty workaround, perhaps).

Our privacy team took one look at the code and said to stay 100 feet from it.
There is a huge deal difference between relatively homogenous China (90+% Han) and linguistically and ethnically diverse India. Heck, English is even a unifying language there. Not to mention way different geographies (very fertile/tropical India and very mountainous/temperate China) and political (including colonial) histories.

Perhaps India could learn a few lessons from China, but the role model approach wouldn’t work.
One liner NPM package “is-windows” has 2.5M dependants, why on earth?
Oh, man, don't get me started. Two short ones: I did a stint in professional services and billed for 2600 hours @ $250/hr for a total of $650k. Essentially worked 12+ hour days for a year, and got a bonus of $1000 before taxes. I quit within a month.

Next up was an appreciation gesture where we were thanked for all of our extra hard work with a pack of "Extra" gum and a delivery of baked potatoes (with all the fixings, at least). Unfortunately, the potatoes didn't arrive until about 2pm and no announcement was made. There was just a couple tins in the corner of the kitchen.
>There is lack of support in the upstream Linux kernel, toolchains, and web browser

Except firefox who become useless on 32 Bit after quantum I don’t have any problem with Debian on my netbooks. I am really curious about the “lack of support” in the kernel, Any idea?
The i386 moniker is used as an umbrella term for 32 bit x86 architectures.
This isn't simpler at all. Managing CGo is many times more difficult than a little optimizing. If you're able to write the hot path more performantly in C or similar, then you're perfectly capable of optimizing the Go version--the principles are the same and you don't need to incur the costs of crossing the CGo boundary nor do you need to reason about the memory/ownership handoff between languages or any of the other half dozen downsides of CGo.
Last two points are predicated on fulfillment of the first two.

Network first and technology later vs. most of the industry's 'build first and get the stakeholders later' approach could be the sole differentiation in this thing flying off
There was a story about Steve Jobs seeing an overweight engineer in the hallway eating a donut. He glared at him and next day there were no donuts in the Apple cafeteria. I don't remember where I read this.
Please consider adding rsync.net as a privacy friendly[1] alternative to gdrive, etc.

We just added the 'rclone'[2] binary executable to our (very strictly limited) environment which basically allows you to send/recv to and from any cloud service.

So, not just a good alternative to google drive (et. al) but a very useful "cloud storage swiss army knife" in general.

[1] https://www.rsync.net/resources/notices/canary.txt
[2] https://rclone.org/
I would not say Zuckerberg has no moral compass. He definitely has one. Hell, he started only eating meat that he personally killed. What I would say is that his moral compass points in a VERY different direction than the vast majority of society is familiar with. He's a kook, basically. His views on privacy are not that he 'doesn't care'. He made it clear early on what his viewpoint was. He sees privacy as an antiquated, outdated notion that everyone will benefit from the death of. He believes that once everything is out in the open, people will grow up and stop being judgemental about things that are statistically normal despite being in contravention of social norms. He is, of course, completely wrong on that point and gives the majority of society far too much credit. But it's wrong to say he has no opinion on the matter.
>Folks who want to learn something non conventional might be better, but they also may share personality traits that mesh well too.

Curiosity is probably what they have and what helps in solving problems.
I don't forsee Debian dropping 32-bit in the immediate future.
Genuinely curious: what do you think would be a better response?
Reminds of a job where they would wait until the last day to announce someone was quitting. Management required the resigning employee to keep quiet. So hand-over then became a mad-dash for all involved.
<insert joke about inverting a binary tree>
One of the primary issues I run into this is that some parts of the domain logic determine what data you need from the database and this logic can't be easily moved into sql(or however you're specifying what data you need back from the datasource).
There are many places where the opposite is true. Are we just focusing on the states here? The world is pretty big and most of it is unlike the USA.
Nope. New buildings are exempt.
The make function takes the type, length and capacity. If you don’t supply capacity, it defaults to length. So if you want to use append, do something like:
make([]int, 0, length)

That will allocate a slice that can fit length ints but has a length of 0 (so append starts at index 0).

You can call len(slice) and cap(slice) to see the difference, but append will insert an element at index len(slice), growing the capacity if necessary
in LA, i had a good experience adopting my dog last year through the NKLA adoption center (https://nkla.org/) which is organized by https://bestfriends.org/, a national rescue organization.

they told me as much as they could about her from the 10 days they’d had her (for spaying, vaccines, and microchipping) after rescuing her from the county shelter (who found her wandering the streets).

her main behavioral issue was anxiety, probably partially due to prior abuse (she’s cautious around bigger men), which manifested mainly as nervous diarrhea for the first two months, along with panting and self-scratching/gnawing. it took some work to get her to trust me so she could self-regulate her anxiety and calm down at home.

but she’s a bundle of joy, eager to please, very playful & friendly (with dogs & people), and so attuned to me, that i feel immensely lucky to have found her. i wouldn’t trade her for the world!
I can't help but feel that JS, Go and Rust will really carve out a lot of development that is currently in Java, and eventually a lot of C# as well. Java is a lion's share in corporate dev, and C# is similar, stronger in some regions/industries.

JS has already gained some traction via MEAN stack (though not a fan of Angular, and can do without Mongo). Go has started gaining traction, and I feel that once the Async/Await support cements in an LTS release of Rust, it's use will grow substantially as well.

Frankly, it's an interesting time to be a developer, and largely the past decade has been far more interesting than my first in software. I also think there's still room for improvement.
This has been tried before in a number of different flavors. Most leave people worse off.

https://www.bloomberg.com/opinion/articles/2018-01-18/yup-re...
It's not the density of the star but the density of stars. Dense clusters like those found in the center of our galaxy create a lot of secondary effects like bigger stars pulling matter away from smaller stars (creating lots of background radiation and matter floating around) and then stars plow through those interstellar clouds, creating deadly bursts capable of cooking entire planets, stripping away their atmospheres, etc. In the center of the galaxy, these events happen so frequently that it's extremely unlikely life on any of the planets would survive long enough to evolve beyond simple single celled organisms.
This would only be true if rent wasn't already (relatively) way above the cost of new construction and if the freeze applied to new buildings too.
The Antminer S9 is one of the most efficient miners. ASIC miners from older generations require more Watt per TH, 8 GW might fit.
Just ran an audit on the website to double check this and you're right. Current loading time on 3G is ~20 seconds. We're going to take a look at this as soon as possible. Thanks!
(million: 1)^2 * 100 billion gives an estimate of ~0.1 stars in the Milky Way that host life.
Random to see this here, but I like it! I grew up in Western NC on the edge of the Great Smoky Mountains National Park, so I'm a big fan.

Max Patch is always a nice day trip, and Black balsam knob is one of my favorite spots period. Fantastic panoramic views, and go in August if you want to take home a bag full of blueberries. The most seasoned hikers will want to follow the Art Loeb trail out to Cold Mountain, and climb the summit. But it's not for the faint of heart! ;)
Air Force landlord falsified records to boost income, documents show
These are found in the Ozarks of Missouri and Arkansas, too.

For a related bit of obscure US history you can read about the post-civil war vigilante group named after these: https://en.wikipedia.org/wiki/Bald_Knobbers
Probably, but tbh, it sounds like a bad way to combat scraping, much like blocking curl user agent strings.

Looking for access patterns that are typical for automated usage are a much better answer - and not publicly showing email addresses to everyone, of course.
I'm so ashamed of german politics of late. We're becoming the country where Homeopathy is GAINING popularity, where policy is increasingly symbolic in the good case, outright ideological in the worst case.

It's really at the point where I don't want my kids growing up here anymore, problem is, where else?
Linkedin is at war with spammers and scrapers. The mentioned plugin is a tool for quickly finding email-addresses on a webpage. Who uses that?
In what year exactly did none of Facebook, Apple, Netflix, and Google have a service outage like this?
True. But it's a big paradigm shift from OOP to FP with pattern matching and adopting the "let it crash" approach. But switching from Java to Elixir is a proven 1000% increase in developer happiness :)
I have been using rsync.net for years (with attic, borg and now restic) and am very happy with the service.
Raising prices = Demand > Supply. You can either try to curb the demand (by e.g. creating incentives for companies to build offices elsewhere, move government bureaucracy somewhere else, etc.) or improve the supply by facilitating new construction, which in most places on earth is limited by, again, local government restrictions.

edits: grammar
At best you'll produce consumer surplus for lucky renters, and you'll produce sad outsiders who'd be willing to to pay even more but can't get in. Everyone knows this is an issue with insufficient supply (of housing or of nice alternative places to live) but it is popular to put a ban on symptoms.
I think this situation is somewhat different from your characterization. It isn't really a "public channel" that somehow belongs to the city/state. It is privately provided service that is just mandated as a side-effect of granting the private company a cable franchise.

But I'm struggling to come up with a good analogy that involves private infrastructure that exists only due to government action with a 1st-amendment component.
You're running into the difference between

make([]T, 0, n)

and

make([]T, n)
Isn't this similar to rent control in the states already, or other incentives that disincentive moving (ex, locking in property tax amount at time of buying)?
I think this is an interesting move from FB. Google has been trying to get payments data by extracting it out of your emails and any other data that resides on their servers. I don't know if they've been correlating it with search/dns/ad data, but I suspect they sneakily have been. By getting all the major payment processors on board for the operations/logistics, and with FB providing the tech, they can all share the data between them and FB probably thinks they can profit the most out of this. Apple's pro-privacy payment system is unlikely to take off (IMHO) given that it doesn't align with the profit motives of the payment companies. The only way it can take off is from the bottom-up if people choose to use it in droves.
I suspect they want better working conditions and think the negative press reports may help.
Address the issues that are limiting the supply.
>My one concern: if the libra's value is based on a basket of assets, will US users still see the value in terms of USD? Will French users see their value in Euro? Will the value of my USD change based on the basket of securities backing libra?

I don't know what the UI will be like, but I guarantee that there will be an exchange rate of USD to Libra and it will shift as USD's value shifts against other currencies in the basket.
Google says Boeing had 153,027 employees as of Jan 2018.

Why should we listen to Stuart? They don't list his job, so he could be just about anyone.
Dictionary encoding strings to integers is a common compression technique. In GC'd languages it fakes out the garbage collector because your dictionary codes are essentially pointers but not actually pointers from the GC's perspective. You also have the benefit of potentially using a smaller integer than a pointer if you know roughly the number of values you're encoding beforehand.
Boeing has ~150k employees. Given that pool of people I'm pretty sure you can come up one that has any opinion you want. Just decide at first what you want your story to portray, then go find your employee.
Catered lunches are a very common perk in the US too.
I am not the OP, but based on the point of view perhaps the OP would say: encourage more housing development to lower prices?
Where can we find a definitive reference about dogs?
Facebook is not even a safe place for your cat pictures. Why would they do a better job when it comes to your money ?
My same thought... I understand email is "old" in terms of technology speed but man SMTP was just defined in 1982.
A Method for Establishing Liability for Data Breaches
"Seen here in an illustration"

This half-hearted attempt to say that the impressive-looking image of The Nearby Star was in fact an artist's impression of what a Red Dwarf might look like, made me laugh. Is it seen here? Or is it an illustration? I suspect someone changed the copy just before publishing
Glad you honed in on the "will only" comment to grandstand about privilege.

If Giertz changed that to less absolute language, poof, your comment disappears.
Cocaine was also 'medicine' and was regularly prescribed as such.
Fundamental rules govern its existence, but not what's done with it. Most cryptocurrency in use today isn't "regulated" by mathematics any more than banknotes are "regulated" by physics.
Not happy about other programs deciding to become spyware, either. "But they also!" is not a valid defense.
The rise of ISIS was not due to climate change, it was a group that arose from AQI, which itself had it origins from Jordanian Jihadist Abu Musab al-Zarqawi who, in the 1990s ran jihadist paramilitary camps in Afghanistan. ISIS wasn’t driven by crop failure “due to climate change.” It was essentially a war due to Sunnis not liking Sh’ites — a conflict that has been ongoing for literally centuries. And, in this specific case was due to a power vacuum in the aftermath of the overthrow of Saddam Hussein. But the roots of that conflict are as old as the 1975 Algiers agreement between Iraq and Iran.

Attributing ISIS to climate change is about the same as blaming social media for ISIS; arguably social media’s existence actually helped ISIS propagate more than any causes attributed to climate change. ISIS and it’s origins are exceptionally complicated as are most conflicts in that region. To trivialize it by claiming it was because of climate change is to reveal a profound misunderstanding of the history of that region.

We can discuss climate change and it’s causes and effects, but it weakens credibility when almost everything gets blamed on it. It’s getting to the point where when one used to say this bad thing happened because “it’s God’s will,” but now people say, “climate change.” It’s taking on religion-levels of influence to where actual causation gets ignored in favor of attributing everything to CO2. Every storm, every war, every bad thing that happens has a least some people trying to use those events to justify their belief systems. Sometimes weather is just weather, war is just war. If we ended all CO2 emissions tomorrow, the Middle East would still be a cauldron, wars would still happen, crops would still fail from time to time, hurricanes would still destroy things, tornados would still happen. Climate is an important issue, but let’s not turn it into a religion.