skysight-inc/HackerNews huggingface dataset:
Who wants to play an Arguman game with me? Not specifically about the diversity memo but about positive discrimination in general.

http://en.arguman.org/positive-discrimination-at-work-is-imm...
Why are you sure?
I wrote something myself trying to figure out my thoughts about this a few years ago (note: I was sleep deprived when writing it...):

https://madprof.net/nerdy/refactoring-really/

There certainly has been a over-emphasis in some quarters on 'each function should only do one thing' and even 'most of my functions are only one or two lines long'. Possibly because it makes it easier to write tests for, and be certain you've covered all of the possible options. You just then end up writing 4 million tests.

It's all about clarity, I think, but different people find different things clearer in different situations.
I'll never understand why this keeps coming up. Energy consumption is not a waste if it has utility, and the bitcoin network has utility. I suppose you could make this argument for some worthless altcoins, but the difficulty for those is low enough that the amount of energy consumed is negligible.
To allow better left-hand-only operation, and to avoid having to move the left hand from the "gamer claw" up to ESC and back. This is part of a larger initiative of mine - to use gaming technologies to improve business performance. In menus, the lower right button becomes a "nope" button.

But you're right about F2, and I honestly never use it. But I haven't thought of another button to replace it with - maybe Ctrl-V, and F5 with Ctrl-C? Hmm...I'll have to test this out!
Ask HN: Who are the guys behind ACChain?
and yet, are those CEO's doing dev when they are being paid their large sums of money? They may have learnt something as a developer, but _doing_ development isn't their major money making activity.
That Netscape screenshot only shows users have always been able to specify their own font preferences for three generic font families (serif, sans-serif, mono), along with a respective font-size. I’m not objecting to that: in fact, it’s a Good Thing that users are able to take control.

But taking control also means dealing with inconsistencies myself. If I were so bold as to set Impact as my default serif font, then I would also set a considerably smaller font-size to make up for the huge x-height. The thing is: if it would bother me, I, as an end-user, could do so, thanks to the browser’s interface exposing to me the needed controls.

It’s a whole different thing when browsers would start changing default behavior based on ‘common’ properties in ‘most’ fonts, without inspecting the real features of the actual fonts they render. Different, because if it would bother me, as a web developer, I couldn’t do anything about it, because the browser, while deviating from standard defaults, would not offer me the required controls, i.e. would render my CSS rules differently based on opinionated variables I cannot know.
We're not paying for half the stuff we're getting right now! We may as well throw universal health care and education on top of the heap. We're not fully funding Social Security or Medicare, so why not NOT pay for UBI too! Until the federal government (and the states, for that matter) start passing balanced budgets, any discussion about being able to "afford" other entitlements is a farce.
And it sheds a really bad light upon it for me. I like the idea of IPFS but cannot stand all this coin snake oil.
IKEA smart lights now play nicely with Apple HomeKit
SMB 3 hasn't been part of the ransomeware attacks. It was SMB 1. SMB 3 can use RDMA and is insanely fast. I'm not sure how SMB over RDMA is supposed to work on a workstation, though. It's only been used for file servers and clusters at this point.
> * pool heater?

This has to be the biggest offender of all the mentioned items.

The lower bound of heat required to raise the temperature of a 10mx6mx2m pool by 5 degrees Celsius is 700kWh, that's over 200kWh in electricity using a heat pump.
what goe around comes around i guess. Myspace i feel was the epitome of ths so-called "brutalism". worked wonders for them in terms of product differentiation at a time when the first semblemnce of coherent UX design standards were appearing on the web.

its great for fringe underground magazines, gamers, music aficionados, and artists of all kinds.

personally i hope it trends as the general web has become mind numbingly boring / predictable as fuk.
London Uses Congestion Pricing. Why Doesn’t New York?
Easier code reviews by collapse/expand diffs in pull requests
Movim, a social network project built on XMPP https://movim.eu/. I'm working on it for 9 years already and starting to have a nice little community using it daily.

I'm really enjoying developing Movim on my free time because I'm still motivated to show the world that we can have decent social-networks and IM solutions by using existing standard protocols (and not proprietary silos like today).
There are also more i9 chips coming out this month and next. The $1200 12 core 7920X will probably have roughly the same multicore performance as the TR 1950X, but while maintaining significantly better single core performance. So, in my opinion, if you're looking for an affordable badass workstation chip, but you also want top of the line game performance, wait until the end of August and get an i9 7920X.
He sure seems to be very talented but Ryzen also gained from a few important patents being finally expired (the one about SMT, for example)

https://scalibq.wordpress.com/2012/02/14/the-myth-of-cmt-clu...

http://www.anandtech.com/show/11170/the-amd-zen-and-ryzen-7-...
An (unfairly short) tl;dr could be that not only the memory subsystem itself can be used as a side-channel or leak, but also speculative and OoO execution itself. Speculative execution in this instance also does not consider (likely for performance reasons) certain dependencies (such as between a load setting an exception and a subsequent instruction depending on the load). While the result is still correct after settling, this introduces timing deltas.

This basically adds another set of tools to the architectural-level attack toolbox. From reading this I expect we'll see some interesting developments in the future.
"asset holders (i.e. mostly the upper classes) essentially made bank, because debt got extremely cheap and the value of the currency declined. The average saver lost money, or at least yield, because it didn't make any sense to save money"

So if you're a saver, this is the problem that bitcoin solves. A way for savers to protect themselves from being robbed by central bankers to bail out asset speculators.

Bitcoin is also easier to take with you when you relocate. Bitcoin is a weapon is the battle of savers vs debtors.
Number of Americans Caught Underpaying Some Taxes Surges 40%
I would have put quotes around a different, longer b-word.
Part of Brain Shuts Off in Response to Charismatic People
I wonder if they'll get anywhere - it's been reported that their apps were removed because they didn't have a Governmental VPN Licence which seems perfectly valid on Apple's part.
How to Achieve the Mythical “Zero Inbox”
Sounds like a Windows 98 advice...
I switched to DDG about a year ago. Sometimes when I don’t find something I fall back to Google, but I've come to a conclusion that this usually doesn't help so I stopped falling back to Google at all.

DDG instant answer are excellent, especially for programming.

In work I sometimes use a shared computer in which the default search engine is Google and get annoyed by the badness of Google with providing good instant programming answers.

Still, Google has some pros:
- I find it a bit faster to load.
- Hebrew results are much better.
- Picture results are better.
- You can search similar pictures to the ones you have (chrome extension)

Recently I also find myself going straight to YouTube to search certain things...
I can't open or rename file (name is too long). How to fix?
There's no context menu for rename, I've also tried clicking on it when it's highlightd (which usually changes name too). It wont open in realplayer VLC or WMP.

I get this error "The file name is too long." when trying to open it.

I've also tried to convert it but thje converter software says unknown file type.

Any help much appreciated!
I don't think he can win on these grounds. He was terminated because he made his position untenable. Google did not prevent him from voicing his opinion (or "commenting on conditions).
cool tool dude! Good luck
In before the cake rots.
Cloudflare does support IPv6 (has since 2012), but requires that you actually set up the AAAA record. Unfortunately many sites can't be bothered to do that despite it being a 5-minute job, since not doing it doesn't currently break anything in most cases, and might break things for the minority with broken IPv6 configuration.

Cloudfront now supports IPv6, so the reasoning for not enabling it on Amazon.com is likely similar.
Did James Damore really deserve to be fired for what he wrote?
That's eerily similar to how John Nash died [0]

[0]: https://www.washingtonpost.com/national/john-f-nash-jr-dies-...

> ... died May 23 in a two-car accident on the New Jersey Turnpike. He was 86. His wife, Alicia, who was 82, also died.
WIRED's take: https://www.wired.com/story/google-manifesto-author-just-mig...

> The labor-relations law usually applies to union organizing, says Wagner. But over the years the act has been more broadly interpreted to protect employees who discuss their working conditions with each other. That might include Damore's memo, Wagner says.

> Damore says he also plans to invoke a California law that bars employers from retaliating against workers who complain about illegal working conditions. He doesn't have to prove that his working conditions were illegal, Wagner says. Instead, she says Damore's lawyer might argue that his memo was protected under California law, because it related to allegedly unequal treatment of employees.

Citing a law that was put in place to protect union organizers seemed weird, but I guess it makes sense if there is precedent for interpreting it in speech not explicitly related to union organizing.

Arguing that Google retaliated because he made allegations about unethical/illegal corporate behavior seems like a much stronger case, since he literally did make those claims in the memo.
I really wish Chocolatey was more officially adopted by packagers. Often packages on there are outdated or just plain don't work... but, when they do work, it radically changes how software is installed on Windows.
This is written by the somewhat famous moral philosopher Peter Singer[1].

[1] https://en.wikipedia.org/wiki/Peter_Singer
> If he wants to win a legal case, he should hire a good lawyer.

That sounds reasonable.

> If he had hired a good lawyer, I'm pretty sure we wouldn't be seeing him doing interviews

People who hire good lawyers don't do interviews? That's some stretch.
Would you care to revise your statement given https://news.ycombinator.com/item?id=14981300 ?
Based on your post I went and looked up that question/answer portion, and I think the back and forth is illuminating in it's lack of either communication or actual capability:

TL;DR: It's a solution in search of a problem, like so much good, early technology.

Dalton Caldwell [31:07] – What is the burning, and it’s okay if it’s not consumers, but what is the thing that, with Filecoin, that is gonna make, whether it’s business or consumers, people get really excited about using it?

Juan Benet [31:19] – Filecoin is not representative of the entire industry. Filecoin is one example. With Filecoin, the point is being able to, this is a whole different argument that I think makes sense with or without a peer-to-peer winter or summer. The thoughts around Filecoin are about thinking about the massive latent storage that’s out there and putting it to good use. There’s exabytes of storage that are not in use right now, and that if you were to add them to the market, you would drive the price down significantly......That’s, I think, fundamentally different about this type of thing than normal consumer products. They solve a lotta problems for a lotta people.

Dalton Caldwell [33:41] – You said financial, though. Again, they’re doing it for financial reasons. Again, what I’m looking for is what is the incentive for someone to get involved, whether it’s a business or a consumer, the reason you would put a miner on the network?

Juan Benet [33:53] – For Filecoin specifically, the reason why somebody would add storage to the network, the primary motivator will be money....
Yes, I do, and this sounds like a good idea - emphasis on the sounds, because it's not new, see primecoin.
I don't need this. What I need is a legal way to acquire Windows 10 Long Term Support Branch. Basically Windows 10 without all the crap. No metro, and no feature updates whatsoever, just security updates, and supported for 10 years. Sort of like a Windows version of RHEL, if you will.

Now that is something that I want.

To play a numbers game, I'd pay $500 for that if it came with HyperV and the possibility of creating VMs for development with no extra licensing cost. Maaybe $700.
> That data is, of course, still passed to O2's partner organisations (which don't seem to actually be listed anywhere), and you have no control over it.

Verizon was also doing this for mobile customers in the US, perhaps still do. I vote with my wallet against these ISPs. You did have some control over it, for example, by using HTTPS. But IPv6 prefixes are so plentiful, that they are assigned one-per-customer which makes correlating logs incredibly trivial; Even things like this O2/Verizon still required some per-ISP effort; no such thing with IPv6; no need to inject headers. The prefix is your undeletable cookie.

> I don't. I think there's other, significantly better solutions for it. I don't think NAT provides reasonable privacy in and of itself.

It's not the NAT that affords privacy - it's the size of the address space which does have enough IP addresses, but not so many that an ISP can avoid reassigning them.

The NAT only affords as much privacy as suffix randomization (as has been noted in this thread), which is "very little" to "not at all".

What are those other "significantly better" solutions you are aware of ? I've been looking for them, and found none.

> And yet I can't get a real IP address for most of the things I'd like to.

Likely because you are on a residential ISP and it's not their business (my ISP will gladly sell me one if I switch to the "business class" service, which is exactly the same except it costs about twice as much; I'd pay more to NOT have a fixed IP address).

Get an Amazon free tier and tunnel through it. Or pay $2 for a lowly VPS to tunnel through.

I don't think your wish to experiment is somehow more important than my wish for privacy. Neither of us get to actually vote (except with our wallet), though.
In a program, there's a lot to optimize for

- minimize depth of call stack. It's easy to lose track in a deep call stack.
- minimize function overhead
- names that have to be invented
- function calls and arguments that have to be written (and read again).
- many small functions: "ravioli code" where it's really hard to distinguish functions
by their "function"
- minimize/localize state
- if it's easy to separate significant state into a function, do it.
(Not making a statement about objects. They are long-lived and their
state doesn't go away after the first call).
- DRY
- Multiple identical or similar code blocks are an opportunity to make
a function. We can roughly categorize into essentially (conceptually)
and accidentally similar code, and the latter case is not an indication
for a new function.
- obvious thread of control
- simple code has the nice property that it's easy to understand by
following or mapping out sequentially. By contrast, highly abstracted
or callback-heavy code is hard to understand at a global level.
- consistency
- ... helps understanding, but can also cause an implementation to be
5 or 10 times longer if applied dogmatically.

It's good to read all these articles ("avoid state", "avoid long functions", "avoid objects", "avoid functional programming", "avoid abstraction") and to deeply understand them. Which probably means making all the mistakes on one's own.

In the end it's important to know in which situations a particular style works well, and to not be dogmatic when choosing a style.

I would say a good program tends to have both large and small functions, and the large functions tend to be at the top of the abstraction stack.
Learn x86 assembly in a day with the Holy Book of x86
Because a good lawyer typically advises their client to shut up, as these sorts of statements will be brought up in court.

Based solely on VikingCoder's "T-shirt comparing Google to a gulag", the characterization will be of a disgruntled worker who didn't care about his job and felt like burning all his bridges before leaving in what he thought was a blaze of glory.
I think you can avoid a lot of these problems by using small inner functions.
http://philosophizethis.org/

Sadly i dont remember anymore which episode it was. One of the most recent ones.

edit: #105. and as i've now listened to the quote again, i realize it was slightly different, but same point: "In a culture in which there so much social currency connected to being a victim..."
and people downvoting me just prove that the majority of those people overconsuming is not going to change soon
That's gracious of you. :)
Get this is OS X too these days during the early hours. Computer wont even be idle I'll literally be typing and suddenly my apps will start closing left and right as OS X has decided its time to update/reboot.

Classic example of Metrics Driven Design, if you start scoring a team's performance on how many people update to the latest version then the methods of forcing an update become more and more intrusive. No wonder Apple always boasts such great update percentages for iOS, the thing practically bullies you into updating, I had a 4S for a long time and had to dismiss multiple nags a day to update and threats to delete apps to make space for the precious update.
"Of course, the irony here is that if Damore wins it will be regarded as a big victory for conservatives who work in tech, even though the win would strengthen the kind of workers' rights that are traditionally the focus of the left."

This last paragraph left a bad taste. Does everything need to be about politics?
Good for him. I might not agree 100% with his memo, but what we've seen the last days, treating the guy like he just wrote Mein Kampf, silencing any favorable opinion in the media (big headlines when a scientist disagrees with him, being silent when a different scientist agrees with him) and internet forums like this one just hinders any possibility of real debate. And that fuels the most right-wing media and forums, by the way. Don't act surprised if the "alt-right" keeps growing in tech and elsewhere.
I find the initiatives like this to be kind of a waste of time. And some of the reasons are kind of contrived. For example:

> While we have a number of spare 4xx HTTP status codes that are unregistered now, the semantics of HTTP are something that (hopefully) are going to last for a long time, so one day we may need this code point. [1]

First, you can remove it when there this problem actually happens. The backwards compatibility issue won't be any more/less of an issue then than now.

Second, "we may need this code point" is disingenuous unless the user is part of the W3C there is no "we" here. The node community can't decide unilaterally to change code points. (he might be part of W3C I didn't check. My sincere apologies if he is)

With that said, another part of the argument is valid. rfc2324 which defines the code is indeed not HTTP, it is HTCPCP (Hypertext Coffee Pot Control Protocol) and one could strongly argue that it doesn't belong in an HTTP library.

[1] https://github.com/nodejs/node/issues/14644
>> You might say they don't really care what girls feel.

> What do you mean by this?

What I mean is that as a parent, I'm sometimes puzzled by very strong opinions and preferences my children have. It struck me at the very beginning, before they had a chance of being conditioned by other kids from the kindergarten etc. Mostly they were conditioned by us, the parents.

My boy loved airplanes. He didn't like cars much, just airplanes. I like cars and I'd like him to like cars. Also, as a male parent, I'd like my daughter to do certain things I like. I was only partially successful, she still loves much more certain things I detest (all this princess stuff, I think it's terrible for a number of reasons, but that's not the point here).

What I want to say is that children have their feelings and preferences. And if you ignore these and try to implant in them other preferences, you're basically going against their will. I saw it happen many times. For example, there are some excellent teachers who do their best and manage to kindle a spark of interest in young heads for any subject. But it never works for all students. Some are more interested, some less. Trying to get those who are less interested at all cost doesn't seem the right thing to do to me. This is what I mean by "ignoring feelings".
it's pretty much useless, just checked visa free asia destinations for my citizenship and apparently Malaysia and Japan are not in Asia, since while they mention many visa on arrival countries, these completely (3 months) visa free countries are not shown for my citizenship, so I will rather not check countries which I am not familiar with

and I am not going through list of 200 countries to correct wrong data ind atabase

also by my experience with prices, those restaurant/transport/accommodaion prices are completely unrealistic, you telling me Cambodia has slightly lower prices of transportation thn EU country? only someone who never been to Cambodia and EU can say that
You do have to admit though that women have some unique problem solving skills in the field of gestating and nursing.
It's a new modality of getting the upper hand if you wish.

In some contexts showing how wealthy or strong one is works, but in other contexts that doesn't work, so showing how much of victim one is works well. Even more, the interesting phenomenon is if the person can't really swing looking like a victim, they'll gain the upper hand by claiming to deeply care about other victims.
No, the predominant view is that there is no evidence that women are genetically predisposed to be worse at programming (on average) than men.

The idea that women might be worse at programming for biological reasons is an entirely post-hoc hypothesis deriving from the current gender distribution in the field. As lots of other STEM fields have seen a sharp increase in the number of women over the past decades, while computer science and software engineering have not, the grounds for thinking that biological differences between men and women are relevant are extremely shaky, and really are nothing more than pseudoscientific rationalizations of the status quo.

Please lets not have any more of this absurd straw man argument that men and women must be equally good at programming because men and women are exactly the same. No-one thinks this.
A company I used to work at has a 25% female target that was informally backed up by fewer promotion points for the hiring manager if not met. That means, if you are a woman (as I am), and you're one of the four applicants then you'll be hired. Even worse, we had intern slots that were female only. They weren't advertised as such, but male applicants were ignored. Is this how we get "diversity"?
I dunno about changes, but Malaysia has been visa free for my contry minimum 10 or more years, yet still is not shown in list of Asian visa free countries for my citizenship. Same goes for Japan. I could understand Thailand always changing visa, but Malaysia is pretty consistent.
Yeah it's pretty humourless of them. It's not like supporting one extra status code remotely effects the performance or maintainability of any program.