skysight-inc/HackerNews huggingface dataset:
Well, intuitions can sometimes be completely off. But of course, tit-for-tat is just a general strategy it doesn't mean that you have to apply it blindly, without e.g. tuning the parameters. And, as far as I can remember, there are slightly modified formalized versions, where you allow for the other party cheating/competing without immediate retortion.

The idea is, that of course, in real life people are not 100% uniform, miscommunication and misunderstanding happens, etc. And you'll want to tune your parameters to the situation at hand. E.g. if you have a long standing relationship with the other actor and they've always been cooperating then you may not want to compete/retort when you see then doing it for the first time. (OTOH, what I personally found important is that in a new relationship, you should be very strict about this. Even if not immediately compete, shoot a very directed and serious warning.)

The general idea is that you don't let the other party to take advantage of you in the long run , but you always allow for de-escalation and don't try to take advantage of them in the long run either. (You will get taken advantage of, of course, because you'll always start cooperating, so if every other actor/player is competing then you'll lose on average. But not by much. However, if there are just a few one who are willing to cooperate most of the time, then you'll win big time.)
Goldman Banker Nick Giovanni to Join Instacart as CFO Ahead of IPO
https://www.bloomberg.com/news/articles/2021-01-07/goldman-b...
Please, stop it. Some things just shouldn't be.
Sounds like it’s the reviewers who need to know basic calculus.
The post also presents a false choice between what’s known as “the singleton pattern” versus just allocating a single instance of the object and passing it around where needed:

> We don’t write a lot of these because our code doesn’t follow standard decoupling practices; while those principles make for easy to maintain code for a team, they add extra steps during runtime, and allocate more memory. It’s not much on any given transaction, but over thousands per second, it adds up. Things like polymorphism and dependency injection have been replaced with static fields and service locators.

“dependency injection” doesn’t require constantly allocating new instances of the things your classes need.
I assumed nothing, I'm pointing out that there are plausible situations that justify the behavior condemned by parent comment. I'm not passing judgement on this particular instance being reported.
It is not nice to lie about people like that. They have never refused to do that and in fact you can already do ahead-of-time compilation in Julia. Many of us have already done it.

It is not great yet, but it is an ongoing problem, which they constantly work on and improve.

Claiming they refuse to do it is either ignorant or a flat out lie.
It's funny that two people has claimed that I spread Russian propaganda, but none of you have even tried to deny the facts presented in my comment. If you are indeed from Luhansk, then you should know that everything I've said is factually true and you simply can not argue against it.

>Girkin (Strelkov) himself takes responsibility of starting the war who is russian

While he indeed played a big role in the uprising (though I think he tends to oversell his role), the cause was strongly supported by simple folk. (Don't forget about the last line in my previous comment.) The videos from the early stages with simple people blocking unconstitutionally deployed military forces is a good supporting evidence for this statement. You can call them "brainwashed by Russian propaganda" all you want, but it does not change the fact.
Show HN: Made my first Chrome extension for searching and sharing GIFs
Would love feedback on how can it be improved - specifically how to make it more useful as GIFs are becoming an important part of our conversations.
Please show me a source where they outright refuse AOT compilation.
Magnesium and Vitamin D - as far as I can tell there is plenty of evidence about the need for supplementation and effectiveness of both.

Currently experimenting with L-theanine to see if it helps me work better.
> Those ideas served civilization for thousands of years.

Civilisation also had wars and famines for thousands of years to manage population and "cull off the weak". Do you want to go back to that?

> western countries have literally ceased to be self-sustaining, becoming reliant on importing the next generation from conservative Latin (in North America) and Muslim (in Europe) countries. Victory!

And yet the same people who argue like that are also usually worried about overpopulation of the planet.

> those changes

What do you mean by that? Allowing people to be in charge of their own sexuality?
Ask HN: What's that site that will let you submit links without CSS/JS?
I have successfully used TLA+ to clear my 2-phase "put a thread to sleep" protocol from deadlock and livelocks.

I also proved that one of the nasty deadlock bugs I was fighting on Linux (but not on Windows or Mac) was actually glibc missing condition variables wakeup signals from time to time.

100% convinced it's worth learning to debug or verify any kind of distributed or multithreaded synchronization primitive. I was bug hunting for a couple weeks before deciding to learn formal verification / model checking via TLA+.

Writeup: https://github.com/mratsim/weave/issues/56
I wouldn't be surprised if it doesn't cover that, I can imagine it'd be tricky to include without adding tens of bytes (10-20 bytes could be freed up by using slightly hackier function calls to/from the display, so perhaps Óscar will add more features/intelligence one day)
I would have certainly felt the same way until recently but the timeline laid out in Shoshana Zuboff's book on Surveillance Capitalism made me re-evaluate that.
That doesn't make a ton of sense, research shows that social/wealth-mobility is greater in Denmark, compared to the US, by a lot: https://www.rockwoolfonden.dk/app/uploads/2018/03/Om-social-...

The reasoning is pretty much the opposite, the redistribution of health helps to move children out of their parents wealth/social-class. It might be that an individual adult in the US is able to move from poor to wealthy more easily, but I sort of doubt it.
I discovered the rate of change as a function!

That should be worth 50 citations.
An ancient thirst for beer may have inspired agriculture (2018)
I mean, the comment I was replying to answers your question:

> not something Julia was made for
Marvel movies are also made to export to a global audience looking for family-friendly entertainment. I'm sure some countries' censors would balk at sexual content as much as they would disagreeable political content.
It most certainly is still (numerical) integration.
How is that very readable?

In Julia, this will pick a random value from an array:
rand([3, 4, 5, 1])

While this picks a value from a range:
rand(1:10)

Much more straightforward to read IMHO. Where I prefer 0-based index is when dealing with coordinate systems and memory locations.
Hi HN! I wanted to show you Quizado - a game inspired by the popular TV Game “Family Feud”.

Backstory:

We created this app 10 years ago as a coding exercise. Recently, we’ve made some significant improvements to deliver quality gameplay and entertainment.

The game is perfect for all kinds of events, both in-person and remotely. Quizado has two screens: the Game Screen for the participants and Control Screen for the host. You can play it at family gatherings, Zoom calls with your team etc. There are 15 sets of questions that you can play for free.

You can even customize the game by creating your own questions, changing the team names and uploading your logo (available with the paid plans).

The app is available on Windows, MacOS, Linux, iOS and Android.

Would love any thought or feedback. Thanks!
Things have escalated because HR handled the matter badly. The behavior of creating documentation has nothing wrong with it, counting on it to be properly addressed.
Was it a long castle? In that case, the squares the rook moves through don't block the move, it's only the squares the king moves through that block the castling move, so f8 and g8 for short castle and d8 and c8 for long castle.
Amazon Assistant lets Amazon track your every move on the web
The GoF design patterns are low level, as noted in earlier comments, with respect to the standard of using them to communicate between software designers and software users, but also sufficiently high level to be nontrivial techniques in a certain class of OOP languages (Smalltalk, old C++, Java).

They deserve an explanation, help the programmer to reason about architecture "from the bottom" and explain technical issues concisely, and serve as examples of more general good design principles. They have also proved to be a positive driving force in the evolution of programming languages and libraries.

More "important" design patterns, such as organizing an enterprise application around executing transactions against a database or stipulating whether a soft realtime application like a videogame should lag or skip frames when overloaded, are usually too abstract and complex to give universal advice about.
http://theetheringtonbrothers.blogspot.com/p/every-how-to-th...
Yep same wavelength here.

There is another thing, most of the major libraries where Python is used as DSL, written in a mix of C, C++ and Fortran, can be used in other languages just as well, nothing special about Python there other than lack of awareness of what everyone else is doing.
Good points, I completely agree with everything you brought up. Can you try to find data on electrical usage per hour of a series of centralized RDPs vs your computer?
"The plumber is coming at 2pm, can you open the door for them when they get here?"

Neither "they" or "them" are exclusively plural.
The examples given above seem like a textbook definition of inflation inside of a closed loop economic system.
That is not what the U.S. has and it’s definitely not the situation if a country has a reserve currency. The Triffin dilemma may hold the answer in that as you supply your currency to the rest of the world, you are creating local deflationary effects while essentially exporting inflation.

When the rest of the world begins using other systems than the reserve currency to conduct trade, the end result is that the inflation returns home as demand for your currency drops.
No, but I am applying a serialized fitted model to 100 separate out-of-sample datasets and generating diagnostic plots for every output of predictions / scorings.
I've been taking many DEI trainings at Google. I'm wondering how that will work at a Google Riyadh office.

Is DEI a global truth? Does it survive contact with reality in KSA (and other locations that don't share western liberties)? What is the internal messaging to employees of multinationals investing so much in DEI when they work in (or travel to) KSA? Can I drive myself to the office if I'm a woman? Do I need to be escorted to work by a man? Are my questions outdated and I need to be educated on life in the KSA? What if I'm a Christian? Where can I go to Sunday Mass in Riyadh?

So many questions...
I have messaged you on Slack.

The preliminary tests show significant reduction in space usage when using Parquet over Sqlite3. This is not unexpected at all. Parquet is much better for analytical use.

- 2.9G Mar 8 08:37 snippets-dev.db

- 427M Mar 8 14:05 test1.parquet

(venv) snippets-dev sqlite3 -header -csv -readonly snippets-dev.db 'SELECT COUNT() FROM snippets;'
COUNT()
4850000

(venv) snippets-dev python test.py test1.parquet
4850000

I can share the 3 lines of Python and 1 line for SQL I used to convert the dataset.

There was only weird thing that I encountered, you somehow have a new line character in the commit_hash field for every value.
bait and switch pricing.
He's the first witness. The transcript is at https://history.nasa.gov/rogersrep/v4part7.htm

I looked at the videos of the previous days a bit, and can't find the moment which he describes in the article. Can anyone?

The NY Times article of the next day doesn't describe the moment either: https://www.nytimes.com/1986/02/26/us/man-in-the-news-tenaci...
As well: a population that is completely restricted (no sex and no masturbation) has a lot more energy that can be channelled to reach for that carrot.
>We are always free to chose between cowardice and heroism. If you aren't sure you would blow the whistle to save actual human lives you may want to reassess priorities and realities.

Seems like you're trying to say something in a roundabout way.

These tropes make for easy internet virtue points but "just shun all risk" is a terrible heuristic for decision making and it's rarely clear without hindsight if/when/to what extent the risks are meaningfully greater than some previously agreed upon acceptable level. (Challenger blew up because the decision makers didn't understand how risky things actually were during a normal low temperature launch and decided to cut things even closer)

If everyone in the supply chain padded their estimates to reduce risk and cover their ass we wouldn't have space flight.
> A related issue is no one ever deletes tests.

I think this is a huge problem. I’m not sure why it exists.

“If we have more tests it will be harder to change the code.” is an argument people make sincerely. Then... just delete the tests. If your argument against having these tests is you can imagine a point where they become a burden, just keep in mind that it’s really, really fast to delete code. “Untested” is a state we can get back to at any moment.

Maybe the tests will provide a lot of value until then. Maybe if we do a big refactor we’ll delete the old tests that are too low level and make new ones. That’s fine.
You may want to warm up your SO to a something like lineage os. Hoping they haven't gotten too spoilt by Oppo's tools, banking and netflix pretty much work okay on these alternative softwares.
https://bit.ly/3qq4iAX
It's not letting me reply to your second post but you can find me some RDP, and I'll compare it myself.
What frightens me is that osteopath magical thinkers (DOs) are allowed to practice medicine in the US just like MDs. They're glorified chiropractors!
It's deployed in a test network. The carbon footprint of this little experiment is negligible:

"This application would be able to run 'forever' - so long as there was some funds in an Ethereum account that could be used to run each 'step'.

However, the cost of Ethereum (and therefore 'gas') used to run smart contracts is so high that it would cost (in March 2021) over $80 just to register the smart contract, and to run a single 'step' of the game would cost over $2,000! No doubt that the code could be made more efficient and consume less resources, but hey that's just too much work for a concept app, so I have simply registered the contract on the Kovan test network instead, and use some 'fake' Ethereum to run the system. The app is the same, but it just points to the 'Kovan' test network instead of the Ethereum mainnet."
Try iron too. 183k deaths each year due to iron deficiency!
Welcome to HackerNews
So, is there proof of work for every single cell transition?
Oh how interesting! I’m trying to figure out how susceptible I am to manipulation by a “strong and confident leader”.

My immediate reaction is that I instantly dislike the kind of people you’re talking about- I can think of lots times when a tall handsome person with a self satisfied smirk has spoken in a loud voice and I hated them immediately. Once I was in one of those corporate cheerleading sessions in a big room and the CEO of the company walks in- tall guy, immaculately dressed. Beautiful skin. Just flew over from Europe. He says how “blown away by the enthusiasm” he is. Shows a video of himself walking among the people, talking to lowly cashiers and baggage clerks. I could barely restrain myself from throwing a chair at him. I sometimes regret that I didn’t, the loss of my job might have been worth it to get a shot in at that rotten bastard. I thought, of course they acted enthusiastic around you, they felt compelled to. I feel the same way about the Cuomos and Trumps of the world. I’ve had the same reaction to sales and marketing pitches. I instinctively hate them on a deep, subconscious level, and that’s not too strong a word. I suppose this must be an atypical reaction though? I can’t imagine reacting any other way. It’s not just that I think those kinds of figures are not good people; they activate my fight or flight response. They feel like a threat.

Are there really people out there who like those kind of people? I just find that idea so baffling. But yet I do see all sorts of people who appear to do just that. I don’t understand it.
Absolutely and there is nothing wrong with that. But over the decades I have followed computing I have seen languages with much smaller advantage relative to the competition than Julia rise to prominence.

But I am also pretty sure that whatever replaces Julia in the future, it will have borrowed heavily from Julia in terms of semantics, syntax, libraries etc. Multiple-dispatch that Julia pioneered is almost certainly going to dominate future languages.

This is in similar ways to have functional programming has entered almost every mainstream language and OOP entered almost every language before that.
Rust is hands down my favourite language and it’s what I write my personal projects in these days. Julia is second. Rusts philosophy of “the complexity doesn’t go away, so just be aware and pay it up front” and the type system and compiler feel aaaamazing to use once you grasp them: writing some code, knowing exactly how and where the failure points are and having it compile and know that it will be correct is hard to go back from.

I used to be a huge Python fan, and I’d dug through docs and guides for pretty much everything I could, so my frustrations aren’t “outsider criticisms” as such.

My biggest issue is the amount of “magic” that goes on and is actively encouraged; it happily lets you get away with anything, and I’ve read and had to fix too much horrible Python code that technically does what’s required, but in the most torturous and difficult-to-untangle manner possible. I’ve come to resonate with this idea of “what does the language/tooling encourage you to do” and in my experience, Python doesn’t encourage a lot of good things, but it does end up encouraging you to “hack around problems” rather than fixing them at their root, lean on magic wherever possible (which is never backed up by any kind of correctness guarantee) and let the programmer do whatever they want, regardless of how much of a bad or non-idiomatic thing it is. The “type system” leaves a lot to be desired, there’s optional type hints
now, but the larger community seems ambivalent at best-uptake is glacial in my observations and mypy is just sort of ok. The performance is pathetic, there’s no getting around that, and the response of “just write it in C if you need speed” is a poor answer. The Python core dev team seems insistent on continually stacking pointless new features in (walrus operator why?) whilst simultaneously not really doing anything about real issues (like the packaging situation). I’ve also come to really dislike exception-based error handling: having no compiler, type-checking and knowing that anything could explode anywhere isn’t a reassuring feeling once your codebase gets big enough. Yeah you can put try-catch, and code defensively to head-off issues, but it doesn’t take much before you’ve spent as much time and energy doing that as it would have taken to write it in a more suitable language but with maybe 1/10th of the guarantees and none of the performance.
If you want to write a web API, you’d be better off writing something in Golang, .Net, Typescript on NodeJS, possibly even Swift.

General purpose stuff you could replace with any of those languages + Rust. Admittedly it does still have prime position for ML frameworks, but I’d be using Julia at work if it was up to me.

Edit: a sibling comment mentioned Async in Python - an experience that was so frustrating I’d excised it from memory.
This is same as giving starting digit in π, right? Not usable for compression, and encryption folks would file it under security-by-obscurity.
I appreciate the dig at fellow physicists for not recognizing group theory. As a physicist myself, I’m somewhat impressed by the power of many mathematical abstractions which have not yet utilized. Although I think this Avenue of discovery (searching in mathematics textbooks for things to apply to physics) is now fairly well-mined.
I have been wondering what law or mechanism (perhaps already existing in other countries) could prevent upper management coverups?

For a while I though that press was that mechanism, however after 'embedded press' in Iraq War and governments going after press sources with impunity, or White House refusing to deal with it all together, we know that press can be coopted. We need something better, perhaps a law...or a gofundme for whistleblowers?
Yeah, I have honestly just played irl games so that is probably why. If I would guess, my rating is probably shit. :)
I like how it looks.
Because "keeping it reasonable" doesn't scale so BigCos frequently dis-allow drinking during/immediately prior to work as a blanket policy in order to have grounds for firing anyone who does it to excess.

Also drinking on lunch break is unprofessional (even if you don't do it to excess) in a lot of blue collar fields. How many white collar people lamenting the lack of beer at lunch would turn around and lose their shit if their crane operator had a couple beers? That's a double standard no workplace needs.
> Being a guy, I never restricted my calorie intake.

What's being a guy got to do with it?
> Sure, back in the day studios had the same imperative, but the licensed toy game was still young, so they didn't realise that maybe if they made Die Hard PG instead of R they could sell some John McClane action figures to younger viewiers.

Merchandising! Merchandising! Merchandising! Where the real money of the movie is made!" - Yogurt, Spaceballs (1987) Heck, most of the 1980's cartoons were designed to sell toys.

> I agree that more and more we are optimizing for artifice; fitness classes, extra curricular activities, holidays, concerts and events we attend, just to keep up an appearance online or in person. And in those activities we often don't get the true value out of them because we're doing them for the wrong reason.

Social media did this. Before narcissism became en vogue, gym rats and party people existed and no one else really cared because they were not visible. Now they show up in your social media feed every day. They make you feel small and less complete. Maybe you should go to the gym and more clubs to keep up otherwise you aren't cool or interesting. Meanwhile its all senseless, shallow peacocking and hedonism.
I got the impression, that he refers more to the fate of his own hopes.
Damnit!

(m >>= (\x -> f x)) >>= g ≡
m >>= (\x -> f x >>= g)
I’ve gesticulated without thinking about it since I was a child. I think I get it from my mum, I’ve always considered it a bad thing and that people think it’s weird but I can’t stop myself - I even do it when I’m on the phone and no one can see me.

Guess it might have inadvertently helped me. People have always said I’m quite persuasive, maybe this is part of it.
Another thing to notice here is the author being much more lenient on the woman in the story than the man.

The man FAILED, couldn't deliver, while the woman merely didn't realize, made a misunderstanding.

Communication is hard.
Understanding Python Virtual Environments
Compositional Game Theory
Aaahh good catch, thank you! :)
Exactly!! Much too early to draw conclusions. Look at Go, it having a decent measure of success today. A couple of more years in the market makes a big difference.
I don't know about C, but in C++ this is also not safe in a header file.
You might get similar throughput but the latency isn't comparable.