skysight-inc/HackerNews huggingface dataset:
Unfortunately managers also tend to be a product of their environment. I've seen female managers/leads take extremely male-centric sexist positions on issues just because it's the way they've learned. In other words, they had become "one of the boys" and were expecting other women under them to do the same. I've come to assume it's especially true of Women on their 40s or so who have been in the tech industry for a while; a generational problem if you will.
I found it to be extremely helpful to check out the Fedora SELinux repositories. They're an excellent reference and full of good examples.

https://github.com/fedora-selinux/selinux-policy
New Canadian device could detect concealed weapons with radar
What exactly do you mean by "socially prepared for"?
Maybe it's different in SanFran/SV, and likely very different in trendy start-ups, but in my ~15 years of working in the private sector in big, medium-sized, and small companies, I never once was even invited to a happy hour after work.

One company (Intel) did have a bunch of "team-building exercises" where we'd go play laser tag, or go to lunch together when a coworker was leaving the team, but that's it, and all those things were held during work hours (and considered work time), and paid for by the company. There were complaints in some departments and groups about having to work extra hours in order to compete with other employees in the year-end ranking/rating, but I never saw anyone expected to put in unpaid time after work for merely socializing. I also never saw it in a bunch of other companies I worked in.

If this is something that happens at all in the US, I'd expect it with Silicon Valley start-ups, but I don't know because I've never worked at one of those.
What do you make of his promise to "fundamentally change" his behaviour?
Keyboard drivers provide additional support for controlling LED backlight color (many of them are RGB per key) and for managing 'macro' keys which send bulk key sequences.

Both features are popular in the gaming community. But they are also useful in other ways, I've got a mod which blinks the F11 key when I've got a meeting/appointment coming up (for example)
True enough, but I hate those things. They tend to incur nasty fees when used on top of the overdraft itself, and then there's interest to be paid on the overdraft amount if not paid in full, etc., etc.

If allowed, I will always disable them, and when not allowed, I will change banks to one that will allow it.
Why aren't managers graded?
There are many calls for, and proposals to include, some form of inheritance in Rust. Among other things, people have found that Rust is poorly suited to modeling HTML/XML hierarchies, retained mode GUIs, industrial simulations, code specialization, and some forms of video games. Inheritance is a missed feature.

What is clear to me is that Rust does incredibly well without it, but wouldn't be hurt by having it. Most of the egregious sins of OOP are mitigated by having far better abstractions available in Rust. ML-style modules, ADTs with pattern matching, type classes, first class functions, etc. Much like scala, if you give them capable FP, OOP stops being abused and starts being used appropriately.
It's sad how deep the Guardian has gone down the rabbithole in terms of writing exactly what lifestyle leftists are prepared to pay for (and nothing else). I guess I can sort of understand them from a financial point of view, but I don't really respect them.

All of this is btw a consequence of mindless adherence to conversion analysis (A/B testing). I'm pretty sure the Guardian does this, just as well as I am sure that Fox News does it.

(Yeah, I don't like mindless adherence to A/B-testing results. I still think there is a place for human and singular thought in design.)
All this reminds me of the Australian Army's response to this kind of thing. "The standard you walk past is the standard you accept." Not sure if it worked but it was a compelling talk.

https://www.youtube.com/watch?v=QaqpoeVgr8U
All this story does is correctly point out to people that Snapchat lacks end-to-end encryption.
Is there any problem with them remaining?
Ok, but have you ever tried to deploy docker compose on production. How did it scale for you?

You missed the point. Kompose will generate the Kubernetes config and it can even bring up your application using "kompose up" command. Have some faith and read more about it on kompose.io and use it
Is it still maintained in any way? How old is it? This sounds crazy.
We (UK) have had self-checkout tills for a few years too, but they still take cash as well as debit card.

Maybe I'm just old, but I don't want payment to be too frictionless. Cash still strikes the right balance for me; convenient enough that I don't get annoyed by it, not so convenient that I lose track of what I'm spending.
Ask HN: Diagnosed with treatable mental issue, any tips?
I was recently diagnosed as being bipolar and have the typical pattern of poor life choices and suicidal depression in my past. Also, I've been programming in various languages for almost 2 decades and taught myself everything I know about computers. I've read various stories on the internet similar to mine involving other devs. I'm finally giving treatment a try after my family intervened on my request.

Unfortunately the meds are having averse side effects and I'm still having manic and depressive episodes, sleepless nights etc -- thus far the best option I can come up with moving forward is to quit my current job as it gives me a great deal of stress. If I can secure a fully remote position and stay somewhat secluded (I have family around) then I think I can stay stable. This lifestyle has kept me somewhat stable in the past (worked fully remote for close to 5 years was able to seclude myself during manic episodes).

Has anyone else dealt with this sort of issue? How did you cope and what solutions did you find for yourself? any other advice?
> If the Hillary stories about her email were relevant then this is too.

Clinton's use of private email was an issue because she was dealing with classified information, and because she did not provide the State Department with copies of all of her work-related emails upon request. She is accused of committing at least two serious crimes.

Pence, to my knowledge, has not been accused of committing any crime here.
Well yeah, but the choice shifts from "closed-source firmware and completely closed PSP", which is what you get with Intel with no choice in the matter, to "open-source firmware and completely closed PSP", which is a clear improvement. Vendor UEFI implementations have been flaky in the past for me, so I'm looking at it from the point of view of better stability, user-friendlyness and customisation options.
Which racist thought made you reach that conclusion?
Python Fire: automatic CLI
Sorry! We are fixing this right now. Stay tuned. I will let you know as soon as it is fixed.

Edit: Should be fixed now. Please let us know if you continue to experience any issues!
Or, grade managers on how far their direct reports advance in the company??
The writing is all messed up too. :(

Very first sentence:

> The SELinux primary model or enforcement is called type enforcement.

"or" should be "of" or "for". I'm not sure which, because it doesn't even tell you what enforcement means.

First page:

> Imagine a system where we define types on objects like cats and dogs.

"On" isn't a preposition you usually use with "type". You can say things have a type, or are a type, but "define a type on" is a unfamiliar construction.

> A cat and dog are process types.

I'm confused. Do they have types defined on them, or are they the types? Earlier, it said they are objects, now they are process types?

> We have a class of objects that they want to interact with which we call
food. And I want to add types to the food, cat_chow and dog_chow.

Using "they" to refer to a noun from the previous page is a little confusing. "food" should be quoted. You can start a sentence with "And", but it feels gratuitous here since the previous sentence is short.

> As a policy writer, I would say that a dog has permission to eat dog_chow
write this rule in policy, as shown below.

What happened between "dog_chow" and "write" here? The latter half looks like a random fragment of text. What is a "policy writer"?

> food and a cat has permission to eat cat_chow food. In SELinux we would

We would what?
Show HN: Sqlproxy – Add query logging/filtering to a Golang database driver
"Don't wear revealing/sexy clothing" seems to be a common requirement at many jobs, and not sexist at all - though clearly it would be tailored specifically to the (inappropriate) clothes an individual is wearing.
> The difference is between manslaughter and homicide. We take age, sanity, and intent into account, but hitting someone with your car is illegal no matter your mental state.

Incorrect. Now, in most cases, hitting someone while driving will be at least criminally negligent and thus be some crime, but it's not impossible for hitting a pedestrian to be a non-crime because of the absence of the mental state required for any applicable crime.

> Likewise, tax fraud (intentional) is punished differently than tax negligence (unintentional).

"Negligence" is itself a mental state. That an act is illegal (though of different magnitude) when it is done through negligence as well as intentionally does not demonstrate that mental state is relevant only to degree of punishment, not legality. (There are strict liability offenses for which mental state is not relevant to legality, only possibly severity, but strict liability is exceptional in the law, particularly criminal law.)
Thanks!

It's true that filenames with whitespace or newlines are bad for interoperability ("make" is another example). There are three simple options: escaping filenames, making filenames NUL-terminated or declare such filenames as invalid. The latter way seems to have won for practical reasons, and it's a pity that "safe filenames" were never standardized (but C-identifier plus extension should be safe everywhere).

Mbox is definitely broken (for example body lines that start with "From" are changed to "> From"). I don't think it is ambiguous today (all software I know interprets "From " at the beginning of a line as a new mail), but it clearly was not much designed at all. It still has some precious properties which is why it's still in use today. For example, appending a new email (Mail server) is very fast. Crude interactive text search works also very well in practice, although automation can't really be done without a library.

Email is complex data (not line- or record-oriented), so various storage formats achieving various tradeoffs are absolutely justified.

> Binary formats present their own set of issues, but "accidentally unparseable" is more common in text-based formats.

It's true, especially with formats from the 70s where the maxime was "be liberal in what you accept", and where some file formats weren't really designed at all.

On the other hand, "accidentally unextendable" (for example, fixed-width integers) and "accidental data loss" is much more common in binary formats.
None of what she described is sexism. Even the tank top thing, maybe barely. Her manager made a good point - maybe her career isn't progressing as fast, because she dresses very casually, and people don't take her as seriously. I don't think I've ever seen a girl in tech wear a tank top (not that I would mind, just pointing it out).
I imagine one of those swipe attachments for a cheap android phone would work well. The UI is known pretty well now, and many people trust them in the US. I often see them at festivals, where it was previously all-cash, but are now maybe 20% plastic, usually for bigger items ($65 tshirts lol.)
Perhaps because it's a poor indicator of performance. There's a lot more factors at play when people quit than just "i hate my boss"
> the Chinese are shocked

Um, every Chinese person I've ever talked to is well aware of the propaganda status of government news, and know that if you want a 3rd-party (not necessarily 'unbiased') opinion you can load up a VPN and go read some non-domestic sources, whether in English or Chinese.

> even most Chinese don't know

Yes, Xi Jinping's primary rival for top posts was Li Keqiang. The Chinese press regularly leaks juicy tidbits regarding political rivalries, because different factions of the CCP control different media outlets. Sometimes that rivalry breaks out so far that even Western outlets pick up on it [1].

What you have to understand is that many traditional societies (and most Asian societies) do not like to bring conflicts into public and into the open. Disputes are best resolved behind closed doors via negotiation.

This isn't just how things are done in politics, but this ethic permeates every level of Chinese society. Japan is very similar in this regard, and even though Japan nominally has voting, good luck being able to tell apart their two parties in policy terms or figuring out how policies were devised.

[1] https://www.forbes.com/sites/gordonchang/2016/07/24/chinas-x...
:-)

I had a C-64 back then... and a Vic-20 before that. I have to say, that as much as it was a pain then, today I'm glad I had to use PEEK/POKE. I had to learn a lot more about fundamental logic in doing things like graphics than some of my friends that had BASICs where all you had to do was, say, CIRCLE with coords and a radius. I think it made me a better professional much later because I knew how lower level logic worked.
She was told that her body was a distraction and should dress modestly to remedy this. That's sexism writ large.
> There exists a shared protocol. It's called "explain it". But that's typically not even needed, the user can just look at the data and figure it out.

This is the root cause of 99% of all parse errors and security holes in the world.

If you just "look" on the output of ls in some arbitrary directory there is nothing there telling you that a file name can contain a newline that will mess up the output. Write your parser with this assumption and it's broken. (See OP)

If i had a penny for every csv-"parser" I've seen that is just data=input.split(','); i would be a rich man now. Because the developer when looking at their data had no comma in any cell. Doesn't mean the customer don't have it.
I guess this depends on the stage of development for me.

As a beginner the "one thing" would be getting a job. When you're beholden to someone else you lose the ability to freely cut scope whenever you're uncomfortable. Thus, I became acquainted to a "learn or fail" mentality.

Eventually I got stuck in the intermediate developer quagmire - basics are too basic but advanced concepts are too advanced. I knew I needed to learn more but I didn't know what I didn't know. Not to advertise, but Hack Reactor helped me clear this hurdle really fast. I walked away with a greater understanding of how to actually comprehend documentation and assemble applications in addition to the domain-specific material that was taught.

Now that I'm doing more meaningful work (though I'd hazard calling myself a "senior") my biggest growth points have usually involved having applications people actually rely on. I am my own pager-duty, so if I want comfortable weekends I need to write architecture that is capable of recovering gracefully from failures, errors that can be read by programmers or designers, etc. Answering to my users has helped me realize new ways I can meet (or exceed) their needs, areas where I was sloppy and should've handled better, and all sorts of things in-between.

I'm looking forward to the next point in my career that I take a significant stride in my growth as a developer.
In the Susan Fowler case, at least, her manager changed a good review to a poor one to avoid losing her to another team. So I'm not sure that a blanket "if you lose too many people" policy is necessarily a good thing.
Read a little more carefully. The problem here isn't really "sexism", it's that "Tina" has an insecure personality that feels threatened by the people on her team, and thus is marginalizing everyone on it who sticks out in an attempt to establish dominance.

You're correct that a good manager could make a comment about a tank top being inappropriate attire at a given office. But note when Tina said this: it was when the author was talking to another manager to leave the team. Tina isn't giving constructive advice; she's trying to stop the author from forming relationships with other managers. Note also, that Tina led the feedback with disparaging Mark, by saying that Mark was staring at the author's breasts. The implication is "Mark doesn't have your best interests in mind, he's simply a pig; I have your best interests in mind by telling you to cover up, which is advice I think you need to hear."
Because retention can be too subjective. If you lose a lot of bad people then retention is not a bad thing. If you start to lose good people then what was the common reason? Not willing to pay? Company culture? Team culture?

Company I work for retention can be factored in but the ability to rate your boss is given each year and if that comes back negative along with poor retention than that is reason for further action.
> Calling them living rooms is a bit of a misnomer for most of them

Living room, family room, and den always confused me when I was a kid. In the States, "living room" means a more formal room for entertaining guests (coffee table with thick art monographs) and it'd often be adjacent to the dining room. In contrast, the "family room" or "den" are places where people would spend most of their time and that's where the television would be.

Don't ask me how the room came to be called "living room" since most people don't spend much time there to the point that some houses would have the couches covered in plastic or bedsheets.
It's nostalgic. The War room is as good as the one from Dr. Strangelove.
Thanks for your comment. We wanted to give our users the ability to opt-into receiving information about HSA and other related topics as we move forward without necessarily signing up on day 1 (in case they are not ready to do so).
The biggest reason I can think of is safety. With a good credit card you are not liable for any fraudulent charges, which definitely isn't the case for debit cards.

https://www.nerdwallet.com/blog/credit-cards/credit-card-vs-...
This is so true. The company of just one good developer can make a huge difference.
I wonder if they will reroute the main spillway down its new channel. That looks like it might be easier than trying to fill the hillside back up all the way to the previous level.
That's a pretty huge factor though. It's definitely something that should be taken into account.
That's a fair point, but I think that clean idea can be messy in practice.

For one, engineers rarely manage people before they are managers. They might lead a team or be a product manager, etc., but those have different (albeit overlapping) challenges from managing people.

Another important factor is that in small or fast-growing companies, there's often not a formal promotion to manager. One day, you're the solo dev or maybe the you're senior dev of some secondary system. That system gets unexpected popularity/traction, and your manager starts throwing resumes or new recruits in front of you. And before you know it, you're managing a team, still trying to lead code reviews but also dealing with personnel issues, manage timelines, etc. You weren't really promoted. You were just the person in charge of this thing, and the thing grew underneath you. I'm not saying that's ideal, but it's something I've seen fairly often.
Still better than when Cheap Trick(?) Had their new album put out on 8-track a few years back.
Variational Autoencoders Explained
You say bank notes were redeemable for "coin or specie," but really that's state money. So state money precedes bank money. This was also a horrible system, because bank notes didn't have guaranteed parity (with each other or with state money) or guaranteed redemption.

Also, the "final" clearing system for electronic transactions is public. In the US, it's called Fedwire, which is operated by the Federal Reserve which, despite various paranoid ramblings, is a public institution. The problem is, only reserve banks are allowed to have accounts with the central bank, which makes the system appear private. It's even trickier with credit cards, where you're basically asking a credit provider for a loan every time you swipe.

So maybe the better question is, why isn't there a national depository bank of the United States? And then you can advance whatever answer you want for that one.
The point of Github is not so much the repo hosting part (well, that too). The point of Github is

- the nice web UI for browsing code

- the social features (issues, pull requests, reviews)

That's why, after years of Gitolite (i.e. nearly as bare Git hosting as the submission discusses), I've switched to Gogs last year.
How does TWEWY: Solo Remix work? I have the DS game and it seemed pretty heavy on your partner also doing the thing. That being said, TWEWY:SR is one of the reasons I wish I had an iPhone or iPad. I loved the game, and wish so hard for a sequel. It was one of Squeenix's best games in aesthetic, sound, and story.
The comments about the tank top were blatant sexism. The rest just seemed like terrible management.
>In what societies have humans used barter?

Almost all of them to some degree. Including modern societies (at rural places), especially up until the sixties or so, and even Western European cities (during the war and the very poor years post war).

Also common in communist countries...
When all you have is a hammer, every problem looks like a nail.

Japan could simply incentivize its population to marry, have kids, etc. Why is your first thought "necessary societal upheaval" through immigration? Reminds me of a Karl I read about.
A lot of engineers have never held a position of leadership in any respect. As well, they're stereotypically tech-focused, rather than people-focused.

This makes them less prepared for the stress and less in-tune with the emotions of others, i.e socially unprepared to be leaders.
How large, populous, and developed do they have to be to qualify? It's hard to answer that without setting some boundaries first. China still has lots of really poor people and undeveloped areas, but a huge portion of the country is developed more or less to first world standards, so China would qualify if you can accept some inconsistency.

Otherwise, Saudi Arabia? 30+ million people, high per-capita GDP, fairly high Human Development Index, totally non-democratic.

Russia might be a marginal example, with a moderately high HDI and a government at least pretends to be democratic.

I think Germany is a pretty good example if we're allowed to look at the past rather than just the present.
The difference is that I generally feel safe carrying a debit card around where I wouldn't with even $100 in cash. In the US, we are just getting chip cards for debit, so even if my wallet is stolen, I can just call the bank and cancel it, but I can't do that with cash.

I'm with you on the credit cards-- for me, they're just a point-generating mechanism-- but it's easy for me, since if I accidentally go over my budget, I have enough savings to easily cover it whenever that happens. For people who live more paycheck-to-paycheck, that can be devastating, and it's sometimes non-trivial to compute your safe-to-spend amount from a current credit card balance, expected expenses, and current bank balance.
This particular situation would be tough at any company as they would be reluctant to let "Tina" go as it would scew their numbers even worse given the ratio of female/male eng. in management roles. Also a person with that type of attitude is very likely to retaliate against the company.
Wait, please tell me more about these inexpensive yet faithful reproductions. Is there good place in Germany to find these?
This is for their razor blade laptop, are you really going to avoid their entire line up because of that?