HNHacker News
TopNewBestAskShowJobs

ArrayBoundCheck

-10 karma · joined May 25, 2022

submissionscomments
ArrayBoundCheck··on Finding the “second bug” in glibc’s condition variable
That's not true at all. I wrote a simple set of threading functions and had 0 deadlocks no matter what I do to it. On youtube I watched a guy write out every possible state of his data structure for hashmap. It's implemented using atomics. It preformed pretty well according to the person and it also did not deadlock after being used in production for years
ArrayBoundCheck··on Ask HN: Can I avoid being nuked by Stripe?
I saw once a guy suggested to contact stripe for an account manager. I don't think he was very specific and I'm not sure if you can simply create a ticket or email them but I think that is a good step
ArrayBoundCheck··on Escaping strings faster with AVX-512
Yeah I know, I'm saying only Daniel (and Carmack) can pull of titles like that without people thinking they're not telling the whole truth. I still remember john's tweet "I can send an IP packet to Europe faster than I can send a pixel to the screen. How f’d up is that?". A nerd said "Either he's crazy or this is an unusual situation" it was neither Carmack followed it up with https://superuser.com/a/419167
ArrayBoundCheck··on Escaping strings faster with AVX-512
I didn't care about speed. I was merely saying the waiting on I/O is false and didn't want to go as far as saying it hasn't been true for 15+ years
ArrayBoundCheck··on Escaping strings faster with AVX-512
Yep. I think the fastest nvme's were a tad above 3gb and network IO is certainly faster. It always irks me when something stop being true 15-20years ago is cited today
ArrayBoundCheck··on Escaping strings faster with AVX-512
Parsing JSON takes more time than IO
ArrayBoundCheck··on Escaping strings faster with AVX-512
The internet is so bad that when I see titles like these I know the article will not be true at all. The great thing is I can see lemire next to the title and I absolutely know not only did he walk the walk but he can write about it in an understandable way. I upvoted before reading and I haven't yet been disappointed. -Edit- Done, it's nice and short and I want to reread the code example. I'm not familiar enough with avx512
ArrayBoundCheck··on A pair of Linux kernel modules using Rust
The fact that writing unsafe rust code is harder than unsafe C due to more rules? The fact that Rust has little support of nostdlib which is what the kernel is using? There's also the fact that most of the time in drivers (in my limited experience) you almost always want unsafe things but I assumed noone would think or admit that one
ArrayBoundCheck··on Software component names should be whimsical and cryptic
What an awful article. I wish I can downvote
ArrayBoundCheck··on A pair of Linux kernel modules using Rust
So one person said creating the rust interface is very difficult to do correctly and the other said rust bare metal isn't complete enough for his use case

I called both of these (and compile times) when people first tried to get rust on the linux kernel. Maybe it's better to acknowledge these problems before you start instead of beating your head? I'm no psychic and I know I wasn't the only one who called these

ArrayBoundCheck··on Ladybird: A new cross-platform browser project
When it comes to common knowledge in programming it's more often incorrect. I still see people telling experts they shouldn't use global variables, that you can't beat the optimizer, that you should use a library (for something as trivial as left pad) etc
ArrayBoundCheck··on Ladybird: A new cross-platform browser project
What does noone can dictate mean?

Google dictates it and I've ran into many many sites that doesn't function with firefox or anything other than chrome

ArrayBoundCheck··on The Next Chapter for Learning on YouTube
Why do I feel like I'll still be asked to like and subscribe?

I'm not interested in youtube cloning good resources we already have only for it to be sunset or charge a bunch. Like when people got upset about the firebase and map price hike

ArrayBoundCheck··on Zig, the Small Language
That was my problem with it. That and being mildly annoyed the creator hates tabs
ArrayBoundCheck··on Zig, the Small Language
Despite what students who never programmed professionally say, memory isn't a problem to a significant amount of C and C++ developers. I think it's been a year since I last access an invalid pointer and that only happened because I forgot that I am not suppose to add elements to array in a `for (auto var : array)` loop. It use to be a for index loop and it didn't take long to figure out the change broke something
ArrayBoundCheck··on Zig, the Small Language
> systems programming language that is not safe?

It sounds like you're saying rust because I don't know what other languages claim both.

Rust is an awful language. That's why. If you're using a systems programming language then chances are unsafeness isn't the problem you're most concerned with

ArrayBoundCheck··on Ask HN: Seriously, how do you TDD?
First you need to be experienced enough to know what not to do. Like that you shouldn't write mocks, shouldn't test private functions, shouldn't use a ton of global or static vars etc

Then you should find some sort of coverage tool so you can know if you covered most lines or not. I tend to ignore error handling lines but if its easy to get into that case I'll writ a test for it. Then I'll write test that take <1ms to execute. If something needs a network I'll try to separate the logic so it can work on a file OR I'll it connect to something on my local machine.

Generally I try to get 95%+ coverage (including error cases). I have many test and the entire suite run in <100ms. Maybe my project is easier to do TDD on but that's the way I do it

ArrayBoundCheck··on Japan declares war on floppy disks for government use
USBs usually have a CPU inside that sits between the storage and PC. This way the PC doesn't need to know a thing about the storage and the CPU can do whatever it needs to implement the USB protocol. However the CPU can be malicious and modify files
ArrayBoundCheck··on Making Wrong Code Look Wrong (2005)
But exceptions do invoke dread in me. Sometimes a goto (or 11) will skip an array bounds check. - This comment is mostly a joke, look at our names. But I did see this happen at least once
ArrayBoundCheck··on Crystal Programming Language
I clicked on 7+ pages. I still can not find how to use an array
ArrayBoundCheck··on Cloudflare's abuse policies and approach
I don't want to live in a world where someone else makes the world a better place better than we do - Gavin B
ArrayBoundCheck··on Slack’s free plan change is causing an exodus
Boo hoo. Either use open source of pay for the service. It's bizarre that people think everything should be free and spoonfed to them
ArrayBoundCheck··on We compiled a library of realistic engineering take-home tests and ranked them
While hiring I've done a 15min test before an interview (always looking through their portfolio first) that took some candidates 30-45mins. If they fail or took longer than 45mins it ends there. I then do a 30min interview that sometimes take 45min if they talk a lot or ask me questions about the company

How does this sound? I have no idea if this is ideal but so far we didn't hire any more bad candidates than we did using a different process

ArrayBoundCheck··on We compiled a library of realistic engineering take-home tests and ranked them
What about a take home test that should take 15min or less? Something not as simple as fizzbuzz but still takes < 15 lines of code?
ArrayBoundCheck··on DuckDuckGo email protection beta now open
The fact that this exist shows open source is bad. We should have had an alternative to email by now
ArrayBoundCheck··on Vietnam to make Apple Watch and MacBook
I wonder what Gavin Belson is up to. I'm thinking about the episode where Gavin opens up a plant in goldbriar north carolina (Not a real place)
ArrayBoundCheck··on .NET 6 is now in Ubuntu 22.04
I use a VPS. The strange thing is one site never drops a connection and another one does. I'm not sure if its the physical location or my config but one of the two instance works very well. Its a $5 VPS too
ArrayBoundCheck··on Nip2: A spreadsheet-like GUI for the libvips image processing library
Does it send me notifications? Is it called NipAlert2? Is professor bighetti a collaborator?
ArrayBoundCheck··on An incident impacting 5M accounts and private information on Twitter
Some days I wish I could go without a phone number and have all my communications through an open protocol
ArrayBoundCheck··on Why is recruiting developers so difficult?
My team once needed to hire someone from the outside. I posted a C++ job saying we expect people to know C++11 and to be comfortable working with a C++20 codebase

Literally more than half the applicants couldn't figure out how to update/install clang/gcc to compile our test. It wasn't timed or anything it was essentially change the lambda so it's by reference instead of by value (or the other way around idr) and send us back the one or two line change

Page 1 of 5Next →