skysight-inc/HackerNews huggingface dataset:
At first I thought this article would be linkbaity-gossip about a tech individual's private matters. However I think it raises a good point:

Generally our attitude toward different sexual preferences (previously labeled 'deviant') is that it is illegal and wrong to use them to hold back somebody's career. However fetishism thus far hasn't been approached the same way as homosexuality, nor has the debate even begun in any public fashion.

I think this debate will have to happen and it's very nuanced.
Let's hope those dastardly terrorists don't know how to store their secret plans encrypted on Dropbox, buy new laptops once in US, visit hardware stores, or rent a trailer with a kitchen. If they're that smart, we could all be dead in the event the U.S. TLA's are correct.

I feel unconcerned for some reason. Haha.
That qualifies as a microsservice in my book :)

To add more: you get there by not practicing SOA, never breaking up a service, working at a company constantly ships new product rather than focusing on restructuring the application, not having developers own both the build and deployment of the app such that they don't experience the pain; reasons, etc.
3D Drawing – dragon ball Z
You can contribute, but you won't be able to deduct the contribution if you have a 401K.

This is for a traditional IRA. Roth IRAs aren't deductible, and also have income limitations.
Businesses, the smaller ones run by honest founders, are in a way the most tragic of all the H-1B victims.

Not shielded by layers of middle management, they see with their own eyes the way H-1B really works -- the lies they would have to tell to hire the low-priced labor.

They want to be honest and law-abiding, to be the kind of parents their children can respect.

But business has been unprofitable and is not improving, and tuition, mortgage, taxes are due at the end of the month.

How would any of us act, in their place? The choices are:

1. Hire H-1B, or

2. "The right thing" -- chapter 7 bankruptcy.
Can you point out to me a single criticism of Rust that isn't "it's too immature" or a variation thereof (e.g. less code written in it)?
Source?

All I can find is "Pricing and related information on StarCraft: Remastered will be announced at a later date."
ODBC+FreeTDS is not generally a good idea. Microsoft's ODBC driver works fine though.

https://blog.afoolishmanifesto.com/posts/install-and-configu... explains how to get it going on debian.
I suspect that will prove to be Corbyn's "tuition fees" moment. If he's still there by the next general election, the Lib Dems will surely attack him for being all talk and no action.
Here is a way to bind autocomplete to TAB such that you still get TAB unless you are at the end of a word to complete. It's super convenient.

function! InsertTabWrapper()
let col = col('.') - 1
if !col || getline('.')[col - 1] !~ '\k'
return "\<tab>"
else
return "\<c-p>"
endif
endfunction
inoremap <tab> <c-r>=InsertTabWrapper()<cr>
Not undetectable. There is still gravity lensing. And black holes (the small ones) are still stars, or at least mass/matter that once was. That material still has a place in the equations for the evolution of stars in galaxies.
Yahoo Search Engine Submission Link Directs to Bing Webmaster Tools
This is terribly dangerous advice and I highly recommend against it for any sum of money you are not prepared to lose.
if you have an employer sponsored retirement plan available to you, then making over a certain amount means that your traditional ira contributions aren't tax deductible. at that point you should make roth ira contributions instead. (until you make so much you can't contribute to a roth at all, at which point you can go back to making non-deductible contributions to a traditional ira.)

https://www.irs.gov/retirement-plans/2017-ira-deduction-limi...
Thanks for the feedback! Yeah, I don't expect much mass appeal from supporting only Questrade, it's just the brokerage that I use myself. Good idea on getting them to fix those HTTPS issues, really no excuse for it these days.
Why is this marked as dupe? Yes, there were already posts about exception handling ( "Catching Exceptions" [1]), "Better Exception Messages" [2], and "Returning from Exceptions" [3]). These posts used naked functions and a lot of inline assembly for exception handling.

This is a new post that I published today. It uses the new `x86-interrupt` calling convention [4] instead of naked functions, which is much easier.

[1]: https://os.phil-opp.com/catching-exceptions.html

[2]: https://os.phil-opp.com/better-exception-messages.html

[3]: https://os.phil-opp.com/returning-from-exceptions.html

[4]: https://github.com/rust-lang/rust/pull/39832
New portal to unveil the dark sector of the universe
That question is a bit unspecific :D

>NUMBER = atoi(argv[1]);

argv is populated at runtime based on what the OS passed you.

But you are right if you meant that my statement is too strong: you can't do arbitrary loop unrolling. You can jump to a loop that's unrolled once if the number is even, etc.

There are certainly also optimizers that will just output the input without any loop, but that's beyond anything I would expect of a current production compiler.
https://www.quora.com/Is-China-colonizing-Asia-and-Africa/an...
CPython only does very few optimizations on the byte code. Most optimizations are in the interpreter itself.
Ask HN: Unified font file for all languages?
I'm writing a game that makes heavy use of chat and GUI interfaces. The UI framework requires you to load a single font to display characters. Therefore, to support as many languages as possible, I would like to load an OTF / TTF that has unicode characters from all languages.

The Google Noto Font (https://www.google.com/get/noto/) supports all languages, but they aren't unified. They use separate TTF's for Chinese, for Korean, etc. I'm looking into how to unify them, but my question is, why isn't this an obvious problem that people have solved? Wouldn't game developers need unified fonts regularly? I haven't seen any common font that solves this issue and I'm perplexed.
I don't necessarily disagree with you, just with the way you present your point.
Yahoo Search is just a frontend to Bing nowadays (and has been for quite a while). Yahoo gave MS their search tech, they integrated it into Bing and now both use it under different labels.

So it makes total sense that it links there.
Probably quite a lot. I am subscribed to the Quartz newsletter and they often have a paragraph which is headed

"Sponsor content by The Government of Japan"

which I always find slightly amusing.
Started reading this, and already it makes you reflect on some assumptions and clearly exposes some very interesting ideas. Brilliant writing.
It's not illegal to use homosexuality to "hold back somebody's career" in most jurisdictions, though. Only just enough jurisdictions for multinational corporations to set policies about it.
My favourite is to explain interruptions of any kind are like teleporting me 1 hour away. You may have "just a quick question", but as soon as you walk away I now need an hour to travel back to get to where I was.

For some people it's much shorter, but I find saying 1 hour gets the point across. Otherwise folks may think "bah, it only takes them 15 minute... I think it's worth interrupting him".

Bottom line: we need to teach awareness to those who are ignorant, set boundaries, and defend those boundaries once they are set. Otherwise you are dealing with disrespect. I can tolerate many things, but I do not, and will not, tolerate disrespect.
The whole point of breaking the results down by class is that your statement of "Men got 1.8x as many callbacks as women", while true, is very misleading, because the sex difference only benefitted upper class men. Lower class men got the fewest callbacks of any group.
I don't think so. I have not extensively reconfigured uBlock Origin. What setting are you thinking is relevant?

BTW, this custom filter rule seems to work around the LA Times blocker blocker. https://news.ycombinator.com/item?id=13567527
If a galaxy is in a position to be lensing, or we can otherwise get a grip on its mass, then we can guess the BH if it isnt emitting enough. If the galaxy is dim but massive, black holes are likely.
Recommendations:

"Your home for the classics" is ... a bit generous. "Your home for 11 classics" is rather closer the truth.

Please indicate what the specific format is. Neither the homepage nor the About page indicate this. Given that e-book formats exist as: ePub, MOBI, DJVU, fb2, PDF, PS, and more (I'm going off the Pandoc manpage largely here), clarity would be appreciated. (Multi-format output could also be useful.)

There are ... a lot of classics. Project Gutenberg has some 53,000 texts. There are many more texts on sites such as The Internet Archive or HathiTrust, largely as scanned-in pages presented as PDF or other formats (and with OCR of varying degrees of accuracy).

A pass-through to Gutenberg which would output formats on-the-fly might be of use.

Categorisation and cross-referencing of works likewise.
Okay, so let's update the experiment protocol.

So the hypothesis is that if it's too fast it's not considered done by a product manager. So as an updated test protocol, let us repeat with two groups of Product Managers, and this time they must evaluate the software, which they have never used before. Some candidates get the older version on the metal, and others get the older version slowed down 10x for example by running in a VM on the test machine, or simply being shown to them running on older hardware but otherwise an identical setup.

My hypothesis is that the exact same software running slowly would be objectively judged as better by Product Managers than the same software running instantly. That instant execution is considered an explicit negative point - completely independent of features. So that if the old software running slowly gets 7.5/10 rating by the Product Managers asked to evauate it, it would get only a 5/10 rating if it runs instantly.

This controls for the features which you mention. So I've suggested a test protocol, of course I can't verify it just at this moment but at least I am being scientific in my suggestion that Product Managers simply rate fast software worse. If you have an alternative protocol to test this, one that is easier to run, I'd like to hear it.
Why do you think our tools are inadequate? What would adequate tools be able to do that our current ones can't?
> Can you tell me concretely what you'd like me to do?

I'd like you to optimize for the quality of the thread as a whole. You've been here for years and have more than enough information to do that.
It shouldn't be too hard to set up some common code for making service calls. If the service isn't responding, the caller compiles and starts it, assuming some env variable is set to signal it's a dev machine. I've done this for my project.
> some of the ES6 goodies, like 'let', are actually bad practice... 3x slower than using var

This is good to know! I suspected, but never verified. I assume this will get fixed over time, since 'let' is brand new.

But JavaScript in general isn't well suited to image filtering, right? Certainly worth using, if at all possible, either CSS filtering or WebGL. Either of those will be much faster. Depending on what you're doing, some complex filtering operations will even be faster to upload to a back-end, process, and download the result. :P Is WebGL something you avoided because it won't work for you, or something you avoided because it's more costly development wise?

Hey overall, I agree with everything you say, and I'm still comfortable saying, dogmatically, never optimize prematurely. What that means to me is don't do engineering for problems you don't know you have. If you're not sure, then you don't know. If you're doing filtering, and napkin math proves in advance that you can't beat 5fps and your requirements call for 15 fps, then you do know.

In my mind this even fits with startups, because a startup's mission is to find the product and market, to figure out what's possible and then execute on it.

So ultimately I agree 100% it always depends on what you're doing, my additional caveat is always know what you're doing. :)
Dark matter is an answer to a universal expansion problem that a small population of vigilante black holes couldn't really account for.
This article is written from one side of a complicated conflict.

It's the perspective of the ousted Drupal member that his beliefs are entirely packaged up in the BDSM subculture that he takes part in, and that to have a problem with his beliefs is to persecute his BDSM subculture.

It's the perspective of the other Drupal members who ousted him that his beliefs are not in fact cabined in that subculture, but in fact bleed out of it into his interactions with the broader world. They cite evidence.

Since the beliefs that we're talking about could be broadly and probably inaccurately but by how much I don't know described as "females are subhuman", it's the perspective of the Drupal members who did the ousting that those beliefs matter very much to the project.

I don't know what the right answer is, but I do know that this TechCrunch article basically defined away the controversy. That doesn't help anyone make sense of it. I'm happy letting the Drupal community work this stuff out for themselves though, and also flagged this story, which is, after all, really just drama.
There was also the anti-Japanese riots in China in 2012. I was in Shanghai at the time and a lot of my Japanese friends living there were very worried. Some of them went back to Japan for a few weeks to wait for things to calm down...

And yes the LDP does not help things with their racist nationalist discourse. They tend to use foreigners as a scapegoat responsible for all problems Japan has... (Abe Shinzo might not be as bad as Trump but only just..)
The difference between a communist and a capitalist society. With Hollywood, the USA profits billions to make the world love it. :-)
Or even just put a banner at the top of the app.
This was way more difficult than I thought and still doesn't look right. But at least I get to strike write a monad tutorial off of the bucket list.

You start with a bunch of transformations that either turn a thing into a (different) *useful* thing or into a *dead end*.

Rule 1 (Left Identity): Applying a transformation to a useful thing is the same as simply transforming a plain thing.

Rule 2 (Right Identity): A transformation that merely makes a thing useful has no effect when applied. Useful things stay the same, dead ends stay dead.

Rule 3 (Associativity): You can merge any two transformations into one, which behaves the same as if you applied the first transformation to something and then applied the second transformation to the result.
"The absence of at least one standard USB port is really annoying, you need an adapter to plug in just about anything, a thumb drive, a phone, a mouse."

Agreed. I am not the owner of any new mac laptop for this specific reason.

My current 11" MBA is has a lot of utility with a standard USB port on each side and it's not that uncommon that I need both of them simultaneously. For instance, I get a very large file on a USB attached device and need to move it up to the network and my ethernet dongle would be 10x faster than wifi ...
I have never referred to American Football as "sportsball" specifically, but I have used the term "sportsball" as a catch-all term for "sports that I am not interested in". E.g., "Oh, you think it's annoying when I talk about video games? Well, I think it's annoying when you talk about sportsball."
> smug sense of superiority oozing through your condescending

Your comments have been breaking HN's civility rule. We ban users that do this, so please don't do it any more.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html
http://www.brendangregg.com for everything about tracing/performance measurements.
Most modern CPU's can execute more than one instruction per clock cycle on a single core or hardware thread. They do a lot more than 4 instructions in the time light can travel 2 feet.
I can see a lot of utility in this. Great job!

Is this limited to generating palettes of 5 colors? Sometimes all 5 won't be needed, wouldn't that make the output a little less useful since the algorithm considers how each of the five interacts with the others.

If I only needed two colors, I wouldn't need those two colors to work against three other colors.
Looking away from the fact that what they want isn't actually achievable, what does the UK risk by beginning to go down this road? What consequences could this potentially have for their domestic tech sector?

My intuition says that they stand to lose more than they could possibly gain, but I'm curious to hear a more knowledgeable perspective.
> chrome faced only one unsuccessful hacking attempt

One UNsuccessful attempt? Does that mean only one attempt on chrome was made?
> So when they discover that he wrote and sent actual letters, will they then demand access to open our mail?

Except, like, with a warrant, they can already open our mail. That's a pre-existing power.

The difference is under the current legislation a warrant doesn't get them the ability to read WhatsApp conversations; that's the point of contention here, and the difference with the above is perceived to be the problem.
I'm not 100% fond of the layout suggestions, but I have to admit there's a peaceful balance in them.
My point is "education and experience" probably under-specify how much you should be making.

I have a bachelor's degree in mathematics and about four years' experience as a programmer. What's my compensation range?
Aren't you throwing many different things on the same pile here? If your 3 kids interrupt you, each one each hour. Do you get stuff done?

Your priorities are excellent. But unless you are wealthy enough that money is not a priority and/or have a wife that's a housewife, or nanny or maid... all interruptions in the "zone" are real interruptions that have a significant cost involved.

PS. Modern stoicism is awesome.
I could see this as being useful if it was available as a library
The `bcrypt` question seems out-of-place. It has a configurable cost parameter, so almost any of the answers is correct.
Sad. I definitely agree with the article's "yes (no), hell no, hell no" answers. But I wonder how many people would answer the same here as with Brendan Eich being forced to resign or Curtis Yarvin being dis-invited from LambdaConf.

Edit to be more clear: I can understand either position as long as it applies consistently. I also think I may have pattern matched this incorrectly as "person unfairly ostracized for his personal sexual preferences", when perhaps the part that will get play in the tech community is "woman hating white male", in which case this will fit right in with Eich and Yarvin.
I don't get it, why not just use LaTeX? The syntax is already almost the same anyway..
You're right, that was bad and I've put in a scolding above. We don't come close to seeing all the comments—I glanced at that one last night but didn't see the egregious bit. When you notice a bad post that hasn't gotten moderated on HN, the likeliest explanation is that we haven't seen it yet.

On the other hand, 'they started it' isn't a valid reason to be mean in comments here. It always feels like the other person started it. That's a recipe for the downward spiral we're all trying to stave off.
"So he should use that computer for the rest of his life? He had to upgrade sometime."

My desktop system is the early-2009 mac pro.

It still only has the original 6 GB of ram.

20+ chrome tabs at all times and at least two vmware fusion guests running ... and I have never once though the machine was lagging or was slow.

My laptop is a 11" macbook air and I fully expect to run it as my daily driver for 6-7 years when all is said and done.
Rendering broken on windows phone... Hardly matters I suppose but I couldn't use it on my first attempt
Apple sells directly online and through its own stores. They can afford to lose Amazon as an outlet.
I assume that the UK government has been doing these extremely pro-surveillance, anti-encryption, and anti-porn stances because they detect sufficient support from the UK population?
to reiterate what dragontamer is saying, if all of your investments are in IRAs (where there are no taxes, at all!), then TLH is meaningless.

only if you're maxing out your tax advantaged accounts, and still have additional funds to invest is TLH even relevant.
> Git is the standard now and has been for years.

Only in the open source world and a few SV darlings.

I am yet to do a project at a Fortune 500 among our customers that isn't based in Subversion or TFS.

I have been using Git only on personal projects.
Disclaimer : i am a dom/top/whatever you want to call it in my private life.

Even more interestingly, the majority of the fetish/BDSM community is heavily feminist and open minded. (There are always grey nuance and complex case but still) It is a community that is deeply rooted into consent and people that submit making a conscious and informed decision.

You tend to meet people that accept someone else opinion or lifestyle, that are team player and adapt to others, more than proselyts or zealots.

Interestingly, the legal implications are complex, and most of the time, in the US, would not support the lifestyle that much. Consensual non-consent or violence is a strange place legally.

But from the public information so far, it seems hard to believe that this was about proselytising or promoting anything.

Just a witch hunt. Which, to be honest, do not surprise me.

I am semi public about my personal involvement since 50 Shades, because i accept the problem i could get in exchange of informing people that need it (50 shades is hated in a lot of the community for good reasons)
It is not easy and you get a lot of anxious/uneasy look.
Yes, it's common practice. It's how I originally became a manager. That's why it's somewhat rare to see job openings for those management positions. Most companies would rather promote from within than hire an someone from outside the company. Managers are often most effective when the people being managed believe they understand the work being done intimately and the easiest way to show that is to have done that work prior to becoming a manager.

But management is also a discipline apart from the work being done by the team. I made a ton of mistakes early in my time as a manager. I was also fortunate enough to work for a company that had a management training program that was hugely helpful. And I'm also fortunate to have a parent that teaches interpersonal dynamics in a business school, so I've had a lot of exposure to the theory behind the practice. I feel this has made me a lot better manager now than I was when I first started, despite the fact that my actual abilities to write code have suffered somewhat from lack of practice.
This has always been my go-to diagram to describe an interruption

http://heeris.id.au/2013/this-is-why-you-shouldnt-interrupt-...
By the way if you find any bugs or something doesn't work the way you expect it please let me know!
Have you read The Handmaid's Tale, or are you judging its realism based on the columnist synopsis you quoted?
Norway's health ministry mandates the option for drug-free psychiatric treatment
I've found parser combinators to be a fun and useful way to play around with monads, since it's pretty easy to implement your own monads this way, and what better way to understand something, than to actually make it?
If I could zoom or scroll, I might be able to figure out where "allowing content to be read on a mobile device" fits in this very interesting matrix.
I use `WITH RECURSIVE` to traverse trees:

https://www.postgresql.org/docs/current/static/queries-with....
"$$x+\frac{32}{2}$$" is not "almost the same" as "x+32/2".
No. The ISS is not self-contained.
To be clear: the claim here --- not that you'd know it from the article --- is that proselytizing was in fact an issue.