skysight-inc/HackerNews huggingface dataset:
This article is good (although they could work on examples a bit more). One thing I have really found useful when working with elixir is that it gives you a way to abstract common patterns or add more use cases by differentiating based on arity and pattern matching.

it's easy to write the average function in the article in this way.

def average(arg) when Enum.all(arg, &is_string/1) do
# implementation
end

def average(arg) when Enum.all(arg, &is_integer/1) # for the int

which would be a more proper abstraction as it hides details of the type of your data.

or using pattern matching in the arguments.

def shape("circle", ...) do
# implementation
end

def shape("square", ...) do
# different implementation
end

When you have map as an argument, you can do

def is_good(%{ hn: HN }) do
IO.puts "#{HN.someprop} is good"
end

def is_good(%{reddit: Reddit}) do
IO.puts "#{Reddit.someprop} is bad"
end

def multiply_on_two_numbers_otherwise_square(a), do: a * a

def multiply_on_two_numbers_otherwise_square(a, b), do: a * b

My examples are trivial but this really gives you some awesome refactoring powers.
I've had the same experience in larger corporations, especially the global ones. I'm interested in helping as well so if there's a need for concept development and ux let me know :)
> I feel like we should not discourage the practice of abstraction, since that's our business. I literally get paid to think about the real world in terms of abstraction and write it up into a computer. Young engineers should not be taught to fear "over-abstraction".

I agree with most of your comment, but in my experience (and, I think many may echo the same sentiment) over-abstracting has been always more dangerous than the opposite.

I’d choose a messy, duplicated piece of code over an overly abstracted 10x developer made mess, every single time.

> I literally get paid to think about the real world in terms of abstraction and write it up into a computer.

I love software engineering, but the most satisfying moments in my work involve removing code or not relying on tech to solve problems whatsoever.
I loved it. I feel like I should get bonus points for killing the DVD bouncing cat by hitting the exit button as it moved around rather than just using Alt-F4...
Best and most affordable cloud hosting in the world
DreamSoft can provide all the Clients with Complete Solutions including Design, Development & Hosting. Generally when multiple companies get involved in a Project Development with each handling their tasks, clients have to follow up each one individually for the issues or support. We have expertise in Web Hosting on Dedicated and Shared Servers which are fully Secured and clients find this as One Place Solution when they require any support for the same. Following are the different Web Hosting Solutions including Domain Name Registration.
DreamSoft Web hosting Features for Linux and Windows Server
Do you expect that students will utilise the backtracking aspect of the software? I think 12 year old me would just use the solver and then log off.
Thanks for sharing these pointers!

A caveat for those who don't click through to the snpedia references: the "strongly associated region" only correlates well for Caucasians.
adding racial purity to the test for citizenship in 5...4....3..
People who have my interests in mind.
Militias flocked to Gettysburg to foil antifa flag burning in social media hoax
Yep. It was written in a fit of patriotic enthusiasm for the Cold War, and Heinlein was still offering defences of the political system two decades later after his own politics had moved on.

I do think there's merit in reading books that were utterly serious about their ideas as satirising them though. The conquistador heirs, oil barons and philosopher pirates in Atlas Shrugged make so much more sense as parody of how the 'self-made man' tends to accumulate wealth than in a parable about the ills of not enough capitalism
Evaluating Wearables' Sensor Data for Forecasting Psychological State of User
That's interesting. The GPL actually includes language specifically permitting aggregation like this:

> A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
Yeah you're right, I should probably look inside the areas before making judgments. But still, from an existentialist point of view, random papers are not necessarily more honorable than apps or crawlers or even disposable wastes, which let at least one person in the world live an intuitively less miserable life. Betting my life on the fight against randomness and absurdity is exhausting.
No. Feel free to check out my SO Story: https://stackoverflow.com/cv/chrismarshall

I don’t mention them by name, so my comments don’t show up on their radar screen.

I don’t think I ever say anything that would be an issue, but I don’t want to be in the position of having to explain myself. They protect their brand ferociously.

Once you see who, you will understand.
The Twilio integration also requires an existing Whatsapp Business Profile AFAIK.
That makes more sense than I was able to make of it, thank you.
My Pixel Phone
"Arrogance in computer science is measured in nano-Dijkstra's" - Alan Kay (https://youtu.be/9KivesLMncs)

(I usually like Dijkstra's works but the quote does make a person smile.)
In a deflationary world, the S&P 500 would have a much lower rate of return than it does today.
Maybe it's that TV itself is mostly bland and ad friendly, non-controversial for that very reason. Content that is obviously for entertainment purposes is cool to put ads on. TV had few channels and programs that weren't for the general population, so you wouldn't have The KKK Weekly or Cool Communism that advertisers would have to avoid.

That's different on YouTube, where the content is much more heterogeneous, where you have super-optimized, ad-friendly influencers with millions of subs who take great care not to offend (and are therefore great to throw ads at) next to fringe political ideas and people with mental health issues presenting their world view.

I believe funding is often considered as an endorsement, and ads are the primary source of funding for most media companies. Similarly, you'll often see disclaimers on Twitter "retweet != endorsement" because people tend to understand it as such.

I believe that the bigger deal is subconscious association. I have no idea whether it's true, but putting McDonald's ads next to a documentary on factory farming seems unwise.
I think that white supremacists are off the end of the political spectrum, and that we shouldn't worry too much about what offends them. But the issue isn't just the comparison, it's the suggestion that BLM is inherently a violent movement (so that endorsing BLM would equate to endorsing violence). BLM is a broad movement. It's not only people on the left - and certainly not only people on the far left - who support it.
Nevermind cargo, but how about ambulances and fire engines?
I can comment and have opinions on the artistic and creative pursuits without actively pursuing all of them.

You cannot prove that HP would not have been written if profit protections didn't exist, unless you ask JK "if copyright didn't exist, would you still have written HP?".

My argument is that creative works will still be created because they always have been, and because people have created them before our laws existed.

You also assume that for-profit creators stopping their work is a bad thing. I am happy for people to be earning a living doing what they do. But I think the way we go about providing them with it is wrong.

The material reality is that artists were only successful if they were actually good. That shouldn't stop people from doing them - like I said elsewhere, I think artistic pursuits are good in themselves aside from profit.

But walk into any bookstore, go to the fiction section, and gaze on all the mediocre literature you can buy. I don't say that arrogantly. I couldn't write much of it. I am not putting myself above those authors. I am simply saying that the works themselves are mediocre, they won't be studied or remembered. They are simply entertainment. And I am happy for it to exist. But I can guarentee you that many of those authors were writing purely in the hopes that they'd "make it big". That maybe, just maybe, a movie company would see their book, and want to buy multi-million dollar film rights.

This, to me, is a perverse incentive for writing. And so I have no problem if less of it is published with the changing of laws.

Not everybody needs to go to university. Not everybody is a skilled enough actor to make it on Broadway. Not everybody is the next Michaelangelo. Pretending that the arts is a level playing field in terms of ability is a waste of time.

Talent is always rewarded eventually. The best artists don't need to say how good they are. The best authors don't need to say how good they are. In almost every case of copyright litigation, I saw mediocre creators quibbling over small profits that are "rightfully theirs". Just stop. Save your breath, and find a day job. Keep writing for the love it. Start a journal when you go home. Try and sell some of your work to a small publishing house for a small fee. And then be chuffed if enough people like it enough to copy it.
No it's not, and your thinking is completly bad from privacy standpoint.

PASTE operation is where I give consent, to MY clipboard content. Not COPY. Thinking that COPY gives consent is like all the ideas that i-take-user-date-unlsess-user-opts-out . It is not fine.

You shall NOT paste without my permission.
> a programmer still getting paid way less than her colleagues?

Could you point me to a source for this?
Kinda funny - the part of the world that Bangladesh is in is completely racist and has no qualms about it at all. SE Asian countries define themselves by their ethnicity, proudly.

Talking to a Cambodian about race, from a European perspective, is disturbing. Translate some of the terms and you could be listening to a nazi.
I flew several times in the upper deck. The experience was great, a kind of cosy place in a huge plane.

I wonder why all airlines do not put their 1st class there (Lufthansa for instance is business on the upper deck, while IIRC Thai is first)
If you're capable of doing quality research (publishable in top conferences), you won't have any problem finding a job either in academia or in industry. Don't worry about that.

As far as actual research topics, there's a long standing need to integrate symbolic logic into deep learning models. No one knows yet how to do this. If you have an interest in the intersection of tcs and ml, I'd encourage you to work on that problem. The next few decades will be known in human history as the time when AI emerges. You decide whether you want to watch it happen or help make it happen.
I believe they're saying it's ironic that, despite the base-2 values being ideal for binary computers, users are having to use base-10 to enter them into the computer and hence getting none of the possible advantage. I don't believe they're making a value judgement.
While the data you present are interesting, and I can see how they could be a factor for an immigrant to choose America, I don't think they correlate with welcomeness to immigrants as much as you imply.

In the EU, countries have a relatively strong ethnic identity, with differentiated languages and cultures (some of which are perceived as endangered, in particular by American influence), while America is a melting pot and its culture is less differentiated basically because they have exported it to the globe.

A Spanish person could think that if you don't speak perfect Spanish, eat and cook Spanish food, have lunch past 2 PM, frequent bars, stay out until late, talk loudly and eat jamón serrano, you are not a "real Spaniard", because you are not like them (I'm using hyperbole to get the point through, of course not everyone in Spain does all that, but I hope you get the idea). But does this mean that they won't socialize with you, consider you for dating, or give you a job? Of course there are racists and xenophobes anywhere, but in general, i think the answer is not at all. Many won't consider you a "real Spaniard" -not me, I would say yes to that poll, but many wouldn't- but they will be happy welcoming you, and consider that the cultural differences are a good thing as they can learn from you.

On the other hand, in the US most people will consider you to be a "real American" because in America ethnicities and cultures are much more mixed, so it wouldn't make sense at all to think that you need to have a certain culture or customs to be American. But what's that good for in practice? Probably the cops that kill black people arbitrarily consider them to be Americans (it would be hard to argue otherwise when they have lived in the US for generations), they still hate them and shoot them. I have friends in cities like Baltimore that tell me about totally segregated neighborhoods, what does it matter that people consider their fellow countryman of different races to be American if they don't mingle with them? And that's without even talking about a president who fits more into your own words "right-wing nationalist" than almost any EU president, with an erratic immigration policy that scraps visa programs on a whim, something that I've never seen in Europe.

My feeling is that the reasons for many emigrants throughout the world to choose America are more sentimental (based on the inercia of the US's reputation, romantic ideals in movies, and general hype) than rational. I have seen this live often. I have seen Iranian candidates reject a job offer here to go to America because you know, it's America, to earn much less, have a worse standard of living and be travel banned on a whim of the president a few months after taking the job...

That said, don't get me wrong, I wish you and all the people who emigrate to America the best. It has worked fine for many people and will keep doing so. I just think it's overrated, and other destinations (not just the EU) would work as well for most people. To each their own, though.
Every advances further speeds up new advances like log scaling.
An Inconvenient Fact: Private Equity Returns and the Billionaire Factory
Not myself, but I know someone who was making a living from sports betting a few years back. It's not that different from "gambling" in the stock market. The same principles apply. You need some kind of egde, which often is 1. Data or 2. Market Access, less often the statistical model. Better data beats better models, and modeling is commoditized these days. Also, you need a pretty decent bankroll so that you can handle the volatility.

It's an interesting space, but don't expect to be profitable without investing 1-2 years of your time into building good models, infrastructure and data access. This already assumes you have that kind of freedom/capital and are able to stick with it through tough times. Also, edges can be fleeting, so it's a constant race against time and other players to find new opportunities. A bit similar to online poker. It was possible to be highly profitable with online poker 5-10 years ago, but over the last few years it has become very hard to impossible to beat the odds, so a lot of poker people have moved on to gambling on other things, sports betting included.
I remember hearing nokia ringtones sung by birds while waiting for at bus stops in the late 90s
Twitter Sentiment Analysis with Machine Learning
The site is still super janky - but would love to get some feedback on the idea before a show HN sometime down the road.
The R code looks so much cleaner and readable! Is that just me being a bit more familiar with R/dplyr than julia? Or could the julia code be written more elegantly than that? I mean all those .@(_, => :) constructs make julia look rather opaque in comparison ...
Show HN: Pugmark – The online book club for developers
A book club seems like something from the last century. You're meeting up with a group of people, who does that anyway nowadays? You've managed to read through the whole book in the month that you had to do that. Scribbling down some notes along the way, carefully highlighting sentences because they resonated with you. It's been a tedious and lonely process until now.

When you finally meet up, it gives you a feeling of belonging, knowing there are others who share your interests and passions. Finding out someone has also read your favorite book is a great conversation starter. Those conversations are more often than not full of new insights.

A year ago, I mentioned the idea of an online book club to my friend. We both like reading books as an educational tool. For me, starting to read books has been eye-opening. We often discussed the books we read with each other. Those were the times I discovered the point of the book, the bigger lesson it was trying to teach me.

Now, one year later, we think with pugmark we have built something that helps us in having that discussion. Having used it myself for a couple of books now, I notice how much more I remember of what I read. With pugmark, we want to give you a way to find those like-minded readers. It's the async, remote version of a book club.

We are curious to hear what you think about what we have created. Of course, we are here to answer any questions you have!

- Maxi
QTile – An XMonad-like tiling WM written in Python
I've heard a lot about this bill now but nothing conclusive as I assume the sources I've been reading do not speak fluent Spanish. I think I will analyze it myself in some time after the hype has died down.
Capitalism's a loaded word. Most people who would call themselves pro-free market aren't in favour of rent-seeking monopolies, just like how most people who would call themselves socialists aren't in favour of putting dissidents in gulags.
Professional mathematicians spend their lives working on the unproven. It just seems like math is about what's already been proven because it takes so much education to reach the unproven ideas and unanswered questions.
You're right, now that I look into it there doesn't seem to be anything more than circumstantial happenstance.

https://en.wikipedia.org/wiki/Philippine–American_War

https://www.dwds.de/wb/Amok
"amok ‘rasend, wütend, verzweifelt (im Kampf)’, im 19. Jh. vor allem in Lexika bezeugt, im 20. Jh. auch häufiger in literarischen Werken. Ein Frühbeleg findet sich (um 1660) in einer Reisebeschreibung („Amoc welches so viel ist als courage, oder schlag todt“). Amoklauf m. Amokläufer m. (Anfang 20. Jh.)." vgl die Wortverlaufskurve ab 1600.

Checking
https://en.wikipedia.org/wiki/List_of_wars:_1800–1899 and
https://en.wikipedia.org/wiki/List_of_wars:_1900–1944
reveals the Semantan War, the Mat Sellah Rebellion, the South Sulawesi expedition, the 1906 and 1908 Dutch Interventions in Bali, and various too-small-for-wikipedia Dutch-Indonesian actions as possible other popularisers in the 1890-1910 period.
You can use http basic since forever with git....
"Later we also discovered that people didn't want to replace CSS and rather wanted to make it bigger."

Ha.

Just finally got around to using css in something and it felt like the opposite of PEP 20.

I hope it gets better over time. Maybe you eventually get more of a feel for things like why svg behaves differently from all other images (except when the contents of the file tell it not to), or tracing where your inherited styles come from, or nothing you write being "important" unless you tag it that way, or figuring out how to make something dynamic and responsive but only relative to a series of independent constraints.

I'm sure there are masters of css who have grown to love it. And it seems like there are some good patterns emerging, grid is great. Overall though, I found the experience painful and bewildering. Maybe I'm just uniquely unsuited for that work, but I hope layout gets its Van Rossum or a "css for humans" movement someday.
Well, given the cost associated with dealing with outbreaks it would make sense to play it safe, precautions have a cost near zero and an outbreak has a fairly large cost especially if not detected soon enough.
Agree. Forgiveness is great. It's where I started, which led to me questioning why I do it even. And the conclusion I came to was that the anger I felt was... useless, ineffectual and thus a total, unadulterated and complete waste of my time and energy.

And so forgiveness led me to acceptance.

Accepting all the things has made me very, very content. And occasionally even happy. Because who cares man. Frivolity aside, if I did care I feel I should DO something. Not complain or write angry diatribes or even forgive, but to physically do something to change the status quo. Whether that moves the needle on chosen issue or not.

If I'm not willing to DO something about the thing I take issue with, I have no call to say anything about it either. Which brings this full circle back to... acceptance.
Protesters In Baltimore Pulled Down a Columbus Statue And Into The Harbor
The case for a Job Guarantee [1] argues that the way to deal with this is to ensure everybody always has an alternative living wage job to go to.

Then competition for scare labour does the rest.

[1] https://www.amazon.com/dp/1509542108/ref=cm_sw_r_cp_awdb_t1_...
I run into this scenario particularly in large React code bases. Multiple developers building their own half baked abstractions on top of a framework with its own continually shifting abstractions. Lack of uniting engineering leadership and not enough time to devote to code discipline - it's a real joy.
Explainers-first shouldn't be fired if they make up a small percentage, because they do a wonderful job without the bulk of resources.

I'm not sure if explainers-first are the minority, though. After all, it's much easier to review than to create. And we do want new research.
Thanks for sharing the relieving experience and for reminding me of the length of life. I must have been traumatized somewhere to subconsciously believe that the natural death is near.
Ask the user what they want to move?
I'm currently taking one called Moral Foundations of Politics (https://www.coursera.org/learn/moral-politics) with my girlfriend. Netflix became a staple of many lockdown evenings and we thought we'd sprinkle in something a bit more engaging (and unrelated to our work).
I would suggest that blowing off sand with a strong airstream would scratch the solar panels, further reducing their efficiency. Or maybe there's other problems; in any case, I find it somehow ignorant to assume that nobody in the Pakistani government has ever heard of or considered a blower (or a broom).
Maybe the specification should prohibit smilies.
Why optimizing for MTTR over MTBF is better for business
Shortened buzzfeed’s title. I’m glad a group did this. San Franciscans failed to get Columbus in the water on Juneteenth because the city of San Francisco took the statue down after the nose had already been cut off the morning before protestors were going to.