skysight-inc/HackerNews huggingface dataset:
> That's maybe what the US believes (or some of the "America is special" hardliners) and if you believe it too I would say their propaganda did a good job. They can neither militarily nor economically do this, even if they wish they could.

Says who?

You don't need to crash a country just by throwing bombs at them.
Just look at how dysfunctional the EU is.
"Influence -- The Psychology of Persuasion" by Robert Cialdini is excellent background reading. Any reasonable bookshop has 100s of books on sales. Best to browse and pick one that resonates with you.

The best way to start learning is to watch and listen to a good salesperson doing their bit. For example, visit a prestige car dealership after you have read "Influence" and see how they apply the various aspects. Ideally get a job as a junior salesperson working for a great salesperson. Your learning will go much better under expert guidance. You just can't learn enough just be reading books, watching videos.

From your question you appear to have conflated marketing, public relations, negotiating, etc as being sales. They are all distinct functional areas that support sales, but are not "selling" as such.
I hired an attorney and took my case all the way to the city school-board. Lost by a 3-1 decision, was Expelled and still owed the lawyer 12k. (See my other post for more details)
It is a capitalist world order that we live in. The masses are not going to rise up and demand worker cooperatives. It is essential to the system of wage slavery that the managers don't know what they are doing. In tech there is this veneer of having some power and ability to negotiate pay due to having the tech skills. Hence nobody in tech thinks of things like collective bargaining, everyone's pay level is secret. People in tech are just skilled craftsmen, the thing about YC is that it is about getting beyond being a hired hand. Get it right and you could be in the capitalist ruling class, hiring managers to keep people in their places so maximal wealth can be extracted from them.

Work all your life to pay off the mortgage to the bank, make your bosses rich and retire quietly is what is expected. Some individual rights are given along the way, you can now have non standard dress codes and ping pong tables at work. But the premise is capitalism. Once people have the mortgage, the car, the two weeks of holiday and some tow word job title they are quite happy. There is no pretending about it, it is a system which is considered normal and the only way.
Direct link to Citrix's blogpost: https://www.citrix.com/blogs/2019/03/08/citrix-investigating...
Even if the issue were valid, the analogy itself is absurd. He could have said that Google Search surfaces links from Maps, YouTube, Groups, etc and doesn't penalize them using identical criteria (I don't know if it does or not). But saying Search doesn't penalize Google Search leads to infinite regress, or contradiction: If SERP generates a Link to a Next 10 results page, it must then derank the next page and filter it, but then since it wouldn't generate an internal link, it should rank in the results and be granted pagination. It's like Godelian Incompleteness Statement for Search.

More then that, the entire argument relies on a technicality: Links as UI buttons. Pagination uses links for UI interaction, but after Web 2.0 arrived, it doesn't have to. Infinite scrollers, pure JS pagination + XHR that doesn't generate links could be used.

(yes, I am a Googler, I am most definitely not trying to hide it, it's in my HN profile, I just got tired of constantly typing it, but if you search back far enough before 2010 when I joined, you'll find my opinion on these matters has not changed. I'm a copyright minimalist, I favor decentralized, mostly unregulated web, where everyone can scrape everything, remix, reuse, and repurpose data for permissionless innovation, and I do not favor the government getting involved so it can artificially create categories like 'vertical search' or decide what search algorithms should do)
Are there any container filesystems that support multiple inheritance, and create diff layers? It would be really nice if I could build a few different things independently, and then merge the final images together. Also if I could only include files that have changed in a new layer, and ignore duplicate files (even if the file was touched, or the timestamp has changed.)

Those are my biggest pain points with Docker at the moment. I have a complex build script that uses multi-stage builds and rsync to achieve this [1], but it's still a bit slow and inefficient. Would be nice if something supported this out of the box.

I've worked on a lot of projects where people just reinstall (and recompile) their entire list of dependencies (Ruby gems or NPM packages), and you have to jump through hoops to set up a caching layer, or maybe install them into a volume as a run-time step, instead of at build time. There should be a much better native solution for this, instead of needing to invent your own thing or read random blog posts.

[1] https://formapi.io/blog/posts/fast-docker-builds-for-rails-a...
.. and they will forever be ruled by them, so: not free.
Look Ma, No Glue: Electrostatic Adhesion as If by Magic
But is CEO going to live in a cheap apartment in a bad hood or entertain themselves via playing rocks they found on a street?

I'm all for controlling our inner consumerism but I often find tremendous lack of self-awareness in the discourse.
Nobody says MTG fans are "not clever" or shallow or manipulated by the system because they have an expensive hobby.
Tourism, cars, good houses, good furniture, art, videogames, eating out, going to concerts, collecting vinyls, having pets - are all absolutely unnecessary for humans and can be considered as luxury from point of view of those who cannot afford these things.

People buy and do stuff because they like it and can afford it and that's it. You're not more enlightened or clever for not doing one unnecessary thing but doing some other.

I don't ever eat in restaurants/cafes and don't have a car. I'm not smarter than majority of Americans, I'm just really shy and don't mind using public transport, so these things are inefficient for me, but they might be efficient in providing some entertainment, comfort, novelty experience, social signalling for those with different preferences.
The Computer Chronicles – Visual Programming Languages (1993) [video]
> When people understand that they can easily make the choice to swap out the container runtime, and the knowledge is out there and easily and readily available, I do not think there is any reason for us to user docker any more and therefore Docker as a technology and as a company will slowly vanish

How about MySQL as a counter argument? It's always been feature-weak compared to PostgresQL, with a less business friendly license and now owned by one of the most despised software companies by technologists. But it's probably still the default relational database people pick up. Habit, defaults and massive installed base can go a long, long way.
Nice. I'd forgotten Wolfram|Alpha.
BBC says it's the same modification of Boeing 737 MAX-8 as in Lion Airlines crash and both crashes happened a few minutes after take-off.

So we have two crashes of brand new planes of a new 737 modification over half a year, wow!

If these crashes have the same reasons (it seems so) then FAA would probably force Boeing to recall these new planes (350 of them, not so much). And Boeing might even lose some of pre-order contracts (~5000 planes).

How many other hidden problems like MCAS does this plane have? Last time two crashes over half a year for a new plane modification happened in 1965 with Boeing 727, but that was a completely new plane design.
Edmonton Eulers of the NHL
I have seen the nightmare hellscape of the future, and it is a drone made to behave like Sharky the shark dog.
That's not a reasonable model though. You cannot pick "time+scope". As has been well documented in software adding money to a project does not necessarily make it move any faster.
Good to be pushing the limits etc etc, but is this really at all close to being practical yet?

Just think of the scale of NZ farms vs the DJI range. Unless they can land on remote charging stations dotted about the terrain it's going to run out of power far too quickly to explore much of the farm aside from a brief flyover.

Back of the envelope calc: if an avg NZ farm is 252 hectares [2], and we charitably assume it's square
and it's about 6.3km for a trip round the perimeter, yet the DJI flies for 31 minutes at 25kph [1], so roughly 13km, it could only do ~two laps (without stopping and presumably not accounting for cross winds)
It gets worse if the farm isn't square (as seems likely in NZ terrain) and it gets much worse when you considering that livestock farms are bigger still than the overall average.

[1] https://www.dji.com/uk/mobile/mavic-2-enterprise/info
[2] http://www.environmentguide.org.nz/activities/agriculture/
As others are saying, Docker is a tool for repeatable environments.

I have an application with a long, tedious setup process involving dozens of apt dependencies that I don’t maintain. In the past, I’ve had issues with things not updating properly, inconsistencies between versions, spontaneous breakages... Using Docker, I built an image that contains all the dependencies that are unrelated to my code or configuration, then another image relies on this and contains all of my stuff. My deployment process only needs to be concerned with updating this second image and all of the frightening dependencies are guaranteed to be consistent and reliable. This second image is deployed to each box. All of the production systems are identical and if I need a new production box, I can have it ready to go in minutes and be confident that it will work and behave reliably.
It reminds me a bit "Running Man" by Stephen King. I think King probably had the better idea by having the audience be able to punish wrongdoers instead of helping the downtrodden.

If you could add some good mob rule hurt-the-bad-guys to your mix, it could be a hit. And that's messed up.
Docker doesn't have anything to do with scaling. All it does is to bundle shared libs, executables, etc. of your app in a container image. If the world could agree on a common Linux userland (same builds, features and names/locations of common userland libs and language runtimes), then Docker wouldn't exist. So you could say Docker just solves a problem of our own making - that of too many Linux distros. Of course, now that those libs are contained in the image, and often invisibly so, the problem of updating those dependencies for eg. security updates is unsolved. That is, the entire reason why these dependencies are provided as shared libs in the first place - that of removing vulnerabilities without having to rebuild entire apps - is lost.

The other thing that Docker does is run in a namespaced environment such that apps don't have access to the local file systems on your host by default. This is also a problem that's been solved since the dawn of Unix by eg. using file permissions (though admittedly not every scenario is served well). Docker apps don't have access to the host's access control infrastructure (/etc/password, pam, etc.) though, so Dockerized apps need to invent their own ad-hoc auth.

The only problem that Docker is really solving is that you can pack more apps on a single host compared to full-blown VMs. Basically, Docker is infrastructure for cloud providers to sell you lots of pods cheaply (for them, that is). Since many images are based off Debian (pull in deps via apt on first start), it could also be argued that Docker is acting as GPL circumvention device of sorts.
Why Can't I Set the Font Size of a Visited Link?
Ask HN: Tips for First-Time Authors?
Hello,
I just began work on my first book - a technical one - and I was wondering if I could get some tips from the HN community.

I have been a programmer since 2010 but have zero knowledge on the book-writing process. For instance, I initially thought I'll write my book in Markdown format as it'll be easy to convert it into any format I like while publishing. After looking online, it seems like I should be using MS Word or something more niche like Scrivener. But overall, this is the kind of noob I am right now on the book writing-cum-publishing process.

If it matters, I am planning to publish my book worldwide in both print and Kindle formats. And I am at content-outlining phase right now.

Please feel free to give advice on any areas you think could be helpful to a newbie like me.
Can a car get better mileage driving over hills?
You did not say when we had the free markets you want to return to.

You switched from "can we go" back to "in my lived experience."

These are two different things. I observe that most people disagree with your experience. But that's okay - we aren't all the same. But in order to reach your goals you're going to need to do a lot of convincing.

You wrote about "soilless Ag and indoor Ag and CEA". My points haven't changed concerning the need for expensive equipment and higher labor. I'll note that you originally wrote "self sufficiency" but now say "food self sufficient". Who makes the plastic and the light sources? Where does the power for the lights come from?

In essence, how do you get the costs down such that it best the natural advantages of (say) growing food in California and shipping it by rail to the rest of the US?

You write: "If every urban center is food self sufficient"

Population of NYC = 8,622,698. Size = 784 km2. That's 0.02 acres per person.

People love living in New York. People move (from farms even!) to New York. What do you think would convince most New Yorkers to move somewhere else for food self sufficiency?

"they can do more productive work" .. Certainly. That's what every factory farm system always says. That's been the mantra of automation for the last few centuries. Funnily enough, all those profits go to the capital owners, and in doing so has lead to critiques of the free market, including by Marx.

Who gets to say what "fulfilling work" means? The stage environment around Broadway, or the tango culture of Buenos Aires, could not exist if we all lived in small towns like you propose. Isn't that also fulfilling? There are all sorts of things which big cities have that smaller ones simply cannot.

I am mostly only concerned with replying to your 'self sufficient ‘village’' question. My critique does not mean that there isn't a huge negative environmental and cultural impact of current agricultural practices, nor does it excuse the dependency of modern ag on cheap oil, which appears to be what your last paragraph is about.
Everything You Know About Global Order Is Wrong
Clever Algorithms: Nature-Inspired Programming Recipes (2015)
Have two engines I'd like to eventually see:

1) An engine that removes all results from corporate entities. Essentially all pages would be from mostly independent entities. Obviously this would not be a primary search engine in and of itself since it's restricting a lot of content that could be useful, but at times I'd rather see what people are creating instead heavily SEO'd corporation #64728321. The description of 'Yippy' seemed promising here, but a search for 'space' quickly lowered my optimism.

2) A truly semantic search engine. It's amazing that e.g. Google was founded 20 years ago. And it was a major step forward in that searches for 'Abraham Lincoln' would no longer return hardcore porn. But since then we really haven't really improved much beyond that. Imagine a search for 'pages updated within the past 30 days about the launch of the crew dragon excluding large media and all social media results' would actually return what I'm looking for. Wolfram Alpha [1] is a very good proof of concept here, where the entire internet could effectively be a subset of all results.

[1] - https://www.wolframalpha.com/
You are right, but it is hard to see how for profit Docker Inc benefits from that. MySQL had a business model that was similarly challenging, which lead to where it is today.
> I understand somebody wanting to type "docker run xxx" and have everything setup automatically

Well there's your answer. Simple things gain traction.
They aren't always as fast...
That is great advice for anyone, anywhere!
Fair feed back. The Summary of Skills is mostly a Keyword hack for passive job hunting I can move it around.

I can deep dive into Elixir, Embedded C, C/C++, Java, C#, and PHP. I've used all of these on the job excluding perl, python and ruby in the last 5 years, and python and ruby i've used on side projects or for tutoring a friend on algorithmic programming for a evangelical role google asked her to do a follow up interview on. This is also not a comprehensive list of every language I've ever worked in or touched. I don't list Lisp, F#, Haskell, ActionScript, etc.

It probably makes sense to prune out outdated frameworks. And I should probably be updating this with some of the more recent frameworks i've worked with. But the thing is I'm bright, top 1% of the top 1% IQ, inability to write a compelling resume aside. I can pick up frameworks like candy, I read the manual. Further when I want to figure out how to do something that's not initially obvious or covered in the documentation I just read the source code or look it up, which is what everyone does but I do it better. That 2-3 day number includes getting a handle on libraries and frameworks being used on the project. I can pickup just syntax in the 10-90 minutes it takes to glance over existing code and documentation for most languages. For existing code I can usually follow the flow on first read with out knowing the language in advance. I learned C/C++ when I was 14 from reading intermediate level game programming books and reverse engineering it to figure out what the constructs do since there was no internet or other books handy, and the skill stuck with me.

So how do I stress that flexibility on my resume, or tell that story with out coming off as braggadocious?

P.s. do you mind if I ping you with a modified version in a few days that takes into account your suggestions?
One place where this can fall down is when the cost is along the lines of "if we do X then we're closing down the option of doing Y" later.

Unless the business/management/client is better than average, there's a large risk that they'll say "fine, whatever, we want X", then a year later ask for Y and be unhappy that it's impossible or very expensive.
Neither the US government nor Citrix have implicated Iran. Resecurity came out of the woodwork contacting media companies about its supposed research after Citrix posted a brief statement explaining the FBI had notified it of a breach.
> What’s wrong with Docker?

What's wrong with not using Docker? Outside of cloud/SOA/webscale sector, people having hard time to simply comprehend the drama.

I have not seen any justification for using containers on any scaleable system on real hardware for example.

In "ad-farm" world, running ad farms on pure hardware with netboot provisioning has been the "gold standard" since time immemorial.

Few points:

1. Netboot with root at tmpfs takes less time to boot, seconds over 10G (most of the time is spent on POST and DHCP actually.)

2. Netboot images can be stripped to the barest minimum of life-sustainance. Less software running — less problems.

3. Less attack surface for hackers.

4. Hard lockup proof - hardware watchdogs are more or less foolproof.

5. Linkup to the real network is as simple as it gets, you can use broadcasts for self-configuration and service discovery on the network.

6. If you deal with RDMA, well, you will be already spending most of your efforts on just getting software work as advertised on the bare system, and the additional troubles of containerisation will not worth dealing with.
If you think that might make you humbled, then consider that he was completely blind at the end of his life and he was still coming up with new discoveries and conversing with other mathematicians via scribes.
I have spent the last hours reading up on everything-WARC that I could find but I still haven't been able to answer my main question: why only as external crawlers?

There does not seem to be a tool to actually capture a warc directly in your own browser session. webrecorder (http://webrecorder.io/) is the only example I could find that comes close in terms of user experience but it still requires a third party and different browsing habits

- are there browser extensions that can save a warc while you browse?

- are there API limitations that require external browser control? something browser extensions can't be used for?

- or is it simply a question of use case. And crawlers are more popular (for archiving) than locally recorded browser history (for search/analytics)?

edit:

I have now found https://github.com/machawk1/warcreate, related discussions in issues #111 and #112 are quite interesting. Looks like there are some serious limitations for browser extensions. I will look deeper into how webrecorder works and how this could be combined
Yes, it makes you wonder, how does a small company pop into existence straight into class-A office space in downtown LA, and within the span of what? two years? claims to have done business with a dozen or so heavyweight companies. And what is their web presence? Vague, inscrutable C-suite-speak about security, and one blockbuster claim in the Citrix break.

At some point, Occam's razor will favor that this company is having its strings pulled by some larger entity that doesn't want to be revealed.
C is nearly 50 years old. C++ is 35 years old. Rust is 8 years old. Rust 1.0 is 4 years old. I think it is reasonable to guess that this is the reason rust is not taught so much at universities. Especially at universities which choose things based on what they think industry wants or what the professors know as this will lag behind actual trends in industry too.

I think this argument only really applies to rust’s learning curve if one assumes that each year universities asses the programming language world for the best teaching languages and pick out those which can be used for the courses and are easiest to use. They obviously do not do this and you can tell because they picked c++ (which is actually at least three languages to learn with the preprocessor macros and the functional programming language that is hidden in the template system)
Personally, I don't care for luxury items or brands.

But your argument here is a mess - you despise people with passion because of their consumer choices... and you're mixing up consumerism, environment, politics and income inequality into something completely incoherent.
A lot of trucks are owner operated. They can't afford to not work - even though they know they will be able to potentially make more money.

Owning a truck is a lot of maintenance - insurance, parking costs, etc. A lot of owners also have to pay lease, loans, etc. They can't afford to negotiate for better rates.

Just because there isn't a lot of supply doesn't mean that rates go up!
I'm always getting angry that most countries force many kids to be sleep deprived for ~12 years. I was one of them. I just can't operate properly before 10a.m. and even if I'm super tired it's very difficult to fall asleep before 1a.m. Furthermore my body wants 8-9 hours of sleep.

Research has shown it's not entirely possible to shift our inner rythm, so I really hope (more) schools start offering different timeslots for classes to start. I'm also confident there are enough teachers who willingly start two or four hours later and with flex time enough parents who happily bring their kids 2 or 4 hours later.
Cyberization means it's not your daddy's war anymore
I'd like to add that the mobile version is perhaps even worse. Had to use landscape mode and the siding gallery to get an acceptable resolution. When I tried pinch zooming, the pictures disappeared so that I had to reload the page, starting again from the first slide.