skysight-inc/HackerNews huggingface dataset:
> I see no reason that a good proposal and example implementation wouldn't be accepted for addition to go.

I'm sorry to bring the age-old "but generics" thing up, but how do you even implement (what Haskell-alikes call) Functor without parametric polymorphism?

The only ways I see are

a) Elm-style List.map/Array.map/Maybe.map

b) Rust-style Functor/Monad operations on specific types like Result

Which of these do you think Go would be more receptive to?
This seems like the only decent non-ranty response so far. Skip to the conclusions if it is too long.
Don't worry there will be one thousand packages you can download to re-add it, some of them won't even contain exploits.
25 Sydney Meetups to Attend If You Love Tech
The Manhole is in the Archive as well.
Bulma, and others like it (Milligram is my favourite) have enough functionality to get going:
responsive layout/grid, typography, form styling) but they don't have a huge, heavy set of components and requirements like Bootstrap.

I think people really au fait with CSS prefer to add only what they need rather than serve Bootstrap entirely.
But that's all that is there. It says "I would argue for X" and then doesn't argue for it, just claims that it must be so. So it is just that minus intellectual honesty.
> Do you think that diversity programs necessarily result in lower quality candidates filling some roles,

Not all diversity programs, ...

> even if the program only forces a quota into the interview process?

... but if the "program" only amounts to setting a minimum quota, without any concrete plan for action on achieving the quota.

Say you believe the proportion of women in programming, given a fair hiring process, would be at least 30%, so you set that as a minimum quota all your interviewers have to fulfill. If you are right about the average, by pure randomness some interviewers will make their quota easily. But what about those who are unlucky and don't have enough qualified candidates to choose from? They will have to lower their standards to make the quota.

Fixed limits are just too blunt, they focus on the results a fair process would achieve, but fail to enforce that they actually come about due to a fair process.

> Do you think that's a bad thing, that it has tangible negative outcomes for businesses?

It depends on the concrete program in question and how much it misfires (or not), but the negative outcomes for the business will probably be relatively small. They might have to spend more money on training and get a higher turnover of employees, but Google is probably more selective than they have to, so they can afford to hire some slightly less qualified candidates.

> How do you propose to address the issues around this stuff,

I'm partial to blinded tests and outreach programs, since the combination can address both hiring bias and lack of interest.

> or is diversity something you don't think is worth having?

I think in terms of business value, gender diversity is overrated (as opposed to diversity of thought). Nonetheless, discrimination and harassment don't just affect aggregates like diversity, they also hurt individuals, so I think fighting them is important.
nice. I tried to use another (pay) site's koch method, but the website worked terribly. The "tech support" was awful, so I abandoned the effort.
Stuff like null or nil is a problem that's been identified for decades, and there are relatively widely-used type system approaches that solve it very nicely (sum types). It's not okay in a modern programming language to repeat the mistakes of decades-old ones in the name of "simplicity".
I'd argue that the most useful aspect of driverless cars is going to be as short-range taxis. I live in San Diego. We're not LA but we're not tiny. I'd take the trolley basically everywhere if I could but that would increase my ride time by somewhere around an hour and a half. The VAST majority of that time isn't waiting for the trolley. It's sitting on a bus and waiting for it to take me to the trolley station which is only two miles away from where I live. If I drive to the trolley station, my A-to-B ride time becomes about fourty minutes total. If I could just buy a bus pass that included autonomous pickup that shuttled me quickly to the trolley station then I would give up my car in a heartbeat.
The Manhole is actually on archive.org already, so you can play it straight from your browser! https://archive.org/details/TheManholeMacintosh
I am continually surprised that _anyone_ in tech signs employment contracts in Europe. If you're good, and know how to work well remotely, contract work at 130-150€/hr is plentiful. Working 32 (billable) hrs/wk with 6 weeks vacation - more or less what you'd do as an Employee - that's an income between 190-220k. But every employment contract I've heard of here (France and Germany) maxes out at 90-100k for even director level positions.

I'm still shocked by it every time. Especially since the same person who makes you that offer will complain that it's so hard to find talent. What a surprise! Who would think, it's hard to hire people by offering less than half their market rate.
If we're talking measurements then Empathy and Social intelligence are not a thing in modern psychometrics, but Extroversion and Agreeableness are, though (women score higher in men than agreeableness from what I remember).

And of course they are not disqualifying factors.

I think what he is referring to is that women in general prefer people to things, and that would naturally push more boys to computers. When I get home I'll update this comment with sources.

My guess is the implicit assumption is that 'gender in tech should be 50/50', but the memo author was arguing that studies point to that this would actually not be equitable.
The body electronics was mostly the same. Many shared parts, and the same buses. That's the bit I worked on, so my knowledge of how much of the rest of the car was carried across is a bit more limited.
Shouln't we fix the HTTP Working Group then?

I mean there are people behind it, with email addresses. Tell them 418 it is not actually USED, it just gets a different default message.
> There were hundreds of people against it.

Engineering is not a democracy. The technical merits of an argument are more important than how popular it is with arbitrary commenters on GitHub.

> Many voiced their refusals, they were also well-argued and politely put.

I read the comments on the node and requests issues and didn't see anything well-argued. Nothing said there refutes the substance of the request. Saying "but it doesn't do any harm" and then speculating about how the IETF should do things instead is not a coherent argument.

> On another note, isn't it important to have students think HTTP is fun?

Genuinely, it isn't.
Many folks use Bootstrap for its awesome grid system. But now that CSS Grids are finally here and are way way cleaner to use, Bootstrap's days are numbered.
Hmm, how so? I've never heard of anyone driving while under the influence of tobacco and killing a bunch of people or cheating on her husband or beating her kids.
Wow, great! Let me know if you will need anything, I'll be happy to help you out! :)
Update your version control software now
Why no redirect to https here?
It's not saved yet, but the Internet Archive is apparently working on this!
Awesome! Feel free to ask questions in issue tracker if you'll get stuck :)
> Are you saying all of those projects at Google are owned by individuals who don't spend time interacting with others on the codebase

No. That's not a reasonable interpretation of anything I said.

All the programs I mentioned are written by groups of people. Despite that if you measure each hour in their day and classify it as "in front of a machine" vs "in front of people" you will find nearly all are in the first category.

Now if you further sub-divide "in front of a machine" and classify time by "time spent in a text editor coding" vs "time spent emailing, filing tickets etc" then most time will still be in the first category, unless something has gone badly wrong at Google since I left.

Interactions with people are, in programming projects like that, a means to an end. Usually the end being some concrete outcome like a machine allocation or a cross-check for bugs. There may sometimes be design or brainstorming sessions, MapReduce being famously designed over many cups of coffee between Jeff Dean and his colleagues like Sanjay Ghemawat. But these conversations are entirely work focused. They aren't about people or relationships. And the time spent drinking coffee whilst figuring out the design is ultimately dwarfed by the long term effort required to build and maintain the software itself.
Throw in Jobs. Original Mac (1984), iPod (iconic music players), iPhone (nuf said), iPad (launch of tablets). Musk, Edison, Bell. Really a lot of the world changing in tech is concentrated in bursts of productivity for a relative few individuals like Einstein's golden year. Of course many make significant one off contributions. But it is amazing how some just have this ability to strike gold consistently. Making it look almost routine.
I'm simply making an ethical claim. Any` skew sounds unacceptable to me.

If we agree that any` skew is unacceptable, I'd suggest we take advantage of leverage and seek the greatest skew correction per resources allocated. That might well turn out to be in construction workers…

`statistically significant
Very much this.

The source which really hammered this home for me was Daniel Yergin's book, The Prize. It's a history of oil, but if you think that that doesn't have anything to do with war ....

Yergin never quite comes out and state that WWI and WWII were resource wars, but they were resource wars.

WWI saw the introduction of mechanisation to battle: cavelry were replaced by tanks, first motorcycles, then cars and trucks were used for personnel and materiel transport. And aircraft. Plus rail and ships: Churchill had famously just converted the British Navy from coal to oil, a massive military and operation advantage, but also an incredible risk for Britain who lacked (so far as anyone knew at the time) any indigenous oil. Instead, by way of naval bases serving Suez and India, it happened to have a presence in Persia and on the Arabian peninsula ....

The United States singlehandedly supplied both its homeland, two fronts, and its allies with oil through WWII. Much of the Pacific battle was over Japanese access to Indonesian oilfields (and Chinese coal), which the US blocked by way of submarines. The Germans very nearly accomplished the same for domestic US oil shipments from Texas to East Coast population centres, resulting in a government financed-and-operated oil pipelines project, still in use today, the Big Inch and the Little Inch pipelines, from Beaumont, TX, to New Jersey.

And petroleum-fueled tractors meant that the U.S. could also feed not only itself and its troops but its European allies.

The U.S., Russia, and Saudi Arabia rank 1-3, in that order (I think) for the largest original oil reserves. Venezuala is 3rd, though with much heavier (harder to extract, not as useful, dirtier) petroleum.
#SAVE418
> S3 data..? Delete it.

O_o

> ... Make it read only.

The primary use-case of s3 is reading objects. This would not be a deterrent for quite a few use-cases

> ... Pretend to delete it, but make recovery possible for x days.

Still consumes the space that they're charging for in the first place

> People who want a cap are going to more concerned with the overspend than any data or service integrity.

This is patently not true, and is why I think you don't really grok why implementing a cap is difficult. It's specifically why I said "everyone would demand different behaviour at the cap". Some would want only this or that service to stop, for example.

A small business sets up a payment cap and hits that cap because they went viral? BAM, all their block storage, destroyed. All their backups, their analytics, their RDS databases, just gone. Right at the time they needed it most.That's a much harder lesson to deal with than "oops, our bill's a bit high because we made a mistake, can you please forgive it?". Or even "ouch, okay we'll pay it". The protection you want for hobbyists would destroy small businesses that may not understand what is actually meant when that hard cap is hit. It's not that caps aren't doable at all, it's just that they're a wicked problem, and the more you look at it, the more issues you can see.

As for soft caps, what is the functional difference between a soft cap and the billing warnings they already have?

Also, their claim on s3 is "we don't lose objects". Destroying objects because of billing would utterly undermine that claim.

> If your payment methods gets declined I'm prepared to bet Amazon don't just let all your services continue running indefinitely because shutting them down automatically is too hard of a problem for them to solve.

AWS does not destroy your services because of late payment. Source: we've just been in late payment.
Let's not get ahead of ourselves there on git. _Have you tried using submodules?_ :P
That isn't relevant to Lazarus though since - from what i can tell from its site - JAWS is a Windows-only program and Lazarus uses the native Win32 controls under Windows. So it should work fine.
It was a single function that changed behavior after a refactoring. It did work where it did not need to, because the work was already done on the object. This is only hard if you don't test at all and can't already mock the object download/upload or don't have pure functions.
surprisingly, i also got the paywall
What Experts Are Saying About Digital Marketing
What does gender have to do with this topic?

Why do you think the comments are from Men?

Why would it matter if that was the case?

Not being smug or attacking, genuinely trying to understand what problem you're talking about and why it matters.
Large companies are like a big analog machines run largely by human power. The machine absorbs lot of power and produces large output. The large output shouldn't be compared to that of individual's share for helping run that machinery.
Ask HN: Would you answer yes or no questions for 5 cents?
I'm thinking of running an interesting economic experiment, where I charge an asker 10 cents per person to ask a number of people a yes or no question
Funny how a lot of people have a strong and exotic opinion about the best way to use a mouse/keyboard, but I've never seen anyone actually use a dvorak or any other exotic layout. My personal fetish is to use a standard US keyboard with a trackpoint. The only thing I hate is that I have to move my hands to get to the arrows, home, end, delete, page up and page down keys.
But how bad? The context for that snippet is:

> We will hear about how this phalanx of government elates has suddenly grown a conscience after decades of subsidizing the product which, we are now told, "kills millions of Americans each year".

> Time for a quick reality check. Despite the hysteria from the political class and the media, smoking doesn't kill. In fact, 2 out of every three smokers does not die from a smoking related illness and 9 out of ten smokers do not contract lung cancer.

https://www.cdc.gov/tobacco/data_statistics/fact_sheets/fast...
IP is best effort. Packets get lost all the time. Higher protocols, like TCP and QUIC, all handle packet loss--typically by trying again. Losing a packet is better than losing all open connections.
But then again you can (theoretically) rent something good for less money, healthcare is "free" (your employers has to pay insurance), transport system is great

And it was ok-ish safe (in 2013, not sure about now)
Wrong.

"Available evidence", because there are no extant lifeforms which diverge from the known set of amino acids, no prokaryotic life which doesn't have (or at least didn't once have) mitochondria, utilisation of the Krebs Cycle, and numerous other elements.

Again, other variants might have emerged. But they haven't survived, suggesting the extant line out-competed (or possibly out-lucked) any challengers
What I always find difficult is - as fresh graduate, where would I start?

I have no experience (besides internships) and no connections.
The tried and true has no possibility to transform society.
Carriage gets from A to B.
Car gets from A to B.

More of the same, should have stayed wit the eco-friendly solution back then, shouldnt we? And yet, its not the same society we would have had.
Official Semantic-UI-React integration
Even before CSS 1... Initially CSS tried to emulate what was available in "presentational HTML" available at the time. The absolute and relative font sizes were introduced by the FONT-element and BASEFONT-element, and the BIG and SMALL elements.
The problem is routing. Given a signature, how do you look up the next hop, without needing a full table mapping everything.

IP addresses form a hierarchy, which makes it doable.
> is this also true for bricklayers and construction workers...?

No, it is not–and I tried to make that argument: you want female CEOs and politicians and software engineers not (just) for the sake of each of these CEOs and engineers. You want it because these roles come with power over other people, either directly, because they make the law or they design the software we all use. And also, quite generically, they are well-paid, and money is also power.

There are, obviously, no absolutes in this: I wouldn't for a second doubt that I, as a white male can be adequately represented by a black congresswoman.

But I can easily see that, for example, more women at the CXO level could lead to better company-financed childcare.

I think what's important to mention is that this isn't a zero-sum game where any advances by women create equal and opposite losses for men: when women fail to advance to the level that their skills would usually warrant (not just because they didn't get that top job, but also because they got the impression that they should rather go into nursing than medicine etc.), then we are, as a society, letting these skills go to waste.

To see this mechanism, just consider what would happen if we prohibited everyone born in the summer months to work: would that make it easier for the other 3/4 to find a job? Of course not: their loss of income would result in a loss of demand, and therefore jobs, of equal proportions.

This effect, together with the idea that higher diversity seems to also result in better performance of companies, should more than compensate any first-order losses that better representation may initially bring.

And, specifically to your question about bricklayers etc.: of course nobody complains about not having access to something that they don't want. But women being underrepresented in some of these labor jobs doesn't mean they're getting a better deal than men: the female overrepresentation in nursing alone probably makes up for it, considering how many nurses there are. And I'd even say us men have at some point collectively decided that housework is rather unattractive, and women do the vast majority of that.
Making everything dull won't benefit the field.

Sure we can remove every joke, every code comment that contains "FUCK", we can forbid commits that contain swear words, we can ask engineers to wear suits, we can remove animated GIFs from Slack and we can remove "418 I'm a teapot".

This kind of joke is what makes the job fun. You look at an implementation of an HTTP request and see "418 I'm a teapot", you smile for a second and keep working. That kind of fun contributes to happynness, increases psychological well-being and ends up contributing to long-term productivity.

In addition, removing the 418 code would break backwards compatibility. It will create way more problems than its availability does right now. This is the kind of thing you have to think about before-hand: add it and keep it, or don't add it. Now that we have a fun status code, we shouldn't add new ones. But removing the existing one is useless and damaging.
Passing the Google interview, without a computer science degree (2015)
I'm probably not the typical user, since I like to listen to music off-line. One thing that annoyed me about SoundCloud is that I often come across music on YouTube that has "download at SoundCloud" links. However, the SoundCloud "download" button always seemed to be a kind of a lottery. Sometimes it was there, sometimes you needed to log-in, more often than not it was nowhere to be found.

I understand that it's not in SoundCloud's interest to offer downloads and these days I just use youtube-dl. But apparently (at least at some point in time) it gave musicians the impression that it will allow their music to be downloaded.
Reliable rule, and not just for software. Seems like a good place for mentioning 'Chesterton's Fence'....

In the matter of reforming things, as distinct from deforming them, there is one plain and simple principle; a principle which will probably be called a paradox. There exists in such a case a certain institution or law; let us say, for the sake of simplicity, a fence or gate erected across a road. The more modern type of reformer goes gaily up to it and says, “I don’t see the use of this; let us clear it away.” To which the more intelligent type of reformer will do well to answer: “If you don’t see the use of it, I certainly won’t let you clear it away. Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it.
I don't think it is a chicken and egg problem. There are several of CPUs that support > 16 lanes, so a high-end GPU (paired with a high end CPU) could use more lanes if it needed it.

Currently it seems 8 lanes of PCIe 3.0 is not quite enough, but 16 lanes is plenty. So we'll need a few years to get up to utilizing 16 lanes completely.

At which point 4.0 may be ready.
The point is, many people - even here, on HN - didn't read the full memo themselves. Instead, many of them depend on summaries from journalists (or, should I say, clickabiters), grossly representing the original document. Honestly, when you read articles like "Shocking quotes from the anti-diversity manifesto", I perfectly understand why some people decide they have absolutely no intention to read the whole thing. And I'm not sure the blame is completely on them.
> You're not "checking the value of a property after you've nil'd the parent object", you're checking if you were given a nil.

Sorry, it's a method not a property, but I think my point remains valid with regards to the example in that article. Just to be clear, I'm not trying to defend nil here, but I do think it's important to understand the issue because I think the authors code would have failed regardless of the language. So Let's break the code down: first they create a struct exposed via an interface{}

type T struct{}

func (t T) F() {}

type P interface {
F()
}

func newT() *T { return new(T) }

Then they create an initialized variable that object type:

t := newT()
t2 := t

...and set that interface{} to nil:

if !ENABLE_FEATURE {
t2 = nil
}

Then they check the value returned from a method of the struct - bare in mind this is after the struct has been `nil`ed:

thing := factory(t2)
fmt.Println(thing.P == nil) // returns nil

If there's a likelihood that they could be working with nil interfaces then they should be first checking the value of the interface before checking the value of the methods within it. Most OOP languages would raise an exception / print runtime error (in the case of JIT dynamic languages) or downright crash if you tried to access methods or properties of a nil / null / whatever type. So I'm not defending Go's behavior but their example is peculiar to say the least.

That all said, I do feel your examples are a lot more relevant to this discussion than the one that prompted the discussion to begin with.
>> If you're good, and know how to work well remotely, contract work at 130-150€/hr is plentiful

What kind of work ? if you have a phd you can't have research work that way can you ?
<plug>

Show HN: weekend, hack using Django. Rock Paper Scissors on twitter.

https://twitter.com/rpsrobot https://rps.barwap.com/

</plug>