I wonder if there is a typo in the title: '"C is how the computer works" can lead to inefficient code' makes more sense to me.
HN user
zach43
I've got great experience with Indians working in Europe, not so great with Indians working from India. My impression is that the best Indian developers tend to move here, because they'll be able to earn European/American rates.
as an Indian developer working in the US, I have to say that this is a bit of an unwarranted stereotype, despite being repeated often on HN and Reddit
There absolutely is a large contingent of good developers in India (as you'd probably expect from a country with over a billion people), but they are mostly working with locally-managed projects and teams. A lot of them wouldn't work for outsourcing companies because of the poor pay and hours.
There is a bit of confirmation bias going on here: since western companies will frequently outsource to the low-cost shops in India, they will mostly see poor quality work. I don't think its fair to generalize this to all Indian devs.
out of curiosity, how wide apart do you place the two halves of your split keyboard?
i recently got one, and been wondering if i should place them full shoulder width apart or not.
Given the stagnation that's set in the mobile form factor, i think its the perfect time for unwalled FOSS mobile environments to develop.
also, the demo with gesture typing on the console is pretty cool: https://postmarketos.org/static/video/2019-06/nexus5-shelli-...
used / refurbished iPhone SEs still work beautifully...i got one a few months ago and i've had zero issues with it
its not really "top of the line" anymore, but the fact that its light on the wallet (~$250) is another major benefit
Gentoo also seems to have updated firefox-bin (and possibly www-client/firefox too?)...I ran an emerge update a few minutes ago and saw it install the firefox update
I think the question of "Why does it takes fifty lines to create a dialogue with a button" is very programming-language dependent:
If you're working with a higher-level programming language, you can make cross-platform GUIs very easily (see tkinter + python as others have recommended) without having to write 50 LOC.
If you're working with C / C++ specifically, then your bottleneck really is figuring out how to build and link with your cross platform library across all platforms. In my experience that has been much more painful than the lines of code required to set up a GUI in C++.
Once you've got the build/deployment system working in C++, most GUI libraries don't need as much as 50 lines of code. For example, even with Qt this is the code to get a dialogue with a button:
#include <QApplication>
#include <QPushButton>
int main(int argc, char **argv)
{
QApplication app (argc, argv);
QPushButton button ("Hello world !");
button.show();
return app.exec();
}
In newer low-level languages with sane standardized package managers, like Rust, things should be much better, but I'm finding any good examples right nowYeah, I understand the pains of implementing native GUIs, but one of the niceties that they provide is that you can implement simple - moderately complex GUIs in fewer lines and cleaner APIs than what the cross-platform libraries provide.
I looked at Imgui before for a project, but decided not to go with it since the examples are all over a hundred lines long, for example:
https://github.com/ocornut/imgui/blob/master/examples/exampl...
It seems like there is a lot of setup / configuration code necessary to wire up Imgui with the graphics rendering back-end.
Note that I haven't used Imgui in a real-world project yet. Does anyone know of a better way to set-up Imgui that does't need all this configuration code?
People who aren't very tech/privacy-savvy, like elderly people, or kids/teenagers.
I remember signing up for facebook when I was in high school, and I probably would've provided my email password if facebook asked for it...as an adult now I wouldn't provide my email password to anyone, of course.
its such a coincidence that these accidents keep happening in ways that enable further data gathering...surely there isn't a larger problem with Facebook's attitude towards their users' private data or anything
I'm personally not at all attached to the 'mastodon.social' domain (i'm self-hosting my own account on a different instance), but I am somewhat surprised at this perspective on TLDs.
Most users of the internet have been exposed to TLDs other than ".com". For example, wikipedia is at a .org TLD, US government sites are at .gov domains, university websites are at .edu domains. Most non-US users will frequently interact with their country's (and neighboring countries') ccTLDs, like .de, .uk, .in, ... I find it surprising to assume that users of social networks who have already understood abstract concepts like "like vs retweet" or "like vs share" would find it difficult to understand the difference between .com and .social.
Also in a sense, it is more accurate for Mastodon to be at a .social TLD instead of a .com since Mastodon is a Patreon-supported FOSS project, and isn't a commercial entity like twitter.com or facebook.com. But yeah, I know that .com doesn't really mean "commercial" anymore, and is more of a general-purpose TLD now.
Mastodon has a number of issues that could stifle broader adoption, but I can't convince myself that the TLD is really relevant here. Most users will just be linked to Mastodon from other sites, or find it from a web search. Once its in their web history, web browsers will just autocomplete the site name in the address bar. And isn't the domain squatting and exorbitant pricing on ".com" the main reasons why the new TLDs have been released anyway?
I've had a pretty good experience self-hosting with Pleroma. Its quite amazing that I can run a social media server with just a $5 VPS.
Not sure if there are bots / apps that can easily let you follow Twitter users on Mastodon, but I've definitely seen mastodon - twitter crossposter apps before.
I know you're joking, but if you found your way on to a site called "Hacker News" at a URL like https://news.ycombinator.com , it it really going to be so much more complicated to understand that https://mastodon.social is the website of the Mastodon social network?
I'm honestly fine with the mastodon devs not having to spend 1000s of dollars to get the mastodon.com domain. Evidently that domain is so expensive that even the popular heavy metal band "Mastodon" haven't bought that domain (they seem to be at https://www.mastodonrocks.com/ )
BTW, if you're having difficultly finding an instance that caters to your interests, https://joinmastodon.org has a signup flow that shows mastodon instances based on interests. That might help.
Just wanted to say that i moved from twitter to mastodon sometime late last year amd couldn't be happier with it. Keybase integration is interesting to me, but not realky useful since i don't want to tie mastodon with my real life identity.
the Fediverse as a whole has a very different 'feel' to it compared to Twitter. Twitter feels significantly more commercialized amd stressful...mastodon / pleroma feel a lot more relaxed and pleasant in comparison.
Maybe i just accidentally joined nicer communities, but i see a lot of small-scale chitchat and genuineness on mastodon than i rarely see on twitter.
I've also had zero issues with the platform from a technical perspective...overall i think Mastodon, etc have done decentralization "right", and have a lot of potential for growth in the future
i could imagine a third camp between Free Software and Open Source following something like the Qt dual-licensing model:
1. You are free to use this software for non-commercial use.
2. If you'd like to use this software for commercial use, you must either actively contribute to this project, or provide a donation to the project maintainers at Patreon / Paypal / Liberapay, etc.
this is truly really cool! are there any resources you'd recommend to learn more about this area of music theory?
Instead, what we need is a simple API with opaque handles and C function calls. No fancy OOP or macro preprocessors. Simple OpenGL style. At least regarding portability, OpenGL made sane choices I think.
FLTK [0] might fit some of this, at the cost of being somewhat ugly.
one of the coolest things about mastodon and pleroma is that you can just start your own instance and immediately federate with the rest of the network.
this means that if youre unhappy with the moderation in a community, if you want to own your own data/privacy, or if you want to use self-hosted software, you can just do that with mastodon.
a few weeks back i went through a pleroma guide and set up my own pleroma instance. it only took a few hours, and it has been running for over a month on a $5 Linode (1 GB RAM). i migrated from mastodon.social, and it carried over everyone i was following seamlessly.
i get that the whole decentralized thing has been blown out of proportion in the past, but in the fediverse (mastodon, pleroma, GNU social, etc) it is working quite well.
this isn't production-ready yet, but there's a federated blogging platform being developed called "Plume" that might satisfy a few of criteria that you've listed in this thread: https://joinplu.me
the pictures in the article look very similar to the current Chromium, and they completely seem to lose any kind of Edge look and feel that the browser had before.
Maybe these are just early development pictures? I'd be surprised if Microsoft went with such a generic look for Edge
It is nice to see the const fn improvements!
maybe this is normal for the minor version Rust announcements, but is the page missing a link to the list of contributors?
This is definitely a nice sentiment, and i have encountered push-back at work for wanting to provide users with good exit experiences. The analogy to shipping labels is apt, and i also like to think that keeping users hostage / locked-in to your ecosystem will lead to worse consequences in the future for your product.
I wanted to provide one bit of close critique on a small part of the post:
And look, I’m no social justice warrior (or so I hope) to go and bash people on the internet for whatever they’ve done wrongfully.
yikes. General suggestion for technical bloggers: please don't make vague references to internet culture wars (even in passing) in your posts unless they are central to your thesis.
This kind of stuff is at best distracting, and at worst can cause major misunderstandings. For me it engenders a certain kind of distrust: is the author trying to purposefully rile me or anyone else in their audience? It feels quite unprofessional as a whole.
Screenshotting and screen casting tools are unimplementable in Wayland, by design
i don't think this is true...i'm pretty sure i've screenshotted desktops before when using GNOME on Wayland.
i've always thought of Ruby as a very clean, elegant, ergonomic language to write tools in (based on a few months of experience working with it a few years ago).
I'm familiar enough with JS that i would primarily use JS now for web stuff, but Ruby is quite a nice language to use, and I wouldn't be surprised if its easier for beginners to learn than JS.
In any case I think that skills in any one of the popular 'big' higher level dynamically typed languages (Ruby, JS, Python) are fairly transferable to the others too.
i'm a bit confused about who the target audience for this tutorial is...it is too fast-paced for a newbie, but also seems to be too basic for anyone who is experienced with other programming languages.
not entirely sure what the "in twenty minutes" bit is aiming to achieve here
nice post...you can implement a lisp parser in C++ relatively easily too due to lisp's regular syntax
I don’t quite understand your point. macOS just recently enabled dark mode as a “feature” pretty much decades after other OSes have had this built-in
To me, dark mode is the prime example of the flimsiness of relying on native GUI solutions...for years Apple ignored users and apps that wanted dark guis, despite the fact that dark mode is legitimately a lot better for a lot of people
Credit to @vascorsd@mastodon.social for the original post: https://mastodon.social/@vascorsd/101468022014069460
Thanks for suggesting this, I just downloaded VCV rack and its really cool!