Better HN
topnewbestaskshowjobs
Log inSign up

bitexploder

7,559 karma · joined Dec 23, 2010 (15y ago) · 2,430 submissions

I did not keep blogging.
Submissions

comment 8y ago · link · parent

Good point, and a good reason to learn how your DBMS of choice does common operations. Most query planners will explicitly tell you what yours is doing. I remember even back a long time ago MSSQL 7 had a nice GUI for its "query explain" and pgAdmin also gives a really nice graphical view of query plans, which really helps visualize when it is looping, doing hash lookups, etc. I suppose that would be part of the recommendation for learning: use a graphical query plan view if you can find a client that supports it :)

http://www.postgresonline.com/journal/archives/27-Reading-Pg... (example pictures if anyone reading this hasn't seen it before), it is pretty cool.

comment 8y ago · link · parent

Seriously, I have been writing code for almost 30 years now. I pick up new languages and packages and love hacking on new things still. Modern front end developmemt feels so bad in some areas. I spent full /days/ trying to tame webpack and friends and just gave up. "Modern" web front end developer is a weird and annoying place. I would rather battle pthreads and kernel bugs with gdb than try to figure out web front end. There are some bright spots. Vue is nice enough. Bootstrap has always made sense. jQuery is easy enough. But man, I remember IE4 vs NS navigator compatibility being more pleasant to manage in some ways to learning some of these JS frameworks. And I am not just expressing a grumpy get off my lawn sentiment. This stuff is legitimately obtuse. But in a strange way compared to say systems programming. Systems program is deep and sort of orderly. Modern JS is broad, chaotic, frustrating.

comment 8y ago · link · parent

It is kind of what you might expect for many of us. Tough problems pushed me to learn more. I got started before the time of ORMs being popular. It forced me to learn a lot of fundamentals. Find data sets and interesting things to do with them. Teach yourself about the database internals. RDBMS is rows and columns. Queries are planned. Planner tries to use most optimized query. Example, you join on a column that isn't indexed. To find every matching row DB has to scan entire table. Hello O(n^2). The details a query planner gives can be overwhelming. Learn every bit of it. Find ways to query data efficiently you would just deal with it app code. Learn subqueries. Learn aggregation. Learn aggregation with subqueries. But here is the real, fundamental truth about RDBMS and SQL. It is essentially a functional data environment, like a spreadsheet. Once you adapt to the functional mindset of SQL it can feel effortless to do things you might not have even thought possible with SQL.

comment 8y ago · link · parent

ORM is much easier when you know what is going on and can dove into a query plan. I have noticed most devs that struggle with ORM and or performance tend to just not understand basic RDBMS/SQL stuff. Indexes, joins, how to tell ORM to prefetch, reviewing query plans when the performance matters.

comment 8y ago · link · parent

Not gonna sugar coat it. HTML and CSS are basically Bootstrap for me. I know how to tweak it and make responsive design with it. It is functional for my own projects. It is easy to tweak it to at least give a little distinction to my UI. I know the basics of UX and it's easy enough to do. Why spin my wheels dealing with going deeper when I just want UI that works as a non-designer.

comment 8y ago · link · parent

The touch of moderation on HN is not always obvious right away, but it is definitely something that requires a lot of work to make HN the way it is. There are certainly biases and such here, they just happen to align with our world views usually.

comment 8y ago · link · parent

That is another interesting point. There are threads on some forums that are years old. How to replace thing X on your Subaru. Updates about MTG Deck Z. Whereas Reddit aims much more towards "whats happening". That's great but the forum aspect of having a deep conversation on a single topic over many days, weeks, and months can be really important.

comment 8y ago · link · parent

There are still great software like discourse for building communities. I think focused communities built around forums have plenty of room to grow as long as people keep building tools like Discourse.

comment 8y ago · link · parent

Well, I had specific things in mind. Example: it is hard to share deck lists on Reddit, but easy on mtgsalvation. This has a big effect on how those communities can evolve. So I agree that the tooling does help define the community to an extent. On Reddit, some of the time the tooling fits a community well. Other times not so much. That was my more my point.

comment 8y ago · link · parent

Reddit scrubs the identity out of many communities/topics. I have found much deeper and meaningful discussion on focused forums. For almost any topic with any significant interest there is a non Reddit forum or community that is deeper and more customized. Not always, but usually. Just support those communities and forums. Example, mtgsalvation is by far better to visit for meaningful MTG deck building and discussion. Subaru forums are another great example. There are plenty of established communities out there.

comment 8y ago · link · parent

Can a car understand a road?

comment 8y ago · link · parent

This just isn't that hard. They don't have that much data. It is really late for me, but, put it all in memory and figure it out. These just aren't hard problems. DBAs have been solving performance issues for decades with a clever index on the right column for 30+ years. Sorry if this is get off my lawn-ish, but I have been on too many projects where I made a DB index and solved a major bottleneck. Too many new developers are ignorant to the nuance of RDBMS tuning. I am not even a DBA.

comment 8y ago · link · parent

Wrong. This is an exaggeration at best and just plain wrong for most US LTE users. LTE is very hard to fully MiTM. You can still catch / observe through IMSI, but the phone won't deal with your rogue tower. If you can downgrade someone to 3G you can more easily observe voice and or texts. Data is actually harder to MiTM, even on 3G. That said, it is not feasible to down grade any modern US LTE devices as far as I know.

Turning your phone off usually does prevent tower pings, but some phones have been known to be sneaky.

comment 8y ago · link · parent

Yeah, that works. A best effort of actual deletion is good enough IMO. Maybe even notification it is actually done being sweeped out of a storage system.

comment 8y ago · link · parent

Disclaimer: I deleted my Facebook account a couple years ago and never looked back.

That said, Facebook is who is just getting collectively stabbed with the pitchfork right now. Engineering best practices are one thing. My right to privacy is another. As an engineer I care about efficiency. As a human I care about privacy. My rights win over any technocratic babble. Sorry if I am being harsh. I am, of course not surprised. Engineers are lazy at best and at worst, something truly sinister is brewing.

comment 8y ago · link · parent

I am sure it is something of a competitor, but if you want a sleeker laptop and size is your constraint then, no, they don't compete. If price and performance are more important then I think the Dell definitely "competes" in the same way 13" MBP competes with 15" MBP

comment 8y ago · link · parent

I started with an XPS 13 Developer edition. It had some minor issues, but I generally agree it was a good Linux experience.

comment 8y ago · link · parent

Ooooh yeah. I have that. Not a thing you notice, but I got it.

comment 8y ago · link · parent

An alternative: Dell 7520 line. Runs Linux nicely out of the box.

* No camera or mic is an option (I took it)

* No HiDPI display is an option (I took it)

* 32 GB ram

* 1TB very fast class of ssd

* Legit quad core Xeon

* Discrete GPU (decent)

* Real keyboard

* Charger is approximately size of an actual red brick (blah)

* Laptop is bulky

* I love it, best Linux and Laptop I have ever owned. Let's just leave it tied with my 2015 MacBook.

comment 8y ago · link · parent

Agreed. Kerchoff's principle isn't really up for debate.

comment 8y ago · link · parent

Seriously, that is pretty impressive. Unix police found you.

comment 8y ago · link · parent

Compare to an instrument. When have you "learned" it? When are you okay at it? When are you good. When are you great? When are you a master? How much effort does each step take to achieve? I think a more apt title, and more inline with his content, would be "Master Programming in 10 Years".

comment 8y ago · link · parent

Old but good. I have been seeing an interesting discussion around project based learning vs. more formal CS type program lately. As a self taught programmer who got started and became passionate about technology because of MUDs I can confirm project based learning worked well for me. It kept me engaged and pushed me to solve hard problems I might not have ever tried to otherwise solve.

So, to me, making programming interesting is one of the keys. I know I have a common learning and work style that heavily favors the experiential and interactive. Other promgrammers I have worked with can Zen focus and design for days before touching code. I can't. I like to interact, prototype, outline with code, think in smaller bursts, and then iterate. I have learned to be more patient over the years, but that is still my default paradigm.

I think I generally agree with Norvig here. Most of the criticism of his article is misplaced. He isn't saying you should only learn to program in 10 years, but that it is a hard discipline with immense depth.

comment 8y ago · link · parent

I think it is just the immediate mode, do a thing in a familiar environment and start making a web app. No dealing with tooling. No `pip install flask`. Nothing. Just write PHP and you have a web app. I was probably memeing a bit much there, but I think there were several solid points in the article. I would not reduce PHP to "run a script through some sort of CGI interface". I don't use PHP any more. Only Python so I pretty much agree on using a nice framework/library, but I still see this kind of casual dismissal of PHP. I think it has progressed enough to not be a toy language. It is no worse than JavaScript in terms of idiosyncrasies. It (PHP) has plenty of decent features these days and runs fast thanks to things like HHVM.

comment 8y ago · link · parent

Heh. Maybe I was just memeing a bit myself. I pretty much only use Python and Flask/Pyramid/Django for building web apps these days and can't imagine using anything else honestly.

Not your post, but I saw someone else calling the blog post out as silly. I used to write a lot of PHP for customers when I freelanced, and I use Python a lot now. PHP is very productive for many of the reasons stated and when you are doing very CRUDy apps PHP frameworks seem quite legit now at doing things like MVC.

comment 8y ago · link · parent

This is easy. Business is hard. Hacking is fun. As a founder you desperately don't want to deal with all of the annoying parts of being a business owner. You just want to hack and do the point of your place, not deal with pesky "business" things. I am talking simple things like taxes, etc.

If you let that mentality bleed into things like setting up every part of your organization to be awesome you get this siloing effect. If you are a ONLY HIRE A-PLAYERS type company, that doesn't mean only hire great engineers. It means everyone needs to be great at what they do. Including HR, operations, etc. A lot of companies with super smart guys miss this. They still go on to success but I know from experience and at least a couple of friends that went very large in valuation and growth on the typical startup path that not taking more time on their company culture and instilling their values in ALL of the organization before it went meteoric caused them no end of grief and made them dislike their company, even though they built awesome engineering organization at the end of it all.

(edit: sample size of two from personal experience, but based on observation, this seems almost axiomatic based on how so many startups go when you read their stories)

comment 8y ago · link · parent

That was part of Slack's reason for choosing PHP for their backend. Use a fancy language like Java or Node if you want to do "modern" development. PHP is for getting shit done.

https://slack.engineering/taking-php-seriously-cf7a60065329?...

comment 8y ago · link · parent

True. Original Minecraft had no story or game. The game was survive. You could "win" within 30 minutes of your first time learning things. The plot and end dragon and all were added a lot later.

My kids have never finished the game and pretty much only play creative mode.

I didn't think you meant it negatively. Just an interesting way to describe it.

comment 8y ago · link · parent

That is at least part of the fun. I bought it when it (Minecraft) when it first came out. It was FPS Lego as far as I was concerned. At the time, and still, more or less, it was a game with none of the Psy Ops modern game makers employ to get people hooked. It was just intrinsically rewarding to make stuff. My son learned to use a mouse on Minecraft (he is 11 now). Now my kids and I have a long running world where we have been working on th same castle and world for years. It is cool seeing kids grow up with this game. Watching their building skills and ideas grow with thier minds is pretty cool.

So, it isn't intuitive, but my 6 year old can do pretty much everything in the game now. Mostly her older brother showed her. So, I dunno, maybe it is lonely, but in the same way building Lego is lonely.

comment 8y ago · link · parent

I have read almost all of the biographies and works covering Epictetus. Just want to confirm you are correct. Stoicism at it's true core was how to react to a life that was foretold. Most stoics believed their date was predetermined but now how they dealt with it. In context, Stoicism was the cure to being dealt a rough hand by "fate". It holds up so well that many modern therapies, such as CBT, can be directly connected. Now, we of course don't think probably believe in destiny here on HN (in general). Anyway just providing some color for how off the author was.

Stoics lived with death as a way to take the right course of action. E.g. if I knew this was my last day with my daughter how would I act? Could I claim to have made good choices or would I have regrets.

1
626364
81