skysight-inc/HackerNews huggingface dataset:
This is correct IMO. I have worked in cultures where raising your voice and shouting is not considered "yelling" (or demeaning) as an American might interpret it, but just considered communicating directly. Every culture is unique and you should first respect and learn about the culture.

Frankly, ask a co-worker or two for input, be up front and say hey, I had a talk with so and so the other day and I am a little unsure how to interpret it given my lack of knowledge locally. Ask them to help you interpret it, frankly if it is bad better to know now, if it is nothing they'll tell you. Also, they may offer up that this is a normal culture thing or they may say hey, this person is an asshat and this isn't normal and then at least you understand where things are at better.

I have worked a lot with various cultures and finding how to motivate and what works for them is the key thing. I have had people get seriously nervous and on edge that when they knew they screwed up I didn't yell at them so they thought their job was done for, but my style is very calm and easy going 99% of the time. I rarely raise my voice ever, just because it isn't necessary for me to communicate that way plus I'd rather figure out what went wrong and fix it than dwell on who. And if I have to terminate you, it'll never be a confrontational situation because you will know though communication long before that it is coming and you've had many opportunities to fix it, but I won't be an ass and I won't need to raise my voice. But that is not the case in other cultures, so if I was working in some Countries I'd expect a very different way of being treated, I also know I wouldn't work in some because it would be mentally taxing for me.
I don't think jedberg's point is that we have a responsibility to make things better in other countries. Rather, I think the point is that if we only focus on indicators of "merit" that correlate with wealth we'll miss out on valuable, smart people who want to come to the US from a less wealthy background.
Considering a large percentage of inmates have yet to be charged with a crime this would probably be incredibly lucrative for the prison industry.
Do it anyway. Do it even if it scares the shit out if you. Say to yourself: I'm not going to let an insurance company tell me what I can or can't do. I'm telling you man, therapy is fucking great!

Edit: btw, talking to strangers on the internet is a little like therapy. It's easier sometimes to talk about yourself when it's to someone you don't know.
I've had a Kobo Clara HD for about a month, so I'd be happy to answer any questions you might have about it.

FWIW, most of my eBook collection was purchased on Amazon before I got the Kobo, and it's been easy enough to download them all from Amazon and run them through Calibre to get them converted into an EPUB or KEPUB (special subset of EPUB that's better optimized for the Kobo) and get them onto the device.

You can go in the reverse direction as well. I regularly grab ebooks from wherever, strip away the DRM if I have to, convert to MOBI, and then email it as an attachment to the my email address associated with various family members' Kindles.
Black's README explains how to do it: https://github.com/python/black#version-control-integration
I use it with f-strings all day long...
FWIW those particular formats are widely understood even if they are proprietary (well, at least in WordStar's case). And as long as the software runs (be it natively or via an emulator or VM), you can always open and convert/print the files (e.g. you could use vDOS to run WordStar or whatever and use its printer emulator functionality with Windows' PDF printer to create a PDF from the WordStar files).
If most people dislike it on my team, we simply won't use it :(
> You should really count them.

I've been in the industry too long to put any real value on them, regardless of whether they're from a Fortune 50 company or a startup. Sure, sometimes they pay, but it's always a gamble. I sorta view them more like lottery tickets than actual compensation.
My brother has Spina Bifida and it was a complete shock to whole the family when he was born as it hadn't shown up on the ultrasound. Seeing him whisked away for surgery so soon after being born was incredibly terrifying and stressful for the whole family, not to mention the stress he's experienced from various medical procedures over the years. Seeing medical advances like this make me really happy, I only wish they'd existed 25 years ago so they could help him.
Technical ease of monetization has nothing to do with monetization?

Also, something technical can be extremely easy for the average HN reader and practically impossible for most people.
There is no such thing as "my favorite format" in that sense. Also, I don't mind reading code in other people's "favorite format" nor do I have any problem in following another person's style if that's the style agreed upon by the team.
Terms could be defined on first usage in the body (RSS).
I am not Swedish, and had not yet visited Sweden at the time, and yet somehow Palme‘s murder was shocking and memorable to me.

Perhaps it was that it was a blatant murder in a crowded public place, like something from James Bond. Or the murder of a major public figure, something that had seemingly gone out of fashion (I remember Lennon’s murder distinctly as well, but that was a loonie so somehow lacked the same significance to me).

So odd, since I knew nothing of Swedish politics and honestly couldn’t care less (though I knew who he was, an internationally famous politician).

So whenever his name surfaces I always check out the article. The 80s were weird, and seem weirder in retrospect.
if the progress of prettier (js) over the past few years is any indicator of what will happen with black, there will likely be incremental improvements in black that address the poor formatting cases you’re concerned about. i remember when prettier first came out, i was not convinced until my “standard” for formatting was met. but it was met eventually.
In my grand ole state of Utah, even our voting doesn't matter [0]! The Utah legislature gutted a medicaid expansion program which the population had passed in a ballot initiative in 2018.

Technically legal? Sure, they're the legislature, they can do whatever they want. Incredibly disappointing as a voter.

[0]: https://www.politico.com/story/2019/02/11/utah-medicaid-expa...
Not really: https://twitter.com/waxzce/status/1129381076160454657

> The performance loss is not visible for our customers, we have to manage the loss in ourselves. It’s a kind of hidden defect.
Well we can look at this from the opposite side, it eliminates more people far faster giving the authorities fewer people to check. Now this is fine provided there are sufficient rules governing that second step.

That is where the process currently fails. There are no published checks and balances.

Look, we don't have to like this one bit but we are kidding ourselves to think it can be stopped. Even the actions of San Francisco can be overridden at the state or federal level when push comes to shove if not a shift in electorate. so the task ahead is to regulate strictly how it is used and what can happen from beginning to end of life of the data. the first rule being, it can never establish guilt on its own.
New York considers fining pedestrians for texting while crossing
Similarly, also even today i use wget --clone and the Firefox addon Save Page WE to save interesting pages (the latter works for single pages, but it is useful for blog articles, etc).
I started using black with one of my personal projects. Now I find myself wishing if was set up in every other python project I work on!
Relevant? https://www.youtube.com/watch?v=2UFc1pr2yUU
The ford logo is a nice touch.
If the FR were to learn based on input I could see how feeding it doctored images would screw it up in the long run. But if its just the FR utility, minus any ongoing machine learning, how does this effect the public's safety exactly?

Not disagreeing just curious.
I have some issues with aesthetic decisions used in Black but the degree of head-nodding on the top answer in the SE post you linked is really disconcerting. The person basically says "well you're the boss so you should kindly remind your employees that its your way or the highway" in several different sentences.

It's pretty disturbing that people think this is how a manager behaves. Turns out there are reasons beyond aesthetics that people should apply strict code formatting practices.
"Gofmt's style is no one's favorite, yet gofmt is everyone's favorite"

Happy Black user over here!
I think they are using “skills” as a proxy for wealth. As such this poor person with skills to them is being proxied as “wealthy”. Our system doesn’t care. We care that they have skills to bring to the table.
I love black: formatting isn't a _big_ thing to think about, but it's always there. Until black. For [current project] it's hooked into VS Code as the default formatter, and (inspired by simonw) we've incorporated a black check into the test suite. It's simple:

https://github.com/simonw/sqlite-utils/blob/master/tests/tes...
The entire video is Autopilot in city driving. Autopilot, at this time, is only for "driving on dry, straight roads,
such as highways and freeways. It should not
be used on city streets."
Four of them. One in each color.
Talk about moving the goalposts...
The AGPL exists to close a loophole for code running on the server. Code being served to the client obviously needs the permission of the code’s copyright holder. Otherwise, all those movie piracy streaming sites wouldn’t get constantly shut down.
Let's take Game of Thrones, a show that I'm sure many people reading this thread watch. The final season cost $90m to make. Would this investment have been made if not for intellectual property rights that give HBO exclusive license to distribute the content? If Amazon, Google and Netflix could just take the work and distribute it for free, then would HBO have been willing to fund this?

The same goes for many things that are costly to produce, such as movies or investigative journalism. Yes, there are people who are willing to work for free, but it's nonsense to argue that "there is no evidence that intellectual property in any way increases production of works". Once upon a time, you had wealthy patrons who were the principle supporters of the arts. The system worked to some extent, but even Jeff Bezos can't afford to foot the bill for every movie made today.

EDIT: yes, game of thrones is heavily pirated, but as the article linked to below points out, the only reason this benefits HBO is that it leads to more subscriptions. In a world without copyright, Netflix could take GOT episodes the second they are created and put them up on its own platform, completely legally. I wonder how many people would pay HBO in that scenario. Right now, the benefit to subscribing to HBO is that you get to watch Game of Thrones legally, with a better viewing experience and you save the hassle of going through seedy torrent sites trying to find a high quality copy. The people who feel a moral obligation to pay for what they consume probably were already subscribers anyway.
Weight is mass times acceleration. Now explain that.
isn't that literally the job description for the cia?

for a more realistic view, see the interviews with LAPD people from the recent documentary on Bob Kenedy's assassination in LA.

it makes the case pretty clear, and show that people did talk. but that the good media, not wanting to promote conspiracy theories, silenced. The guy was pretty much boasting about his participation for decades and nobody cared.
> Black is the uncompromising Python code formatter. By using it, you agree to cede control over minutiae of hand-formatting. In return, Black gives you speed, determinism, and freedom from pycodestyle nagging about formatting. You will save time and mental energy for more important matters.

I run into this philosophical debate at work. In my mind, I don't care much what the resulting code looks like as long as

- it's somewhere in the reasonable spectrum of readablility

- it's consistent and unambiguous

- it never fails for a syntactically valid source file (if it's doing something for syntactically invalid source files, even better, formatting helps me find the error)

There are other opinions though that emphasize minimizing diffs or extensive customization to fit somebody's favorite style (I'm looking at you, rustfmt). Black seems to be right down my alley.
I have literally stuffed my duffel bag into the measuring box to prove that it fit. Clothes compress.
I think that's why it self-describes as an opinionated formatter vs YAPF where one has very granular control.

My understanding is that by using Black you're saying I choose to not express my opinions about formatting aesthetics and delegate that decision to Black instead.
> Black formats this as:

To be clear though, in your example, it would format it as:

basket.add({apple.stem for satchel in satchels for apple in satchel})

It might also format it as

basket.add(
{apple.stem for satchel in satchels for apple in satchel}
)

It only formats like your example if the statement is much further indented I believe
> This works out well for Japan.

I don't think Japan is really a model you want to copy. The decades of a stagnant economy despite low interest rates shows that something is wrong.

Also, highly-qualified people aren't the only ones who make things better for everyone. Some sort of citizenship path for entrepreneurs would help, given that our number of new businesses have been in decline for years.
30 Days Season 1 Episode 1

https://www.youtube.com/watch?v=wmSGEGOVI34
It's really, really hard to find a good therapist. I've heard so many stories from friends and have direct experience with employees who've had trouble. Kaiser completely screwed over an employee of mine, which led to him being homeless for more than 6 months and abandoning his job. It took him more than a year to get back on track.

IMO, it's criminal what these insurers are doing.

Also, there was a post here, I believe, about a successful therapist (in Australia, I believe) that was quitting because of the BS he was putting up with from the insurers. It was a youtube video where he laid out all the reasons. It was just heartbreaking to watch.
Where can I find your book?
That's what I was afraid of. At least I live in a city with relatively little air pollution.

Makes me miss Groningen though (which has a car-free city centre, and it makes a difference).

Well, here's to hoping electric cars take off quickly.
Oh well that's Cray Runined
In Northern Ireland handguns are still legal but you can only have a license if the police service here deems that owning one is reasonable for the protection of your life. [0]

[0] https://en.wikipedia.org/wiki/Firearms_policy_in_the_United_...
Fundamentally the actuaries have figured out that the cost of treating someone with mental illness is greater than the value of the premiums.
>diet

Segregation and redlining have led to people of color living in marginalized communities in "food deserts" where there are few to no fresh food options, so people that live there (who are too money-poor or time-poor to travel for groceries) have to rely on processed and shelf stable food, leading to a very poor diet and the health problems associated with it.

Just because the immediate observation isn't related to racism doesn't mean the root problem isn't racism.
it works for others, so why not here? https://youtu.be/-qCKR6wy94U?t=1121
> The jury has decided, it's successful

Hypothetically, what if it never begins earning more money than it spends each year? At some point wouldn't it be unable to borrow any more (from banks or investors) and be forced to shut down? And if so, we still don't know if it can be profitable, right?
Government can with the stroke of a pen decide to fully fund any program. Even in the case of social security it's just an accounting mechanism. Anyone who says that social security and medicare depend directly on a larger taxable population today is lying. Young people being told that today are being lied to.
> Also Apple does not embed icons in their binaries. Their app bundles are not binaries, they are a directory structure. The icon is just another file, just like the _actual_ executable(s)

You actually can put an icon into the resource fork of a Mach-O binary, and it’ll show up in the Finder and Dock (assuming the executable turns itself into a GUI app).

It’s an uncommon thing to do, but Qemu uses it, and unfortunately I don’t think there’s another way to embed an icon in a bare Mach-O binary
It's an interesting meta thought that using the autoformatter changes the way you write your code. Not that that's implicitly a good or a bad thing, I just find it interesting.
This is a terrible idea. Why further punish kids for the success and efforts of their parents? Even if this isn't outright lowering the score of high-achieving kids, this is lowering the worth of their accomplishments in the greater college-admissions market.
Rapid Oxygen Changes Fueled an Explosion in Ancient Animal Diversity
Every language should just have a go fmt. Go showed us a better way. All languages should copy this design.
You could say that about anything, though. Why use punctuation and capitalization when typing forum comments? Its just syntax after all.
generally most merit systems use education as a proxy for "skills" and jedberg is (aptly) noting that this is generally a proxy for wealth and not for capability/skills across the broader populace.
> But if you have ever seen the savagery in the comments on any HN-linked story on homelessness

And frankly, compared to Facebook posts from Fox News or indeed any other news outlet, the "savagery" on HN is downright pleasant.
Palme was also hated by many army officers and security police. However that doesn't imply much.
Having finally gone through the process of getting diagnosed with ADHD, I can't agree more.

I talked with my doctor about a referral, he essentially just said "find somebody in your network" and gave no direction. Of course, finding psychiatric care in my network was a no-go, so I ended up paying out of pocket.

Even with the diagnosis and subsequent medication prescription, the out of pocket price was $189 for 30 days for a generic medication! Only with a coupon app was the price lowered to ~$50.

It's no wonder the black market for drugs is so strong considering the barrier to entry, not just monetarily but logistically.
Agreed. Would also like an alternative that used single-quotes instead. Do yapf or autopep8 have that option?
DEP 0008 ('Formatting Code with Black') was accepted by the Django board last week. They're going to wait until Black has a stable release before reformatting all the code, as there's at least one thing they don't like about how Black handles things.

https://github.com/django/deps/blob/master/accepted/0008-bla...

https://groups.google.com/forum/#!topic/django-developers/7G...
The idea that a fetus has rights must be taken seriously in order to refute it
To be honest, I didn't know any of those were french words.
No, it is exactly as i wrote above, the idea isn't to complain back, it is that you get shit for free and you have no standing to demand for anything more than what you got. If free candy makes you sick maybe next time do not accept free candy from strangers, hm?

(of course i knew someone would try to reply with a "No, it is like <insert post ignoring the point here>" but decided to go with it anyway)
I have just started using it and love it. It sounds funny but while formatting is not always a deal breaker it still kills me for 1) readability and 2) the faith that when someone reads the code base later one they know I was not an idiot.

I know 2 is kind of subjective but when I look at someone elses code and I see obvious mistakes against pep8 I start judging both the person and the code harshly. Perhaps unfair but for the very simple pep8 rules I see it as someone who is not as well versed in Python and perhaps does not care about their code as much.

Overall I just concede that consistency is better than everyones personal tastes. For a startup I think you can get by with just some custom linting but in a larger org I find it much harder to agree on a consistent format unless you are a Python first org. Much easier just to roll Black into the project and go with it.
Unrelated: thank you for using “idempotent” correctly. Too many people use it to mean referential transparency or having a functionality property
Honestly not sure since I don't know which APIs + secret sauce they put into Song Radio.
I personally found Song Radio a little lacking - I never usually liked the most of the related songs, it didn't allow me to reshuffle the recommendations.

The /recommend API I wrapped for the site is similar, in that I let it spit out 12 "similar" songs, but I'll probably only like one or two songs, but you can also re-submit to shuffle the recommendations. The site is definitely more for active discovery than passively listening. I made the site because:

1. I wanted to more actively discover songs

2. I'm a big Spotify fan and was curious about the guts of the recommendations algorithm

3. I had never deployed an actual site (I exclusively do backend programming at work) so it was good learning experience about things like setting up a little static site
Nope, Ryzen and TR don't. Epyc does.
They’re coming back after selling it to Lenovo.
Smokers will say that cigarettes help them loosen up and meet people too.

They both cause cancer. I think you are glorifying poison a little much
I would imagine it would be really hard to make the voxel coordinate system spatially coherent over the whole planet, so placing smallish regions of buildable space at various geotagged points seems like a pragmatic approach.

You could still design it to get the types of interactions you're after.

Edit: To clarify I think it’s hard because of the earth not being flat but also because of the difficulty of syncing AR tracking to GPS tracking in a device independent way. You’d get a lot of error depending on how you attached the two reference frames together. Having many smaller buildable spaces means you can have lower accuracy from GPS but still make the world feel populated. The cubes wouldn’t align between volumes but the volumes can be in close proximity.
I agree only if family is restricted to spouse and minor (unmarried) children, and maybe grandparents above the age of 50.
When I was around 18 I thought it would be fun to implement a simple networked version of pong. While the whole implementation wasn't the best in the first place, even on Lan it was pretty much unplayable due to jitter and lag. I found this article back then and was crushed by the complexity. This is when I decided I never want to work on timing sensitive networked code ever. It's still cool to read about all the smarts that go into games for this.
<Picard> There...are... four... dongs! </Picard>

Thank you, now I'll never unsee it.