HNHacker News
TopNewBestAskShowJobs

alexdowad

432 karma · joined February 27, 2013

My blog: https://alexdowad.github.io
submissionscomments
alexdowad··on Apple unveils M1, its first system-on-a-chip for portable Mac computers
I found it interesting, and curious, that Apple has included hardware specifically for "machine learning" on the M1 chip.

It's hard to imagine that anyone will be training ML models on their Mac laptop. So presumably, this must be some kind of accelerator for executing models which have been trained elsewhere... right??

What do they expect those models will be used for?

alexdowad··on No More Free Work from Marak: Pay Me or Fork This
My personal preference would be more like:

5. Make something cool and release it under any license which I feel like. Ruthlessly limit the project scope so I can finish it while still having fun and learning interesting things. (This means completely finished; documented, optimized for performance, and exhaustively tested with close to zero bugs remaining.) Then:

- Be very clear on the project page about what people can expect in terms of support and timely bugfixes. Let people make their decision to use the project or not, with knowledge of how much time and energy I am ready to give. Politely refuse to go beyond what has been stated.

- Make whatever amount of money I need through other means.

- Use the knowledge I gained from making said "cool thing" to make other cool things (whether for fun or for money).

- With a glint in my eye, reminisce about the great times spent hacking on computer code and all the fascinating discoveries made.

alexdowad··on Ask HN: How do custom software dev firms make money?
> 30% margin

I know of firms which hire offshore programmers for $15/hr and bill the client $90/hr. (500% margin!) Of course, it helps if the client has plenty of money.

alexdowad··on Static Linking Considered Harmful (2004)
Good old Ulrich in his best form!
alexdowad··on Ask HN: Self-taught webdev with lots of free time. What should I learn?
This is a far better idea than "Operating Systems: Three Easy Pieces" as suggested by the OP.
alexdowad··on Ask HN: Self-taught webdev with lots of free time. What should I learn?
Please feel free to privmail me and I will try to share some ideas.
alexdowad··on Ask HN: Self-taught webdev with lots of free time. What should I learn?
Suggestion: Dig in to the very bottom of your computing stack and get a working knowledge of your CPU, bootloader, OS kernel, system libraries, etc.

Along the way, you will want to try: - Using a debugger to step through simple programs at the machine level and see what happens to the registers, stack, etc - Using tracing tools like strace (for Linux) to see what syscalls various programs issue (this is after you learn what syscalls are and how your OS handles them) - Playing some old-school hacking wargames like vortex, utumno, etc. These are fun and really make you learn the low-level details of how your OS loads binaries, memory layout of processes, etc.

Most developers don't know this level of the stack, and when you are the one guy on the team who does, it's a bit like having superpowers.

alexdowad··on Ask HN: What are some good resources to learn how electricity works?
I respectfully disagree with this comment. I banged my head against The Art of Electronics for years before discovering that the problem wasn't with me... but rather, it was just a very poor book for a learner.

It may be a great book for those who already have some grounding in the topic.

alexdowad··on Hard-Coding Bottom-Up Code Generation Tables to Save Time and Space (1991) [pdf]
Looks fascinating. I wish that in the first section, they would have shown which instructions (for a sample architecture) might have been generated for each application of the tree rewrite rules. It looks like the reader was expected to understand that as a prerequisite.

It seems the authors' interest was more on how using their code generation tables could speed up the application of those tree rewrite rules.

alexdowad··on AC/DC Song Made with a Markov Chain
If the lyrics were all generated by a Markov chain from beginning to end, there's no way that it would have a repeating chorus.

Are all the 3-word tuples actually used in other AC/DC songs? (Output this grammatical could not be generated by a Markov chain that only looks at 2-word tuples.) If not, that also seriously calls their claim into question.

I think the maker would have done well to be more upfront: "AC/DC Song Co-authored by a Computer" or something like that.

alexdowad··on A Full Break of the Bitstream Encryption of Xilinx 7-Series FPGAs
Once I worked at a place which was very interested in protecting the IP inherent in their firmware. They gave me a research assignment to get an idea of how difficult it would be for an attacker to extract it as a binary given unlimited physical access to a sample device.

Since I read and write Chinese, I did some searching on Chinese-language sites and found a company advertising their ability to do just that... for about $10,000 per job. They listed the chips they knew how to crack, but the one my employer was using was not on the list...

I feel that trying to prevent reverse-engineering by adversaries with unlimited physical access is a fool's errand. So this break of Xilinx FPGAs is interesting... But kind of a shoulder shrug.

alexdowad··on A Full Break of the Bitstream Encryption of Xilinx 7-Series FPGAs
But if an attacker is already "inside" your system and is able to access the interface for configuring the FPGA, I think you have already lost...
alexdowad··on About Musl
Definitely not. The kernel has its own implementations of any standard C functions which it needs.
alexdowad··on No nuances, just buggy code (was: related to Spinlock implementation)
Just searching the web to see if anyone has published a list of Linus Torvalds' best technical posts -- those where he shares his extensive knowledge of system programming, CPU architecture, etc. With all the years he has been posting on newsgroups, there should be a lot more "gold" out there.

Unfortunately, it seems that most people who write about Linus on the web are more interested in his worst posts -- where he has slung insults and profanity with no valuable technical insights.

alexdowad··on The bigger they are, the harder they fall: WeWork and Uber fight against reality
What is this guy actually trying to say?
alexdowad··on Mathematics all-in-one cheat-sheet (2013) [pdf]
I felt the same. Also feel that he put too much stuff in, as if wanting to make it run for as many pages as possible.
alexdowad··on Ask HN: What should a systems/low-level software engineer know?
As an extreme example: I just saw a new micro the other day which costs 3 cents per unit... but it only has 64 BYTES of RAM.
alexdowad··on Things I Don’t Know as of 2018
This. Never heard of Dan before today. Now he is "a guy on the Internet who writes about programming but doesn't know much about it".
alexdowad··on Ask HN: What to do if I’m about to lose my job to mental health issues
Is there anything you can do to reduce living expenses? (Cancel unneeded subscriptions, eat out less, etc.) Whatever happens with your job, slowing down your "cash burn" can only make your financial situation better.
alexdowad··on Ask HN: How to self-learn math?
I found Khan Academy really helped with high-school algebra, single-variable calculus, and especially multi-variable calculus (the visualizations were great). Khan Academy's linear algebra course was awful and I dropped out there.
alexdowad··on Launch HN: Mirror (YC W17) – turn a selfie into emoji that look like you
Tried the app on my Nexus. It didn't work, at all. When I open the app and try to take a selfie, the image is completely blurred out and it can't detect my face. (The built-in Camera app works just fine, though.)
alexdowad··on Statistics Professor Just Banned by Google: Here Is His Story
Why doesn't he say which of Google's terms of service he supposedly violated? He just spends the whole 3 pages saying that he hasn't done anything wrong, without even once saying what he is alleged to have done wrong. Seems a bit dishonest.
alexdowad··on ⁠Btrfs has been deprecated in RHEL
I tried btrfs and got bitten by bugs; not doing that again. Judging from this move by RH, it looks like I wasn't the only one.
alexdowad··on The Future of Go Summit – Ke Jie vs. AlphaGo
A Go amateur's synopsis: it seemed like Ke was winning and it seemed like Ke was winning and then stuff got complicated and then AlphaGo won.
alexdowad··on Ask HN: Should I invest time on mastering the command line or the Jetbrains IDE?
IDE or text editor + CLI tools?

The answer depends on the programming language which you have chosen to use at this stage of your learning process. Each language has its own community, and in some of those communities, IDEs predominate. In others, it is CLI tools.

If you use the tools which are dominant in your community, reading books, blog posts, and StackOverflow answers will be easier. Pairing with other programmers will be easier. You will be able to watch screencasts and apply the tricks which you see. And so on...

alexdowad··on Ask HN: What is something you do for clients that consistently blows them away?
Presumably he is working on other things in the meantime.
alexdowad··on Ask HN: What simple tools or products are you most proud of making?
Spamnesty is really amusing! It would be even better if your bot had a wider variety of responses.

I foresee that sooner or later, your bot will get stuck in an endless conversation with a spambot which keeps replying, leading to another round of replies and then another...

alexdowad··on Ask HN: What do you wish someone would build?
elihu, these are some good ideas here. I would love to see your "full wish list". Can you post it somewhere?

More improvements on the POSIX interface:

- Processes should be able to reserve some % of both CPU and I/O bandwidth. So you can have video players, games, etc. which remain perfectly smooth no matter what other processes are running at the same time.

- I would also like it if the kernel and its drivers would refuse to 1) write to the boot sector of any disk, and 2) reflash firmware on any device, even if requested by root, unless the computer is booted in a special "maintenance mode". That would eliminate persistent rootkits.

alexdowad··on Ask HN: 8 years working, now 3-4 months off to learn. Looking for advice
In your 3 months, make sure to limit the scope of what you expect to learn. There is just so much out there, and when you start learning about one thing, that will lead you to another, and another, and another... so be selective about which "rabbit holes" you go down.
alexdowad··on Six months in, an African startup story
What do they do? Since Node Africa isn't (yet) a household name, they could have included at least a paragraph explaining their business.
← PreviousPage 4 of 6Next →