News for hackers. Stuff that matters.

allenskd

Out of curiosity Apple M1 Chips being ARM-based (I own a m1-powered laptop) I... honestly haven't really noticed any slow down while using ffmpeg but granted I don't do encoding/transcoding a whole lot and my usage of editors like Affinity Designer/Photos is pretty basic.

But on that note I feel like a budget laptop for the masses with ARM-chips would be quite the spot for many people include my father. he doesn't need any application just being able to use a browser. ( I guess, a more open, less shady Chromebook-like equivalent).

Well, I guess I just say this because my experience with the m1 chip has been way over the top to the point I haven't really noticed any slow down with docker/vscode/etc etc.

I feel like if KDE really wanted to build hardware specifically for KDE then they would and SHOULD bring in Qt Developers (The QT Company) onboard for the best optimizations of the desktop environment....
I may or may not be super knowledgeable on the subject have the KDE Slimbook team considered going full with ARM chips instead of the x86_64 processors?

I keep reading how ARM is more "efficient" and lower power consumption altogether. I also noticed that some Windows-laptop devices are shipping with ARM as well. (Windows on ARM not being new if you have been following Microsoft closely)

I'm not really surprised at all this is still an ongoing issue. And by far I think people that work on the so called Human Interface Guidelines need to get off whatever ideology/belief they fed themselves for the desktop environment to finally, you know, grow for actual humans rather than their egos. At times it feels more like a cred, like when elementary OS was released I read so many comments on how Apple nailed the UI.

From the site: >If you use GNOME and this is a revelation to you, it’s because you’re used to mediocrity. If you think your experience all this time was normal, you’re completely mistaken—and it’s not least because you’re using a specific desktop environment that’s available only on Free operating systems that account for only a fraction of a percent of desktop computer usage anyways.

I like the author just sarcastically points it out, because I remember reading years ago the same on both GNOME and elementary OS subreddits "it's because people are used to mediocrity". Or, you know, maybe people find it super helpful to being able to see the images without extra steps so they can choose whatever they want.

And then it all just spirals down into:

"Have you tried X/Y/Z?" no? Sucks for you buddy I guess you are stuck with mediocre people making design decisions. But as crud as I put it, I might not be wrong.

That said, I have completely given up on all the nonsense someone would have to follow to file a enhancement report and discuss it just to be stuck on discussion for 10 years. There's just no time and energy for that, and at the end people would just ditch the desktop environment because it's just too much of a hassle to use.

I didn't know getting coffee was a suspicious behavior :)
I'd lean that they are probably control freaks. But there's probably more to it than that and ultimately it seems it boils down to "I'm paying you to work thus it's my right to track your every movement"

Years ago I had a boss but set up security cameras. Normally, this is completely okay because you gotta secure the building you just never know who's gonna come in and rob the place or maybe track an incident (rape, violence, etc).

This boss of mine however went home or worked from home from time to time or sometimes he would go on a vacation and he would just connect to the video stream of the security cameras.

One day I was the only one in the building as I still had to finish my shift. He gaves me a call, he didn't say he was monitoring me of course but he seemed to know what I was doing and proceeded to ask the following question: is everything okay? how's the workload etc etc. Common questions, nothing out of the ordinary.

So it seemed he just called because I wasn't receiving a lot of support calls and sometimes I would just go get coffee he probably saw me standing a lot, maybe thought I was neglecting my job.

I can be incredibly outspoken at times. A lot of the things in the call just screamed "I'm monitoring you". When the call ended I was furious. There's nothing more damaging than not trusting your employees. It breaks trust and relationships. I've never in my professional life felt so insulted that I need someone to monitor me.

If you are this type of manager/supervisor: Kindly put, shame on you. I say kindly put because the words I want to say can't be conveyed here without getting moderated. Cease and rethink your strategy, we are professionals not kids or teenagers and doing this to teenagers remember you are growing professionals, nothing like giving them the ground to grow but if they find stuff like this you are destroying everything.

To workers that are aware I can only hope you find other jobs. It's stressful enough, no need to tolerate this behavior.

Re:JavaScript variables: var and let and const on Friday March 06, 2020 @06:10PM (#22508246)
Thanks, I've never checked out Babel. I will truly suggest that to my lead, seems something we can take advantage of.
Re:JavaScript variables: var and let and const on Friday March 06, 2020 @05:58PM (#22508159)
I believe so. I don't make a big issue out of it... but anything carrying the word const I expect it to be fully read-only with no "buts" in between throughout the whole execution of the program. I guess if they used "readonly" as C# it would make more sense?
Re:JavaScript variables: var and let and const on Friday March 06, 2020 @02:42PM (#22506575)
That's amazing. I was just scratching my head about const when I read the article, "so what's the purpose if I can change the value... but I guess I can't re-assign the variable with a new value .... that's it?"

I still found the article incredibly informative, sadly as someone still stuck working on legacy apps it falls into "...in some near future I'll take advantage of JavaScript new stuff"

> Building a new React app with create-react-app requires 4304 directories and 28678 files.

Finally, of course I don't consider myself the only person thinking about it but someone finally pointed the elephant in the room because it's been bugging me for a very long time, especially with anything related to NodeJS it feels like to actually get somewhere you need to pull hundreds if not thousands of tiny libraries dependencies. Once 1, 2, 50 of those tiny libraries becomes unmaintained and fall into a high risk vulnerability and there's no replacement that's it , you have to start taking care of it yourself. It could happen in any language, yes, but I feel it's more prone to happen in NodeJS given the nature of .... pulling hundreds of modules, even with Java/Maven you don't really pull that many libraries into your application unless it has some really wide scope in it.

I don't have any beef with NodeJS itself but the whole subject of having so much boilerplate code needed to get yourself started is a bit insane. I get that hardware has become more powerful and storage is cheap but... at which point is it no longer okay and becomes a burden to distribute said apps?

Re:Facebook sues Namecheap on Thursday March 05, 2020 @03:45PM (#22497990)
Yes. I'm fine with Namecheap taking the domain down. Handing information like that just because they ask for it? That's a huge no. Let them proceed through the legal channels to get that information.
Re:Facebook sues Namecheap on Thursday March 05, 2020 @03:26PM (#22497782)
> We don’t want people to be deceived by these web addresses, so we’ve taken legal action.

I wonder if they reported the issue first unless it's all for show. I've reported phishing domains before and Namecheap is usually quick on taking them down if the domain belongs to that registrar. I think the last report within 24 hours they plugged it out. So makes me wonder what Facebook is on about with this.

Edit: ok, I missed the "despite their obligation to provide information about these infringing domain names, they declined to cooperate." seems Facebook wanted to go on a witch hunt.

It's.... a bit hard to define my current workspace. I do software development but a lot of that development is on legacy applications using some obscure API, perhaps a super old version of a known open source project that nobody uses anymore, or simply dealing with an application written two decades ago in C and I have to know specific things.... and I'd have to say searching on Google is just handy when it comes to this.

It's not easy to describe I guess. For my normal "John Doe" usage I have no problems using DDG. But when it comes to work where I need to narrow it down the best I can I guess Google will always come to the rescue (but not always, haha.... nothing like dealing with undocumented libraries).

I wish it was just language-specific behaviors at least I know there's always plenty to search on but... it's a little bit of everything.

Sadly.... this was my conclusion as well. I'd rather have an iPhone(which I do, an iPhone X) than actually get a Android device.

This is the case of going with the lesser evil.... and there's no way in my mind that Apple would be the greater evil than Google when it comes to tracking users and learning all their habits while using Android.

Apple is not perfect and I hate it for being so anti-consumer when it comes to repairing... and I'd love they would fully commit to a privacy-minded iOS if they have the guts to do it.

It's been 2-3 years since I switched back to Firefox ever since I cut around 90% of Google out of my life, sadly I still can't find a good search engine where I don't spend more than 5 mins trying different keywords to get the results google gives me.

Out of all the browsers I like that Mozilla were the first to point the finger to the elephant in the room while Microsoft, Google, Opera just turned a blind eye on privacy, although I don't think anyone expects much from Google these days.

Firefox has once again became my default browser on all my devices after like 6-8 years since I last used it. I guess as far as privacy concerns goes, if you are looking for a company/browser that will continue working on protecting you from trackers by default that'd be Mozilla.

Random observations that doesn't necessarily have anything to do with the topic: Firefox for windows is perfect. I actually think it's faster on Windows than on OSX for whatever reason. Playing videos, like using Netflix or Youtube is extremely sluggish on Firefox OSX, but is fine on Windows. I always end up using Safari if I want to watch a video on a higher resolution because the performance drags a lot on Firefox, especially it Netflix's overlay UI you can literally observe it's lagging behind but not in Safari.

Well.... I imagine it comes with the author's field? I've always been vocal about how much I suck at communication in both my personal life and work.

I think I would have landed a super nice position if I wasn't a socially inept person. Bitterness and "reality" or "truths" won't help us, so these days I'm just leaning on being reasonable and as human as possible because nobody likes a person who's constantly pointing out flaws and telling people they are horrible. (thankfully I've never in my life told anyone they are bad at something, at the end of the day this field you can keep improving yourself. I imagine in a field of medicine if you mess up too much that's it for you)

How is this different from any other company though? It happens a lot where I live. You either know the higher ups through some sort of connection(school, event, family, etc) became friends and that's it you landed on a nice position.

I'd love to say it's only prone in startups but it's been plaguing companies forever, especially small-medium sized ones where it's easier because the owner is probably hoping to find able hands, perhaps the huge ones have slightly better processes to counter this type of scenario.

Then I have no idea what it was (phone brand), sorry. I just know with what I tried to troubleshoot.

I'm not a fan of Alcatel.... or Blu. But translating what you just told me to not just my parents but all older folks is.... not an easy task. It's met with apathy.

Re:Should you self-host Google Fonts? on Sunday February 23, 2020 @05:25AM (#22396138)
I usually just download and self-host for this reason. A software should never rely or be dependent to content delivery networks/repositories like Google Fonts. There's nothing wrong with Google Fonts as a service and repository (tracking stuff aside), but I've never felt comfortable at the idea that we just link, lets say, jQuery or Angular through CDN and call it a day.

I should add that most of my work is through intranet applications with servers only accessed through VPN and I've seen the firewall disrupt Microsoft services one too many times so... it's more of a "yea, it's just a save-as or copy file to my app assets folder" versus users sending me emails that the pages stopped working.

I think it was one of those cheap Alcatel phones with Android One. I don't remember well myself but I'm pretty sure it was Alcatel.

I ended up helping him getting a LG G6 and for his usage it's more than enough power for him. (plus cheap in 2019 when I bought it) All problems solved. Not sure what went wrong with his phone but I couldn't even do anything with the recovery mode and resetting to factory.

I'd say it heavily depends as well, a year ago my father had one of those phones featuring Android One and it wouldn't let you use it unless you connected to wi-fi and logged in to your account. It's bizarre that functionality is blocking you for basic usage of making a call, etc.

I guess the manufacturer could have opted for that type of lock-in as well with their images, but seeing Android One is a near-stock as-is OS I don't know if by default Android forces you to log in and phone manufacturers remove that type of enforcement.

This has been my experience as well. I remember having a VPS with digital ocean a long time ago and it was getting hammered badly with bots. Changed the ports, made pubkey authentication only and installed fail2ban for future pesky bots did the trick for me.

To be honest I don't think the people controlling those bots want to deal with us that makes it harder for them to gain access. Instead why not happily hammer away everyone's else port 22 with the bare minimum configuration? Those who enhance the security were never the targeted audience to begin with.

Re:Ask HN: What job can a “jack of all trades” look for? on Saturday February 15, 2020 @10:41AM (#22335861)
I've recently felt this as well... not just the direction but architecture on how they are created from the scratch...

Maybe in a few years after I get more experience in the business.

I've done freelancing and I'm currently developer on a corporation.

I've seen a lot of talent go in and out. Usually it goes out like this:

- PM is seeking resources internally, you could be reached out and be told on what they are trying to do. - The project can be complex or easy. Honestly it doesn't matter within the context of working for a company. As far freelancer, you can go on a nitty-gritty with the client on what it takes to do and justify your rates to them... for a already-hired developer:

- There's absolutely no guarantee they will incentivize you after all the efforts (working as a developer for a company). So it really doesn't matter if the project is super complex or not. Management is pretty stupid most of the time and they can't see the level of effort in things even if you break them out to them. Or they can simply be ignorant about it.

- I've said no. Usually I'm very driven with new challenges but I've learned the hard way that it doesn't matter at all. These days I just say "I don't know, sorry." and "yea I just never worked on that". I've seen people gone the road of talking about training courses so they could stall management a lot if they don't have many options.

Why? Because there's really no end goal. You are already hired within the company. Employers take for granted that that's reason enough for you to do it.

Honestly it could go many ways. Not all companies will be as awful as mine. If you are lucky enough to land with a company that recognizes your efforts and incentivizes you for it good for you. I don't think many people are that lucky.

I'd say, believe me there are quite a lot of geniuses, but I've yet to meet a fool that takes the bait of taking more complex work in without proper incentive. (excluding fresh graduates and those still in their starting years)

Re:Qt for Android better than ever before on Thursday October 10, 2019 @07:15PM (#21220172)
It's not a comparison I can do. I haven't used ionic extensively enough to put out a well-thought out comparison that can expose the layers of complexities and the pros and cons of how we can benefit from each technology.

I have yet to use electron tho... I haven't done a personal project in a long time to play with it.

Re:Qt for Android better than ever before on Thursday October 10, 2019 @11:06AM (#21215329)
I don't know how Qt & Android fare these days... I know it was quite a hassle to create background services when I first tried to get into it and there was no definitive answer as I think it was still on the roadmap to add it (perhaps?).

Qt is amazing and so is QML. I still found QML JavaScript engine utilizing a lot of memory back then as well and I don't know if it has been fine-tuned these days.

Re:Django 3.0 alpha 1 released on Tuesday September 10, 2019 @10:13AM (#20928392)
Given companies are still using old versions of IE in 2019 or are forced to use compatibility mode with hinting falling back to IE 7,8,etc engine I feel like jQuery is more of a commodity than writing custom code for certain scenarios.

I also thought we would've been better off without jQuery until I started receiving calls that multiple users with different browsers had problems with the app... and telling the users to update would either need approval from the IT department or the user refuses because it'd break compatibility with existing legacy apps that they also use. Having jQuery is just a cheap price to pay.

Ideally I would love everyone to be on the latest browser and that companies moved out of said legacy apps or at least invested in improving them...

Re:The shittiest project I ever worked on (2013) on Friday May 24, 2019 @07:48AM (#20000523)
I'm burnout and have been questioning myself after 2 years servicing clients in the company I'm in if I'm good enough for other roles (using as example) promoted in HackerNews, or whatever job portal.

When I spend so much time idling by and letting that frustration build up... I just start questioning if I'll be able to do other roles and not fail the team or whatever company I'll be working for because of how dormant I am.

It's not like I knew a lot. I don't consider myself to be super talented, just the average guy trying to make it out there but yea... I need to look into moving on.

Re:The shittiest project I ever worked on (2013) on Friday May 24, 2019 @07:27AM (#20000378)
It's pretty much what's happening on my assigned project. It's a legacy app created in the 90s... most of the time spent is just things that takes 1-3 days but due to the constant tweaks and re-tweaks it can take months. In a personal sense it doesn't affect me. I do the work they require me to do and get paid for it. Professionally and personally, I'm a huge mess because I'm frustrated on how bad is the decisionmaking. I feel I'm just wasting, and even though I'm paid for it it just doesn't feel like I'm doing anything with my career. Sigh.

Older »