skysight-inc/HackerNews huggingface dataset:
> var foo map[<type>]interface{}

> solves 99% of issues where I would normally need generics.

But it also opens you to to runtime conversion errors, spurious if checks for type information compilers with generics have, or slow reflection to find the type.

> The author also doesn't really specify what kind of generics, there's a huge difference between parametric polymorphism (i.e. Haskell type classes) and Java/C++/C# generics.

Java/C++/C#/Haskell generics all provide parametric polymorphism though.

Haskell type classes provide ad hoc polymorphism, though I guess maybe they provide parametric polymorphism as well.

Per Wikipedia:

> In programming languages and type theory, parametric polymorphism is a way to make a language more expressive, while still maintaining full static type-safety. Using parametric polymorphism, a function or a data type can be written generically so that it can handle values identically without depending on their type.
why did the article compare spacex's costs for one flight, to the maximum ULA may receive for a flight... these are not equivalent things. Is the spacex rocket used for that GPS sat equivalent to a delta heavy ($350m) or an atlas v ($100m)?

Edit: this is a better article than the one linked:
http://www.reuters.com/article/us-space-spacex-launch-ula-id...

it's the article for the gps sat, which clearly says Spacex undercut ULA by 40% on that contract -- so 83m vs 140m for ULA

That is a big difference, but much less than the 83m vs 422m in the article
I don't understand, you just linked the oxford dictionary giving the same definition...

(The link you wrote says

US informal with object Lure (someone) into a relationship by adopting a fictional online persona.
‘he was being catfished by a cruel prankster’
‘a victim of catfishing’"

)

That's exactly what the urban dictionary definition says and is the meaning I referred to. Luring a company into a relationship with you based on a false/fictional profile as a programmer is what I would have thought the term would mean.
Leaving code as is can also be scary and risky. Being asked to overhaul an existing system on day 1 is scary though.

I tend to hold off on rewrites until I can picture the new system - complete with a solid understanding of exactly how it will fix the problems of the old one. And yes, with good tests.
Eh? Just write your own bank switching code. The whole setup is different to MMU paging. Not having looked at the specs I'm guessing you do an I/O write to something that sets the bits of the address lines above 15 to select the bank.

You could go two ways:

1. Have some amount of RAM outside the bank switching scheme so code and data living there is always available and bank switch above or below that fixed area.

2. Switch the entire 64k at a time, meaning your code and data has to be copied into the same place in each bank.
Honestly, faster super computers aren't going to affect the balance of power. There is a ridiculous amount of computer power available already.
Surely it's not just an issue of location but scale? Unless there is a huge team reviewing code, an individual or small team could be paid-off by an agency to provide a backdoor? For the right combination of large scale app by small team, there'd have to be a price at which many individuals capitulate? If the backdoor is somehow revealed, "doesn't matter, got my money".

I used to wonder whether some success of social media companies couldn't be explained by secret payments for backdoor access. You could be operating out of Europe or Africa and still get offered money, and other pressure carefully applied.

You might think you'd hold true to your plan of privacy-for-all, but if they offer $x00m or more?
It's unclear what they want to do:

> I won’t want to be a “senior dev” because I have so much more to add than that.

There are many ways to take this but it sounds like they want to do more managerial stuff or client oriented stuff and not dev work. If that's not the case then I don't see the problem with senior developer or tech lead titles.
If the tool never works how its users expect, it might be appropriate to blame the tool.
Ah..

Anyway, I think Volvo addressed this problem by

a) reinforcing particularly the A pillars using some very strong Boron steel alloy:

http://135jik1bbhst1159ri1ax2pj.wpengine.netdna-cdn.com/wp-c...

b) angling the A pillars/front screen more in order to deflect some of the forces caused by a direct collision with a Moose.
Safari is far better on RAM but it's only an option if it supports the features you need. Unfortunately a couple of tools I use don't work well with Safari, so I had to switch to Chrome. Never saw OSX's "you've run out of memory" message before then.
Right, why should I skip on my vacation to Hawaii next year... I already have $40k in credi card debt. Another $5k is just a small increase....
You..., I've had you before, haven't I?
Just to add to this, I used to live near a paper mill, and had friends who worked there. More than half of their feedstock was sawdust and waste chips from the local sawmill, and about a quarter was recycled. Very little virgin wood was used, and what was used was not usable for anything else.

//

That being said, I wish this guy luck. Having different tech available for use in areas where it would be a better way to do things is not a bad idea.
Let's have a substantive debate: Why are so many of us so quick to dismiss "first world problems"? I promise my mind is open. I want to be persuaded.

This isn't just a one-off HN comment. This sentiment is fairly prevalent.

There are now over 7.5 billion people on the planet. To dismiss first world problems is to dismiss the concerns of N millions of people. How large does N need to be before these concerns are worth considering?

To phrase that more sharply, under what ethical and moral framework is it ok to dismiss the concerns of N millions of people? If it's a reasonable framework, and it's logically consistent, I'd like to educate myself on it.

From another angle, almost none of us are in a position to solve non-first world problems. Our voices are all we have. If we admit (at least to ourselves) that all we're doing here is killing time in hopefully-productive ways -- ways that often fall short of that goal -- then why do we admonish people for spending it talking about problems we face in our own lives? Especially when we also spend so much time talking about non-first world problems?

I don't mean to pick on your comment, but this is an attitude I've seen countless times, yet it's never accompanied by a coherent justification.

I'm willing to humor this and assume it's not virtue signaling. There must be a reason. And if it's a good reason, then I should join your ranks.

If there's no justification, then I'm hoping this subthread can serve as a canonical rebuttal to this attitude when it pops up in the future. But my main motivation is to learn something.

EDIT: Unfortunately, this article was flagged, so it's unlikely this subthread will go anywhere. I'll leave this as an open question and ask it again some other time.
> And what echo chamber would they say you've
> surrounded yourself with?

If they were being dismissive probably Pollyanna liberalism. Generally though, since we have a healthy relationship, we talk about the differences in the messaging we are exposed to and discuss the underpinnings of those messages. On many things we have a high degree of alignment in our views.

For example, we both agree strongly that our political institutions have become dysfunctional through partisan extremism. I tend to be idealistic in that I strongly believe the tools to "fix" that are built into the system itself (and can argue that point using the recent election as evidence to support that claim) but they feel strongly that structural changes to how the institutions are built is the best solution.
You are splitting hairs. The point was there was no "tailored" view of the news. There where 3 and they had standards that they all followed. We do not have that anymore, we have infotainment, not the news.
If people don't care about you enough to check your timeline if they think you are endangered, is there a point to letting them know you're safe?

As OP, I lived through a major natural disaster, and I posted that I was safe on my timeline, and most of my friends that were connected with the disaster did.
your tax dollars at work.
Thanks. what was the price of the least and most expensive headphones tested? I tried to figure it out but failed.
I think you could easily make the case that without mass propaganda World War II would have turned out completely different. There are some serious echoes of the past in the present.
How are you supposed to keep the joy of teaching flowing if you are doing everything for free ? I'm genuinely curious what is your solution to this ? Assume that the teacher has a family and a limited time.

It is more depressing to see people advocating working for free without giving a solution to real life problems that a teacher usually has, like say putting food on the table or paying for health insurance.
I'd have thought that a deposit of "hundreds of thousands of dollars in cash, in a single day" should trigger some KYC / money laundering checks. You certainly can't do that in the US without getting a ping on your account.

You are repeating your previous assertion about how the case is actually about a technicality that HSBC shouldn't have been held to. Can you provide a citation for that?

From the CNN article I linked, "The DOJ said HSBC also helped process $660 million in prohibited transactions from Iran, Cuba, Sudan, Libya and Burma by deliberately hiding the identities of these countries."

That doesn't sound like "HSBC didn't do the diligence the government would have made it do", it sounds like more willful misdirection on their part.

Edited to add:

> The only "due diligence" you have to do is what the government makes you do.

I don't think this is true. Doing your "due diligence" doesn't protect you against activity that is otherwise criminal, it just protects you from being in breach of your regulatory requirements, and the penalties that are included in those regulatory frameworks. "Due diligence" doesn't protect you if you murder someone, and it doesn't protect you if you commit another crime, like (say) conspiracy to launder drug money.
Scott's Cheap Flights – Flight Subscription Service ($320,000/mo)
> Americans aren't the problem. People are.

I immediately feel resentment towards this style of nationalist defensiveness.

Firstly, this is cognitively dissonant because Americans are people so you ought to say "Americans are not the only contributors to this problem".

But more-so because this is a truism that will deflect attention to a rabbit-hole that is not so useful.
I don't disagree, but the difference with the internet is that it's so easy to be anonymous, or at least hard enough to unmask that it's not worth it, and the cost is almost nothing.

With a printing press, you have to procure materials, a printer, wide distribution of physical items, etc., and all of those contacts mean that someone somewhere can probably point fingers if the law wants to find you. But try finding the people behind the 10,000 anonymous Reddit throwaway accounts, half in foreign countries. Or the guy writing fake news articles that get picked up by Twitter, who paid for his hosting account in Bitcoin and lives in Thailand. Radio is more anonymous, but can't be instantly shared in the same way things can online. A friend would have to tell you the frequency, you'd have to make time in your day to tune in and listen, and if a pirate station gets shut down there's not always another one lined up to take over instantly.

That's the problem here--nearly free, instantaneous, global, mostly anonymous communication, that friends and family can share into your inbox instantly and effortlessly. Firehose after firehose turned on, aimed directly at you, by people wearing masks. That's why this situation is different from the printing press or the radio.
Isn't the price offered by Arianespace subsidized though? I could imagine that the EU is ok to subsidize to get market share in the private market but wouldn't be too happy to subsidize the US department of defense.
I would appreciate the anonymous proof I asked for. you can post an anonymized screenshot. I would like to follow your advice which you've written in some detail in numerous comments.
Sure, it could also be that! But Chromium is undoubtedly a significant part of the problem.
Both of you are right, it's about all western governments.

Still, we have in france a strong anti market thinking that is well reflected in how our government keeps piling laws and regulations. This news is indeed a PR stunt nothing more
I think you're taking "first-world problems" more literally than anyone means it. Most of the time people say it, they mean, "not a real problem" and "your life is great, despite this 'problem' you're describing."

For example, my friends will jokingly say "first-world problem" whenever someone complains about having to drink tap water instead of bottled/filtered water.
>I hate the... lack of ports on the new one. I was hoping for a nicely priced Surface Book 2

You do realize the new MBP and the Surface Book have the same number of USB ports, right?
I actually signed up for a mastodon and thought it was a pretty nice and funky environment for a week or so.

Then, I realized the full ramifications of federation and I realized that Mastodon was likely to go the way of IRC if it ever "caught on" with the masses, in that open federation was doomed to outside abuse.

I then realized that because of this, my account being on a friends' small instance that he put up on a whim was probably not a good idea.
However, I had no idea which other instance to migrate to, considering that there are a billion of them and it was hard to get a flavor for what instances are like with no obvious way to get a public feed.

Now it's months later, my friends' mastodon has been taken down from lack of use, and I still don't have a clear idea of what instance I should use instead. I really don't want to have to create an account on a half-dozen different servers just to find out.
I'd recommend these as an interesting starting point ([2] has videos):

[1] http://infoproc.blogspot.com/2017/02/on-military-balance-of-...

[2] http://infoproc.blogspot.com/2016/09/balance-of-power-in-wes...
How do you know I am not Chinese or my wife is not? Or my best friend? Or someone in my family?

I wish the best for China and the Chinese people. I hope for a peaceful and prosperous future. That however does not involve the threat to take Taiwan by force or claiming all of the South China Sea as theirs.

What I was trying to say is that my opinion is not informed based on what I have read in the press but based on the fact that I have spent time in the country and have read the local press, and spoken with the local people. The humiliation faced by the Chinese at the hand of the western powers is a common theme of books and movies and TV shows in China.
What is a 'selfie app'? Is Facebook a 'selfie app'? What about Instagram?
I know of two: Sony: MDR7506
and their cheaper siblings (which I've been listening at work to for 10+ years) the Sony MDR V6.

They are flat, so not elevated bass, which may take a little getting used too (I play a little bass and I really like it). Very clear. You need to replace the ear padding every 4 years or so, because they used a material that doesn't age well and starts flaking off everywhere...

Hey, they even have a wikipedia page!

https://en.wikipedia.org/wiki/Sony_MDR-V6
A+ for effort, but this re-design looks way cluttered and busy compared to the current Ableton UI.
Polyolefins are some of the safest plastics around, environmentally speaking, and are fully recyclable. The paper may actually be as good or better than standard pulp paper is.

It may not be, too! Calculating the lifecycle is complex. But it isn't something than is easy to assume one way or the other.
Dirty little secret:

Much the computing on these machines isn't supercomputing and doesn't need fast interconnects. In fact, many (most?) workloads would be best done in the cloud. Except we already bought these machines. So there's tons of frameworks around meant to use these machines like they are AWS pizza boxes. If it's inefficient due to an architectural mismatch, that's fine. You're still using the machine that was paid for, and the only numbers that matter is utilization, and those metrics aren't even defined in terms of CPU utilization. If you reserve 10 nodes, and only run on one node, it's still reported that a 10 node job ran for 6 hours, not that a 10 node job job ran at 10% efficiency for 6 hours.

As far as why the accounting is this way, it's assumed that users will attempt to maximize their usage since allocations are defined. But even then, you can blow through your allocation and generally ask for more. But that's not necessarily what happens.

In summary: Because we bought these big computers, we have to use them, even if the workload isn't a good match.
In Search of the Cookie Dough Tree
MPE (Multidimensional Polyphonic Expression) is also sorely needed.
It's often a choice. Plenty of people develop great software on less hardware. Your life gets easier the more RAM you have, but you don't absolutely need it unless you're doing something specialized where your toolkit is larger than normal.
Yeah, that's a couple of F-35s...
One of the few good things my father did was to record the original radio play broadcasts onto compact cassettes. They're long since overplayed and stretched, and I don't have a player, but I listened to them over and over again in the 80s and 90s
Check out "Showstopper!: The Breakneck Race to Create Windows NT and the Next Generation at Microsoft" by G. Zachary. The book was recommended in a thread above. The book is about Dave Cutler and other DEC engineers joining Microsoft to build Windows NT (originally "OS/2 NT").
I'm guessing it would cause a driver revolt, though.
I'm not so sure about that.

Faster super computers allow you to do all kinds of things that would otherwise be quite hard. Think of supercomputers as weapons that you can fire very quietly, nobody even notices that you just tested some new (possibly nuclear) weapons system or that you designed some fighter jet, submarine or rocket.

Super computers are a game changer, not having them is as much as ceding territory, having them but not knowing how to use them has a similar effect. Just like computers were a game changer in the previous war so super computers will be a game changer in the next, with the added caveat that you might not even notice when it starts or ends other than that you suddenly find out that your counterparty runs the show because they cracked the codes you thought were safe.
CS classes B.S. seems to be everywhere. I would say that we in france produce a lot of good engineers but we are going abroad and not all staying in our native country :-)
Powerful for doing all the things one does on Snapchat? The point is it's a UX for power users (limited discoverability, but faster than a traditional button/modal based UI once you know it). I think it's a fair comparison.
> "What I can't program, I don't understand."

This, of course, does not hold for the inverse of 'what I can program, I do understand'.
And this is why capitalism is necessary.
That's what Zuora does. They are pretty successful and are expected to IPO soon.
Eventually they were released on CD.
You have a knack for explaining "explaining something in simple terms" in simple terms. Kudos.
[video] Seeing the Invisible: Veritasium's Schlieren Imaging Setup
The SB has full size USB ports, the new MBP USB-c. That alone for me is better as I don't want to deal with adaptors.
I worked at a semiconductor factory in the US for five years. I'm glad it wasn't in Photolithography -- that end of the fab reeked of acetone. My end had arsenic, but it was pretty well contained unless you went into the bead blast room. We also had elemental phosphorous, which has a tendency to explode if you look at it funny. Wets has hydrofluoric acid. CVD uses tons of silane, which is not only toxic but explosive. You really can't do without these chemicals if you want to have semiconductors. At best, you can stay away from the really carcinogenic resist chemistries. But just try to make an NMOS transistor without arsenic for the source and drain!

Edit: This is not to say that it's OK to destroy people's health to make semiconductors. Toxic chemicals are unavoidable in semiconductor manufacturing, and we need to handle them properly even if it causes a rise in prices.
Ah good one, I totally missed out on the anonymous angle. Will update the post.
The military has some funding for roads and bridges in places like Iraq and Afghanistan, but the heavy lifting is done by the Department of State. Most of the budget is on personnel and equipment.
International working condition and minimum wage laws need to happen already. It's disgusting that multinationals get to intentionally do this.
It's really quite unfortunate. But while true in most cases, it's also not always the case. Having done contract work/consulting for many years, I actually say no quite often. It's surprisingly common for business, especially small and medium sized ones, to make changes that do not improve their business, or even hurt it.

Some read an article online saying "big red buttons increase conversion", and want that along with a full revamp of their system, even though it may not improve anything for their business. I believe that any consultant worth their salt should be cognizant of this, and look out for their client's interests. There is often a gap between what a client says they want and what they really want. Being able to identify that difference is key in delivering value and having leads come in without additional effort.

Everyone can mash together a solution, but it's incredibly rare for a business owner to find a contractor who looks out for them and prevents them from throwing cash at a non-issue. Most business owners have worked with many contractors, and when they find someone who truly cares, most reciprocate.
"with the state bearing the cost of health care" - unless it's privatised! Repeal the state-funded healthcare bill, and then it's the employee's problem if they get sick.
I really hope that Wikileaks:

A. Works with companies to get these vulnerabilities patched. I know that US media outlets are paid to be hard on Wikileaks when it does this to harm its reputation, but the campaign of negative publicity is less important overall than the quality work getting vulnerabilities fixed and for it actually improves the reputation over the long term with those who are familiar and closer to the security field.

B. After the vulnerabilities are patched, release the source code and documentation for these vulnerabilities to expose the companies, techniques and to corroborate the editing done for the story. The security community will grow from these examples and the public will have better information about what companies to avoid.

C. Publish more good journalism about the types of cyber-weapons wielded by intelligence agencies.
Again, you gloss over the single most important phrase: when using a company account.

Absolutely no-one has expressed a desire to lay claim to your personal LinkedIn account. If you continue to argue that this is about personal rather than company accounts, I will interpret as a sign of explicit bad faith on your part.
Do you mind saying what industry you're referencing?
First: what a phenomenal approach to a company. Shows a personal connection to the company and product that I'd bet is lacking in some current employees.

Second: I like the design but: is it just me or does this look a whole lot like Logic?