skysight-inc/HackerNews huggingface dataset:
For now, with brick and mortor businesses because it's hard to do that in a physical place. With people increasingly ordering things online it becomes easier and more profitable to do that.

If someone has your spending history, sees you buy something frequently, they have no incentive to put it on sale. Likewise, if they see something you've maybe looked at but not bought, they can put it in sale and tempt you.

This is just one example. I'm sure marketers can come up with all sorts.
I'm getting real sick of repeatedly hearing people call increases in the Bitcoin price "bubbles".
You can get tested for genetic susceptibility to developing Alzheimer's. That might be worth a shot.

I also read that Keto diet has solid scientific evidence of preventing Alzheimer's fyi
Medium has some well known issues, I don't know substack. A personal blog is an option, perhaps mixed with Twitter where you tweet the first summary tweet and then link to the relevant post? And have an index somewhere? That might allow people to easily follow/subscribe without the requirement to use Twitter.

Vague: it's hard to give a better example when I don't know what's actually in a given chapter, but e.g. this one doesn't really tell me much:

> 3: Happy career: two-factor theory of what makes us tick: motivators (challenging work, responsibility, growth) and hygiene (income, ego). Best way to help the world is being a great manager.

The meaning of hygiene here doesn't become clear to me really, and why is it best for the world to be a great manager? As opposed to a bad manager or as opposed to not a manager?

Another one might be:

> Ship of Theseus: kids are always your kids even if they've learn from others.

Erm, sure they remain my kids if they're mine? Can't tell what this means.

Finally, I definitely like a one-tweet summary up front (stretching the question about one-sentence summary since imo it doesn't have to be one sentence).

Hope this answered your questions somewhat :)
Why Do We Hoard?
The people downvoting me and not even commenting are who you should really be banning. They are bringing down this site quite a bit. Maybe you don't know what it's like to be downvoted by people who never even give you a clue why.

But you sound like a typical mod, not even responding to my original comment which had merit. No, instead you reply here and threaten to ban me. My account is almost a decade old, and you're just going to throw me away without even addressing my original comment?
Hacker News. Once upon a time, Digg was good for tech-related news. It became more popular and people switched to Reddit and now to HN. I’m here for the same reason I was on Digg years ago.
> many of us back-end developers would be over the moon if we were able to make "meh" design in the first place

> I thought it would be a good introduction to the fundamentals of visual design

I can relate, so a recommendation from me may be a case of the blind leading the blind, but the best such book I've seen is The Non-Designer's Design Book by Robin Williams (the writer, not the actor). (It's up to four editions now but get any one; mostly only the examples change.)

The second half of the book is about type, and the first half is organized around four principles: Contrast–Repetition–Alignment–Proximity, leading to a memorable acronym that you may have found elsewhere but whose origin is this book. She starts with examples of designing things like brochures and flyers, but IMO if you remember to apply those 4 principles as illustrated in the book, you go from “ugh, I don't know why this looks ugly” design to pretty effective design.
It happens a lot. Most don't fight because if you are deemed wrong three times you lose your account.

Many do fight and win but the video gets taken down for 15 days missing the key timeperiod to get traffic.

Most troll for ad revenue claiming public domain songs.
Ah good insight, thanks.
> Even if the tether is only worth $0.70 it’s still a better deal for some people who can’t exit their BTC position legally.

I don't get this part. What can you buy using tether, even if it is worth only $0.70? (Well, obviously you can buy bitcoin but this doesnt make any sense to buy the bitcoin back that you just sold. What else can you buy?)
What kind of programs do non-US countries have to take care of people with mental illness? The actual medical care would be easier to get for sure, but the type of care described in the article ("She bought a 5,000-square-foot house on an acre of California's Central Coast, a spot they chose in the hope that his father, Rendon, could walk with him along the shore. She worked with a landscape architect to tailor the outdoor space to Lee's needs...") seems like it would be hard to get in any country.
To Save the Ocean We Need Less Talk, More Action
Sometimes servers will be really cool and have a conversation with you, or make jokes, or be really charismatic, or go out of their way to figure out what kind of food you can eat if you have a weird allergy, and be really nice and obviously wanting to be helpful. They can please a difficult family member who generally complains about everything, or make great food suggestions based off what you say you like. There's a lot of stuff a server can do to go out of their way to stand out. Are you saying you've never had a server where you thought to yourself after you leave "wow, that guy was great."? (also I think some places aren't allowed to, or can't put pitchers on tables, so just ask for 2 waters for yourself if you drink a lot of water and don't want to be bugged)
I prefer an traditional dial watch (I don't care if it's digital internally). Is there something similar? A cheap, durable, reliable watch with hour/minute/second hands?
Plus you never buy just one G-Shock. Even before the novelty of your new one wears out, you're already looking at other G-Shocks.
> is still a political decision

When you say "political decision", what do you mean? I suppose it is possible to regard every decision one makes (eating at McDonalds, buying a MacBook, driving a car, riding a bike, doing sports, watching news, going to college, etc.) as political. It's almost certainly not how people prefer to think.
Is there any difference between selected private ads, secret society and religion? It's quite similar. Subgroup of crowd, believing something may not be scientific, xenophobia, delivering some "special idea" to their members, etc.

If there is no illegal stuff, why should we criticize on this? Just because they are not mature or long enough as religion?
You are derailing the topic:

- Doing business with ICE during Biden, but not Trump is a political decision.

- Doing business with ICE during Biden and Trump is a political decision.

- Not doing business with ICE during Biden, but doing business with ICE during Trump is a political decision.

- Neither doing business with ICE during Biden nor Trump is a political decision.

If you are a business there will be a point where you make a political decision. Bailing out with a simple “I am being apolitical” is a cheap excuse for doing bad politics.
Couldn't agree more. I'm a programmer and I'm not delusional enough to think I'd make a great product manager BUT to me it would seem as the no 1 skill for a product manager is learning how to say "no" to stakeholders. I don't mean in a non-productive way, I mean more like actually challenge poorly thought out requirements, deadlines etc etc etc.

PMs only add value when they serve as an interface between the business, challenging and parsing requirements into actionable tasks with a clear definition of done, aligning with other teams to eliminate blockages etc etc.

Unfortunately, many (most?) PMs do none of this, but instead see themselves as some kind of overbearing slavedriver who cracks the whip on behalf of stakeholders and their every whim without question, demands 100% insight into what everyone on the team is doing at all times, creating stress and throwing people under the bus when the shitty requirements and deadlines aren't met. It a ubiquitous and fundamental misunderstanding of the role that make them not just useless but positively harmful.
Checks are negotiable instruments, they can be treated as a substitute for cash, but they are not cash. That said, in the U.S. at least, businesses can refuse any form of payment they want, even cash.
China Launched World's First 6G Satellite. We Don't Even Know What 6G Is Yet
Check out Terraformer: https://github.com/GoogleCloudPlatform/terraformer

This has been instrumental in importing and generating configs from existing infrastructure.
For some people, yes. But if you don't need those things, or your compositor and apps of choice support the same protocols, it is possible to switch to wayland.
Current Tinkerboard is double the price of the Pi.

So not very price-competitive.
You are being disingenuous. The question is not "is it illegal?" The question is"is if moral?"

All kinds of atrocities have been committed with the full force of the law behind them. It doesn't make them any less of an atrocity.
> caring deeply about their team, what motivates them and what they love doing. If you can't apply the same empathy you have towards customers to your own people, you burn them out.

Strongly agree that empathy for the team is important, but I will also say that I'm increasingly seeing junior managers (product or otherwise) become so focused on pleasing their team that they lose track of shipping product that customers will pay for. The problem is compounded in over-funded startups or cash-rich companies where the financial pressure to ship and sell product has become so abstracted away that people forget what the real goal is (sell product, generate revenue).

It's a balance. Managers obviously need to work with, not against, their team. However, managers also need to be able to make the tough decisions and understand how to motivate their teams to do the work that needs to be done, even if it's not exactly the work that people most want to do.

For example, I've had to talk multiple people out of writing complex React-based SPAs for simple features that could be shipped more quickly as basic static sites. I've also worked at companies that suffered greatly because they chose to rewrite otherwise functional core software in new, fun languages because it's what the developers loved doing. A large part of being a manager is focusing people on developing the right things, even if it's not the most fun and intrinsically motivating thing that the engineers want to do.
If I appear to talk down to you, it's because by and large people who seriously believe that such an idea is theoretically (not to say even in practice) good (or beneficial) are thinking at a child's level and not responsible for running a society. Fundamentally upending a system that has brought prosperity to generations of people because it has become marginally harder for some today -- that's mature and responsible? Everyone should just share?

Let me guess, on some of the other discussions on HN you would be of the position that people should have the right to repair their mobile phones themselves, control what software runs on their computers, etc. etc? And yet, you would propose interfering with people's most fundamental desire to control and do what they want with the house they own?

Someday, I'm sure you'll realize that it's more productive to work within and guide basic human nature, than to try to put rules down that everyone wants to break.
Thank you for asking this, I was lost.
Hope you find a company that values this quality. Don’t be afraid to move on after two years or so until you find a good one.

Re: vetting companies, it’s so true. You probably have a lot of wisdom already, but it’s quite the learning process.
Lossy codecs use psycho-acoustic models designed to encode music so it sounds okay to humans, by discarding frequencies that we're less likely to hear due to masking etc. -- Just need to avoid those frequencies.

Having said that the newer lossy codecs (e.g Opus and some AAC variants) which are more efficient (sound better at lower bitrates) and have less "problem samples" than MP3 would perhaps also be better for data use, like they are for music.
So you spent 100 dollars on F-91W's over 30 years. 50 dollars could have gotten you a watch that would have lasted 30 years.
>the women in my life still get second-guessed, mansplained, faced lowered expectations, and/or past over for promotions.

My wife works for a non-profit. Her supervisor (a woman) was up for a promotion. She has worked at the place for 5 years. A guy who was newly hired 2 years back was also up for the promotion but he had more experience for the role (he had worked at a bigger firm and had done work at higher levels before, it's a legal nonprofit).

These were the only two up for the role. It's between work experience and time with the organization. Whichever you value more will probably determine who you choose. The big boss (a woman) ended up choosing the man over the woman for the job.

The woman was qualified. No doubt. For my wife and her supervisor, this was another example of sexism, women getting passed over for promotions again. But for the big boss (a woman) or for someone else on the outside, it's not so clear. Her leg up was her experience in the org. His leg up was his experience from other orgs.

When looking at a situation like this, how can you prove this is sexism? For someone it will be proof positive of sexism. For another it won't be.

Explicit, institutional sexism towards males is easy to spot out. Towards women, it takes this form, where you can't honestly say you 100% know it's sexism.

So what do you do then?
I don't think we want to foster a sense that we're okay with companies being completely amoral just because everyone's tired of politics. We need to draw lines on basis of basic decency, i.e not supporting slavery, child trafficking and such. Then the discussion comes back to "but where is the line" and bam, we're back into politics.

The American family separation thing the person above you mentioned, for instance, falls into the line of unacceptable for me, but for some people it's an acceptable response to illegal immigration. This is, indeed, very, very hard.
Ah that's because the bias against women isn't codified or a program, it's systemic, and therefore can be found mainly from it's effects. They aren't obvious because bias isn't necessarily obvious.

For example, here's a study where candidates with the same cv differ only by name.

https://www.insidehighered.com/news/2019/06/07/new-study-fin...

I gotta run, so I don't have time to cite it, but women, controlling for job qualifications and profession, earn 98% for every dollar a man earns. That may not seem like much, but the effect is enhanced by hiring and promotion differences and other effects of bias.

As to your question of not getting the benefit, how do you know that gender bias didn't help you get hired or affect your pay? Are you so sure that if you were a woman, you would have been hired, paid, and promoted just like you were now?

Regardless, policies are based on affecting the most good for the most people, not on helping you.
And written to be less readable with e.g.:

return bytes.ReplaceAll(script, []byte{0x09}, []byte{0x20, 0x20, 0x20, 0x20})

instead of

bytes.ReplaceAll(script, []byte("\t"), []byte(" "))

Skimming through the code, there's a lot of other pretty basic mistakes.

The most egregious is that the use of a python script has a security issue. Let's see if you can spot it, it's in these lines:

tmp := fmt.Sprintf("/var/tmp/invertpdf--%s/", time.Now().Format("20060102150405"))
os.Mkdir(tmp, 0700)
WriteText(tmp+"pngtopdf.py", GetPDFConv())
// later execute that .py file

So, what's the issue? Well, using a predictable temporary directory and then not checking for an error in `mkdir` means that an attacker can easily create that directory before you do (especially since it's a predictable name based on the time), and then write their own python script. That lets another user on your machine run arbitrary code as your user.

"But", you might say, "WriteText does an os.Exit if it can't write the file". That doesn't matter. If i create the directory with permissions 777, and then have a program waiting for the python script to be written in order to replace it with a malicious script, Mkdir will error (dir already exists), but WriteText will succeed, and so the vulnerability still happens.

This is the sort of dumb vulnerability you get if you don't know that `ioutil.TempDir` exists (or don't know about symlink races, tmpdir races, etc). `ioutil.TempDir("/var/tmp", "invertpdf-")` would be the more secure way to do this, though obviously you still should check that error too.

There's a lot of other problems with this program, but this vulnerability is the most obvious.
It also depends on the kinds of videos you want. Some creators (namely the very big names) very intentionally opt to include ads (sometimes multiple ads) during the course of their video aka the video specifically asks you to stay tuned after the ad break.

It's been a while since I subscribed to YouTube Premium, but as I recall some of those midroll ads were unskippable.
The question should be, how much would it cost to make a convincing fake using custom circuitry?

The genuine product is so cheap, you probably can't compete with it unless you use a mass-produced generic movement.
This is kind of a motte and bailey fallacy, the motte "everything is political" and the bailey of "what politics should corporations have, and for that matter its employees". That leads to some ominous answers as a corporation is purely in the business of making money, nothing more, nothing less. Anything else is simply internal policy for operating the organization, and can be done for any number of reasons. Ideology in work is for a privileged few, and the vast majority simply trade their labor for a paycheck. We would be better off recognizing this reality.
> Because those are the reasons[1], to my knowledge, that statically typed language won't fly.

Why not? If you're doing hot code reloading, the types all of the functions and receive expressions expect still have to be compatible, otherwise the code will fail at runtime. Static type checking just lets you know about those problems ahead of time.
It's not about your feelings. If you facilitate their efforts, no matter how much you wish to disclaim responsibility, you have still facilitated their efforts. Thus the binary. "Can't we just choose to ignore it" does not magically mean that when they trade their resources for yours in a deal that they like, you are somehow not helping them achieve their goals.
The thing that’s hard to resolve is that in your ternary there is no practical difference between 1 and 2 since your motivation only exists in your head while the real world effects are the same.

It’s an extremely common philosophy that if your actions aren’t politically motivated then you’re being apolitical but I don’t think that works in the real world because those actions have real political effects/consequences regardless of whether you considered them or not.
A "non-elected group of activists" is just another term for "society," "deciding what views are politically acceptable" is exactly what both groups want to do (and by the way, no one elected the side that wants the "activists" to sit down and shut up either,) and no one involved has "unrestricted power to punish" anyone.

But sure, spin it however you like.
Scala.js: A safer way to build robust front-end web applications
Where Are Postgres Tables Found?
Semi-experienced C user here, I believe the anonymous block is perfectly adequate here. No idea why they are wrapping it in a single instance do loop, unless they’re unaware of block scoping or I’m unaware of some UB here.
I can second this recommendation. Robin Williams books really does start with fundamentals, and is truly for beginners.

These are lessons you never want to forget, and you can use them all the time.
How can that kind of inequality look like justice to anyone other than someone very economically privileged ?
Where have you asked me more than once? Please point me to that. If so, then I'm sorry, but I don't remember being told anything like that before this comment.
I loved this episode when I first heard it, but reading your recap of it reminds me of a similar story from my college days. I had a CompSci professor who had worked at Bell Labs, which was all of 10 minutes down the street from the college. I remember he was having problems with printing something in the computer lab one week, so he wrote a driver for the printer over the weekend. This would have been about 1997 or so. And he talked about it like it was nothing, the simplest thing in the world.

It looks like my professor was just taking after the people he worked with. For that level of programmer, writing new drivers for hardware was a weekend project.

One of our CompSci textbooks was written by that same professor -- I just took it down off the shelf and looked at the intro. Brian K. was thanked for being an early reader of "several revisions."

In retrospect, it's really cool to have been only a couple degrees away from that kind of history -- and I probably didn't quite realize how awesome that was back then.
I think, it's worse. I think, it's a deliberate distraction from a bigger problem that affects much more people.

The problem is that if you entered the workforce after 2008, and wasn't born into financial independence, you have no clear path to achieve a few important milestones that the previous generation had: property ownership, family (and passing your quality of life to your kids), savings and retirement.

These things have been taken away from the whole generation because we chose to not enforce antitrust laws, and bail out inefficient and corrupt behemoths. So the economic leverage that would normally go into the hands of new-wave founders, remained in the hands of big players. And now they want us to feel guilty for wanting all those things the previous generations had for granted.
The list of conditions that increase death rate are pretty wide:

https://www.cdc.gov/coronavirus/2019-ncov/need-extra-precaut...

E.g. severe obese is one of them as well.
DM me on Twitter @grantgumina
Show HN: Oatfin Automates your cloud infrastructure
Hey HN, I would be interested in some feedback and will share some ideas as well.

Oatfin: https://oatfin.com
Demo: https://vimeo.com/470214984

Currently, over 85% of businesses operate in the cloud generating over 100 billion dollars per year in cloud infrastructure. In the current climate of covid, these numbers are set to grow exponentially, which means almost every business will operate in the cloud somehow. But building a secure, scalable infrastructure in the cloud is a pain.

As a software engineer myself, I've always been frustrated with the current solutions whether that is AWS's web console, CloudFormation, Terraform, etc. It's manual, tedious, time consuming and requires expert knowledge.

Oatfin helps companies save money and time by automating their cloud infrastructure from provisioning to deploying, scaling, and securing their apps in minutes. Our app empowers teams to execute and ship products faster.

We started with automating AWS and Google Cloud Platform and making it a lot simpler to deploy, scale and secure a cloud infrastructure. Our grand vision is to take that learning and data to build a simpler cloud.
I did not ask to start with "my friend died of car crash", while that certainly would make me more engaged with the article.
Sometimes the moment needs to be spontaneous.
Tether's biggest holders presumably are people with cash balances at exchanges without us dollar banking. At such exchanges the account will show USD not tether.
Right, so bitcoin users using a bitcoin site are making contributions to a bitcoin-friendly politician. I'm not seeing anything anomalous here.