Better HN
topnewbestaskshowjobs
Log inSign up

slashdev

17,493 karma · joined May 14, 2013 (13y ago) · 5,497 submissions

Founder of revscope.co

Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.

And embersofvictory.com

Retro turn-based strategy game.

Submissions

comment 6y ago · link · parent

Except those other commodities have intrinsic value, while cryptocurrency has no intrinsic value or legal practical applications after nearly a decade. At this point I don't see that changing. They're the tulips of our age, sold from speculator to speculator until the music stops and someone is left holding the bag.

comment 6y ago · link · parent

Did anyone else notice that read kept increasing substantially in speed with larger buffer sizes?

Like if the trend continues it would be about equal with mmap at 64kb buffer size. No way to know for sure without testing it, but that really jumped out at me.

comment 6y ago · link · parent

Well he's not JK Rowling famous, but he has sold over a million books which puts him in a pretty elite club author wise. Especially in sci fi, that's a lot. I'm very proud of my brother, he started down a very difficult career path and became very successful. All self taught.

comment 6y ago · link · parent

There is no question that tests are terrible, are gamed, and get in the way of actual learning. How to replace them with something better and still measure performance is an open question.

However I think the biggest benefits of homeschooling are being ale to get customized 1 on 1 attention, and learning how to learn. That is the meta skill of being self driven, self disciplined in acquiring new skills. A lot of people that go through the public school system seem afraid of that or unable to do that. They were the people most likely to wash out of college in the first year, because they couldn't deal with the relative lack of structure compared to high school.

comment 6y ago · link · parent

I would say public schools are so much better than nothing. But they're not the best option by far.

Not everyone can do homeschooling, not everyone who can, will do it well. Many kids are not able to handle it either. But it can lead to much better outcomes. Like most things, general advice doesn't apply to everyone.

comment 6y ago · link · parent

I am above average intelligence, but not 160 level. My hope when we started homeschooling was to complete the grades faster, but it was still school and didn't hold my interest enough for that. I ended up finishing later than normal, mostly because I got side tracked with my newfound passion for computer programming. I took two years before college to explore that, and went to college reluctantly. When I got there I soon realized I had gaps in my knowledge, but generally was ahead of the 4th year students assisting the professors. I didn't want to spend 4 years and a great deal of money pursuing just a piece of paper, and dropped out.

comment 6y ago · link · parent

My mom stayed at home and my dad worked. But really because we could read well and follow the lessons, it wasn't a large burden for mom. She had a lot of reservations when we started, but soon realized she could handle it. I don't see how it would work if both parents are working, you'd need a nanny or something in that case.

comment 6y ago · link · parent

I can't reveal that here because it's easy to identify me from my HN posts and thus tie his pen name to his real identity.

comment 6y ago · link · parent

It's impossible to say of course. But I think at the least we would have led more conventional lives.

For myself, maybe a darker outcome. I was struggling with peer pressure and getting into trouble. The family that owned our house before lost their daughter to overdose. She went to my school. I wonder sometimes how my life could have been had things been slightly different and we hadn't changed to homeschooling (after grade 6 for me, 3 for my brother.)

comment 6y ago · link · parent

My brother and I were homeschooled, but it was quite structured and we wrote the same provincial exams as every other grade 12 kid. My brother did the SAT as well. We had excellent scores. We both dropped out of college with near perfect GPAs. Today I'm a successful self-taught software engineer now starting a SaaS business. My brother is a famous sci fi author. He makes even more than I do. I think homeschooling let us learn whatever we wanted to learn without fear, and find our own path in life. Where I think it hurt was we didn't do any group social activities and lived in remote places. So socially we had a lot to learn. I don't think that was a permanent disadvantage, but it was not a necessary drawback of homeschooling. I would recommend sports and other after school activities to add the social dimension into homeschooling.

comment 6y ago · link · parent

Get him into sports or other after school group activities. Much healthier social environment than school anyway.

Lookup two sigma problem. Kids with a 1 on 1 tutor do two standard deviations better than school. That's an insane advantage if you can find a way to make it work.

comment 6y ago · link · parent

I don't know, it's a good question.

comment 6y ago · link · parent

Stubbornness. Most people get over their childhood dreams and adjust to life as an adult where we don't get to do what we wanted. I'm still trying to make it happen 19 years later.

Motivation comes from within when you have a strong enough reason to do something. Like it aligns with who you are, what you desire. But it comes and goes. Discipline let's me hold the fort day to day regardless of what motivation is doing.

comment 6y ago · link · parent

Also if there are large generated files (the SQL parser is generated from a grammar) or if one project is vendoring dependencies it can artificially skew the line count.

It's not a meaningful measure in itself without digging deeper.

comment 6y ago · link · parent

That we've never made a hole that deep does not mean we know nothing. We know a great deal by measuring seismic waves as they pass through the earth. That's how we know the earth has a solid inner core, despite the temperatures.

It's fantasy given what we understand about the earth and about superconductors. That's not impossible, but like any highly improbable claim it requires extraordinary evidence to take seriously. Otherwise it's like claiming there's a teapot between the earth and the sun, or some kind of invisible deity. We've left the realm of science and the natural world and entered the world of fantasy.

comment 6y ago · link · parent

The earth's core is north of 4000 degrees Celsius. It's a huge leap to imagine any superconductor at those temperatures, nevermind such a precisely engineered mix of elements occurring naturally. We're squarely in the realm of fantasy here, not geology.

comment 6y ago · link · parent

Yes, he shouldn't be running the dev server to serve his static site as a dynamic site in production. That's missing the point of Hugo.

comment 6y ago · link · parent

Yes, I agree. We're probably not going to exceed fundamental limits.

However, some number of fundamental limits might turn out not to be fundamental or there might be a way around rather than through them. We can't be 100% sure of what's impossible, but it is stepping into the realm of the extremely unlikely, at least from our current understanding of the universe.

comment 6y ago · link · parent

Are you saying there isn't a an objective answer in this case? Because I don't agree with that.

Given a specific task and 100 programmers equally skilled in both languages, they will accomplish the task faster in one. There will be a clear and statistically significant answer if one were to do a controlled study. It could be that the result is that they are nearly equal, but that would be a surprising outcome.

So when you say my opinion is the equal of yours, you're just saying you have no idea which is closer to the objective truth so you can't compare them. But fundamentally they are not equal and one opinion will be right and one will be wrong (in this case because it's a boolean outcome).

It is my opinion, it is subjective, but I also am willing to bet it's right. And there is a right and wrong answer here regardless of our ability to know it for sure.

comment 6y ago · link · parent

Yes. Rows are variable length. Think null values, strings, etc.

Only really large values that don't fit into a page are stored elsewhere, and only if they can't be compressed and made to fit. I think it's > 3kb. But I don't remember why that number comes to mind. Pages are 8kb.

comment 6y ago · link · parent

You're probably not addressing me specifically, but there is no yelling in my comment.

I do think we have to ground any interesting discussion by what is possible within the limits of science. Otherwise we're just talking fantasy.

For the most part, I do not think we should discuss the limits of engineering, that is what's practical or not, because we're nobody to say what is practical to a type II or type III civilization.

My dad's astronomy professor told the class it's impossible by the laws of physics to create a telescope that can see exoplanets. He went through the equations to show you could never build a telescope mirror to accomplish that. What he didn't think of is we found other ways to create bigger telescopes and we used gravitational lensing to zoom in on a distant star. Nothing in our understanding of physics changed to allow that, merely a change in how we looked at the problem. That's why it's so arrogant. We don't know everything about what is possible or not, and one day we might just see a way around limitations that seem absolute today. Our short history is filled with us doing that again and again.

comment 6y ago · link · parent

That seems likely from our perspective, but it's pretty arrogant to think we understand the limitations and desires of civilizations millions or even billions of years ahead of us.

Certainly we would have failed at that task of predicting our own limits and desires just hundreds of years ago, nevermind an alien race.

comment 6y ago · link · parent

It's our current understanding of physics. Those limitations might be impassable. Or it might be possible that there is a higher physics where things like the speed of light are bypassed. Like discovering that quantum entanglement is based on some mechanism that can be manipulated to communicate faster than light, or one can skip over distances through higher dimensions, or we decode the source code of the automata that creates the universe and it's immediately replaced by one even more bizarre. There are some theories that this has already happened :)

The point is it's arrogant to say what's impossible for all time, because nearly everything we do today was impossible a short thousand years ago.

comment 6y ago · link · parent

I'm surprised people disagree with anything I said in this comment. It all seems like common sense, bordering on the obvious.

comment 6y ago · link · parent

Write one to throw away. Nothing wrong with rewriting in rust now that you understand the problem better.

comment 6y ago · link · parent

Yes. Some time between whipping up a little prototype and getting to 10k lines of code, you may want to reconsider the architecture and language of the solution.

That is not a reason to start off thinking it will get that big, so you have to over engineer it, because the vast majority of scripts don't. You design to the most likely scenario.

comment 6y ago · link · parent

I don't have anywhere near your level of experience with Rust. But yeah that's been surprising to me too.

I still think I'd rank it behind Go and Python for a typical website backend - but it depends on the project and the team.

The more people involved, the more things the type system will save you from, and the more you benefit from being able to build powerful abstractions - which offsets the relatively higher "tax" on productivity with it.

Rust is one of the better choices for backend web development today, a sentence I also find surprising just to write.

Honestly, probably the biggest thing holding it back for that use case is not the language itself but lack of adoption. It's tougher to hire for, and has a less mature ecosystem. I feel the momentum is there and that will change over the next 5 years or so.

comment 6y ago · link · parent

I shouldn't be surprised to see you defending Rust here :) I do see a lot of similarities between Rust and Python.

I don't agree that it's better than Python for most short scripting tasks - but I will grant your point that it's not completely ridiculous either, not by a long shot.

comment 6y ago · link · parent

> In this context, we're really talking about two different types of hammers, perhaps one has a claw and the other does not, but they are both fairly portable and can target nearly all the same platforms.

It's an analogy, but one tool is going to be faster and easier to use. So let's say a screwdriver vs an electric screwdriver.

> But if Python is objectively better than these other general purpose languages, does that imply that there are areas where Python is not superior to these languages?

Yes. There are a lot of areas where Python is inferior. In fact I'm using Rust right now for a project despite having over 15 years experience with Python. Programming languages are tools and they're better or worse suited to different tasks. There is no one language to rule them all - yet anyway.

> Would it suggest that folks who've been successful even when choosing Python in those cases objectively made the wrong choice?

Yes. That you were successful does not fully validate your decision about choice of programming language. It just means it wasn't that bad. It does not mean it was the optimal choice.

comment 6y ago · link · parent

It's a decent ballpark estimate, but it's definitely not a constant factor. People with really huge database deployments (like machines with 4TB of ram) must be crazy if they're not aggressively using pgbouncer to keep the number of connections down.

I'm actually quite heartened to hear that the attitude among Postgres developers is changing. Back in the day whenever people would bring up threads vs processes they got shouted down because processes are clearly superior and threads were "just implemented as processes on linux anyway". That's going to be one hell of a job to change now though.

To Tom Lane: I told you so :)

1
107108109
184