jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I recently got this question for an engineering manager position. I got it done in an hour and 20 minute with all test cases presented passing. But I don't particularly think this is a good question for senior level candidates since implementing is mostly copy pasting existing functions and renaming them and adding a new memcached VERB.
I've heard Samsung gives new VP level heads of divisions a year to be a success, or they are canned. So if a division isn't a success when the leader comes in, a year probably isn't enough in high technology, so a VP/director churn happens.

Is this true? That model would NOT work for semiconductors, where each fab generation is a bit of a hit or miss, but the game requires that you gamble.
I just ordered a Lyft the other day and was talking to the driver on the way to the airport, he said a common route he drives is from Bozeman (MT) to Big Sky (for the ski tourists), the price is over 150$ on Lyft/Uber, and he ends up getting about 60-70$ from it max.

This type of cut, plus the massive false advertising that Uber/Lyft does via their apps in smaller towns, like telling you that your ride will be booked soon when there are literally no drivers available, have led to me just using prebooked car services when I can now. It costs a bit more, but they are 100% reliable in my experiences, more money is going directly to the drivers, and it supports the local economy.
I think both are important. One solution is to give credit for both the work (i.e. the process with which the student attempts to solve the problem) and the correct answer. This is because in real life the correct answer matters, and we should encourage students to be careful with their work to make sure it is correct. I would also encourage students to check their answer if it is simple (i.e. substitute 3 for x and see if the equation holds).
What is especially slow on some hardware like the original PinePhone is that youtube-dl and yt-dlp are actually executable that extract themselves at runtime. Python itself is quite fast to start.
The compiler and standard library are allowed to use whatever unstable features they want. So really, things like TrustedLen can be seen as implementation details that nightly programs can tap into, provided they're not worried about building on all future versions of the compiler.
Disagree. I believe that I can make a fair judgement of the quality of a comment by simply reading it. I don't do TL;DR on comments that I care about, so using scores as a proxy for quality doesn't mean much for me.
This is a neat idea and I commend you for the effort this has taken and will continue to take. I have some questions for you about how you perceive people using the service:

How do you bridge the code-to-voice gap; that is, someone calling in with a question about coding and you have to describe something that requires a lot of code syntax. Do you pass that off to some sort of e-mail type discussion or screen-sharing process, anything like that?

This seems like it could be a great consulting-style opportunity, but also an awesome way to get new developers over the stumbling blocks they experience commonly when picking up new languages.

edit
My curiosity on this stems from past experience, doing phone-based coding or tech support to family or friends - it has always been a major challenge for me to verbally describe some more complex tasks, and 9 times out of 10 I find myself saying, "you know what - I'll just swing by and show you, it'll be a lot easier and faster for the both of us". (I am not a very good auditory learner/processor - I need tactile or visual assistance, and teach others better using the same methods.)
I think every voter needs to know where their vote lies, when it's delegated. Someone will only know where the vote of the person they delegated their vote to, currently lies. That is, Bob has delegated to Alice, Alice might have delegated to somebody and so on. Bob sees that his vote is on Yes, and so knows that Alice's vote is on Yes. Alice knows whether she voted for Yes or if she has delegated her vote.

See limmeau's comment here, it turns out that the system exists and is called Liquid Democracy: http://news.ycombinator.com/item?id=2485452
This is just speculation, but I really doubt Netflix wanted the PSN sign-in requirement. The prompt that appeared the first time I had to log in seemed a little tainted with contempt for the matter.
It better be free so long as they're not picking up the damn phone. :)
Seems like you have several independent problems there. First, issues of timezone, language, and similar. Second, technical issues of long-distance and connectivity. You can pretty trivially solve the second set of issues with VoIP and other means; however, that doesn't address the non-technical problem. To address that one, you might consider making it easier to connect with people in the same general locale, which would also solve the second problem.
We'll build in the typical deal site affiliate stuff, do sponsored listings (make them float to the top) and let people sell experiences a la vayable.com or skyara.com.
This may be killer, as the general dynamic of Facebook enthusiasts are perhaps the exact demographic for such a service.
It'd be really interesting to see how many of their users are paying subscribers. Most of the heavy Dropbox users I know do have pro accounts, and for me, it's the best spent SaaS money I've every spent!
If you are using Windows:
1. Download Visual Studio Express Edition
2. Google for C# tutorials for beginners
3. Follow it.

If you are using Linux:
1. Google for Python tutorial for beginners
2. Follow it.

Learn some web programming by following tutorials on
w3schools. You should be able to create simple static web page and host
it on localhost.

Why C# and Python? Well both are widely used and are easy to grasp.

Once you grasp basic concepts like
1. if...else..
2. for
3. while
4. case
5. What are libraries?
7. What is difference between
compilation and interpretation?
8. What is the difference between editor, IDE and compiler?

the force will guide you.

And if at any point you get stuck you can always ask question at StackOverflow.com

Then, you can come back and "Ask HN" how do I become better programmer?

Best of luck!
Hi gary4gar, Brendan Eich is working on the next version and parts of it will be inspired by CoffeeScript. That said, you will probably be well off learning all three!
for pure curiosity... isn't bitcoin like a pyramid scheme? 25% of the money is with the early adopters and the first individuals have big amounts compared to people that came 1year after.
Further to this, a lot of the problems one has with the DOM and browser differences are a non issue on the server where you tend to work with much more mature engines, such as Rhino or V8.

Our only minor gripe at Akshell (http://www.akshell.com), which incidentally the original poster should check out, is the hype around asynchronous I/O on the server.

It appears to be a case of premature optimization and tends to throw off new developers just starting out with the language. Since ease of development is our top priority, Akshell defaults to a synchronous model.
https://devcenter.heroku.com/articles/usage-and-billing#750-...
Just to share some industry perspective here, I heard that fewer than 15% of venture backed startups are still operating after 3 years (source: http://twitter.com/dharmesh/status/14067731416 <-- HBR hearsay). Presumably a significant majority of the survivors will never see a founder-meaningful exit and are in the "walking dead" category (as VCs call it).

Even if 1 in 3 see a meaningful exit, that puts us at a 5% win rate (I'm guessing it's more like 1 in 5).

I don't know if you'd disagree, but I'd say that venture-backed startups have a better shot at meaningful liquidity than their bootstrapped kin (given how many people have a vested interest in it and given that VC is a quality filter to SOME degree).

Anyhoo, all that tells me that 1% is a heckuva lot more correct than 10-40% (running the numbers).

I'm with the parent of your comment-- whenever you have the chance to nudge that 1% northward, you should take it.
Civilization is built upon both familial / social bonds and legal rules. Neither system would work well on its own.
> an explanation of what any of the variables mean

As I recall, that's pretty much Electricity & Magnetism 2 for physics undergrads. E.g. https://www.colorado.edu/sei/departments/physics/activities/...
This project is very cool. But I wish that the person who wrote this article would have done a bit more research before writing this article

"Copyleft hardware is not nearly as widespread as copyleft software; the Qi Hardware cites just four other projects that follow the same approach: the Elphel digital camera, Pandora game console, the Milkymist One visual-effects video synthesizer, and the Arduino microcontroller. The Arduino's success in particular is an example of what the team behind the Ben hopes to see develop around its NanoNote project."

Make has a yearly open source hardware list that has -dozens- of true open source hardware projects.

http://blog.makezine.com/archive/2009/12/open_source_hardwar...

There's a lot of us! Really! :)
As engineers we should be looking at root cause, not fixing the superficial symptoms. The root cause here is that we don't have 100% control over the decisions that we make. The way to gain that control is not via willpower or superdiscipline, but rather through meditation which trains our brains to recognize the moment where we are about to fly off to Facebook/HN/Twitter. Mindfulness is the key word, see http://www.youtube.com/watch?v=3nwwKbM_vJc Its almost embarrassing how much that video changed my perception of my decisionmaking.
There is a surprisingly good explanation of cryptocurrency in the link, dare I say better than Wikipedia even. I may have a new link to send non-computer people when they ask me what Bitcoin is.

Thanks justice.gov!
Billy Collins.
Having come from Etsy and witnessed the success of this type of thinking first hand, I think you missed the point of the article and I think you are using a tiny engineering organization (4 people) in your thinking, instead of a medium to large one (120+ engineers).

The problem isn't "we are starting a new codebase with 4 engineers, are we qualified to choose the right technology?" it's "we are solving a new problem, within a massive org/codebase, that could probably be solved more directly with a different set of technologies than the existing ones the rest of the company is using. Is that worth the overhead?" and the answer is almost always no. Ie: is local optimization worth the overhead?

Local optimization is extremely tempting no matter who you are, where you are. It's always easy to reach a point of frustration and come to the line of reasoning of "I don't get why we are wasting so much time to ship this product using the 'old' stuff when we could just use 'newstuff' and get it out the door in the next week." This happens to engineers of all levels, especially in a continuous deployment, "Just Ship" culture. The point of the article is that local optimization gives you this tiny boost in the beginning for a long term cost that eventually moves the organization is a direction of shipping less. It's not that innovative technologies are bad.

> But if you know what you're doing, you choose good technologies

No, if you know what you are doing you make good organizational decisions. It matters less what technology you use than that the entire organization uses the same technology. Etsy has a great engineering team and yet the entire site is written in PHP. I don't think there is a single engineer working at Etsy who thinks PHP is the best language out there, but the decision to be made at the time was "there is a site using PHP, some Python, some Ruby etc., how do we make this easier to work on?" Of those three python and ruby are almost universally thought of as better languages than PHP, but in this case the correct decision was picking a worse technology because more of the site was written in it, the existing infrastructure supported it more completely and so as an organization and a business we could get back to shipping products more quickly by all agreeing to use PHP. Etsy certainly does not think of its engineers as monkeys, quite the opposite.
Does anyone have experience with alternative services that provide this? CrowdFlower used to offer image moderation (http://techcrunch.com/2012/06/21/crowdflower-rtfm-2-0/) but they killed the product 18 months ago.

I realize you can build this with Mechanical Turk, etc, but am specifically interested in ones that offer out-of-box nudity detection.
It will be interesting to see how millennials preferences change once they have kids. I lived for a few years in a large city without a car, and loved it. However, once you have kids, things change. Kids often have lots of accessories that you don't want to be dragging around with you everywhere (stroller, diaper bag, toys, books, etc). A car is a great place to store those. Kids also result in more multi-stop trips that aren't necessarily on the Metro lines.

I think millennials probably won't adopt their parents' car-based solutions to these problems, but what they do choose will be different than what they're choosing now.
This is more or less how Copenhagen is built. It's most famous for the high degree of biking in the city (~50% of people living in the city proper commute by bike), but if you take the metro area as a whole, it's surprisingly sprawling. Of 1.5m total people, only about 500k live in the city, and the other 1m live in the suburbs, which spread out to a surprisingly large radius considering that it's not that large of a population (the outer suburbs are about 40-50km from downtown).

However that quite geographically large sprawl is mostly channeled along five main corridors [1], with a fairly fast commuter-rail system serving as the backbone of each corridor. That allows having large expanses of single-family homes, but still good transit access.

[1] https://en.wikipedia.org/wiki/Finger_Plan
Induced, convinced... but without a law "compelled?"
here’s a toast to Alan Turing
born in harsher, darker times
who thought outside the container
and loved outside the lines
and so the code-breaker was broken
and we’re sorry
yes now the s-word has been spoken
the official conscience woken
– very carefully scripted but at least it’s not encrypted –
and the story does suggest
a part 2 to the Turing Test:
1. can machines behave like humans?
2. can we?”

― Matt Harvey
But where's the competitive ecosystem in search? Innovation in search is restricted to few hundred people in Mountain View. And that's a tragedy.

What Google did for innovation in smartphone\tablet\browser they have gone and done the opposite for search.
A great idea and looks like a good companion to Kickstarter.

However the problem that this site (and Kickstarter) don't seem to solve is the problem of awareness generation/ initial marketing. For many businesses this is the hardest first problem to crack, so if Profounder provided techniques and assistance for this, it would be a lot more helpful.

The site seems to be premised on the business already having a large audience ("let your community help") - if this is the case I think its relatively easy to turn such an audience into a viable business - the funding in these cases should be straightforward.
I just use

git add -p

That way I can code at my leisure and worry less about the bookkeeping until I am ready to publish.
I think the fact our housing bubble hasn't popped yet goes a long way to explaining why our banks look to be in such great shape. I'm not sure all the patting ourselves on the back is necessarily warranted.

For example, the leverage of the Commonwealth Bank of Australia is about 19:1, where most of their assets are residential mortgages :

http://www.intelligentinvestor.com.au/articles/Commonwealth-...

I find a little scary if charts of house prices such as the following are correct:

http://www.debtdeflation.com/blogs/wp-content/uploads/2009/0...
> I'll give you that but numerous other reports show poor outcomes for other general health indicators (teen pregnancy rates, obesity rates, suicide rates etc..)

None of those things are affected much by health care. (Birth control is free in the US It's readily available at the local county hospital and other places.)

They do, however, affect health care spending, lifespan, etc.
Well, hopefully Wikileaks has better document security than the US, otherwise whoever really wants to know the identity of the spies/informants probably already does.
Comcast's site mentioned self-installation, so I went out and bought a DOCSIS 3 modem that was on their supported list, plugged it in, and it told me via HTTP that it had a good signal. Then when I tried to sign up they explained to me that self-installation was not permitted for new users, and rather than just light it up, I would have to wait two weeks and stay home from work so some flunky could show up and "install" a simple device which I already knew to be working. Pissed me off so much I went with DSL, which was live via self-install a few days later.
When I saw this article, I thought it said "Monty Python," not "Modern Python." Sad.

P.S. The parrot is not dead.
I've been wearing mine for about four months now, on and off. The hardest part is when I'm in a hurry, because even with practice they still take longer to put on than just slipping on a pair of Blundstones.

I live in NYC, so I walk constantly, and my feet and legs get far less tired with the Vibrams.

I was worried about getting a lot of stares and comments at first, but hardly anyone even notices (I wear the black KSOs).

I wish there were a way to wear them in the wet winter months, though!
hmm.. this is interesting. Someone once quoted that India is the only ex-Commonwealth country (including Canada AND the UK itself) that has the most iron clad constitutional guarantees on free speech.

I'm not sure how accurate that is though - India has on occasion banned books (like Salman Rushdie's work) to prevent potential civil unrest. But there are similar precedents in the USA.
Yes, that's a comment, not a stub, but I get it now. :)
Considering SQLite is only 15 years old and implements a rigorous specification instead of an evolving set of product requirements, you're just over halfway to what he talked about.
Agreed. A main selling point of OOP is that it makes it easier to reason about the code by providing a coherent hierarchy. It's certainly possible to create a custom system of organization for procedural code, but it will by definition be ad hoc and harder for new team members to get up to speed with.
The title got changed, the original title wasn't.
Recent interview: https://www.youtube.com/watch?v=iwcYp-XT7UI&list=PLrAXtmErZg...
Goes after one of the (potential the) most common patterns in nature and offers a new take.

“A change of perspective is worth 80 IQ points”
Whoa, you can't post like this or https://news.ycombinator.com/item?id=26138561 here.

We've warned you several times before. If you keep posting flamewar comments to HN we will have to ban you. I don't want to ban you, so please review https://news.ycombinator.com/newsguidelines.html and use HN in the intended spirit—thoughtful, curious conversation—from now on.

For more of the intended spirit, here's an extra guideline on my list that hasn't made the official list yet: If you're hot under the collar, please cool down before posting.
Yes. The very same. He does coding streams (sometimes comma related work) on his Twitch channel (twitch.tv/georgehotz). You can find the archive here (https://www.youtube.com/channel/UCwgKmJM4ZJQRJ-U5NjvR2dg)
Their business is not only taken less capital, but they have also just become profitable even with selling hardware which I find that impressive, unlike their other competitors who have either shutdown or have been acquired. As for their autopilot system, they are self-hosting their deep learning training systems (Not in the cloud but in-house) and their competition is literally off road and non-existent (expect for Tesla).

The consumer report on comma.ai is also very interesting and outstanding: [0]

One of the rare startups I've seen that are able to do this with less funding and still profitable with hardware. That's how you do it. Well done.

EDIT: So the above is not true about comma.ai? As for the report, it shows the overall results of the design of assisted driving systems and the test results for comma.ai overall is that it is ranked 1st. For a startup with less capital than its competition it is very rare to see this especially with its own hardware.

[0] https://data.consumerreports.org/wp-content/uploads/2020/11/...
Sure, but the structure and the land are tightly bound. I can't buy or sell a structure without also buying or selling the land that it sits on, so this is kind of irrelevant.
The dramatic lowering of the number of people living in poverty in China is one of the world's greatest recent achievements. The rise of China has delivered a lot to the world, and even more to China. It's not without problems, but those in turn are solveable in time.
The two obvious "ugh" factors here are 1. it's reliant on a "sufficiently complex" user password, and 2. it's reliant on DNS, and only recommends everyone in the DAME system use DNSSEC. For both these reasons, nobody should depend on this system to transmit classified information.

In general, mail has always been a highly centralized distributed system. You would think someone on the darknet would want to decentralize this a bit more, and you know, make it harder to attack than GMail. (This is technically easier to attack than GMail itself) I don't understand why people today don't implement one-time pads into their cryptosystems. It's true that it's probably the most problematic to implement, but it's also the most secure (theoretically).

Let's be frank here: the NSA does not really give a crap about your data, and will probably never look at it, because your data is mainly pictures of cats. But on the off-chance that you are communicating with someone who might be a threat to national security, don't trust the safety of your transmission to protocols that can be breached, 3rd parties who can be issued NSLs, and systems you don't administer. A properly implemented one-time pad between each communicant will stymy even the biggest black ops budget, to the point where your primary concern will be your physical safety and not your password strength.
The operation manual of the original IBM PC from 1981 is a very good example.

Personal plug: I wrote an article about writing specs a while back. I use the IBM PC spec as an example, so you might find my article useful.

https://iskender.ee/2020/06/18/EE-Specs.html
This is a nice bit of marketing but... is it real? There's no actual information on the page, no links to any other pages/sites, nowhere to buy it, and no mention of "coming soon" or any sort of expected release date.
Most people I know have deactivated their account. I just use messenger.
There is no war. VS Code created the language server protocol, which works great inside Emacs. VS Code's existence has made Emacs even better.

If it were a war, they'd just DDoS gnu.org or something, not make Emacs better.
Modals kept getting stuck, couldn't click out of them and then the app would freeze.
We're open to remote depending on the role. Naturally some roles can't be remote due to the nature of our work. Please reach out to me at david@optimal.ag.
No discussion about this subject can be complete without mentioning ActiveX. It's the extreme endpoint of this path: a signed ActiveX control had full access not only to hardware capabilities, but also software capabilities. That much access is nowadays widely considered as having been a mistake.
Suck it Apple. The M1 is totally incapable of delivering this kind of heat regardless of workload.

(Apologies for injecting humor on what is clearly an otherwise serious posting)