skysight-inc/HackerNews huggingface dataset:
> It would be better to adjust the environment.

Adjusting the environment is much more difficult and, in many cases, simply impossible.

To paraphrase an old folk tale, what is easier: making the entire land-surface of the Earth easier to walk on, or just putting shoes on one's feet?
Cute story. But it relies on Saunders having seen customers doing their own shopping prior to opening his store.
The reason boiled down to "it's easier to write a daemon to handle it all". But it's definitely not better than the alternative, nor is the alternative impossible.
Tesla Owner Parks on Stranger's Lawn, Stealing Electricity for 12 Hours
I’ve had this happen with a case of noodles checking out via cashier. It had a barcode on it, which was scanned, but later realized that it was a copy of the code on the individual boxes so ended up getting 24 for the price of one. Self checkout might have prevented that one as the weight sensor would have tripped.
TBH, I hate these kinds of articles. Instead of titling it something like "Things to be aware of with CSS background-image", or even the catchier "Don't use CSS background-image for a foreground image", it uses a much broader, click-baity unwarranted title about "anti-pattern".

I'm glad that background-images aren't indexed by search engines, or made available to screen readers, and I obviously know they aren't downloaded before the CSS that references them is. I think all of those as good things, because I use background-image just for that - things that not primary. When I print, if excluding background images makes the page unreadable, I think of it as using background images wrong.

Calling a widely used, useful feature an "anti-pattern" just because some people may use it wrong is ludicrous.
Twitter has never gotten back to me and I've given up trying to get support from them.
Bitcoin: It’s Not a Pyramid – It’s a Cone
I snorkel a few times a week in the ocean and the experience is always surreal. When I see marine life staring back at me through the water, the experience etches itself deep into my mind. So much so that I can pull the experience back out later in the day and play it back with great detail. This connectedness to nature has given me an incredible amount of peace and happiness.
It may well be that in many cases, they do already know, but are asking just so you have a chance to underreport.
Why California Cities Already Lost Local Control
How to Make San Francisco Neighborhoods Stop Worrying and Love More Housing
Thought for Food: Imagined Consumption Reduces Actual Consumption (2010)
How does this work with platforms that create shadow profiles like platforms that gather information from internet and form an entity out of the details without the person knowing it.
I see a lot of Surface Pro in the iPad[1]. That isn't a bad thing, it is great to have two design studios trying to out do each other. If you agree that these devices should work better on ARM chips rather than x86 chips, then the iPad has an advantage with an already ARM based ecosystem. Of course the Surface R/T tried that too, and stumbled. But I wonder if Apple saw that as a hint of where Microsoft might go.

I find it particularly interesting that at both companies these are the products that have a license to kill sacred cows[2]. The Surface R/T was "Windows on NOT Intel", the iPad has "stylus improved UI". Both of these were antithetic to Gates and Jobs way of thinking.

Both products (and I've got several different generations of both) feel to me like the "post PC" product. An application focused, battery operated, network aware device. I am a bit surprised that Surface hasn't embraced cellular connectivity as strongly as the iPad has, that is a key feature of "on the go" computing.[3]

[1] And chuckled when the new ones had the pen attach with magnets.

[2] The colloquialism, "that is a sacred cow." meaning a feature or rule that cannot be broken.

[3] Yeah, I know the 'tether it to your phone' mantra, I get that a lot, but it simpler (lower friction) to have it built in.
It may be an anti-pattern, but is it considered harmful?
> It doesn't. It just increases their profit.

this isn't a self-evident claim. if you have other large competitors who operate in the same market space (for walmart and target, large stores selling a mix of well-known brands and discount store brands), and there is a cost-cutting technique that's available to all participants, it's really hard to employ it and keep all the surplus for yourself. this is especially true if the customers don't like it. I realize this is a naive econ 101 argument, but this particular market is about as close to "perfect competition" as it gets. I personally couldn't tell the difference between target and walmart if you removed all the signs, but if one were noticeably cheaper or more convenient, I would go to that one every time. cost comparisons between walmart and aldi is not particularly convincing; they sell different assortments of products. by not selling such a wide assortment of well-known brands, aldi probably has a significantly more efficient supply chain.

> Meanwhile, a lot of companies are getting rid of their self-checkouts since there's tons of theft. They've probably lost more at some places than they saved on laid-off cashiers.

well this is certainly a confounding factor to my argument. if true, there aren't really any savings to pass on in the first place. maybe it's just a lose-lose for everyone involved.
Sure. Since I cannot PM you, I will use a more private address: secretsquirrel89@protonmail.com
PDF of the full Science Magazine article:

http://www.indiana.edu/~abcwest/pmwiki/CAFE/thought%20for%20...
Does anyone know if you can exploit the CodeMirror instance that's installed with every download of the Chrome browser? Fun fact: you can inspect the web inspector if you have it in a separate window to confirm that it does indeed use CodeMirror. Very meta.
Thank you so much! Same to you, my friend! :-)
What are my options to replace Docker Compose? I dont want to introduce a chaotic mess by using kubernetes. Or to dedicate brain power to learn what they changed every week. Their readme really confuses me with podman play, kompose, k8s.
Or having an imagination.
Thanks for taking time out of your busy day to respond -- I don't mean this offensively but that report is basically a PR document. The CNCF has done amazing things, again I really am happy with what it does -- The CNCF doesn't have to exist, and it helps so many projects (theoretically better than not helping at all, assuming they wouldn't have received direct contributions anyway, or would have squandered them).

What I was hoping for was input from people who work with the CNCF -- projects that can speak honestly about how CNCF governance changed their projects, both the good and the bad. When I generally see the CNCF mentioned it's "we got adopted by the CNCF" then cheers, and that's about all anyone says on it.

I think you could absolutely banish this opinion (definitely from me at least, I am often wrong and must change my mind to accomodate, this would be no different) by give some more of this "social proof" specifically from people who are f/oss hackers dealing with the CNCF. If kernel hackers say the Linux Foundation is legit/helps them and isn't overbearing, I believe them.

Even with all this, there's the possibility that the CNCF is trustworthy now but loses it's way and starts losing it's way but open source projects that grew dependent on it basically don't leave... But even typing that out it's obvious there's nothing anyone could do to prevent that really, the inevitability of politics, etc. Again, pretty tinfoil-y, which is why I'm currently defaulting to distrust but am doubtful that I should be.
It compiles to Erlang too. The language itself is extremely similar to Haskell but with some refinements around some of the legacy baggage Haskell suffers from (string handling for example). Some differentiators include: strict evaluation by default, handling of record types, an extremely modular package policy (nothing is imported by default), and a lack of some things that can potentially make Haskell esoteric at times (template Haskell for example). The community is small but dedicated. Documentation can be very minimal in a lot of cases, so it’s not a beginner friendly language, but once you are up and running, it’s a pretty awesome experience overall.
Sure, the key point in the article is very early on:

> And this is a key advantage: When basic needs are met, it’s easier to be creative; when you know you have a safety net, you are more willing to take risks.

Your (and my) basic needs were met. In the USA, 40% of families could not meet a $500 surprise expense. That's not paycheck to paycheck, that's pretty close to the edge and such a family would generally be averse to rocking the boat.

The ability to take risks is very important for success, but what that really translates to for entrepreneurs is an inability to believe failure is a thing.

So again, you did not have an upbringing that would make you afraid to take risks, therefore you took them.

I had an upbringing that made me afraid to take risks because even though my father was well off, his upbringing was during wartime. I took risks anyway, and my kids are basically rich kids in that they are unafraid to go after everything they want. It's very strange to see.
Will you also complain about Yogi Bera's "When You Come to a Fork in the Road, Take It! Inspiration and Wisdom from One of Baseball's Greatest Heroes", published in 2001?
My prediction is an A-series Mac won’t start from the bottom up it’ll start top down - beginning with a Mac Pro addin card.
An interesting one that was considered was Project A119:

>...Project A119, also known as A Study of Lunar Research Flights, was a top-secret plan developed in 1958 by the United States Air Force. The aim of the project was to detonate a nuclear bomb on the Moon ...

https://en.wikipedia.org/wiki/Project_A119
I really enjoy Cabal (https://github.com/cabal-club/cabal-cli), which is a decentralized chat client at the terminal (built on DAT/Hypercore).
Machine learning and semantic analysis of in-game chat for cyberbullying
Re: a degree - this is not my experience. I used to feel that way, but around 2013 my perspective changed. I don’t have a degree; I went to college after high school and failed miserably my first semester due to a plethora of personal issues, chief among them being undiagnosed chronic depression. I was pursuing a Bachelor’s through WGU from 2012-2013 when I jumped ship from an establish “enterprise” company to a startup, and from that point forward I don’t feel like anyone really cares whether I have a degree or not.

I see startups as my niche. My sweet spot for potential employers is a startup that has been in business for 1-3 years and is either profitable or obviously well along the path there. I like to jump into existing codebases with technical debt and spend my time working toward making them more flexible. I like to understand new business processes and use that understanding to avoid a project getting painted into a corner by the logic crystallizing into an immutable black box that everyone is afraid to touch because it’s essential and the people who originally wrote it are no longer on the team.
In a perfectly unregulated market a large entity can hoard a resource or provide a resource at a temporal loss for themselves so that they bankrupt their small competitors. This is an arbitrage opportunity that can be used against the large entity only if you have a ton of money - if you are small you are out of luck.

If you are small you do not have access to the expensive analysts that tell you how this perfectly efficient market will move. There is a fixed initial cost to join the "efficient" part of the market, that nobody but the big players will have. They will know when on average new workers join in so they can undercut their salaries / they will know when houses will be in demand so they can hike up prices / etc. If the small guy has that information they can efficiently adjust the time to participate, but that information will not be available without the expensive initial investment into analysis. The economy of scale that exists for the big players ensures that the market will be efficient only for them.
Thanks! That was quite enlightening. I barely heard any western media coverage of this riot https://en.wikipedia.org/wiki/July_2009_Ürümqi_riots
For some things, if you tell the truth and something pops up you go into administrative limbo which could take a year to clear up due to backlog.
I used this to track packets from twilio getting intercepted in China 9/10 times but then I got fired for bringing it up. 2014
Don't drink the kool-aid. An adapter that destructively compresses the signal is an unexpected and unmitigated disaster, not some cool quirk of Lightning that makes "the host not care what is hanging off it".

The real reason this abomination exists is because as recently as 2018, Apple is selling products with a connector that has the equivalent bandwidth of USB 2, not even close to transporting a single 1080p video signal.
Yes, they're stopping micropayments on August 1st: https://www.niemanlab.org/2019/06/micropayments-for-news-pio...
The problem seems to be a general lack of morals... regardless of some perceived justification.
I think that phrase is used a little more freely than it should be. It is wrong to imprison people against their will; yet we do it because those people do/will do wrong things. Two wrongs don't make a right in that case either, but we feel the second wrong is justified because of the first.
Well we do have nuclear.
The author has fallen into nihilism and has mistaken it for Buddhism and mindfulness meditation. Buddhism warns against falling into nihilism like this, but I suspect mindfulness meditation practices do not.

Anatta doesn't mean no-self. It's a complex concept and is often mistaken.

Anatta has two parts to it:

1) Reality is broken up and labeled as two kinds. There is the present moment reality, before it has been labeled by the mind called paramārtha, and a reality of abstractions and labels over the first reality called saṁvṛti. (For further reading checkout the Two Truths Doctrine.)

Self is an idea, so it exists within saṁvṛti. Self is an abstraction, as is everything in this reality.

2) The abstraction of self is a combination of a bunch of elements, eg body, mind, and so on, to make the concept of self.

Anatta, then, is a set (Set Theory). In the ultimate reality of paramārtha there is no self. In the thought form reality, self is an aggregate/abstraction.

"Why teach this?" you might be thinking. Because it doesn't seem like that big of a deal. It's even obvious on a second examination.

The reason this is taught is if one thinks a thing is them (like their work) and that thing gets insulted, they instinctively feel like they need to defend it, which causes a lot of dukkha (psychological stress). If one realizes that thing is not them, then there will be no dukkha when it is criticized.

People mix up anatta (non-self / no-singular-self / no-soul) with no-self. No-self is a meditation practice, similar to noting, which one realizes bit by bit, every single thing that comes into their mind is not self itself, even if it is a piece that makes up the abstraction. All abstractions are made up from a series of parts.

imho, anatta doesn't need to be taught to do mindfulness meditation, but understanding impermanence is important, because without it most people try to fight stressful thoughts and change them, instead of thinking of them like rain clouds, to be observed, not modified.

Once the meditator sees the causal chain from observation to thought, action, or feeling, that is all they need to change their habits and live a happier and healthier life.
Sorry, but this so called Microsoft revival under Nadella is pure marketing, not in the least bit technical. Under Ballmer (and Gates before him), Microsoft were a super ambitious company that tried to be the best at everything it did, and they made an effort to recruit the best programmers. Under Nadella, Microsoft completely lacks any ambition, and almost all of their best programmers have left for Google, Facebook or Amazon. They are now officially the new IBM. Not in the least bit exciting or something to emulate.
The word fork has been used for various things in computing long before Github was around. I agree it's a bit overused in this article, but you have the Unix fork command, which creates a copy of the current process and effectively forks the execution. Older Macs of the 80's and 90's used a filesystem that allowed files to have both a data fork and a resource fork; they worked like independent streams to separate program data and embedded resources like images, sounds, etc.
For some context: the author of this article, Jean-Louis Gassée, was a former director at Apple, founded Be, Inc. and was chairman at PalmSource for a while.

His background may help or hurt his viewpoint, depending on how you see things.

I will say that I disagree with his points. And I'll also point out that the Mac ARM transition is happening right before our eyes with the T2 chip, which replaces a bunch of system components (memory, i/o, disk controllers, etc) with an ARM-based platform.

Practically, the only thing that hasn't been replaced are the main CPU and the GPU, but it's only a matter of time.
Disable JavaScript to read the article.
Not buying this argument, not at all.

In the constructor, there is no object yet. You have a bunch of subobjects with no relationship besides proximity. The constructor is already a confined space analogous to the "module" recommended in the article. Its job is to tie the subobjects up into an object, and it is a great good that there is a specific language construct for this purpose.

It is true that you need to be careful, in the constructor, not to call members that assume class invariants have already been established while you are still establishing them. But nobody forgets they are coding construction, when doing it. The article invents a non-problem, and then a solution that solves nothing -- apparently just because there is no other choice in Rust.

Weak thesis, weak argument. Rust has strengths, but lacking constructors is not one. To present failing arguments risks suggesting that no better arguments for your favored language are available.
If Amazon is not held accountable for fraudulent business practices, is it ethical to hold a shoplifter accountable? The answer, in my mind, is that it is not only not ethical to do so, but it is grossly unethical to do so.
Is it possible to write a WebExtension that realtime modifies HTML requests from remote sites to replace inline-CSS background-image with a <picture><img>? Those would be the cases most likely to be "we're doing a background-image out of laziness and/or to spite people trying to save images with long-press on mobile".
Quantum Supremacy: What is it and what does it mean?
The authors of this article don't seem to understand that "Blockchain technology" don't prevent people from simply entering fake data. Many of the things discussed in this article, for example informed consent forms, can be easily bypassed by simply either fabricating consent forms or entering data with fake dates.

At the end of the day, the hard part with clinical trial security isn't securing the data/documents (the FDA as a centralized trusted authority does quite a good job); the hard part is ensuring that the data entered actually matches reality. Blockchain technology doesn't help at all with that problem. Blockchain technology is only really useful when you don't have a centralized trusted authority like the FDA. However, in most legal scenarios (like clinical trials), a trusted centralized authority is readily and cheaply available and thus blockchain technology is worse than useless: it only adds additional cost and complexity with minimal benefit.

PS: I highly recommend people check out https://clinicaltrials.gov/ It's the US's public repository of clinical trials that contains details about many clinical trials and results. That one website probably contains a good fraction of our total human knowledge of what drugs/procedures do.
100% been my experience too.

The people most reliant on social media are those that need it for 'staying in touch' or to feed their ego, let's be real.

I know people who live one life online and one life in person without batting an eye.

My experiences with ayahuasca and bufo have made me stop caring so much about social media metrics. Life is so much grander away from 'likes' 'followers' 'comments'.
One of my favorite phrases from my time in the service.
The article extrapolates leadership traits from extreme and rare emergencies. In my experience these qualities work when error or poor team work will lead to death or harm of another person (say combat, trauma surgery, or aviation). They don’t apply as well to business or politics.
> Bad for SEO

> Bad for Accessibility

Good. I don't want my background images/textures to be indexed by search engines or shown to people with visual impairment. It's purely for presentation, and should be ignored by applications that only care about the content.

In fact, 95% of images on a typical web page these days seem to be ads, logos, and cute little buttons that have nothing to do with the content. Which means CSS background-image is perfectly fine for most of these images.
I'm not the OP, but...

Here's the scene: Most of the web projects I work on will never have a billion users. They might have 5, or 10. One or two have thousands. Several of them have 1 (me).

Docker-compose works for me. I set up a container for my backend, a container for whatever's serving the static resources for the frontend, and a container for whatever databases are needed (Postgres, Redis, whatever). The databases get a filesystem volume mount that I can snapshot off the disk with a nightly cron job.

I have a script that will transform a brand shiny new $5/mo DigitalOcean Ubuntu image into a machine with nginx+LetsEncrypt for SSL termination, and with Docker and docker-compose installed (and the Docker port firewalled off, natch). From there, I run "docker-compose up -d" and my project fires up and goes. Maybe I have to edit a line or two in the nginx.conf that my script put in place.

To deploy, I do a local build on my laptop (or Jenkins for a few projects where it makes sense) via a script that pushes the built containers to Docker Hub, and runs docker-compose pull on the host.

This has served me beautifully.

I've looked at Kube more than once. It looks cool for things dramatically bigger than what I'm working on. For something that isn't massive scale, it's bloody complicated. If one of these projects ever gets to the point where a $40/mo DigitalOcean box can't handle the load, I'll probably look at it again. Until then, though, it feels like a very expensive (time-wise) premature optimization.
> that is making people money

the people buying the pirated software would not have otherwise spent the money on the official/real version. This is the stickler - counting "loss" from this kind of sale is at best immaterial and at worst fraudulent.
My favourite version of this is when a scientific study comes out and you get lots of posts from people saying, effectively, I disagree with science based on my feelings. The difference between anti-vaxxers or creationists and the average HN poster isn't as big as many pretend it is, I think.
Great EBooks
Adding Read Replicas in a Production Ruby on Rails App with Zero Downtime
Sorry, what do you mean? On a current MacBook Pro the memory is controlled by the CPU and the disk is attached to a PCIe root port also on the CPU. The "disk controller" as such has moved into the disk.