skysight-inc/HackerNews huggingface dataset:
For (2), are you looking for overloading arithmetic operators (+, -, etc.)? Do people normally consider that under the umbrella of "generics"?

For (1), for curiosity sake, I tried benchmarking the cuckoo.go file you posted. I'm curious if these numbers are in line with what you found. The first test I did was a Rand test, Putting 10,000 random string values under random string keys, then Getting the same 10,000 keys, then Getting 5000 more random keys. The first line below uses default code you posted, which uses

type keytype string
type valuetype string

The second line specializes the code to just using the string type directly for keys and values. The third line uses interface{} instead for values, which is the code style HN doesn't like.

BenchmarkRandInsert-8 100 13474408 ns/op
BenchmarkStringStringRandInsert-8 100 13585071 ns/op
BenchmarkStringVoidStringRandInsert-8 100 14126666 ns/op

That third line shows the cost of casting to/from interface{}. The difference in the code was about as you might expect, with the "void" example needing a cast on each put and a cast on each get.

If I use uint32 for value instead, I get:

BenchmarkStringIntRandInsert-8	200	9431584 ns/op
BenchmarkStringVoidIntRandInsert-8	100	10485785 ns/op

The 9.4ms result is using a version of your code hand-specialized for string key and uint32 values. The 10.4ms result uses interface{} for values.

I ran a sequential-insert test as well, with keys and values generated sequentially instead of randomly. The results are much the same, though the cost of casting to/from interface{} seems to get mostly lost in the noise.

BenchmarkSequentialInsert-8 100 12185272 ns/op
BenchmarkStringStringSequentialInsert-8 100 12233946 ns/op
BenchmarkStringVoidStringSequentialInsert-8 100 12543980 ns/op
BenchmarkStringIntSequentialInsert-8 200 8823747 ns/op
BenchmarkStringVoidIntSequentialInsert-8 200 8709242 ns/op

I also tried some tests using uint32 as the key type. This int key specialized version is 3x faster than any of the string key versions, but it's not really a fair comparison... a small part of the code is specific to string keys (getinthash), so it's not as obvious what the generic equivalent of that function would be. The keys need to be Hashable or some such, not just interface{}. I'm also allocating and formatting random strings in one case, vs just picking random numbers in the other case.

I didn't find the interface{} casting in any of the above code too horribly "gross", just a bit ugly, but that's entirely subjective. Yes, all of the cuckoo versions seemed about 30% slower than the corresponding builtin map type, but my benchmark numbers don't show if that is the price of boxing, of supporting concurrency, or maybe function call overhead, or something else. I'm guessing you did more detailed benchmarks that point to the source of the slowdown.

One last comment: keytype and valuetype really need to be exported, don't they? I wasn't able to use the library without changing them to exported symbols.
Why does Steve Jobs have braces?
The ## operator is an ANSI C feature, so not really "early". In pre-ANSI preprocessors you had to abuse the lexer to paste tokens, e.g. by relying on // being deleted - nowadays comments are replaced by space.
New homes are generally more desirable in the US, unless you live somewhere interesting like Boston, NYC, SF, then the old buildings might be much more expensive, due to location and heritage.

I think Japan's zoning laws are great because in the US, generally you cannot walk to anything interesting (bar, coffeeshop, restaurant), because nowhere near your home is zoned for commercial, there are exceptions in the big cities obviously, but much of the population lives in non-walkable suburban layouts.

I sometimes wonder if the Europeans know how good they have it... So many beautiful walk-able cities and only a train ride away. I'm in Minnesota so there's basically nothing interesting for 1000 miles.
I think he's just a noncrackpot who's good at clickbait titles.
No kidding. If DC were operating correctly a bunch of his buddies would be in prison.
Im a fresher looking for aws job .. can anyone help me?
i have learnt aws and linux but as im a fresher i dono how to get a job .. can anyone help me ?
Or the marginal productivity of the workers is below the required pay to attract them
> Select high-volume shippers are able to drop off presorted packages at the local Postal Service depot for “last mile” delivery at cut-rate prices. With high volumes and warehouses near the local depots, Amazon enjoys low rates unavailable to its competitors.

Isn't this program available to any company that meets the requirements? Local shops and small-like shippers don't benefit because it's too hard, but Amazon's competition (Newegg, EBay, etc) presumably have access to the same programs.
Using ocean water could 'work', though transportation would be more problematic unless you where figuratively destroying a small garden or something. It's presumably just as effective, and vastly cheaper.

PS: Salt was expensive because of transaction and transpiration issues plus the need for a lot of land as water only evaporates at ~1/8th inch of water per day. So at 3.5% concentration that's ~4/1,000th of an inch of salt per day. But, having soil absorb sea water would likely work just as well.
Put all these ideas into one big system, free sites for vets, upsell vet management systems as pro services, make it fun with cat video uploads.

Your original idea of selling websites and getting vets to pay, well you can mail that one back to 1997 when that was a good idea.
I'm very excited about this!
Why electric cars are always green (and how they could get greener)
It used to be common knowledge that code written on fast computers would only work well on fast computers, but the current generation of cloud developers has forgotten that. I'm sorry and I share your pain. This site jumped around like crazy rendering on my 1.7Ghz dual core phone with 1GB ram running android lollipop.

One odd thing I have noticed is that desktop builds work fine even when crosscompiled for arm machines with the same specs. There must be some memory management inefficiency in android that causes this. Since people just chuck their devices in the bin every two years, no one seems inclined to fix it. There has been some talk of a universal way to run desktop linux (arm builds, of course) on a android kernel, so I have hope for that.
along those lines most jobs require you to:

pass a drug test

not be a convicted felon

have reliable transportation

show up consistently(i.e. reliable childcare)

And if you fall into one of those categories good luck.
Bulldock Browser – Convert any site into an app for your Dock (Mac app)
120GB on a single thread, yeah.
Redis has been abused for quite some time but 120GB is way out of reasonable reach for current CPU arch if you use a single core only (even if you switch off hyper threading)
I wish it was more detailed than a few sentences for a company. If keeping it short is going to be your thing, at least link out to references that are more in depth, such as previous interviews, etc.
Yanni – An artificial neural network for Erlang
I don't think you're wrong about modern squeamishness, but I think it goes further than that. The purpose of concentration camps is to not kill people.

Methodical killing of any type at scale is very rare in the modern world. It's even rarer for it to to be conducted through camps; to my knowledge, only the Nazis ever did it (and their allies, the Croatian fascist Ustaše regime). Most mass killing simply consists of taking groups of people somewhere remote and shooting them. Concentration camps are what you do when you don't want to do that and are basically a cheap form of prison. Even in the Soviet Gulag, where the harsh conditions and threat of death were part of the punishment, the majority of prisoners survived.

Even where death is tacitly the expected outcome of a camp (rare), it's mostly done by slow starvation and overwork. I think that's interesting, given how inefficient that is. It provides a kind of mental "plausible deniability".
I'm just wondering about the "threatened" part. Dimon says "We were asked to because we were told, I think correctly so that if the nine banks there, and some may have needed it, take this Tarp we can get it to all these other banks and stop the system from going down." Doesn't sound like he was threatened, or even needed persuading.
Think about how much budget and time and resource and nasa-career-path risk it would take for a manager at Nasa to ask for taking on a restoration project like this. Not going to happen.
Master/slave was also a commonly accepted role of business for far longer than it has been a computer term. We managed to change that in the west. I believe in us, we can do it.

> I genuinely find this argument...disingenuous

My argument is that the term is not technically correct. How is that disingenuous?
Would the repatriation mean more US jobs as a result? Doubtful. Apple, et al. would not suddenly do on a hiring binge. They would also not suddenly start paying their employees more or provide better benefits.

This is a red herring that politicians love to try and justify huge tax rate cuts for businesses that are unnecessary but provide a good sound bite. Tax rate cuts that they already enjoy because the US government allows them to stash the cash overseas already to avoid the taxes.

A US citizen is forced to pay income tax on all income worldwide. Live in France, pay French taxes and US income tax on income over $72,000. And you only get the $72k break if you are in the country less than 30 days in a calendar year.

US corporations, on the other hand, can stash all overseas earning overseas to reduce their tax liability. Most US corporations already pay a lower effective tax rate than most US citizens.
That's a bit deceptive, though, like much else of their communication. On Windows, support for standalone vaults has already effectively been removed, unless you already own a license for the legacy version 4.
I can't even tell you how many times I've re-implemented PPM file format in whatever language, to produce an image file, when no libraries were available to me. Dozens, easily.
I was speaking of statistical averages of course. On average religious believers have more kids.
No, the pattern should be:

1. Run script / snippet

2. If 1 fails, it failed, like any other *nix tool.

... there is zero need to get Google involved.
Airbnb host must pay $5,000 for canceling reservation based on race
I wonder if he's aware that it's the government that keeps him from being hung by his ankles at the earliest opportunity by the world's poor and hungry as they reclaim their fair share of the obscene level of wealth he has accumulated.
Sounds like the balloons are actually not massive, but voluminous.
Reducing circulating insulin levels in mice significantly extends their lifespan
I think the strange part about it, though, is the one that I posted a few months back isn't there. But thank you for this notice.
> A hand-made item

This is just a marketing gimmick (in case of products that we have technology to produce also by machines) in the times we live in to make you pay more for a product.

> Why just physical goods?

Because you can automate production of almost all physical goods. A lot of services also, but to certain degree, simple tasks only, state space is just too big in case of more complex services for today technology.

> depends what you mean - at what technology level?
Can modelling be automated? maybe. Can barista-ing be automated? Maybe. Can programming? To some degree..

That's why I was not writing about services but physical goods because in case of services it hugely depends, some can't be automated with our current understanding of the world around us.

> luckily, most needs are finite.

This is false.

'The world has enough for everyone's need, but not enough for everyone's greed.' - Gandhi

You need to take humans into the equation. Make everything for free because it's automated and you will see 7 billion orders for Ferrari, Lamborghini etc. You have enough factories to make those in 10 years? 20 years? 100 years? Take physics into equation and amount of factories/transportation for all the resources and parts to make those products, just those products, what about other things? This will not scale on earth.

> So there is something you'd pay people to obtain - land rights.

Most people on earth do not own any land at all.

> A short transfer of all land to the elites later, and you have enough space for anything.

Read history, this would end like it always do, elites that would try that would be eliminated and replaced with new elites from proletariat. Remember that elites are protected by police and law only because other people allow that, not because this is something written in stone. Earth was already ruled by kings, they owned most of the lands, look how it ended.
It's common well outside the tech sector. My (black) ex frequently complains how white people try to speak on black peoples behalf about what should offend her, for example.

To the point that she more than once have been in rage over white people accusing her (to her face) of being offensive to black people for saying something that they just assumed black people in general should find offensive.

She's also part of the diversity board of a major bank, where she sits on a panel that is mostly old white men talking about what issues affects their minorities and women, without a hint of recognition from any of them of the irony in that they've not recruited more minority representatives and women from their staff to be on the board itself.
or if it's an IT job:

have one of your last jobs be exactly that same technology as what the company is working on, nevermind how many other similar technologies you've worked on and learned on the fly.
Honest question: Is that how you feel when you type those out?
For media of this age and in poor condition, conversion to digital format is an expensive and time consuming process - they would most likely need to hire a specialty company at a rather high rate.

In the best case, the tapes would be cleaned (very time consuming) and then read on a 'newer' 7-track tape drive (although not many of these have been manufactured for decades, the 9-track format having taken over in the '60s). A more likely case is that the tapes will also require some splicing to remove irrecoverably damaged sections that cause the drives to track poorly, and probably all transfer to new reels in the process of hand-cleaning. Then the data format on them is probably unknown. It's possible, although far from guaranteed, that there will be a COBOL-type format header, but even that can be very difficult to work from. This is particularly difficult since when you miss words due to tape damage it may not be clear how many words you missed (if the drive can't track at all), and the drive may not be helpful in exposing that this happened either.

At the end of this whole process, it's likely that the tapes contain the output of a test regime or model that isn't even parsable without the original software, which could possibly be on one of the tapes but given the era and machine (probably a CDC160 based on the CDC163 pictured) is just as likely to have been on punched paper tape which would definitely not have survived this many years. We're talking a series of unitless numbers, probably from a matrix of unknown dimensions (but possibly just a series!). It would be pure speculation what they even mean.

If the data is in BCD format (possible for this machine, particularly if any non-integer values were to be stored), then it is likely in fixed-width fields and it will not even be apparent where one number begins and another ends (depending on the data, this may be inferred by padding, but the location of the decimal point would remain hard to determine).

In historical preservation, you have to choose your battles.
Thanks this stuff is awesome. Like that one drone that was caught by a fishing net.
...or killall
This is heavy ruby/rails focused but has other content as well. Tagline is "Get the junior out of your title"

https://thoughtbot.com/upcase/
That helps clarify things for me. I did find more information in the FAQ, but I would suggest making it easier to find. Maybe a simple Is Stripe Atlas right for my business? link in the "Ready to join Stripe Atlas?" section.

Look forward to applying in the near future!
> I wonder what synonyms there are for 'computer program.' Does 'application' count?

"Application" definitely counts, but for some inscrutable reason I associate that with GUI-only programs.

> Are there any synonyms for 'pedantry' that you can think of?

"dogmatism", "purism", "literalism"... but maybe I'm being too literal, puritanical, or dogmatic. :)
> Does not work with Cygwin or Mysys2.

:(

I would be curious to know why - if it's just bash, Cygwin has great support for it.
> It's not just a replica, it can work offline for a while and push back. Leader/follower is also flawed in my opinion. It's master and a slave even if it offends your sensibilities.

I'm glad that your concerned that "follower" and "replica" aren't perfect terms. We should be concerned with terminology.

I humbly suggest that "slave" DBs are not physically whipped by their "masters", therefore are an even worse metaphor.

> These arguments are a waste of everyone's time.

Then why are you wasting your time? If you don't care, don't argue back. Boom, you've got your time back. We all get a better name, everyone is happy.
what if everyone start selling the same product!! great list
The best thing is to post your comment directly on the FCC's website. Downtime/batch posting of comments can mean that your comment could show up late, or maybe not at all.
The Insider's Guide to Startup Promotion with Infographic
SmartDesk mini: $249 electric standing desk
> I'm still not clear about what you meant by "better engineers"; I'm in doubt about the theory of the 10x engineer. If you meant engineers with updated skills, then I might agree with you.

I simply meant more skilled engineers. (I'll readily admit that discerning which candidates are actually more skilled during an interview is a fairly challenging problem.) My personal opinion is that "10x" is a flat-out myth, and significant culture problem in our field. Engineering anything of moderate complexity requires >1 mind, and stockpiling all your knowledge into a single person — even if he or she is a great engineer — is foolhardy. I don't think that not believing that "10x" is a thing or a good idea means that there isn't a range of skill, however.

And perhaps the above is part of the problem. I've interacted with a number of engineers writing a lot of … crap … because they don't know what they're doing, and won't take the time to learn what they're doing¹. I spend an awful lot of my own time untangling the tech debt left by the "10x"ers that came before me. While I do get paid for it, I'd usually rather be doing something else. Yet, I don't really think I could reliably pick these people out in an interview, and simply interviewing is such an endurance task of wading through the seemingly endless masses of "engineers" that can't write a for loop that can't be singled out by tech recruiters who have no tech background b/c the recruiters can't recognize a BS résumé from a non-BS one (because they have no background in tech, but are really just LinkedIn scrapers AFAICT). Lastly, I don't know that SWE is a great field for get-rich-quick: I'm not paid all that competitively if you compare SWE in the Bay Area to say, investors, doctors, lawyers, …)

¹I once interacted with someone trying to send emails. Instead of using a library, he was rolling his own serializer for emails. But he also refused to read the RFC — despite repeated attempts to show him that it contained the information he needed, and testing it repeatedly broke it. (And this is but one example out of many. I'm currently working somewhere where we have multiple broken serializers that attempt to emit data for PostgreSQL, broken for the same reasons: refusal to understand the required output format prior to writing an emitter for it. "It's just CSV/TSV"
An on-prem storage solution specifically targeting these features at professional photographers would sell.

Storage is always a problem with every photographer I have met. They keep stacks of external USB drives or burn archives to DVD. They don't trust or want to use online storage.

A package that provided these models, trainable on that photographer's particular style, with autocropping, watermarking, etc. would sell very well among this group.
To be fair only a compacting GC can do that
Big Nerd's Ranch (https://www.bignerdranch.com/) especialy for mobile app development. Their bootcamp is called "retreat", and they also work as developers and publish books.
A bog-standard strategy for bootstrapping a new business is to take on your FIRST client for FREE (or nearly so). Pick a business nearby that you like - perhaps your OWN local vet? - and talk to them in person to see if they'd be willing to allow you to make them a website. Make it clear that you're doing this for two reasons:

(1) to better learn the business - you expect the experience of building their site will help you learn how to meet market needs.

(2) To build a portfolio - you want to have some real sites done and in-use to help sell to other customers later.

Do both of those things. Focus on making ONE key customer happy, learn whatever you can about their needs, and only THEN do you try to sell the same service to other customers.
Companies with high proportions of scientists are productive, study finds
Saw this first hand at one of the companies I worked at. One developer had built the ENTIRE company backend on his own. A system that every member of staff used on a daily basis to get their work done and that kept the whole $40m+ a year operation going. I'm not 100% sure what he was earning, but I doubt it was more than $80k a year.

Goes to show that creation of wealth and accumulation of wealth are not the same thing.
> an app for collaborative voice translation

Tangential, but an idea I've always thought the world needs but I've never seen: an "app" for near-realtime announcements in international airports. You "always" hear announcements for (presumably, but you never know) international persons in countries where the local tongue is not spoken by the intended recipient (is English used as a standard in international airports?) Regardless, it seems to me it would be useful to instead TYPE the text into an app, send it to a translator, and get a properly pronounced audio recording in the person's native tongue to put over the speakers instead of English.

Of course, a missing piece of data is the person's native tongue - presumably the world can't get it's shit together enough to attach that to a person's profile (passport)?, so perhaps make the 1st announcement in English, and if a second one is made then do that as a translated version (or english and translated).

Then again, a likely better (in some cases but not foolproof due to roaming issues) or supplemental approach is sending a text message.

Just curious if you've ever heard of someone trying to do this.
Audi proclaims first car with Level 3 autonomy
"The second you stop paying for the software, you lose access to any of your old files."

It seems you lose editing access, you still can view them. Still not great, but I wanted to clarify.
How do you compute the gradient of a non differentiable function? I'm not an expert, but that contradicts anything I've learned about gradient descent.