skysight-inc/HackerNews huggingface dataset:
Well the containers that have fast lookup (set, map and their unordered_ and multi_ counterparts), all have efficient .find() member functions. The general philosophy of the idealised STL is not to provide you with anything you can compose efficiently yourself.

A 3-4 line template will will give you a terse boolean contains() method, but it won't give you any big-O guarantees, and having such a thing would encourage very inefficient patterns (like calling contains() and then doing a find() if it's true, which effectively does the lookup twice). Why introduce a weak abstraction? If you're forced to write it yourself you're more likely to understand the implications.

Alex Stepanov, who wrote the original STL, is very much a believer in fundamental indivisible building blocks like iterators and algorithms and careful API design. To grok more about why things are the way they are, I recommend watching his "Efficient Programming with Components" lectures[0]. Over the course he builds up, in excruciating detail, an implementation of merge sort, reasoning about, and discussing with his students, the implications of almost every line of code.

And yes, Stepanov complains about the lack of terseness and expressiveness in C++ as well.

[0] https://www.youtube.com/playlist?list=PLHxtyCq_WDLXryyw91lah...
First, thanks! I Completely agree on your points, I've seen the biggest value come from relationship built over years not over a few isolated incidents. I'll add a couple additional thoughts:

1. Several of them may cover some generic tech or market growth, especially in the tech space around open source. I've often had conversations with some just around the growth of Postgres where there's no product, helping support a community project can be generally helpful to them at times.

2. They get a lot of email, as we all do, so I might shy away from sending too much. From my experience it's often easier to follow on twitter and start to engage in conversations at the opportune times.
I'm both disappointed and not all that surprised. I grew up here, and this is the product of something that has been brewing for twenty years.

The citizens here are to blame. The police are just giving the public what it wants. It's a county full of McMansions and extreme paranoia. Lots of upper middle class people terrified that their fragile existence might be upset by [Mexican immigration, terrorism, <insert fear here>].[1] I'm not sure if 9/11 was a turning point per se, but planes crashing into the Pentagon in neighboring Arlington didn't help.

It wasn't always like this. When I was growing up you'd almost never see a Fairfax County cop. Vienna was always a police state, but the small-bit speed-trap kind. Today, there are cops crawling around Tysons (where the biggest danger is rowdy teenagers).

[1] It's notable that this story takes place just across the Potomac from where those parents got in trouble with the police for letting their kids walk home less than a mile from school.
Ability to prefix fields by size. Which in turn means you can't preallocate buffers because you don't know the sizes in advance.
"Successful founders have a healthy vision of what they can control and what they can't, and they try to maneuver their companies into a position to succeed based on the state of the world as they see it at the time. What looks like luck from 30,000 feet was actually the result of a concerted effort day-in and day-out, usually over the course of years, to put themselves in a position to succeed"

...

Isn't calling something a "healthy vision" also a post-hoc explanation of events? I see people putting in "a concerted effort day-in and day-out... to put themselves in a position to succeed" but they generally don't know ahead of time all those factors necessary, so after several years of not succeeding... what did they do wrong?

Each path to 'success' at the level most people think of it, with respect to deca-millionaire levels of wealth - generally doesn't appear to be reproducible at all.
As the name suggests you lose context, you can't "remember" anything you've seen in the token stream. So you can't really parse languages that use indentation. Although you can circumvent that by processing indentation in the lexer or inbetween lexer and parser.
It's unfortunate that the author has chosen to wait with giving access to the source code, insisting that it still needs to be "cleaned up".

I can understand the reasons (in most cases it seems to be vanity), but it would often be best to just give access and clearly mark it 'work in progress'. Open source miracles may happen.
This is such an inconsequential thing to be wasting characters on. Think for a moment about whether or not any of this matters in the slightest. Will you ever think about this event again? As a culture we need to quit coddling ourselves and let trivial things remain trivial. I'm sick of this crap, cut it out.
because it ins't optimised as much mainly because hardware is so much faster and has greater capacity.

Back in the 90s you would still see big chunks of OSs and processor intensive applications written in assembly. But as the processors got more efficient and storage and operating RAM wasn’t a limit, programs could achieve the same results with higher level languages and without much effort to optimise, so developers stopped putting in as much effort into it.
So Mars is an easier place to colonize than Antarctica because of zoning rules?
Yeah, that is deceptive. Facebook is a great example of a company funding FOSS. Redhat is the canonical example. EnterpriseDB is another example. The defining characteristic is the difference between what they're taking from a project and what they're contributing. Most companies prefer a 95-100% one-way relationship in their favor.
On the other hand, it's fairly possible for an engineer to take some time off to build something he believes in. In the worse case, what would have been lost is the salary from that time spent on building something that didn't take off, but since the job market for engineers is good, it's definitely affordable.
It can be both.

One can decry Uber's asshole spirit and questionable business practices while applauding the political change their unpleasant activity is accomplishing.
"Lots of upper middle class people terrified that their fragile existence might be upset by [Mexican immigration, terrorism, <insert fear here>]"

It probably doesn't help that your average Northern Virginia McMansion is owned by a .gov / defense / national security contractor who under a variety of scenarios might see himself on one indictment / target list or another.
Taleb does not accept/understand the criticism, and has posted some more mathiness and crude insults as a "response" would be another interpretation
> there are many here who were youths in the 1970s.

The 70s are definitely before my time.

Going on what I read from those who were adults in the 70s, it seems like the golden era for the anglosphere was the 50s and 60s. By the 1970s the Russians dominated the sport.

> This sounds like there were easily more than three dozen registered weightlifters in WA.

There's a capitation table. 77 registered lifters (~six dozen, I was off by 2x) in the whole of WA in 2007. In 2008 it fell to 68. I can't find more recent numbers, they seem to have stopped publishing the capitation table.

For what it's worth, I competed for five years, during which Crossfit exploded in popularity. They have been a massive shot in the arm for strength sports. It used to be that I'd say I was a weightlifter and people would ask me for tips on bicep curls. Now I have a chance that someone will ask me about my competition total.
You should take a look at the Open Source Policy Center: http://www.ospc.org/
We just released an application for predicting the effects of changes to the tax code.

https://github.com/OpenSourcePolicyCenter/webapp-public
Incidentally, I have a history of starting activist organizations and have a nearly two decade long record of attracting volunteers.

Based on my experience, the following things do not work:

A) Accessing someone's personal details with the intention of asking them why they will contribute to one cause but not another.

B) Asking an open-ended question then attacking answers that do not align with yours.

If you are burned out or just need to vent, email me and we can talk about this. I've been burned out from managing/recruiting volunteers and I likely understand the feeling as well as anyone. Use me if I can be of any assistance.
pron is the author of the GGGP post to the one you replied to.
This hasn't to do with culture or coddling, but with preserving HN as a place for civil discourse. Arguably nothing on an internet forum rises above trivial or "matters in the slightest", but that doesn't mean you get to violate the rules, which you're doing increasingly. Please stop.

We've detached this subthread from its original parent (https://news.ycombinator.com/item?id=9946787) and marked it off topic.
The Heavy Kite
One reason to prefer the Medallion system is that both of the latter two options end up disproportionately impacting low-income people.

The goal is to limit the number of cabs on the road without creating unreasonable barriers to other economic activity using the roadways. This can be done without Medallions, though. Cities could just require a license for taxis, like they do for many other businesses. If that license cheap enough that anyone can afford it (perhaps with a small business loan) but expensive enough to slightly deter entry, then it solves the commons problem without leading to cronyism.
In the face of higher requirements, Uber would likely let anyone drive and then cast the appropriate narrative (in other words, their current gameplan)
Just a thought:)
TV Tube breaking for flintknapping glass:
https://www.youtube.com/watch?v=NFm_94WSiGw
Kotlin's tooling for Java interop should go down in the textbooks as the prime standard for how to ease a programming language built for a run-time to mainstream adoption. It's just phenomenal.

Not that Kotlin is introducing anything like this, but, I wonder if this sets a precedent going forward for popular programming tooling vendors to evolve as the primary distribution point for introducing new programming language research and paradigms to the industry.
I thought the point of the franchise model was that your franchisees, instead of you, keep any surplus money that they generate, giving them much stronger incentives to succeed under your brand. Compare:

1. Local outpost of a chain store that doesn't franchise. The manager, like everyone under him, is paid a salary, and whatever money is left over after paying the store expenses goes back to corporate. This model is illustrated by a scene from The Sopranos (here: https://www.youtube.com/watch?v=Oz0uEzRSWXw ) in which the manager of a Starbucks has to break it to the mafia that he can't pay protection money because he doesn't have any discretionary funding.

2. Local franchise. The owner has no salary. Instead, he keeps whatever money is left over after paying the store expenses. This is likely to have several different benefits: the owner may feel like putting in extra time at his store. If the janitor has an emergency, maybe the McDonald's owner will clean the bathrooms himself. Similarly, the owner may take a different view toward cashiers dipping into the till than a salaried manager would. And the owner's pricing decisions are much more informed, and therefore more likely to be correct, than the pricing decisions corporate would make.

So with the distinction I describe, scaling your brand as a franchise rather than a chain boils down to one difference: in a chain your store operators are salaried and you keep all the extra money, whereas in a franchise you are salaried and your store operators keep the extra money (you might take a percentage, or a flat fee up front, or some combination. I don't know). Paying your store operators that much more under the franchise model means you can expect them to do more difficult and demanding work. It's not all about marketing.
A gas tax effectively exempts vehicles that don't use gasoline (eg. fuel-cell or battery backed electric vehicles).

A daily "vehicle fee" to have a vehicle within the city might solve your problem.
Testing for a page load without JS error is a fine use case, and is an example of what I meant by the "faintest of smoke tests." It's a test that has very little chance to flap, fail, or force you to write hacky commands around Selenium's unreliable API.
Now I understand!! That is a heck of a good question ...
> It's perfectly consistent to think that ...

If you say so.
I'm not sure there is a good way to do a breaking change to a programming language in a good way.

That said, given that python 2.7 is being continued to be maintained - but not with new features - for such a long time, and letting python 3 evolve quite quickly until it's now actually beginning (finally, around 3.5ish) to have features which are really appealing to many users (the async stuff, type hinting, etc), I don't think they've done too badly.

They could have made it quicker to happen, but since python2.7 is still a very good language, and works stably on practially every OS you could want, why try to force a change until people are ready?

People bitch about it [the changeover] a lot - not because it's terrible, but because it's lasting such a long time.

AFAIK, NO mainstream OS is shipping python3 as the main python, or even as a default installed python, yet.

Most big libs work in python3 now.

I reckon in 5 years time python3 should be the default install, with 2.7 as the legacy extra package for people who need it.

One way that could have been helpful (and may even be possible?????) would be a -2k flag for python3 which runs in python2.7 compatibility mode, or something. I dunno.
That's hardly debunking. I would call it further obfuscation and and an appeal to motive. Taleb is a noble truth seeker and the GMO proponents are out to silence him.

Hardly.

Having read his books, he's a bright guy often with compelling ideas. If he would leave them as thought experiments and appeals to common sense honestly I think his arguments would be more effective. His need to formalize everything mathematically, for a reader with a moderately sophisticated mathematical background, ends up undermining his argument.
Cab rides are already tracked, so there would just need to be a way of notifying the drivers of the current fee for taking a fare.
A related question - how you design a database for something as complex as a tax system? Given that tax laws can (and will change), that changing legislation often adds possible combinations to any field, and that there is surely a every "long tail" of unusual circumstances/combinations.

Is this a good use case for a document store, NoSQL database?
This is not what was meant by "low economic value". Selling software itself will become increasingly untenable. What software enables will become increasingly more valuable.

Your metaphor that "you happen to sit on a scarce natural resource" is not apropos. That metaphor still treats software like an economic, rather than a strategic advantage.

If you feel like you're being exploited like someone in a sweat labor shop, then you're obviously not leveraging this changing reality to your advantage. You're probably still working at a place that calls whatever you do "IT". It's time to leave that burning ship. You're better off looking for a startup that is writing a SAAS that competes with whatever your current employer is doing. Your work (assuming it is good) will at least be respected by your peers and the leadership.

If software has not eaten the space that your employer occupies, it will soon.
40 minutes from clicking a button to deploy is actually abysmal, especially when you need to worry about things like rollbacks, or deploying at the end of the day, or releasing quick hotfixes to users. In modern build processes, even 10 minutes seems too long.
> The preferred approach for creating a "Kotlin wrapper" if one is necessary is simply adding extension methods to the Java class.

You nailed it. I think that this is ultimately something that JetBrains must stress in their documentation and have extensive examples on how to go about doing this if Kotlin is to get much more widespread adoption.
FWIW Fairfax County, VA is about as rich, white, and suburban place that you can find in the US.
Does anyone here take Krugman seriously?
The view from the other side is that people can't get an unfair edge anymore by not paying taxes. Gang criminality can be fought of more easily simply because it will harder for them to earn money illegally. No more underpaid illegal workers in the building industry leading to cut wages for legitimate workers.
Technology-wise, no. You are only giving up small efficiency gains in power usage and perhaps calculations per clock cycle. But knowing that it's a 400 MHz chip you probably weren't expecting the power of a modern desktop.

But in terms of actual part numbers, yes. If you throw an old IC on your board because you could get it cheaper than a more modern part, you are risking the manufacturer EOL (end-of-life) that part sooner than you'd want. The manufacturer may have a replacement that is instruction set compatible on the software side and pin compatible on the hardware side, but you are running a very real risk of having to redesign your boards and recode a bunch of software when you can't get that chip any more.

But some parts have been around forever and will continue to be around forever. So the designer has to consider for themselves if the old part is popular enough to continue being manufactured. I would have no problem dropping a 555 timer in a circuit, even though it's been around for decades. But I might want to ask the manufacturer about their lifecycle plans for a CPU, considering how fast things change in the industry.
I don't think this applies to you. The main message of the article/blog is that 1) Humans can't keep track of states well and 2) Machines can't create temporary states efficiently and since you're already keeping track of states manually and working at the low enough level where you're maintaining your temporary states, you don't apply.
Rwasa – A high-performance web server in x86_64 assembly
Because it saves lives.
Windows Phone has a talented team of designers, an innovative and easy to use UI, and backing from a major corporation with practically unlimited funds. It also has a tiny sliver of market share. Jolla has great designers, compatibility with Android apps, and killer hardware. Their marketshare is even smaller. Realistically, right now Android and iOS have all the mindshare and there is not a chance in hell that a me-too mobile OS is going to get any meaningful traction.
If wishing made it so.

The institution of the police is intrinsically corrupt and unbalanced. This has nothing to do with the fact that your neighbor or your Uncle Joe is a police officer and seems like a perfectly nice person, and joined for all the right reasons, their job is not to keep you safe, it is to keep you under control. All of us, collectively.

I know it's a big complex discussion to have about, "if we didn't have the police, what would blah blah", but instead of recoiling from fear, it's important to address the facts.
Jailbreak or Root Detection: A False Sense of Security, Part I
Creating SQL Log in Ruby on Rails Application
Not being able to get a "high paying job" is not really the problem.

The problem is that the "market" has so far failed to distribute enough wealth to satisfy everyone's needs and for most of those that you can argue that market has been able to satisfy, they are essentially slaves to that market, with little to no mobility.
Chauvinistic remarks are not welcome on Hacker News.
> .. which clearly doesn't provide long term value.

The police are not interested in long term value. They want action, they want to play with their toys. It is simply not more complex than that.
I woudln't say 'prefer' but it's a heavy influence on your view of the world. I think imperative programming fit our biological needs and reflex. We want to see results and effects. Functional programmers are up high in the world of platonic ideals. They delay effects by composing abstract logics and then ask for a result. No newbie wanna suffer that, but no newb want to suffer mutable state bug hunts either.. the learning excitement just shadow this issue for a while, and I bet somewhere deep inside, we're all mathematician in the closet.
Tabbles is an option if you use windows.
With the popularity of the RasPi, everyone is using the name. This product has specifically called out a pin-compatible header with the RasPi, so I think putting Pi in the name is okay. They are drawing attention to the fact that it can use many of the same accessories, not necessarily just riding the coattails of a recognizable name.
We also could use a way to simulate how the various stock and commodity markets will perform in the future.

This is just the same problem, looked at from a different angle.
I wholeheartedly disagree with that. Alexandria, maybe. But Fairfax County is pretty large: it encompasses Annandale, Springfield, and Centreville. Springfield has a heavy latino population, and Centreville and Annandale have like a 25% Asian population. Annandale even has a section called "Little Korea" for pete's sake.

To be fair, though, Alexandria is not fair from Arlington, and about the only people who can afford to live in either of them these days are trust fund babies.
The import certificate scheme would violate WTO rules regarding free-trade. You can't just levy what is essentially a tariff on imports after you have committed to free trade as a condition to enter foreign markets.
> Clojure devs don't seem to care about performance.

Ridiculous. Clojure devs care a lot about performance. We just care more about correctness.
Excerpt:

Reality: Jailbreak/Rooting can be good for security

Since the user essentially needs to exploit their device to gain root access, why would they want to do this? In practice, Bluebox Labs has seen a variety of legitimate, non-nefarious reasons to jailbreak or root devices. Some of these include, but are not limited to:

Unlock the device from the carrier it is bound to
Either their contract is up, or they bought a carrier-locked phone
on the internet and they wish to move it to a different network provider
Remove bloatware that was pre-installed on the device
Android devices commonly come with a countless number of
manufacturer/carrier applications and add-ons that users see as bloatware
that take up memory and slow-down performance.
Patch major vulnerabilities that have not been patched yet by the vendor
Patching the vulnerability that made the rooting or jailbreaking possible
blocks malicious apps or users from exploiting it
Enhance the security of their device
Manage the root certificates
Manage the permissions granted to apps
Modify the look and feel of the software
Load a 3rd party ROM like Cyanogen on their device for enhanced functionality
Update a device that no longer receives updates from the manufacturer
(a common occurrence on Android and older iOS versions and devices)
HTC One Mini and One Mini 2 did not receive the update to Android Lollipop
iPhone 4 did not receive the update for iOS 8
> A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works and cannot be patched up to make it work. You have to start over, beginning with a working simple system. - John Gall

Mr Gall wrote a book about complex systems and how they fail back in the 70's and most of it (from what I recall it's been a while since I read it) applies as much now as it did then, it's a very good read.
weak ass downvote. It is not perfectly consistent, nor logical, to say that violent actions toward people by other people in favor of particular people don't assign intrinsic value to all of those people.

But it is something a lot of people tell themselves because it makes it easy to sleep perfectly consistently, every night.