skysight-inc/HackerNews huggingface dataset:
1-2 GB? You can have a 1 TB fit into RAM these days. (And many of us do!)
I need a better android keyboard
You mean insertion into a bucket when there's a collision? And your n is the number of entries in the list? But n should always be very small relative to the total number of items in the hash map such that overall insertion and lookups are O(1).
Not down to the core, but part of the process is a couple of days of inspection to figure out which parts need replacing.
Exactly this.

Funny that very few people see this and instead are already cheering them for doing the "impossible"...
Elsevier is based in Amsterdam, Netherlands[1]

[1]https://en.wikipedia.org/wiki/Elsevier
> In early 2017, the Harvard Business Review suggested that blockchain is a foundational technology and thus "has the potential to create new foundations for our economic and social systems." It further observed that while foundational innovations can have enormous impact, "It will take decades for blockchain to seep into our economic and social infrastructure."

https://en.wikipedia.org/wiki/Blockchain
I can't possibly shape everyone's word choices. I'm just pointing out that mine as used here are specific, considered, and backed by evidence..
RationalWiki's drinking games
Amphetamines? Don't lie.
I'd say this is the new alcoholism, except ordinary people who would have trivial access to alcohol no matter how regulated, would not be able to refine opiates into the doses these new drugs provide.

There are people out there who know these pills are a destructive force, and make them available in the same large volume anyway.
You can mail the mods and ask them, they usually fix these fairly quickly.
I know that's a joke, but it has been around in production since the 60's, so probably not that bad lol.
Bubble? If so, it has been a bubble at any given price then.
Yes, I know. I am one of those "unhappy developers". I had hoped to find some reasoning behind OP's joy of getting rid of XUL. In my opinion XUL is what made Pencil so attractive (native widgets, that can be stuffed with behaviour), Using XUL and an add-on Pencil could have become a full fledged GUI designer, using XSLT to export to various formats.
They will be starting a new direct route to Rome FCO in the fall as well.

Bounviaggio!
I just turned 40. There is an unfortunate grain of truth, especially among start ups, but it would be a mistake to think the situation that dire.

I am constantly pestered by recruiters and companies to interview. I think one of the things that helps is that I trimmed my resume to omit material older than 5 years, removed unnecessary dates, and I make a point of drawing attention to studying for new industry certifications. It probably doesn't hurt that I stay physically fit, either. As cruel as it may be, if you're out of shape and look "frumpy" or "run down," that will count against you far, far worse than your age.

The key is to make the age factor irrelevant by not drawing unnecessary attention to it or by projecting a stereotypical "middle aged" image. We can argue all day about whether that's fair or not (it's not), but you have to do what you have to do.
It is difficult to hide your age. LinkedIn makes it impossible. If you want to be competitive, you need to share your accomplishments. If they are actual accomplishments, they are Gooogleable in a simple search anyhow. Hiding your age by leaving off dates says, "Hey! I'm old enough to hide my grad dates!" (which means you are now over 30) This culture is not helping itself. We all need to find the bravery to stand up against this at every age, because, I hate to break it, every person under 30 on this forum will be over 40 before they know it. I sure hope it finds them at the very tippy top of their career game. Our economy doesn't look great right now. Best of luck finding that chair before the hip-hop stops.
In the past year there was a (edit 2:) NOT a settlement in one of the age discrimination lawsuits against Google. Got a postcard to notify me I was a member and with info on how to opt in or opt out.
(edit 1, I found the link)
www.GoogleAgeDiscriminationLawsuit.com
This means it is our duty to the citizens to reduce our publishing expenses to no more than currently ~US$200m per year (and we would even increase the value of the literature by making it open to boot!). If we were to do that, we’d have US$9.8b every single year to buy all the different infrastructure solutions that already exist to support all our intellectual outputs, be that text, data or code.

Is is also our duty as the people to reduce all expenditures on software? Is piracy justifiable especially within government institutions?

I guess my point is that necessary is a really strong claim and you can justify a lot of crazy stuff with that. Scientific progress has continued on just fine despite these cartels. With no supporting evidence I'd argue that today's scholars have hundreds of times the free information available than they did a century ago and that ramps up the further you go back. It's easy to imagine that Elsevier's lockdown of a paper is the difference between an academic breakthrough or not, but in reality that's probably not the case, even if it's a noble cause.
While technically correct sth. like the Quark is probably not what he meant but some earlier models of the Atom lineup (<= 10y, 2008 onwards) are 32bit chips. There are chips released as late as 2011 [1] which lack 64 bit support.

[1] http://ark.intel.com/products/55663/Intel-Atom-Processor-Z67...
Q&A: Where do you get Gender Neutral STEM clothes for your Kids?
One thing to improve the situation: use an extension or hotkey setup to switch JavaScript on and off very quickly. I use Toggle JavaScript in Chrome. It helps.

https://chrome.google.com/webstore/detail/toggle-javascript/...

The biggest obstacle is, as others have said, some websites simply do not work.

The biggest benefit to turning it off, though, is that sites finish loading much much quicker. Take Stereogum. Without JavaScript, you save yourself from a sluggish mess of a website that, really, is just text and images.
I hear your pain. But this too shall pass.

At 50 I was screwed out of a company that I spent 10 years building by a greedy partner. He later sued me in federal court for telling other people what he did to me. Even though all the charges were totally made up it cost me 40 thousand to defend my self (money I did not have). I finally managed to get him to drop the suite and pay all my bills by giving him a patent he wanted. And this was all before a judge ever even looked at the case.

So hang in there, find joys in the small things like life until it passes. I am a better man for having gone through all of this, but I would not wish it on anyone.
Very interesting, though a shame (to me) that it's Go, as I'm actually after a C++ KV store that ideally isn't RocksDB (I want something that's much easier to embed and RocksDB has a bunch of dependencies).

Have you tried benchmarking on baremetal though? I've been shopping around for a KV store and came across this benchmark: http://www.lmdb.tech/bench/ondisk/#sec7

Interestingly, for 768-byte values, LevelDB is the clear winner when it comes to read scaling on a VM yet on bare metal it's drastically outperformed by LMDB.
No, it's just that the folks railing against it sound like sour grapes. If you want to pick a convincing analogy, do so. Calling it a Ponzi scheme doesn't fit and makes it sound like you're more interested in being contrarian than making a substantive point.
How the iPhone Was Born: Inside Stories of Missteps and Triumphs
> sorted vector of keys . . . reserve necessary memory and sort it . . . unsorted coindexed arrays . . .

Most of the things you mentioned are not hash tables, but members of a parent concept, dictionaries. Hash tables all by definition involve some sort of hashing of the key. The two main categories of hash table are chained hash tables (std::unordered_map does this, at least in the implementations I'm aware of) and open addressed hash tables, which use probing instead of secondary data structures to resolve conflicts.
I'm interested; do you have a link to an article or something describing this? I'm curious about how the FBI could get access to the mail without the post office knowing.
Deprecation is a really good solution for fixing things "eventually" but only if you pair it with a plan for making the old one go away forever (a plan that you stick to!).

If you aren't serious about actually removing a bad API at some point, don't change anything. Otherwise, you create two things that need to be tested/supported/kept binary-compatible/etc. instead of one, raising technical debt when you were supposed to lower it.
It's true that it's common to be pestered by recruiters. But the next step is to actually do an interview. And I think in that step you'll have to demonstrate excellence beyond the standard skillset. (Mostly because very few companies rely on work-hire tests as the sole metric for hiring someone.)

This situation sucks, and it seems to be getting worse. Or maybe it's always been bad and it's finally been brought to light.
What do people typically store in KV stores that do not have a database built on top of them? Terabytes of what? Accessed by what kind of application logic?
This analysis is a little too "content free" for my tastes. (Edit: I don't mean there is nothing to it, I mean the analysis is largely formal as opposed to the content of the decision)

But this problem hasn't gone unnoticed and there are some ideas around how to solve the "pick the rare winners" problem:

1. Andreessen: Don't pick winners. Invest in the startup after it has already demonstrated itself to be a winner but before it goes public. This is the safe growing area.

2. McClure: Invest small amounts, early so that you can afford to spread the investment over many companies.

3. Thiel, Gurley: Be right

4. Graham: combination of #2 and #3

5. Doerr: Network like crazy to have a shot of being in the few good ones (this assumes you will recognize them)

#3 is not necessarily something we can reproduce
Storms caused massive Antarctic sea ice loss in 2016
I’m shocked this isn’t being aggressively down voted...oh wait... it’s bashing js and not bashing haskell...nvm
Really. Hash tables are one of my most used data structures.
I think you are trying to hard to make it seem infeasible or not worth it. The not-worth-it part may be true for most people but it is definitely feasible, especially with decentralized exchanges and websites that let you get gift cards with crypto or even dash which has a debit card. As long as you aren't in jail of course ;)
Nice project! What's new since the last time we saw this? [1]

[1] https://news.ycombinator.com/item?id=14335931
How to Get Kicked Out of Congress (2010)
Actually vesting would have reduced the other partners leverage greatly. First, they would not have been an LLC, would have already been a C Corp. The partner was refusing to sign the transfer docs so they could become a C corp to leverage outside investment, and give employees option agreements. If they had been a C corp, my friend would have gained more shares with every investment, and could fully control corporation decisions. Vesting also would have made it more clear to his partner how little equity he yet had, and more amenable to working together.

But outside my example, starting any new idea as a 50-50 partnership without vesting requirements is a terrible idea.
The fact that you use the slang term "welp" means you still have hope! You aren't 40 yet, probably. If you are... way to stealth, tiger!
Link to WiscKey paper, discussion of tradeoffs made - awesome. DB vendors, take a page out of their book please.

RocksDB does go to some lengths to reduce amplification on SSDs, though it seems this design is taking that into consideration from the very beginning.
"Without language there is no consciousnesses" meh - how can I sometimes have thoughts (imagining going somewhere) and be conscious (for ex, waking up) while not having any internal monologue (not using any language) at those times?
Also, build times. Every project I know that's integrated it has regretted it on this point alone.
That's not quite the same thing as it's not so much a misspelling as a result of being restricted to five chars. (on some certain system the details of which doesn't interest me)

But I do wish they had used one abbreviation for control rather than two - fcntl vs ioctl.
AMD wasn't bought by SoftBank. You're thinking of ARM.
Could you elaborate on why you'd prefer Yellen?
In my experience as a mathematician, most for profit journal publishing companies are essentially rentiers making money off a captive clientele, who don't even get much utility any more from them, except for access to some older articles. Moreover, the services they provide to authors are also usually worse than the non-profit journals: no copy editing, crappy editorial tools, just a complete disregard for the actual producers of the (free) content they make money off. It's a complete and unmitigated scam.
You can implement the sorted vector of keys with a hash function instead of a coindexed vector of values. It still keeps most of the properties we like, especially if doing the coindex-sort operation is too expensive for some reason.
"Sure, with the biggest spy agencys and the biggest military(including ready to strike killer squads) stationed around the world, US are the biggest empire and they need all that to stay the biggest empire."

It seems you agree with my comment that the U.S. has need of such spy agencies but disagree with their goals or probable results of their actions. We're in the same boat on the latter.

"Here in germany there are allready many people thinking siding with russia and china could be a better choice, as in their opinion the US is doing more evil stuff. "

That shouldn't worry me. What people think is often a consequence of the media they view. I know people believed what you wrote and sometimes killed/died for it in the 1930's-1940's in Germany. We're educated about that extreme example but I don't know your current trends. I do know you also have different sides of politics with media groups focusing on each. I also know you're a huge player in exported goods. So, I can't predict anything except that Germany's choice will be significant. I do know the government wanted to be part of Five Eyes giving a lot of concessions for that. And BND is as devious externally and internally as the CIA. So, more similarities on this topic than differences except for the large scale nature of foreign involvement that American government has done. Those pricks meddle with everyone.
By Jove It's a Lightweight Alternative to Vim
Looking for copy that converts?
I'm a copywriter with 4+ years experience. I've worked with both startup companies, and large multi-national organizations, and have helped them write ad copy/landing page copy that converts.

If you're looking to grow your business happy to chat, currently looking for an interesting project,

email me: pblogsltd@gmail.com
Trials and Tribulations of a New Manager
That's ARM. AMD still publicly traded (and massively volatile).
It's often a storage layer for some more complex thing - e.g. riak had a leveldb "backend". Facebook uses rocksdb similarly, plus there's the myrocks storage engine for using rocksdb with mysql on top.
Because so many developers think they are unique snowflakes who are better than everyone else, and a union would just drag them down to everyone else's level. Unions are for people who work on assembly lines, right?
I disagree. It has lots of interesting insight into what those statistics mean and how they've evolved. Surprised HN is so easily censored by a single prude.
Strangely enough, I've rarely encountered interviews that demanded more than the standard skill set. In any event, someone with 10 or 15+ fewer years of experience is easy to beat on technical questions - that's the benefit of experience!
I don't believe the publishing model is significantly impeding progress in science , but that doesn't change the fact that the publishing companies are simply leeches, profiting off the work and labor of others. It's worth breaking that up, because there's no actual value there.
ah- yes i think thats true. reminds me of the political futures market intrade, which was ultimately shut down because people were laundering money through some of the markets, most likely at a loss.
Time for you to enter the punishment sphere, citizen!
Tesla. It is clear that world is going towards renewables. It is also clear that electric vehicle is here to stay. Even if there is an alternative out there that meets the renewable energy needs, it will take more than a decade for it to fully commercialize so Tesla has its place. I think that the giga factories and solar city can be huge businesses. Tesla's truck with its auto-pilot (even if it is good enough to drive on freeways) can be a huge cost saver for transportation companies.
Three guys run pools, which have relatively limited power. The control is in the hands of those who own the hardware that points to those pools. And the beautiful thing is that there's no barrier to entry to participating in hashing, or in the case of Ethereum's soon-to-be-implemented staking.

It's massively parallel, with smaller hash-producers/stakers having nearly the same profitability as large ones, and nearly no minimum investment required to enter.

This is diametrically opposed to any central banking scheme, which is extremely hierarchical, with the representatives of regional banks sitting alongside high-ranking political appointees to create monetary policy and make decisions as significant as buying a trillion dollars worth of privately owned assets from large privately owned financial institutions.

The current centralized monetary scheme is the reason 42% of corporate profits since 1972 have been earned by the financial sector.
i dont think he is making a normative judgement about it, just an observation of how its used, which i think is correct.
I'm curious to know how Futhark relates in performance to halide -- halide is more specific to image processing, but uses a similar approach (domain-specific language compiled to multiple target platforms): http://halide-lang.org
the reason people use git hosting tools is because they do many things(version control, issue management etc.). Just because gitlab does CI/CD also, doesn't mean they will automatically do it "just okay". This article has nothing to do with unix philosophy. Using a sophisticated code hosting tool is like using unix itself where all parts work with each other well.
The same for any part of your computer, I imagine.

What happens when your laptop's display has frequently broken pixels?
Congrats on the effort. I started learning English when I became interested in Neuro-Linguistic Programming a decade ago: there were no resources in French and the discipline was started by two Americans. I read a ton of books out loud just to hit the muscles used in English (not quite the same as French. My mouth hurt).

Here's a great resource from the University of Québec: http://classiques.uqac.ca/

It has a lot of books categorized (see thumbnails) in many areas (classics, natural sciences, etc). From Freud, Adler, Smith, to Descartes. Enjoy!
It seems not.

However this sensation of being muted has not gone away. What if did happen? Are federated community structures impossible?

I think my evident leaping to the wrong conclusion indicates an internalised distrust of the process. Not transparent enough.

How much time have I spent conversing on HN? I think maybe I need to spend that time coding instead.
Agreed. I mean, for example, doesn't the entire Lua language revolve around hash tables?
I used to not pick tech stocks because of the diversification argument. However, I stopped that and now invest a good bit.
Why? People in tech are going to be better at predicting the future than the equity research analysts at investment banks. Have confidence in yourself and make some picks.
Don't blame me, I voted for Kodos.

Look at who's on the ticket. Look at their record. Look at their campaign funding. If you can convince yourself that voters have any real choice, then I admire your optimism.
My recollection (which could be wrong, it's been a long time) is that the white papers Microsoft freely distributed for XBox 360 development said specifically to not use any STL containers except contiguous memory ones and probably not those either without custom allocators. The penalties for cache misses/pipeline flushes were very high and naive STL usage made both those things happen a lot in real games (Microsoft would step in and help developers and would do post mortems on things they did to improve performance).
do you think all attempts to stop money laundering are bad? isn't it reasonable to try to prevent people from profiting off stuff that we all agree is bad? trying to figure out if you are saying there are downsides, or that its all bad.
Observational Learning by Reinforcement Learning
Thank you for the breakdown!
Please don't impose your prudishness on others. This was an interesting article.
> You can implement the sorted vector of keys with a hash function instead of a coindexed vector of values

So you're saying you're going to hash the keys, then sort them according to the hash, with tie breaking on the key itself? I'm not aware of any sorted table that does this, but I'm sure some exist. I suppose you'd get something of a win if N was large, and the keys had long common prefixes, and you didn't care about the ordering property.

But in that case you'd probably use an actual hash table, not the algorithm you just described. Unless there's something I'm missing.
Yeah, that's a weird title! I assumed it must be the actual title of the post, but no.
Of course there's a big difference, but the Nazis didn't start gassing people the day after they took power; as late as 1940 they were considering just resettling Jewish populations in Madagascar. The chilling fact about the Holocaust was not that it was directly ordered from the very height of the Nazi government as that lower-level officials decided it was the most practical solution to an operational problem that seemed compatible with Hitler's fanatical loathing of the Jews.

https://en.wikipedia.org/wiki/Madagascar_Plan

https://en.wikipedia.org/wiki/Final_Solution

My anxiety about this stems not from any belief that this or a future administration has a detailed plan to murder large numbers of people, as from a coincidence of political momentum and the existence of a decent number of people who would be just fine with or outright enthusiastic about that outcome, as well as a much larger number of people who'd rather just look the other way any time unpleasant topics appear on their radar.

I have much less confidence that you do about demographics and the health of the body politic. Just to add some context I'm not basing my opinions on blogs but on lengthy analysis from military intelligence professionals, counterterrorist analysts, and other high-quality primary sources, as well as extended personal study of the far right. I hope I'm wrong about this.
Nearly every expression in high-level languages relies on multiple hash lookups. This is part of the reason these languages are regarded as "slow." I suppose you could use a tree in place, and get reasonable performance. However the hash table's nature allows you to pretty much throw more memory at the problem in exchange for speed (though this is hardly unique to this particular data structure).

For instance `a = foo.bar.baz` in Python involves 3 hash gets (local scope, foo scope, then bar scope), and a single set operation (local scope). This is part of the reason Python programs can be optimized by assigning a deep attribute lookup to the local scope outside of a loop's scope, and it will yield improved performance relative to doing the deep attribute lookup inside the loop's scope.

a = foo.bar.baz
for _ in range(20):
print(a)

vs

for _ in range(20):
print(foo.bar.baz)