skysight-inc/HackerNews huggingface dataset:
An important question that needs asking is what happens if we run into a situation where that "slowness" of democracy gets more people killed and only a well-paced solution with some cadence to it could do the job (not "super fast", but like say a major change with a 1 year debate period and 10 year implementation period sustained steady progress)? Not arguing for a dictatorship, but out-of-the-box innovative thinking to invent a much more novel/radical political system.
I don't think you can even come close to providing equality of opportunity if you let ppl spend money on their children.

Society just doesn't have the resources to provide a private tutor to each student, but rich parents can. How do you close the equality of opportunity gap there?

For someone interested in sailing, opportunities are quite limited unless your parents have a sailboat, in which case you almost learn by default.
> I have become less and less enamored of gdb (or IDE equivalent) debugging over my many years in software. Debugging is often very confusing with multithreaded code. It only works in one language at a time. If you're doing Java with JNI for example, the code called through JNI is a black box. If you are doing anything involving multiple processes, or distribution, debuggers are useless.

These are true of plain-old-gdb but they're not inherent to interactive debugging. rr and Pernosco address most of these issues and with more work we could do even better.

In particular: rr is great for debugging multithreaded code; record a race once and then debug the replay as much as you want until you've figured it out. rr will also record multiprocess code and let you debug whichever process you want; Pernosco goes further and supports seamless debugging across all processes. https://pernos.co/about/javascript/ shows how Pernosco can support debugging high-level code (JS) and C++ code at the same time. rr can record processes on multiple machines; we don't have an integrated debugging experience for distributed systems yet, but it's not hard to see how that could be done.

> But the real problem, and top-level issue, is that you are constantly rooting around the very lowest level of your code, and it is difficult and labor-intensive to get a higher level view of what's going on.

That depends on the debugger. Interactive debuggers can do higher-level things if we want them to, e.g https://pernos.co/about/expressions/
Why that underscore? I thought that’s a signal for “method is for internal use, only”.

Also (but a bit minor, given that Google tells me Python’s named tuples are immutable, so I guess programmers will know that): if I were to read foo._replace(bar=42) I would think that to modify foo.

Because of that, I like scala’s foo.copy(bar=42) more. It makes it clearer that you have to do foo = foo.copy(bar=42) to ‘change’ the value of foo (actually: bind it to a new value).
This happened to me recently when American Express sided against me when Expedia essentially stole money from me for services it didn't deliver.

Now there's two companies I'll never do more business with.
The sibling mentions about the intentional aspect of this, but the other factor is the popular house rules around free parking and not auctioning properties, both of which contribute to there being far too much cash in the game. This is part of why it takes so long to go bankrupt.
>I know lots of people hated Angular

Why would they hate on angular? Isn't just another framework
So is life
Isn't the point of a (good) movie creating a shared cultural experience?

Discussion and memes based on movies don't work quite well if everybody is watching a different movie.
Yes, if one is privileged/lucky/unlucky enough to have a quiet space at home. My home is usually filled with a happy din, which doesn't make for good focus, so I appreciate having the office as a "second space" I have the option of using if the house isn't a good place to work on a particular day.
To the request to name a single brand based on personalization, music brands like Pandora and Spotify are built on personalization:

Similarly, clothing brands like stitch-fix and trunk club are personalization specific.

Regarding Disney, we just signed up for Disney+ and the first step was to decide if you wanted mature content and the second was to decide on your avatar. I think Disney+ will allow the company to cater to personal tastes more than they ever could through theaters and we will see that in the future.

Finally, for the longest time marketers have looked at demographic groups to target with their products, this is a weaker form of personalization. Obviously that won’t be abandoned, so I wonder why the author thinks companies should only target mass markets?
This problem is a variation of this one: https://en.m.wikipedia.org/wiki/Sum_and_Product_Puzzle, sometimes called “The Impossible Puzzle”
There's nothing else to the story on my end. My card number was skimmed or hacked from somewhere. I was unable to determine from where. The source they got it from apparently had my address and personal details.

Awhile back the human resources at my employer was hacked which included basically all my information, so perhaps its on the black market somewhere. I don't know.

I assume e-bay was chosen as a platform for the scammers because e-bay aids and abets these operations by offering very good chargeback prevention via their legal team. Rather than the scammer defending the chargeback directly, they can leverage the might of a mega-corporation who has a well-oiled machine to fight the banks.
Frankly if I ever get to the "I own a beach house and my daughters need their horses hauled around" level of success I'll just hire a couple of sturdy proles to carry me to and from the beach house on a sedan chair and leave the butler to worry about getting the horses from place to place.
What is MEV?
I'm aware of i3 and I think I've tested it out in the past but had some silly nit to pick about it. Thanks for the reminder - I'll give it another try!
The fact that it's unsolvable as stated is precisely why I hate this puzzle.
> So try again and again until you get to somebody willing to speak to you.

Or maybe they could skip doing that, and have some self-respect instead.
Just because it's useful to someone else doesn't mean that I want it.
People in the class kind of like this stereotype that @OverheardLA was making fun of the other day?

https://www.instagram.com/reel/Ccyfo9RBcSJ/?igshid=YmMyMTA2M...
Ultimately what we need is not a "victory" over anyone, but rather something where 100% of everyone's need (food, water, shelter, and medical care) are met barring purely random accidents.
Read only the intro and conclusion but my anecdotal experience is that construction workers seem to really avoid wearing protective gear when it isn't strictly enforced. I regularly see people using extremely loud equipment like cutting pavers without any hearing protection or a filtering mask for all the harmful particles coming off.

Not sure if its a lack of education on the risks or if its more of a "tough guy" mentality of avoiding safety gear.
Conservatives using Marx! The IRONY!
Used a music from Pixabay on a YouTube video, had a copyright claim from the author.

(Apparently there's a process to clear it: https://pixabay.com/blog/posts/how-to-clear-a-youtube-conten...)
We just had a super exponential rise in equity prices for what its worth. Hence the bubble.
> Putinists love to make the claim that Ukraine isn’t a real nation (and Steve Bannon went on record to agree). It’s worth noting that the same arguments would apply to Canada. If the Thiel-funded right succeeds, they’ll eventually need a war to fuel the nationalist fire. Why not a reunification of the North American colonies? Canada is obviously controlled by decadent forces that need to be purged, just like Ukraine…

As an American, that just makes no emotional sense. My lifetime experience is that Americans just plain don't think about Canada much, and it wouldn't make much sense as a target for "a war to fuel the nationalist fire." Mexico makes far more sense in that regard. Canada (or at least parts of it) would probably be most useful as place for political enemies to be forced into exile.

I'm under the vague impression that Ukraine has a much more important place in the Russian psyche than Canada is in the US one. There are always important differences in the details with stuff like this, so it's not very enlightening to do a mad libs style substitution
I don't consider white Americans disadvantaged for reasons that are not empirical. I similarly consider black Americans and Native Americans (and to a lesser extent Hispanic Americans) disadvantaged for reasons that are not empirical.

In my perfect world there would be no affirmative action. All this stuff would be race and gender blind. But if we have to have affirmative action, we should only consider ethnicity when it helps the applicant.
There are plenty of people in current government who are de facto not accountable to the public. Sometimes that lack of accountability is even intended by design. Are Supreme Court Justices accountable to the public for their interpretation of the law?
Nothing much happens – Stories to help you sleep
Mad Men used it like that all the time, so it's no longer a little-known term specific to the ad industry.
Even back in early Node days we figured this out with ideas/libs like async.waterfall, which let you turn nesting into a serial flow:

async.waterfall([function(callback) { callback(null, 'one', 'two'); },
function(arg1, arg2, callback) { callback(null, 'three'); },
function(arg1, callback) { callback(null, 'done'); }]);

Thus you don't need to make things like 'one' and 'two' into scoped variables that require nesting the second function into the first one so it can see them, and you can split those functions out of being inline lambdas.

Or early Promise libs like coolaj86's futures which included a sequence, letting you do the same sort of thing:

var seq = Futures.sequence();

seq
.then(function(next) { setupContextObj(next, obj)})
.then(retrieveMD)
...
.then(postUrlDataToS3)
...

while also being able to make nice little future() objects you could return from functions and pass around. To be fair it's still JS and lots of third party code needed regular old callbacks so it was still easy to get excessive levels of nesting of various things that leave you with function-closing sequences like });}});return future;} or });}}).end(buf);} that could make a Lisper blush.

These days it's quite a bit nicer having native Promises, a better community-wide understanding of how to use them, but also the syntactic sugar of async/await improves over the waterfall/sequence/.then&.catch chaining styles (especially when it comes to modifications where you want to use data from previous stages of the chain in later stages).
> What was the most difficult problem you’ve had to solve as a developer? They talk about it.

...and then you get accused of trying to steal secrets from their previous company.

In seriousness, we're no longer allowed to ask questions like this in our current interview process, since it could expose us to competitors' internal secrets. It sucks, because it was one of the best ways of determining what a person was capable of. But there's no winning in designing an interview process--every one has flaws.

Now I come up with a hypothetical problem in a related industry, but it's hard to tell whether the person is just failing to think through the problem, or was too unfamiliar with the domain to have useful ideas.
> "channel your inner middle-aged white man who'd feel entitled to ask for more". (Note that this is a statement said in jest, based on research that men are more likely to ask for raises, and doesn't have any racist undertones)

Here's a heuristic I've found useful -- if you replace the race, age, or sex signifier and it ends up sounding racist, ageist, or sexist, turns out that your original statement is in fact also racist, ageist, or sexist. Frustrating inclusion in an otherwise interesting article.
Buried in the article, there's an important nuance: if you pursue a type of meditation called "loving kindness", you can shrug off bad feelings without negative effects like becoming more selfish.
Monsanto’s ghostwriting to influence science and media
This is hilarious, thanks for the great laugh and the start to my day.
> an egregious waste of energy doing all the data processing, an affront to people’s privacy, and has spent decades now distracting people who could be working on things with actual value

^ This, absolutely.
> If they were to give out their evidence, then their evidence collection methods would become known and would no longer be effective.

Doesn't this argument apply to the criminal justice system?
It keeps getting deleted shrug

Why not just link the site directly, instead of linking to a reddit thread?
I had a long discussion on how ML/AI could be used in games to provide more personalized and realistic interactions. Which was countered by a convincing argument that this is not what players and the industry want. And how largely games have been focused on tightly controlled scripted gameplay that feels a lot like a movie. While an AI powered game would feel unfocused and likely nonsensical without any director oversight for the story.

Similarly for a movie, perhaps we could personalize them, but would the result actually be desirable.
Exposing an Indian scam call center
sed delenda est? sed sed editor consuetus textorum est!
Can you hear the difference between a $200,$2k,$20k,and $200k guitar?
Interested to see your data - can you share a reference? Thanks!
Thank you for asking. I am sure the term is as old as the industry, but in every domain I am irked by the use of adjectives, specifically, as nouns. This article is a particularly irritating example.

My earliest memory of struggling with this kind of language was in high school economics class. I was forever put off from the material by the confusing truncation of noun-phrases into adjectives.

And it's a shame, because there's a lot to discuss here: vast swathes of the technology industry hinge on the subjects discussed. Weinberg and Lombardo seem to be suggesting that an emperor has no clothes.
It still fascinates me how this (IT) is the only industry that consistently relies on programming assessments to evaluate candidates.

I don’t do these anymore. If they ask, I politely decline.
Ask HN: Are there tools for annotating unfamiliar codebases?
I often finding myself trying to parse through a big repo. Often a project's API is well documented but its internal architecture isn't.

Ideally I'd like to be able to select lines or a file in someone else's GitHub repository, add an annotation, then zoom out and look at an outline.

Even better if I could automatically make these notes public as a form of documentation to make life easier for the poor soul after me.

Does something like this exist? Hoping some developer is just terrible at marketing.
The MDN Docs never disappoint[0]. Even more details can be gotten from the author of OP's link: Exploring JS[1]. And if you're wondering why the catch block isn't typed properly in Typescript, see this [2] thread.

0 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

1 - https://exploringjs.com/es6/ch_async.html

2 - https://github.com/microsoft/TypeScript/issues/6283#issuecom...
This. It is amazing how long blood pressure pills, cholesterol pills, and vitamins take to make a budge in your blood tests.
I’m Sending My Kids to Screen-Free Schools
Profit motives aren't inherently the problem; the problem is what is justified or not in pursuing them - in particular, how their pursuit comes to clash with morally-valued interests such as human and non-human suffering. E.g. in _my_ mind at least, there is 0 fundamentally wrong with, say, creating profit by solely using your own things and your own personal labor. The only thing that suggests otherwise is religious dogma. But when you start hiring others who must work or else starve, when you start to create enough waste above and beyond and so forth, that's where things start to become more complicated because you are adding the potential for harming someone or something else against its will into the mix.
We’re not in an armchair. This is our country; they’re responsible to us.
To people who either know:

- both R and Python; or

- neither R nor Python:

Which of the solutions do you find more readable?

(I have my own opinion, but I'm biased)
I spent years living as a digital nomad and that culture seems to draw in people on the far end of the new age spirituality spectrum. Crystals, shakras, reiki, vibrations, quantum stuff.

I came to have an association with the people who I met who were into this stuff as being extremely selfish and self righteous. There is a weird intersection between that stuff and kind of hustle culture where they always be explaining to you how the can change your life and usually selling something along with it.

Anyway totally subjective but this doesn't surprise me at all.
Said simply, it's not.
In a word, extensibility.

If you are only looking to launch apps, do a few math calculations, and maybe search for files then Spotlight probably has you covered. In fact when spotlight stepped up its game I was a little worried Alfred has been Sherlocked [0] or that the developer might stop supporting it but thankfully that's not the case.

You can do a number of cool things with Alfred like creating "workflows" to create your own little mini-programs to do various actions. I know that sounds vague but that's because it's so open-ended. For example, I have a workflow for launching different versions+mods for a game I like (Factorio). I play with different sets of mods depending on how I'm feeling and so I have a workflow that I type "Factorio", then select my "Launch Factorio" workflow from the list Alfred provides, then Alfred gives me a list of my mod packs, I select one, and it launches Factorio after symlinking the mods/saves into the right place.

That example is super-custom to me but I have other that are more general-use. Like I have one for Zoom that will show me a list of zoom rooms I regularly connect to (Daily Standup, my boss, my coworker, my Bad Movie Night group, etc). At it's core it's a very simple map of "Label" -> "Zoom Link" but it's a really nice QoL improvement over launching the app, selecting the room from my recent rooms, and then clicking "Join".

Pretty much anything I find myself doing over and over, I'll create a little workflow to handle it. Even something as simple as running a single command, I've got one that runs DisplayPlacer (and must-have if you have a multi-monitor setup that you connect/disconnect from). Now I could probably wire up DisplayPlace to run automatically when my mac sees a new monitor but I'm fine running it manually. I have another to unmount all external drives, I have one that pings a coworker to ask if they are free to chat, I have one that formats the unix timestamp I drop in, I have one that can convert/format the Timezone on a date or timestamp, the list goest on.

Most all of my workflows are really just shelling out to call a script and display the result back to me and I could pop my terminal open, navigate to the right directory, and run the script but it's so much nicer to do it all in Alfred's popup UI.

Then you have the other features Alfred provides (some of which can be done with other apps of course). The main ones I use are snippets (text expansion) and clipboard history. Knowing I can always type "clip"+enter and see a list of the last 1000 things I copies has saved me more times than I can count. I encourage you to checkout the full list [1] of what Alfred can do. Also the PowerPack is worth every penny for me, I bought it years ago (Mega Supporter) and would pay full price again without a second thought.

[0] https://www.howtogeek.com/297651/what-does-it-mean-when-a-co...

[1] https://www.alfredapp.com/
"Here is a revolutionary new thing that does everything better."

"No it doesn't, because it's not exactly like the thing that I am used to. In fact, it doesn't have solutions for the limitations it eliminates! Poor."

I heard the same arguments when, for example, SolidWorks with its true construcive solid geometry (CSG) 3D modelling swept away the old 2D "electronic paper" tools such as AutoCAD. The old guys complained in exactly the same way.

"What if I just want to draw the outline by hand? SolidWorks is terrible at that!".

"Umm... it can draw arbitrary cross-sections automatically in seconds!"

"Yes, but I can't control things the way that I'm used to!"

Etc...
> You cannot solve social problems ("how do i know I can trust X") with technology. ... Indeed, you trust in your computer to display the right hash, and to compare them correctly.

Are you saying "No one should ever use a computer or phone because it might be spying you"? Every time someone uses Twitter they are using technology to solve a social problem (e.g. "I want to know what people I care about are talking about").

You're right that ultimately some unavoidable trust decisions have to be made, but with open source software (and multiple reviewers with hard-earned long-standing reputations) those trust decisions become even easier to make than "Do I trust my government not to illegally wiretap my phone call?".

> Secure cryptography in the browser is still (generally speaking) adjacent to a joke ... probably exciting to people looking for easy ways to claim Twitter's bug bounties.

If you think that secure cryptography in the browser is a joke then feel free to earn $10,000 by hacking ProtonMail.[0] You'll be laughing all the way to the bank, and actually helping to improve the security of millions of people.

[0] https://protonmail.com/blog/protonmail-bug-bounty-program/
If Twitter actually does implement E2E encrypted DMs, I predict there will be a LOT of hand-wringing.

The same NYT and WaPo writers who have been writing attack pieces on Elon Musk for the past month will write about how horrible it is that people can communicate in private and how horrible their communications might be. Maybe a few EU politicians will make some threatening noises about banning Twitter, as well.
Yeah, I was hypothetically asking about renting a car from a company I, or a friend, owns...
Isn't the point of a movie to provide studios with outsized economic rewards? "Shared cultural experiences" are just one way of economizing. Procedural generation might be another. Perhaps we'll see Web 4.0, ie the "procedural web," obliterate feature-length video content just as it's creeping over text and short videos.
And even if there is a way to complain, unless they take action to reverse the decision it's probably not considered a false positive. And most complaints probably achieve nothing.
Good question. As a workaround you can always enable the yellowifying Night Light mode and crank it up.

It doesn't do what I know you want (I'm not on Mac however i.e. Samsung's Edge has that amazing "make the sites NOT white" Dark Mode feature, which I love and imagine to be similar), yet it will stop the retina burning at least.

(More applicable on desktops where software control of monitor brightness isn't really a thing that I've seen).
Regarding the second snippet, yeah, that (i,j) test will always be true. And if the inner loop is changed from `range(1, N)` to `range(i, N`) then it will be totally unnecessary anyways to have the conditional. With that change every pair would be generated exactly once.
Replace the word “phone” with “car” and see if this article still makes sense.

Sorry, but what is considered “essential” is subject to change. History has seen these shifts in every generation, and clinging to the previous generation’s notions of what is considered essential is just romanticism.