jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Operator overloading is very useful in the context of generic code though (through templates).

I've programmed C++ for probably more than a decade now and I've been bitten by many of its features at some point, but operator overloading would rank right near the bottom of my burn list.

It can be abused, that's for sure, but so can many C features.
You could, and should, do both of course.

If the FDA sanctioned the practice and published lists of approved fish substitutions then only uninformed consumers would be unaware of the possibility that they were being gouged for cheap fish (you can see that gouging as a reward to restaurants that refuse to serve real tuna, and an informal punishment for consumers who are trying to get tuna). These uninformed consumers are presumably un-reached by your media campaign to cut back on tuna consumption.

It also eases the transition from tuna to other fish. I like tuna-salad sandwiches, I eat them a few times a month. I wouldn't know if the tuna in them wasn't real tuna, in fact I hope it isn't. I would have no idea what "escolar salad" is though. Mislabeling allows me to get what I want without unnecessary environmental impact.

Also, mislabeling fish is not unprecedented, but done for worse reasons in the past. See Vietnamese catfish: http://en.wikipedia.org/wiki/Basa_fish#.22Catfish_war.22_in_....
What is nanotechnology, or modern optics, if not a collection of observations, leading to correlation and causality?

Specifically: not merely a "collection of observations", but an organic body of reasoning, and understanding of core underlying phenomena (e.g. the mathematics of refraction/reflection; E/M radiation; physics of materials; that kind of stuff) that is far greater than the sum of its parts.
I took a class in ChucK once. It is moderately terrible and half-finished but I managed to write a patch once while blackout drunk, so I'd say it's pretty intuitive.
Different implementations seem possible. I don't hold the current state of affairs in high regard, either.
This article broadly explains the motivation and vision behind our project. There are many object stores, why build a new one? To push self-hosting, in face of democratic/political threats we feel are daunting.

Sorry it didn't float your boat. You're just not the article's target audience I guess! (And, to answer your question: the target audience is mildly-knowledgeable but politically concerned citizens.)

I agree this is maybe not the type of post you'd expect on HN. But, we don't want to _compete_ with other object stores. We want to expand the application domain of distributed data stores.

> I can't find a single proper discussion of your consistency and availability model

LGTM, I would be dubious too. This will come in time, please be patient (the project is less than 2 yo!). You know Cypherunks' saying? "We write code." Well, for now, we've been focusing on the code, and we want to continue doing so until 1.0. Some by-standers will do the paperware for sure, but it's not our utmost priority.
I don't think tap to pay can be skimmed in the same way you can with swiping. You'd have to actually clone the data on the NFC chip, which isn't possible through a tap from what I understand.
That’s mismanagement for you. Other exercise equipment makers employ a small fraction of Peloton, pre or post layoff. It’s a slick product (I own and use the bike), but fully agree that head count is absurd.
I'll give facebook that, it's pretty easy to use. It can be frustrating to dig around for obscure settings but for your average user everything is pretty much front and center friending/liking/sharing/clicking on links all work quite easily and are straight forward.
I'm very bothered by how much of today's art is based heavily on photographic reference. In some part due to the difference in skill development required by using a photo for reference versus using live references or your imagination/memory/whatever, but mostly because of how much the technological conceits and limitations of that photography come to infect other media which don't suffer from them.

It's most obvious in paintings and videogames. Depth of field, bokeh, motion blur, perspective, lens distortion—even focal length and composition. Once you realize it, it becomes impossible to ignore, and it really compromises the work for me. So many of the most technically adept artists today are using all their skill to effectively simulate one form of art with another. It's an interesting exercise, sure, and I'll never dissuade someone from developing and refining a skill, but in the best-case scenario, I'm just left thinking I'd rather see the photo or the movie, or not see the image at all. And I'm someone who will gladly spend 20min+ standing in front of a Rembrandt.

I don't have any issue with realism in art and think it can be quite effective when used well. But so much of what makes something like The Night Watch incredible is how it feels both convincingly real and compellingly uncanny at the same time due to its rendering from some fuzzy approximation of what the artist observed from his models, conceived in his mind's eye, and meticulously sketched and reworked.

To me, it's the ability to capture and create something within/from that gray area that makes an artist great.
Not OP, but have been on stimulants off and on for a decade (tried various ones, with Vyvanse and Adderall being most effective, but the former triggering mania so can’t take anymore).

YMMV, but “withdrawal” has never been more than a minor annoyance, even after years at relatively high dosage. Tired for a few days, a little bit lacking in motivation, definitely more difficult to concentrate.

The concentration part is usually the hardest, but is not necessarily worse than before the drugs, you just forgot why you went on them to begin with or how bad your ability to focus really was.

I will say, it can take some time to adapt to that lack of ability to focus though, as your coping mechanisms before you took medication are a bit atrophied due to no longer needing them.

The physical withdrawals themself really aren’t problematic though.
This was a great essay!

Two great excerpts:

> He cut me off. “[NFTs are] not art. Don’t call it art. That’s offensive to real art.”

This paragraph really drove home to me what NFTs are. They're another club, like having a blog or a TheFacebook account used to be.

> I didn’t tell him what I was actually thinking, which is that I suddenly could not imagine myself having children anymore, if I would just have to watch them slouch away into the confines of digital life. If I do have children, they will likely grow up in a world where living online is normal, or at least a viable option.

I think everyone who considers having or has kids worries about what kind of world their kids will grow up in. I know I have. The things we endure ourselves shouldn't be inflicted on our kids.

That said, a partially digital life that is available by choice (rather than being inflicted on someone) seems pretty awesome in some ways. Look at how mailing lists have helped foster knowledge sharing and community, or how youtube has made it so much easier to learn skills, and imagine that in a more accessible format.
With all the beautiful anecdotes on this page, HN is going to be driving a lot of dark market traffic today.
Thanks both - here's how it works:
1. CoScreen captures each of your window to be shared individually.
2. It sends them across in a combined video feed per user with window positions & sizes.
3. On the receiving end, it creates actual native windows which are filled with the video streams of the corresponding windows. That way they look and feel like actual local windows. E.g. you can move & resize them like any other native windows.
4. Whenever you click or type into a remote window, the input is send across to the origin of the window and applied there.
Yeah, thoughts and opinions are my own of course but overall we've had good experiences.

I tried to insert some of the benefits we are seeing into the article in different pieces but now that we are several years later have it running in production. We are happy with the decision. In my opinion, there are even some newer things we didn't write in Go that I kind of wish we did.

The reasons we choose Go are holding true, and I can't say enough about how the performance and low GC times out of the box is something that is very beneficial. At least for my use cases.
> The US had no laws restricting immigration, period, until 1882.

Yes, but it had Naturalization Act of 1790 that restricted naturalization only to white people. It wasn’t an immigration restriction, to be sure, but very few non-whites immigrated to US anyway (other than the forced immigration of black slaves), rendering the issue moot.

> And, of course, the very concept of "immigrant from Europe or descended from them => white" is a lot more recent than 250 years ago. The Irish weren't considered "white" when they arrived en masse after 1820. Italians, Greeks, and various Slavs also weren't considered "white" when they arrived in the early 20th century.

This is very much false and ahistorical. Many of them weren’t liked by then-locals, and in fact we’re often discriminated against, but at no point they were seriously considered non-white. There have been some activists recently claiming otherwise, but it has been based on very weak historical grounds. Consider, for example, that after the Ozawa case, at no point the question of Irish or Slavs’ whiteness ever came up on a court docket, while it did for Arabs, Syrians, Filipinos, and many others: https://academic.udayton.edu/race/01race/White05.htm

> Suspicion of divided loyalties for a Catholic president was a big issue in the 1960 elections (JFK vs Nixon).

There was, but, as it turns out, Catholicism is not a race.
Certainly, what I mean is that it's actions can be also be seen as good under certain moral code.
Someone who invested in the US stock market at peak in 1929 wouldn’t have broken even until 1960 or so. And that’s assuming they went for some kind of broad index rather than companies that could have went belly up.
I think Tim Ferris has been helping fund some of the research... https://www.businessinsider.com/tim-ferriss-first-psychedeli...
I watched the video, those benchmarks are just terrible. If one wants to use LuaJIT for a porject, sure go for it, but making up weird benchmarks like that which purposefully cripple competitor language performance is just embarrassing.
Ha, I was thinking along exactly the same lines when I read that paragraph. Last week, I found myself reading a 1784 magazine article [1] about "Aerostatical Experiments" (the first hot air balloons) which referred to "inflammable air" which is what they called hydrogen in those days. Google n-gram viewer gives a beautiful illustration of when the name changed [2] -- this is an obvious switchover but I imagine many words change meaning and usage more slowly and in more subtle ways, so your proposal was quite exciting to think about. Let's hope someone takes up that line of research, either from the humanities side or the machine learning side.

[1] https://books.google.com/books?id=lvsRAAAAYAAJ&lpg=PA29&ots=...

[2] https://books.google.com/ngrams/graph?content=inflammable+ai...
Could someone please explain the "no cigar"?
Previously submitted at https://news.ycombinator.com/item?id=8866933
Disagree with solely the CEO but in general Boeing’s leadership seems to be somewhat disconnected from their actual product. Just take a look at Boeing’s HQ in relation to where they actually make things. Boeing’s c-suite is now in Chicago whereas their engineers/plant workers are on other ends of the country (Washington and South Carolina, mostly).
This story exploring the cave me wish a proper archaeological expedition would have been undertaken, instead of a looting trip in the 70s and a "psychedelic recording trip" recently.
Yes. I got used to jsx like that
Don't you think you should blame the shop owner and not the ad company in this case? At the end of the day, it's the shop owner who came to us, not we came to them.
That's what they do in Starcraft 2 with MMR.
Not sure if this would make anyone feel better or worse, but you can find these kinds of examples everywhere. Abuse of position, often with results way, way worse than a hacked account, is extremely common in every single industry. We're all human, after all.
“I saw that you spun up an Ubuntu image in Azure. I’ll be your contact for anything Linux-related in the enterprise. Are you sure you didn’t intend to spin up a Debian image instead?”
> As long as it's possible to do this … it will keep happening.

FTFY. The only solution is for the information never to exist in the first place, never centralized, never even collected.
I suspect such claims might grow from the idea that you can replace set-theoretic constructs with category-theoretic constructs in certain places, and see what happens. It must be pretty fundamental, in the sense that dependence on a set theory lies in the foundation of many branches of mathematics. I can't say how universally such an approach can be applied; likely not very much.
But hasn't Apple managed to force a lot of developers to pick up the language anyways?
Where did you get the idea that I think corporations are people?

It's OK for the grocery store to see my data for because I explicitly consented for them to do that when I gave them my name and address when I filled out the loyalty form. Same way that I need to give some info to Azure to create an account, right? They aren't an anonymous service. But it's an active opt-in situation. You give them your info. They don't just take it.
And last time I tried it, only MIDI in.

(I'm really hoping for Sysex out. there is a polyfill in the meantime).

Waiting patiently here :) :) :)
While I wouldn't start with Java (it's not the simplest language about - I'd probably use C or Python) Dijkstra's anti-Java rant is over the top. It's still a huge language and that's NOT because of any corporate advertising campaign. Something that succeeds as well as Java has to have some actual value.
Another common sales technique is to have 3 models in a line - the stripper, the standard, and the deluxe. The stripper was barely functional, and its sole purpose was to have a cheap price to attract customers to the showroom. The deluxe had every silly feature the manufacturer could think of, like pinstriping on a dishwasher. It had a very high price. It's sole purpose was to 'frame' the price of the standard model and make it look like a bargain.

The standard model was the one the manufacturer expected to sell. Of course, the rare price-insensitive customer would buy the deluxe, and the salesman was happy to sell that and collect the large commission.
I am not the author, I just shared it here
Lack of familiarity doesn't make it fancy, and for a software engineer it shouldn't make it scary either. One of the largest parts of our job is learning unfamiliar things.
clickable : http://lalitkeshre.com/2015/01/16/good-product-manager-vs-gr...
Because the associated concepts, for example Kleisli categories, are easy to find if your search is seeded with the word "monad", but very hard to find if it's seeded with the word "strategy".
For the uninitiated, this solves a major (major!!) pain in the Haskell community: the lack of namespacing. If you declare two records with an 'id' field in the same module, you would get conflicts. People have been either using prefixing (fooId and barId) or splitting up modules to solve this problem, which can both considered to be ugly hacks.

I am so glad the author has been able to pull this off, and it is one of those "why didnt anybody think of this before, it is so obvious!" moments.
In those days you were lucking to get a second compilation in a 24 hour period, due to slow compilation and batch queues. You were very careful about finding bugs then. These days with IDE as-you-type compilations I can be rather sloppy about typos.
Even Geek Squad's rate is too high. Mounting a TV onto your wall is not a hard thing to do. Find studs, attach mount to wall, attach mount to TV, put on wall. I've done it several times. Granted, it's not fun, but it's not I'd-rather-pay-$150-to-not-do-this non-fun.

Even if you're a high-paid professional it's likely cheaper to do it yourself (assuming opportunity cost for this time was work, and not, you know, enjoying your weekend).

(IMO the TV wall mounting prices are completely out of line with the difficulty of the task. Compared to tire installation that takes more time, tooling, and personal risk, I'm really surprised that it costs so much.)
I couldn't agree any more than I already do.
>> "At Kaos studios in New York sitting with a team that's finaling on 7-day weeks for a couple of months. Talk about that ‘thousand yard stare’."

Geez this twitter comment from Bilson makes me so damn angry I shouldn't even write here. I can understand why the developers freaked out. Turn the production line grinding down of your people into process jargon. Well done, sir.
"Linear algebra is the math of vectors and matrices."
"The matrix-vector product is used to define the notion of a linear transformation"

This is BS.
* First: Linear Algebra actually is the math of linear transformations.
* Second: No sane mathematician would define linear transformations in terms of matrices.

Vectors and matrices are only one way to model linear transformations; They help beginners to imagine linear algebra; But often, refraining from using coordinates delivers a much clearer picture.

Maybe this should be called the "No BS guide to passing your engineering math tests".
To my eyes it's a quick overview of some linear algebra basics, the only complex thing possibly being notation (but I would assume and hope the book builds up to it while also building intuition).
While, like most people here, anything that claims to disrupt the textbook industry gets me excited on instinct, even a cursory glance shows some major issues with this that leaves me questioning whether someone who hasn't taken these classes could do well.

An example from the first chapter.

> By the way, before we continue our discussion, let it be noted: the
equality symbol (=) means that all that is to the left of = is equal to
all that is to the right of =. To keep this equality statement true, for
every change you apply to the left side of the equation, you
must apply the same change to the right side of the equation.

What is a change, and why do I have to do it to both sides? Is deleting all the exponents on both sides a valid change as long as I do it to both sides? What about dividing both sides by 0? This is a woefully inadequate explanation of manipulating equations. Maybe that's the bullshit that's been taken out, but I consider it fundamentals which often trip a person up later due to missing knowledge, and where I most commonly hear the phrase "Well you never told me I couldn't..." come out of a struggling student's mouth.
In this case, I honestly think the hardware solution is the better UI.

A very naïve person would expect that changing where the keycaps are would change which switch corresponds to which keycode. Only they'd think of it more like "Hey, the key I want to press is over there, but if I swap things around a bit, I can put it in this more convenient location over here." This isn't stupidity, it's merely expecting the world to be more obvious in its workings than it actually is.

Obviousness is a good UI heuristic. It isn't everything, and it can lead you down some dumb blind alleys, but in this case I can't think of any non-technical reason it shouldn't be made to work.
I was hoping someone finally figured out a good way to start the Go runtime from node/c/c++. Once this feature exists it will be trivial to write Go extensions/modules for Chrome, Apache, Node, MySQL, you name it.
Your devices broadcast the names of networks it has seen recently in frequent intervals. "Yo HomeWiFI you there" essentially. Anybody listening can then correlate them with Googles database to find out detailed information about the user. Usually people have a huge list of connected networks which will be announced and give huge information about the user. "MIT" SSID? Probably a student then.
Please don't post like this here. It only degrades this place. If flagging is insufficient, email hn@ycombinator.com and we'll take care of it.
AFAICT the comment you first responded to is consistent with the modern form of the idea. There's no reason to assume they were specifically thinking of Haeckellian recapitulation.
I've been on quarantine in Spain for 10 days now in an Airbnb. I'll spare you the long version, so here's the short version that I've figured out:

- if you can't move out, the next person can't move in, and you have the keys

- contact the landlord, say "I have money", and they'll work with you

- the owner is just as eff'd as you are, so even though it seems like you're screwed, you're really not

- I suggest contacting the owner(s) of the old place & the new place, maybe in the same email thread, and just start a discussion

- I promise, you're going to be fine, so just hunker down and enjoy the ride as much as you can :)
Unless you’re in an essential job that can’t be done remotely, no, you shouldn’t. Good luck to anyone trying to fire an employee for refusing to break the law.
When you add two binary numbers the simplest method for handling the carry is a ripple carry. The carry bit ripples up from lsb to msb.

If you're trying to build a simple 1 bit ALU you only need to save the carry bit as long as you add the bits from least significant to most. if you do it the reverse you have an intermediate result that needs to be saved.

One bit ALU adds like

a0 + b0 => r0 + carry0
a1 + b1 + carry0 => r1 + carry1
a2 + b2 + carry1 => r1 + carry2
...
an + bn + carry(n-1) => r1 + carryn

As you can see you only need to keep the carry bit. The result bit gets written back to memory immediately.

What's going on is a 1 bit processor represents the most extreme trade off between gate count and speed for a given functionality. AKA low gate count but requires many clock cycles per operation.
Google Ads and GSuite, which are paid products, have terrible customer support in my experience. Maybe our account was not big enough? With AWS, just the opposite: knowledgeable and fast. Was even able to put in feature requests.
> 1920x1080 resolution in 2020 is a deal breaker

This resolution is perfectly fine up to 17" (for humans, anyway).
It depends on the country/connectedness of the execs with the said authority. In a non-corrupt place, sure report away. In a slightly corrupt, what if the regulator plays golf with an exec at your company? Or went to the same grade school? Etc. Fully corrupt is the easiest to explain.
Yeah, when it's 11F outside the choice between a $10,000 bill and shutting off power is a no-win situation.
In high school I attempted this. I was only able to successfully snipe a handful of Adidas sneakers and sell for a minor gain.

I concluded that it was not worthwhile since I couldn’t develop a way to overcome captchas.

If I were to try this today. I would attempt to reverse engineer the api route used for submitting an order instead of automating the web page via selenium...
Actually, deploy Kubernetes is not that hard after I learned the few concepts.

However, I found myself spend too much time on finding out what settings should be put into which files. I really hope there is a tool that can help users to generate and configure these settings.

I think a good example of this is `npm config edit`. When invoked, it'll open the correct config file, and list all available settings with their default values. User can then enable those settings by uncomment them as needed.

Maybe add similar functionalities into those CLI tools (kubeadm, kubectl etc) could greatly improve user-friendliness?
I see it mainly as a way of supporting the work of an artist