Better HN
topnewbestaskshowjobs
Log inSign up

devxpy

515 karma · joined Dec 27, 2017 (8y ago) · 421 submissions

https://github.com/devxpy
Submissions

comment 7y ago · link · parent

It's obviously a very broad topic, but one thing that I find at least my education hasn't covered yet is how to actually _learn_.

By far the biggest part of computer science is learning how to learn the new stuff, and forget outdated concepts.

Their way of teaching around 8 subjects in a single semester is downright laughable to me. The result is that I am not really proficient in any of these 8 subjects beyond what the syllabus covered, which was almost fully outdated and covered such little ground that I cannot really do anything in the real world with this knowledge, except give their petty little "exam".

So whats the point of teaching all these broad, frankly unrelated topics (e.g. flip flop counters) when I'm not even going to ever use them in daily life?

---

Instead, how about dedicating an entire month learning git, nothing else. FFS, I've been using it for almost everything, and still don't really understand what it is actually doing.

Surely, learning how git works will be more useful to me than just learning how a hypothetical priority queue can be implemented, no?

comment 7y ago · link · parent

Its weird to me that this article only discusses the social aspects of programming in a job environment, while completely ignoring the contrast between university studies and real world technicalities of programming. I feel like the latter is a much bigger issue.

comment 7y ago · link · parent

I've been using captainduckduck in production for a while now.

It might be a little finniky for you to wrap your head around at first, but it does work well once you do that.

https://captainduckduck.com

comment 7y ago · link · parent

Weirdly, android has nailed text selection + navigation in 9.0

comment 7y ago · link · parent

Can't agree more. Much better choice than js/ts

comment 7y ago · link · parent

> paying for a domain and the price of one coffee per month

That's some expensive coffee.

comment 7y ago · link · parent

https://github.com/bigchaindb/bigchaindb

comment 8y ago · link · parent

What happened to tidelift? https://tidelift.com/

comment 8y ago · link · parent

First of all, that later talk you linked to, doesn't really prove anything. It's really a plea from a journalist to MS. He wishes they just talked to him, but they just refuse to do so.

Whether or not the allegations are correct/plausible, I feel it is very important to have them. At this point, we can't say for sure as to what the eventual goals are (since they won't talk openly about it), but it is always good to have criticism, especially considering their past as a company, not just the CEO...

comment 8y ago · link · parent

I didn't know you could self host these services with /e/

If they could support desktop devices, that would be great. It would one more step in the right direction.

comment 8y ago · link · parent

This comment makes me wonder...

What if you can spin up a personal server, and have it connect seamlessly to apps across all devices?

I understand your concern on having 3rd parties touching your personal information, so what if the lineage OS, firefox OS or any other set of "libre" apps, also brought with them libre, self-hosted services?

comment 8y ago · link · parent

I think my phone is not just about apps, but also services, tightly integrated with those apps, like chrome's browser history, password manager, Google docs synchronisation etc.

Perhaps the only reason why I cannot shift to other apps is due to the serious is the lack of cohesion across all platforms. Google has It's paws on every device, every platform. Which is a huge selling point.

Half my work is handled by this single Google account. I haven't seen any product lineup that lets me have this kind of one-ness across my devices.

comment 8y ago · link · parent

Maybe you have better peers than I do

comment 8y ago · link · parent

Its in my opinion that people don't use the computer properly. There's very little you gain from social programs that you can't gain if you watch the right kind of content, read the right kind of articles, and just talk to people.

I've met far more smart people on the internet than I could ever meet in real life. In fact most people I meet in real life are stupid.

comment 8y ago · link · parent

PC principal?

comment 8y ago · link · parent

https://youtu.be/TVHcdgrqbHE

They are supposedly doing it with Linux right now.

comment 8y ago · link · parent

I definitely did not mean to target Instagram. We have a general problem of open source funding, and something like Django having this problem is disheartening.

comment 8y ago · link · parent

Wow, Django must be used by many of the biggest companies around. Instagram comes to mind...

Its so retarded to me that companies don't have a model for paying the open source projects they built their whole infrastructure on :(

comment 8y ago · link · parent

These technical problems you present, are difficult but solvable if a big player is willing to pitch in.

I don't like to target specific words, but the problems you specify apply to JS as much as they do to any other language.

A C/rust like language has far better CPU/memory efficiency than JS.

A batteries included language like python might even be better at network latency since it doesn't have to bundle in the code that should've been in a stdlib, not client code.

We use different languages because they are good at different things. The browser doesn't seem to respect this Philosophy :(

comment 8y ago · link · parent

Look at flutter. Please.

comment 8y ago · link · parent

Typescript and other transpilers especially, seem to be quite resouce hungry, slow and a pain to configure — always getting in my way :(

comment 8y ago · link · parent

I think we should also consider that most people have gotten used to the fact that JS is the language of the web, and there’s basically nothing we can really do about it in the short term, so let’s just have a positive attitude towards it!

P.S. I don’t, but most people I have met seem to have this kind of mentality.

comment 8y ago · link · parent

Exactly why they said that it “looks” preemptive. It’s a mirage...

comment 8y ago · link · parent

> Any time you call a blocking function that the system provides, it should immediately yield the fiber, which makes it look preemptive.

Makes sense. It let's you avoid the quite verbose and incompatible async/await syntax.

---

> The author was talking about different methods for handling more than one request at a given time, which include forking and threads

I feel like if the author suggests forking, he should also provide a way for reliable robust message passing, like erlang.

---

Thanks for such a detailed explanation. I wish more languages supported Erlang style processes. That are green, preemptively switched and multi-core!

Do you have any experience writing such systems? I was thinking to experiment with the cpython interpreter.

comment 8y ago · link · parent

So it is preemptively switching then?

> It doesn't really imply anything about how parallel (or not) the fibers execute

What's all the fuss about paralllelism in the article about then?

comment 8y ago · link · parent

Fibers are basically just async tasks with multicore support, right?

comment 8y ago · link · parent

Would love to see some numbers supporting this..

He might have mis-phrased it though. Maybe he meant to say that it can handle billions of concurrent tasks maybe not that they can switch rapidly in just a second xD

comment 8y ago · link · parent

or remove any declaration syntax altogether!

    f = open("/tmp/test.txt", "w+")

comment 8y ago · link · parent

Kinda, the closing remarks were sort of disappointing to me.
1
789
15