News for hackers. Stuff that matters.

itsokimbatman

Re:A Coder Considers the Waning Days of the Craft on Tuesday November 14, 2023 @10:50AM (#38264767)
Saw;
You can audit binary code with tools like Ghidra and IDA Pro.

It takes a different mindset to find these type of bugs than it takes to develop software. I won't quite say they're orthogonal skill sets, but pretty close.

If the people finding these bugs don't want to work for Apple, Google Project Zero, etc. there's not really much Apple can do about it.

Re:The Battle over Books3 Could Change AI Forever on Monday September 04, 2023 @06:10PM (#37385615)
I mean that's part of the conversation that needs to be had. I would argue libraries are an unadulterated good, but it is generally considered at best unethical and at worst illegal to re-use content that isn't your own, at least without a proper citation.

Then there's also the issue with things like art, music, and code. Where does the line fall with scraping Github, Soundcloud, DeviantArt, or Instagram and using things like that without permission? Most of the code on Github is open source, but there's a lot of difference between the GPL and BSD licenses.

Re:Keep Linux Open and Free–We Can’t Afford Not To on Tuesday July 11, 2023 @02:31PM (#36685290)
I will say that Oracle does contribute to gcc, gdb, and other parts of the GNU tool chain. I interviewed a few years ago with the team that does it. I don’t know how large the contributions are, but they seem super passionate about what they do and believe strongly in giving back
> Apple solves small, annoying problems, and does so without friction. Things just work.

This. I’ve tried Android a couple of times over the years, and every time there’s just little quirks and problems that drive me back to iOS.

Same with Linux on a laptop. I actually prefer Linux as a dev environment, but I’ve never been able to get the same laptop experience as I can with a Mac. The quality of the touchpad, keyboard (the butterfly keys being the lone exception), display, weight, and form factor just can’t be touched.

Re:Awesome Lemmy Instances on Monday June 19, 2023 @02:05PM (#36394489)
I don’t think they are calling “rationalism” itself bad, but there is a fairly large contingent of people who call themselves “rationalists” who don’t show the slightest hint of self introspection or rational thought. They see everyone else as driven by sloppy or emotional thinking and completely miss that their own arguments and reasoning are sloppy or emotion driven.

The first step to being a true rationalist is to realize you’re as vulnerable to cognitive biases and emotion driven thinking as everyone else, and focus on your own thought processes first and foremost.

Being a rationalist isn’t about lording over other people, it’s about trying to make your own thought as clear and rational as possible, and that requires challenging your own deeply held beliefs and opinions constantly.

Most people I see who call themselves rationalists aren’t that.

This makes a lot of assumptions. Space is ridiculously big, and rather hostile to life, even artificial life.

You first have to survive long enough to become advanced enough to make electronics. You then have to not kill yourselves with nuclear weapons, climate change, or similar inadvertent effects of a rapidly industrializing civilization.

The planet and the solar system have to be friendly enough to space exploration and travel. Maybe there’s no gas giants for gravitational slingshots, or maybe no other rocky planets or an asteroid belt for mining materials.

Maybe the planet evolved complex life in extreme conditions, with such a deep cloud cover there’s no concept of outer space, so as far as the AI knows it’s conquered all there is.

Maybe the AI conquered the planet, but oops, there goes a super volcano or an asteroid and it gets wiped out.

And again… space is really really big. The AI may be on its way and just hasn’t gotten here yet.

There’s plenty of reasons why a super AI wouldn’t be able to conquer the galaxy and beyond, or why we haven’t noticed yet.

Re:Italy moves to ban lab-grown meat to protect food heritage on Wednesday March 29, 2023 @02:07PM (#35360976)
How is “insect flour” misleading? The word “insect” is right there in the name! And who cares if it’s normalized or not? If it’s useful and makes healthy, delicious food, I don’t care what it’s made out of.

Like… you do realize the parts of animals we eat are pretty gross right? The things that go into sausages and such? Bone marrow is a delicacy for gods sake!

There’s foods that I think are gross and won’t eat… calimari for instance… but they usually come down to sensory things like taste, texture or smell. The ingredients don’t usually come into play.

Not that I'm aware of, but as someone who works in security, I've exploited a bunch of bugs against real world, hard targets both for my own educational purposes and also as part of my job with client engagements. I'm not going to pretend I'm the best in the world, but I'm decent. More importantly, I know a lot of folks with hats of many colors who are a lot better than I am.

When Luca Todesco (the person who wrote that toot) tells you your exploit mitigations are trash, you listen.

Like I said, I'm not going to make any claims to being an elite hacker. I have a cool job that I love, and I enjoy doing this stuff for fun too to keep my skills sharp. But reading through that presentation, there's nothing that made me pause and think "This is a game over scenario." If you have a moderately powerful bug with halfway decent primitives these mitigations aren't really going to stop anyone.

An elite team like NSO group? This isn't going to effect them one bit.

Re:Ask HN: How are you using GPT to be productive? on Saturday March 25, 2023 @10:55PM (#35310304)
I haven't been using it for much besides simple problems that I don't feel like trawling through SO or banging my head against for 30 minutes. Things like shell one liners for text processing/searching files/etc.

On larger tasks, I've not found it particularly useful, although I haven't had a chance to try it out with GPT-4. Previously, when I would ask ChatGPT about solving a particular problem, it would be terribly broken. Maybe GPT-4 is better.

That said... even though the code was broken, it was helpful in that it gave me a skeleton of what a solution would look like, especially if it was a problem domain I had no experience in.

For example, I wanted to do a little project to extract text from PDFs, including PDFs that were basically image scans, so I would have to do some kind of OCR. I'd never done anything like this before. I'm sure I could spend time Googling and figuring out which libraries to use. But instead I asked ChatGPT.

The solution it gave wasn't great, but more importantly it pointed me in the right direction with the libraries it used and some examples on how to use it.

Aside from programming, I've also used it as a "study buddy" since I'm going back to school and working on my masters in Computer Science. That's been much more successful. For example, I will give it questions from study materials handed out by the instructor (like previous exams or quizzes) and say "We are reviewing paper X in this class. Here's questions from a previous exam. Please generate questions like this to help me prepare for my upcoming exam."

or "Here are questions from a previous exam and my answers. Please evaluate my answers and provide feedback."

or "Here are questions from a previous exam, please quiz me in a similar format"

Also working on projects for class, while I won't ask it to solve the problem for me, sometimes I'll bounce ideas off of it. Like... "I know there's an algorithm to do X, but I don't know the name of it. I don't want you to write the algorithm for me, because that's cheating, but please tell me what the algorithm is called and if possible point me to a good paper describing it."

Lastly, I recently used it while helping someone update their resume (with permission). I removed all personal information and asked ChatGPT-4 to help me make it pop. We had a little back and forth conversation on ways we could improve the resume, and when we were done it was pretty damn amazing. I'm pretty good at doing resumes, but me + ChatGPT was better than me alone.

Apparently it did a bangup job, because every interviewer went on and on about how good the resume was and how impressed they were.

This is literally going to be a minor annoyance at most for the handful of attackers that go after OpenBSD.
Honestly the only thing that really needs to be said:

https://nso.group/@qwertyoruiop/110086216898968720

Re:The War on General Purpose Computing on Sunday December 04, 2022 @01:33PM (#33856265)
Lisa Simpson has a rock she would like to sell you: https://youtu.be/xSVqLHghLpw

I mean, yeah, I get it. I worry about general purpose computing going away too. I remember Stallman and Doctorow talking about this in the early 2000s and saw many iterations of this same thread pop up on Slashdot, HN, Digg, Reddit, etc. over the years.

I dunno man, I guess I’m just skeptical over the dooming at this point. I think a bigger issue is less about whether we will be able to run whatever we want on our computer, and more that the internet has just become a cesspool of ads, clickbait, ragebait, and app sandboxed content that’s not discoverable by search engines. I think you’ll always have a fairly reasonable choice of computers to run whatever software you want on. But todays internet just isn’t very fun anymore.

Re:Programmers Should Plan for Lower Pay on Saturday November 05, 2022 @04:50PM (#33485550)
It's possible, certainly. I started my path to this career back in 1998, and dropped out of college because I was not prepared... it kinda worked out well because the tech bubble popped and I would've had a bad time around the time I would've graduated.

When I went back to school sometime later, the job market had recovered a good bit.

The whole time I had followed the countless predictions of the end of the software bubble, and not a one of them has come true.

I'm not going to say that devs can expect infinite growth and FAANG level pay across the entire category of dev jobs. But I think in general it will still be a viable path to a reasonably comfortable, middle to upper middle class lifestyle for many years to come like most other professional careers, and there will always be a strong market on the high end as well for FAANG or those with niche, in demand skillsets.

Re:A recession in America by 2024 looks likely on Thursday June 02, 2022 @04:01PM (#31599819)
Well economists have accurately predicted nine of the last five recessions after all!
Re:A Saudi woman's iPhone revealed hacking around the world on Friday February 18, 2022 @11:55PM (#30394530)
Think about who would want to spy on you, what they'd want to know, and how much they'd be willing to spend to know it.

If the most they could get out of you was a few thousand bucks from your bank account and maybe your email password, you're probably in the first category.

On the other hand, if you have access to highly confidential information (think classified government info or you're literally working on the next iPhone) or are the type of person who makes enemies of spoiled rich oligarchs in despotic nations then you're probably in the second.

Re:iPhone flaw exploited by second Israeli spy firm on Thursday February 03, 2022 @03:45PM (#30198552)
I don’t know about all of them, but a quick Google search shows that both Mongolia and Puru have intelligence agencies, which means very likely they have some sort of collection capability for HUMINT and/or SIGINT.

The ones that don’t have intelligence capabilities are probably the exception rather than the rule, and I doubt they’re doing out of good will vs just not having the resources for it.

Nah that’s what tools like IDAPro and Ghidra are for. You don’t need source although it does help.

That said, the particular component this targets is open source. It’s the JBIG2 decoder that is part of XPDF.

It’s been a minute since I’ve been to the parks because of Covid, but I am almost positive you can buy those shirts in the park gift shops. So the person you’re replying to may have just seen them for purchase.
Re:MacBook Pro 14-inch and MacBook Pro 16-inch on Monday October 18, 2021 @07:57PM (#28913365)
Honestly, same. I was afraid I'd regret purchasing my M1 Air last year, but my needs for a personal laptop have gotten simpler as time goes on. I want a small, thin, and light laptop that's easy to travel with. I've got a big gaming PC if I need power.

My work will probably upgrade to these when it's time to refresh our work machines, but for my own personal use the M1 Air just hits all the sweet spots.

Re:Leaving the Apple ecosystem behind on Friday September 24, 2021 @10:23AM (#28642826)
This. This 100%. I don’t think my nerd cred is in any danger. I regularly write kernel code, bare metal code, assembly, etc. I know how to computer.

But the older I get, the more I find I’m just happier in the Apple ecosystem. I don’t want to fiddle with X11 settings or tons of dot files. I just want to open my computer and hack on the shit that interests me. There’s things about Apple that annoy me, but the same can be said for Android, Windows, any of the free *nixes, etc.

Every platform and ecosystem has trade offs and it’s fine to just use what you want to use. Personally I’ve got Apple laptop, phone and tablet, a Windows desktop for games, several RPis running various Linux distros, and a Proxmox server running VMs for infrastructure and tinkering. None of that makes my farts smell better than anyone else.

… except for those nasty Emacs users of course :P

Re:The WHO lists Mu as a Variant of Interest on Friday September 03, 2021 @03:29PM (#28408335)
Don’t you know that caring about other human beings means you’re just a stupid sheeple who does what they’re told? The media and the elites just want to control your mind man… just take you a big ol bong rip of covid infected air and set your mind free!
Re:The WHO lists Mu as a Variant of Interest on Friday September 03, 2021 @03:24PM (#28408272)
Until you get infected with a novel virus and your immune system freaks the fuck out trying respond to it and you wind up dying from a cytokine storm.
Re:An Illustrated Guide to Post-Orwellian Censorship on Thursday August 26, 2021 @07:43PM (#28322478)
That’s interesting! Although maybe not surprising. I’d like to know more… do you have a source?
I’ve had FB bugging me off and on and I can’t get rid of them. If I were desperate and they were my only suitor I guess I would do what I had to, but I honestly have no desire to work for them.
Right?! My company was mostly remote pre-pandemic, and we've gotten more remote friendly during the last year. We share memes, conversation, movie reviews, etc. all over Slack/Zoom/Signal/etc. I'll just get random weird texts from one of my co-workers.

It helps that a lot of us have worked together through multiple companies, but even the ones that haven't... I've honestly never met my manager in person just due to timing issues and the pandemic. Literally all of our interaction has been online and we have a really good relationship.

As long as I have the choice, I will never go back to an office on a regular basis. WFH works for me.

I don’t think “impressive iteration” begins to describe it. I am very rarely impressed by new tech these days, and the M1 is the first piece of new hardware I’ve seen in years that seems downright magical.

My previous laptop was a 2016 MBP with an i7, and the M1 destroys it. I can build large projects like LLVM or WebKit fast and it doesn’t even get hot.

I’ve also been running Linux VMs with the new Parallels and they feel native speed.

Rosetta 2 is incredible, Intel apps are very responsive on M1.

My work computer is a high end 16” 2019 MBP with 64 GB of RAM and honestly if it weren’t for needing the extra RAM or the occasional x86 VM I’d trade it in for an M1 in a heartbeat.

I’ll agree the Apple hype is unrealistic at times, but the M1 is one that absolutely deserves it.

Re:How to Learn Complex Things Quickly: A Guide on Thursday April 08, 2021 @12:12PM (#26740539)
"How to Learn complex Things Quickly by realizing they are not that complex at all."

This is such a good observation. When I was first getting into my field, I looked around at the smart senior people around me and thought there was no way I could ever do what they did. Total case of imposter syndrome.

Things like compilers, operating systems, etc. all seemed like magic, and I thought I was too dumb to do that kind of stuff.

But once I started working, I didn't really have a choice... it was either learn or get fired. And digging down into the code made me realize just how... simple? ... some things are. Being able to pull back the curtain and realize there's no magic there. Want to talk to this piece of hardware? Just write this bit pattern to this particular address, then put your data over here, and then send it this command and it works.

Not to say I immediately figured everything I read out. Sometimes it took me hours or days to work through something, especially if it was heavily templated C++ code.

One of the things that really surprised me was looking into build systems for large projects. When I thought about how I'd do it, I could only imagine a disgusting, hacky series of scripts and code generators and things that any sensible developer would scoff at. But when I actually looked at how some projects are put together... they're a disgusting, hacky series of scripts and code generators.

Learning that there's nothing magical about any of this was life changing. I still deal with imposter syndrome, but I feel much more confident that I can learn if I just make myself dive in, even if it seems scary at first.

The ones that are completely gone have no way to make a claim. But if one tribe wants to make a claim to reparations from another they’re free to do so. It’s between them to sort that out and none of my business.

On the other hand I am a citizen of the USG and believe it should be held to its promises.

By “we” he means the United States Government. Unlike the father in your example, the USG is still around and still responsible for its actions. As such, I see no moral issue with requiring it to make restitution. If we don’t want to raise additional taxes to do so we can always make some small cuts to military spending or some other bloated program to pay for it.

Older »