jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Unfortunately we don't make it public.

The core challenge isn't the problem itself, but that we require them to make a rails app of it - including an ability to save the information put in, and add comments.

None of it is a particular challenge, but it could be tedious. There's definitely some minimal amount of integration involved. What I find interesting is that when I ask people I know and regard as good programmers, they balk at the amount of time the exercise might take.

When I interview the bootcamp programmers, they always say they can get it done in a day, no problem. And usually don't finish.
Why that exception?
> On one side, there are people who are concerned with whether or not a feature is desirable.

The thing is this: You can add something which, in isolation, seems desirable and positive -- but in the greater picture, is a net negative due to the complexity it adds.

People might say that those who do not like the pattern matching syntax are not obliged to use it. But when developing code in longer-running projects, far more code is read than written. Adding syntax, especially with complex edge cases, especially from languages which use concepts that are at the core quite alien to Pythons main concepts, adds a burden which is difficult to justify.
Yeah this is a poor adaptation of unix software to macOS. Those tools ought to have their config files either moved to or symlinked into ~/Library/Preferences with non-dot-prefixed names in order to make sense on the Mac. It's a shame even Apple's ports don't do this.
The point is these things are wrong sold. The speed of writing code like you have already noted is already is not biggest bottleneck in software development.

However what these kind of books/posts fail to sell is as much as software development is about building code to automate things, at some point in time one wonders if software development itself can be automated to a very large extent. The answer is writing code is a way of hand writing structured text. Therefore code should be generated like the very way we generate XMLs or JSONs. Compilers are a tool does that for a fixed set of syntactical things.

Now is it possible to have some kind of means, methods and techniques for general code editing/generation. Note this has nothing writing code faster. But this has to do with human labor required in achieving a thing. Eg. How many steps does it take to delete 10 lines of code with mouse vs typing 10dd in vim? Scale this problem for 500 lines. And see how deleting with a mouse requires one to execute as series of steps scrolling, selecting, hitting delete vs 100dd. Now how many takes does it take to delete 1000 lines lines? Say selecting 100 lines at a time, scrolling, deleting. Basically 30 steps vs 1 step(1000dd) in vim. Notice how adding more lines to deleting in a notepad'ish editors increases complexity of deletion O(n) vs 0(1) in vim(ndd)

See where this is going?

Now take this one more example. Say you have three tabs. You have to copy 3 lines from the first tab, delete the current line in the next 2 tabs, and paste the copied lines from the first tab. Say you have to do this for 1000 times. Notice how you have to do 1 copy operation in first, shift across 3 tabs one at a time, while deleting lines and pasting them. If you had to do this, just imagine mental and physical labor into this. Now let me introduce you to this cool little thing in vim/emacs called a keyboard macro. You can tell the editor record these key strokes and play it for me n times. Congratulations now you just went K x O(n) to O(1).

Let me make this even more attractive for you.

Let's say for every line of editing in first tab, you had to make 3 edits in second tab, and for every 1 edit in the second, you had to make 10 in the third. Human's were not born for to do this kind of sisyphean tasks. We intelligent species were born to arrive at O(1) from every O(n^k) tasks life has to offer us.

This is just one part. But there are many other examples like this. For example in Apache Pig, its common to write projections like $0 AS apple, $1 AS banana, $2 AS cherry... see no human should hand write code like this. It's not about speed. It's about wasted human labor. If there's structure to something it should generated.

If there's structure to not just code but anything we do it must be automated.

What needs to be taught is to see wasted effort and show us how to save it. Mouse or no Mouse, that's irrelevant.

Every human should refuse to do work, that can be done with a computer.
Then they'll invent one with triple tanks ;)
I do know what you mean - there's a standard keyboard layout, it works well, there are plenty of keyboards using it. But then, I do care about the action of my keys - it's a small detail but I spend all day in front of a keyboard - and so I have a >£100 Das Keyboard. It's all a question of degrees.

Maybe also there's a component of 'expression of self'. We are individuals with individual personalities. As coders our keyboard is important so it's a more productive medium than most to express our individual tastes.
To take one of your complaints:

> Why do my lines of code need to fit on a punched card invented decades before the language was invented?

Keeping lines short helps keep information density high, allows you to fit more views of the code on screen without wrapping, and encourages use of intermediary variables to keep complexity per line low.

This isn't a Python issue. Any decent style guide will have a maximum line length.

> Python is a fractal of closed-mindedness

I don't know what you mean by a "fractal" of closed-mindedness, but you seem very certain of your opinions and not very open-minded.
Nah, if it's a historically or culturally significant issue, I'm definitely linking to it so people can read about it. Just add a warning not to post meaningless garbage in the ticket's thread, if you're that concerned about it.
Her sex and nationality does not make it less of a problem that such a product is a bad idea because of the lasting and irreparable pollution it will cause. You don't need to have solved a "real-world" problem, which I'm sure many here do every day, to see that. Please be more respectful. There is a need for a solution for the plastic waste, but this ain't it. Maybe take a look at how other countries solve it or are not solving it. Burning with adequate filtering seems to be the best candidate for it, besides not producing it in the first place.
TV, emailing his supporters, texting them, Parler, etc.
What's scary about it? Companies are under no obligation to provide a platform for you to say anything.
At this point I'm not sure they're capable of feeling embarrassed or stupid. They get all riled up and start acting out, but it doesn't look like insulting and embarrassing them is working...
Facebook messenger and Google hangouts actually had federation. So even that doesn't mean a lot.

However I'd also promote federation-first services like Matrix. Only issue with Matrix is the e2e being so clumsy IMO
I would expect that if growth trends are suppressed by the tighter lockdown, that would be the best case scenario. That’s not the most likely scenario though, and you need to prepare for the worst case scenario. So that’s what clinical leaders need to focus on, right?
Length of time doing something doesn't imply mastery. It can contribute to mastery, but only if you're always pushing your skill to the next level I think.

For example: I know people who have been skateboarding for decades and are just barely OK at it. How you practice matters.
This is no more a removal of free speech than a demand to print someone's opinion on the front page of NYT. Twitter is a private platform. Feel free to use any other platform.
87. Charlotte’s Web – E.B. White
88. The Five People You Meet In Heaven – Mitch Albom
Unfortunately, it doesn't load on my Pre plus. The loading bar apparently can't further than half the way.
91. Heart of Darkness – Joseph Conrad
92. The Little Prince – Antoine De Saint-Exupery
93. The Wasp Factory – Iain Banks
Shouldn't things like numbering be part of the UA, then the user can decide (directly or give the job to a plugin).

Reddit could then offer "use our text-editor assistant in your browser" to those who aren't using one.

The text box would have to define what it allowed as input: alnum, plaintext, markdown, etc., and the appropriate plugin would activate?
Do you mean the High-Tech Employee Antitrust Litigation? https://en.m.wikipedia.org/wiki/High-Tech_Employee_Antitrust...
Similar things have happened to me. I've gotten pretty good at ditching out on the events stuff and eventually leaving after it gets bad.

My birthday is mine, you don't get to use it just because I have to give it to you for tax reasons. I don't want you cake pops. I want to do work. This has lead to making things worse and I've had segments of people in companies target me for my unwillingness to mess with that stuff.

I have left jobs over things that read like this. I never thought about suing. It would just be such a huge pain and I'd already be looking for a new job. If I end up in a space where this happens again, I'll have my attorney draft a strongly worded letter or maybe add some lines to my employee agreement saying that they don't own my likeness so I'm not going to appear in promotional materials, you can't tell anyone my birthday, and I don't want any weird awards or whatever. They'll sign it... forget... and then when I have to quit it'll make the lawsuit easier.
Seeing where the airline operates and since I'm not in US, I won't have a chance to boycott the airline. However, if I ever get a chance to travel to/out of US(which is bound to happen), Jet Blue will not be my airline of choice.

If my friends happen to have to use an airline, I will let them know what I've heard of the airline, and suggest them to find an alternative. That's pretty much it. It's not much, but I won't forget the name Jet Blue.
If my breaks need replacing or my A/C goes out, I'm not going to use my car insurance to pay for that, because that would make the insurance really expensive, and create a similar price insensitivity. I don't see how that's different than getting knee surgery or whatever.

OTOH if I get in an accident where I'm not at fault (let's assume the other person didn't have insurance), I'll use my insurance to fix the car, because it's a sudden emergency with a high cost. I don't see how that's different than a heart attack or whatever.

I don't see why people conflate all medical care into one group. Routine care and emergency care are clearly separate.
For Emacs your span has to be wide enough.
Umm, you definitely can explain your way on to a flight.

When a TSA agent asks if they can search your bag, saying "yes" has always lead to me catching my flight, and I'm pretty sure saying "Let me talk to my lawyer" would lead to me missing my flight. Also when they asked if there was any reason you might have set off the bomb detectors, answering with a valid reason can definitely lead to you catching your flight.

However, as soon as its clear you're going to miss your flight, I would agree its the time to stop talking.
Bill Gates's comment makes sense to me. Apple already achieved the improbable. It seems like a natural time to refocus. They could take steps to make the mobile platforms easier to develop for. They've built an empire, and holding it for the long term requires building relationships and long-term thinking.

The rapid rise of Android strikes me as a significant long-term threat. Apple created a new product category and then allowed a competitor to sweep up the majority of the market, at least in terms of volume. Android is still probably an inferior product, but there are a lot of companies behind it. Android also makes life somewhat easier for developers. I think Apple ought to take this very seriously.
I think the problem being highlighted here is that AT&T (and many company's support) is becoming out of line with what we're expecting from good customer support these days.

While I am not yet a customer, from my understanding if you call/contact Zappos for example, their customer service reps fix the problem. They don't run through a script, and they don't put you off onto another department that will have you troubleshoot the same steps again.

Yes, I realize there is a difference between network troubleshooting and shoes, but having enabled and well trained reps who are the first to receive the calls and are able to actually fix most scenarios is important these days. Of course these things come at a cost and many larger/older companies are not able to come to grips with that type of a change.
Yep, was going to post about that too (progrium rocks), but looks like the site the project used for its redirects is down http://www.downforeveryoneorjustme.com/localtunnel.com
Agreed. I think this will become more apparent once the functionality of the site is fleshed-out. The goal is to get people's asses in (the right) cars, not just tool around with the site.
At first I thought this was a stupid idea, but then I keep checking to see if anyone had changed the image. Then I was curious and wanted to know the answers to the questions I posted. Maybe in the future =)
The majority of single payer systems don't outlaw private care. There are private hospitals in the UK for example.

Single payer is about removing insurance companies from the process (saving money), standardising care (saving money, improving outcomes), collective bargaining for drugs (saving money), providing a base level of care to all (saving money and improving QOL). But it doesn't usually forbid spending money on private care.

As a result single payer results in similar outcomes for vastly less public money, and almost zero private money spent on healthcare.
What about the people who cannot pay their medical bills? Or who cannot get medical care due to the cost? They're winning too?
Or put a test at the end.
> The Python package `shortuuid` makes working with UUIDs a little easier by encoding them as strings:

This. In my opinion the only issue with UUIDs is that their standard textual representation can be very verbose and cumbersome in some scenarios.

A single ID takes over around 40 string characters in a line. That's half the width of a default terminal's width.

Thus the solution is obviously to use other textual representations. Instead of base16 then let's ramp up the base to shorten up the text dump, and while we are at it let's pick a readable format.
This ^

It's a depressing story, anyone who thinks this is a positive story is ignoring the whole context.
A good question would be what can be done to fix healthcare in the US?

My understanding is that most voters don't support universal healthcare. IIRC even Obamacare was labeled as controversial. Current model costs way more, the model is clearly broken, why there is no pressure to fix it?

ps. I don't want to get political or anything by mentioning Obamacare. I'm genuinely curious because the problems of the current healthcare system are very well known and discussed for at least 20 years.
Android is quite clear why NDK exists:

https://developer.android.com/ndk/guides

> Squeeze extra performance out of a device to achieve low latency or run computationally intensive applications, such as games or physics simulations.

> Reuse your own or other developers' C or C++ libraries.

Writing POSIX CLI applications is not a goal.

ISO C and ISO C++, alongside OpenGL ES, Vulkan and OpenSL are more than enough to have something like Qt running.
I believe this is hell. Hours of your life wasted in traffic because the rest of the population believes the same.

I ran out of battery power on camera in Barcelona. I got off the tour bus and was at my hotel room within 10 minutes to plug it in. Then back on the tour of the city really quickly due to the awesome transport systems.

My city, Cape Town, where public transport is really bad it would have taken me an hour or more depending on the traffic.

If you want large private spaces and drive your own car, move to a rural town.
I am sure this is good, but just how much it pulls down to do something basic is ridiculous:

$ yo webapp
$ npm ls | wc -l
240
I was referring to the examples in the comment I was replying to, not making them up myself. I like your examples much more (and upvoted you for them), but yours are what I had in mind with my original comment. Microsoft was able to create that "familiar" desktop experience after getting the court to rule that they were free to make Win95 as Mac-like as they wanted. "The look and feel of an OS should not be copyrightable" is sort of an odd position for a leading innovator to defend so vigorously in court. Getting that OS to run everywhere was more about making themselves ubiquitous--the "no matter what computer you buy, you'll have to pay us" monopoly thing--than about "innovation". Likewise for the "ancient software still runs" strategy of preserving the franchise vs. innovation.

And innovation in programming languages? I was using BASIC before Microsoft existed, and while I thought Visual Basic was a significant innovation, I knew the guy who actually invented it and know how Microsoft took it from him. ("Take our lowball offer or we 'invent it' ourselves and you get nothing.") Nothing Steve Jobs wouldn't stoop to, but not a great example of MS innovation.

And .Net was the MS response to the JVM and C# was their response to Java. Both were improvements, but it was obvious what they were improvements on. And those two (VB and C#) are the only MS languages to have any impact outside the research lab.

And fonts? Was it Bill Gates who took that famous calligraphy class and brought the world of fonts to "microcomputers", or was that Steve Jobs and the Mac? Was it Microsoft who joined with Adobe and created the desktop publishing revolution, or was that Apple, too? Well, yes, Bill and Steve did work together on font technologies later, but that was to try to break Adobe's font monopoly, wasn't it? That m-word again.

Again, I'm not questioning the idea that MS came up with many new ideas, and all innovations have predecessors. It's a question of degree: how big a change is this? MS's innovations, while real, were just not in the same league as innovations from Apple and Google, despite MS's enormous power, because MS's focus was on defending their existing monopoly from competition, while Apple and Google were more focused on attention-grabbing product innovation.
Location: Kuala Lumpur, Malaysia (GMT +8)
Remote: Open to Onsite, Yes to remote
Willing to relocate: Yes
Technologies: Python, SQL, Bash scripting, QA, AWS
Résumé/CV: Upon request
Email: adamklyo19@gmail.com

About my current work experience:
I'm currently working as a AWS Solutions Architect (Associate), mainly focused on designing solution architectures in AWS which includes but not limited to planning migration, Backup & DR, and modernisation for customers to get into AWS.

My role also focus on the technical presales in sharing the architecture designed by me is according to best practices and brings value, and the bridging between technical and non-technical stakeholders.

About me:
I've learn quite a few languages such as TypeScript, JavaScript, and played a bit with some JS frameworks such as Vue. Besides that, I have played around with Docker as well when learning AWS ECS, and understanding on k8s for AWS EKS.

My past professional experiences are in QA, Software Delivery, Technical Support, and now AWS architecting. I am very eager to learn more about what value I can bring in each step I take. I am a hand-on practical person who learns well on the job.

Preferably, I'm looking for a career that can push me towards multi-cloud architecting as this is where my current professional interests is in, but I am open to any opportunities that are much more interesting
Somewhat disappointing. The subject matter was not a difficult one. Not to say it wasn't well done, but it was not as challenging of a subject as a person or animal would be.

I think Sofronis Efstathiou sums it up nicely in the article. Nice job, but nothing groundbreaking.
I cannot stress heavily enough how brilliantly fast MacOS is when running off an SSD. I thought windows was peppy when I put an SSD in my desktop. Since putting an SSD in my MBP, MacOS X went from a sluggish annoyance where icons bounced 5-10 times before an app loaded, to a speedy "no time to bounce at all" app start.
Wait, so now I have to deal with all the shittiness of the web stack in order to develop a native app?
If your problem is the same as mine then I think I can help. I find that I often struggle to focus and be productive as well - even to the point of zero productivity. There are four things that I do that help a lot:

1) Eliminate distractions. I don't know if it's ADHD or what but I'm very easily distracted. As much as I love programming, I often find that reading HN or checking my email, browsing Amazon or any number of other things seem more interesting. It's often even just doing things I need to get done, but at a time when I should be focusing on writing code.

For me the solution is to push all my browser windows to another desktop, open only the one I need for testing/research and absolutely ban myself from doing anything else for a period of time.

2) Manage expectations. The other problem I have is that my mind doesn't like to switch focus very easily. I may have been really laser focused on a problem for a while, but then after I finish or something else comes up and it's time to focus on a new problem, my brain rebels and refuses to change focus.

The solution for me has been to manage my expectations, in a sense. I have to close my eyes and clear my mind of everything and just relax for 5 minutes, with the expectation that after that I'm going to open my eyes and focus on the new task. It helps calm my mind and since I'm now expecting to focus on the new task in 5 minutes, but I'm not forcing it immediately, my mind warms up to the idea of doing it in a bit.

3) Have a plan. I've found that when I'm faced with a difficult and vague task my brain wants to avoid focusing just because it seems hard or something.

For this I've found that if I first pause and plan out exactly where I'm going to jump in, exactly what I'm going to do to try and tackle the problem, then it's easier to focus on it. Maybe that means I'm going to sit down with a white-board and draw out the system architecture to tackle a problem or whatever else.

4) Sleep and caffeine. I've found that when I'm too tired, I really just can't focus. Often just taking a 20 minute nap (keep it to 20 minutes, set an alarm) makes a world of difference. Also, I've found that getting some caffeine helps me focus a lot. Of course, it might not be as effective if you use it all the time.
From the context, this appears to be a joke (see http://xkcd.com/221/), not a serious accusation.
His other blog, http://mnmlist.com/ is slightly better and more personal. It still is a bit cyclical, but feels better.
Looks like you're set as long as you manage to make proper screw bores.
Let's try to convert all this navel-gazing into something usable by your average HN reader. How can the average dev best exploit the current market conditions, whether these are considered "bubblicious" or not?

Should we all high-tail it out to the Valley and get funded now so that we can cash out with billions for something very airy and non-substantive that we "made" with VC money? What kind of self-marketing and self-promotion needs to be done to ensure that we are seen as something hip like Whatsapp and bought at a massively unreasonable price?

What are the less invasive ways for Joe Developer to take an appreciable slice of the pie, meaning getting something more than long-shot lottery tickets as options and/or kind-of OK salaries? How can a developer make $1 million for himself/herself this year without founding a company? Surely that lowly sum is attainable by the humble developer what with the current valuations being "grounded in reason" and VCs going gangbusters.