Readit News logoReadit News
kevinskii commented on How fast can you parse a CSV file in C#?   lemire.me/blog/2024/10/17... · Posted by u/greghn
unsnap_biceps · 10 months ago
> I am loading the file from disk. However, my disk has bandwidth higher than 1.2 GB/s, and the file is small enough to end up in cache. Thus we are already limited by the processor. And we are not yet doing any parsing!

I really wish the author would show some proof for claims like this. io is a complicated beast and it's not certain that the subsystem could go faster with the patterns the code is doing or not. Plus there's no indication of what else is going on simultaneously on the system, so perhaps a background job spin up and the disk is io bound. We don't know and it appears that neither does the author.

kevinskii · 10 months ago
Not every blog post written in the author’s free time needs to be manuscript-worthy. Informal benchmarks can be often really helpful in solving real world problems where it’s not worthwhile to try to squeeze out every last nanosecond of performance.
kevinskii commented on Nikola founder to be sentenced for federal fraud charges   cnbc.com/2023/12/18/nikol... · Posted by u/geox
kevinskii · 2 years ago
Trevor Milton's infamous "html5 supercomputer" quote often gets shared in discussions about Nikola, and for good reason. It's one of my all-time favorite bullshit quotes:

"The entire infotainment system is a HTML 5 super computer," Milton said. "That's the standard language for computer programmers around the world, so using it let's us build our own chips. And HTML 5 is very secure. Every component is linked on the data network, all speaking the same language. It's not a bunch of separate systems that somehow still manage to communicate." [1]

[1] https://www.truckinginfo.com/330475/whats-behind-the-grille-...

kevinskii commented on Git and Jupyter Notebooks Guide   reviewnb.com/git-jupyter-... · Posted by u/sixhobbits
kortex · 2 years ago
It sounds like you are using the tool wrong. Jupyter notebooks are strictly superior to anything else (namely: code only, spreadsheets, matlab/octave) at their primary use case, which is interactive data science (writing code to manipulate some data, while actively revising the code, or sharing the results of that code with others).

Nothing even comes close. There's a reason it's dominant in the data science field.

Your workflow works for you but the jupyter workflow works for millions of students, data scientists, and even developers. Heck I even know all the ways to avoid jupyter, and I still use it often, because it's so convenient.

kevinskii · 2 years ago
I agree with the OP. VS Code using the Jupyter protocol is superior to notebooks in almost every respect in my experience. It gives you an excellent debugger, the ability to track changes in Git without any modification, and you can also run as a regular Python script.
kevinskii commented on Lessons from America’s astonishing economic record   economist.com/leaders/202... · Posted by u/belter
dopidopHN · 2 years ago
Just to give you additional data point with cell phone prices.

I’m French but I’m living in the Us since a decade or so.

Cell phone prices are considerably cheaper in France ( €30 gets you unlimited everything on mobile and €80 is a combo for fiber + mobile plan )

But yet, that a heavily regulated market. If I’m correct there is 5 licences. All other companies have to buy and resell bandwidth thought those 5 licence. They tend to be French company.

Here I pay close to $200 total for the same service ( actually lesser service, I can’t have fiber where I live )

Maybe those expensive price are not due to that regulation? ( or maybe it is. I don’t know, but I wanted to give you a counter example )

kevinskii · 2 years ago
Excellent points, but perhaps part of the reason for the price difference is because the US population is much more geographically dispersed, so the infrastructure costs are much higher.
kevinskii commented on Why is remote work seen as a gift?   cdoyle.me/2023/02/08/why-... · Posted by u/doylerirl
ARandomerDude · 3 years ago
> As a senior leader, one of your jobs is to teach the younger folks how to do their jobs efficiently.

I'm in the leadership position you describe, and I've found remote work to be amazing for teaching because of screen-sharing. It's so much easier to get the team talking about some code over Teams/Slack/etc. than it is awkwardly huddled around someone's monitor or looking at a TV in the office. Remotely, you're able to see the code and have high-quality audio, and you don't have to worry about some higher up manager seeing a group gathering and thinking now's a good chance to get some internal publicity...

Of course, none of the above applies if the tools aren't used. I think the key to mastering remote teaching is good scheduling.

kevinskii · 3 years ago
I agree that remote screen sharing can be sufficient, but I'm personally a much more effective mentor in person with lots of whiteboard space.

Deleted Comment

kevinskii commented on Vulkan Tutorial (Rust)   kylemayes.github.io/vulka... · Posted by u/ibobev
kevinskii · 3 years ago
Slightly tangential, but for those who have gone through vulkan-tutorial.com and still felt lost even knowing a bit about basic graphics programming concepts, I highly recommend Brendan Galea's Youtube video series on Vulkan [1]. I'm about halfway through it and so far it has really tied together a lot of different concepts and cleared up a lot of my lingering confusion.

[1] https://www.youtube.com/@BrendanGalea/videos

kevinskii commented on Ask HN: What are the foundational texts for learning about AI/ML/NN?    · Posted by u/mfrieswyk
softwaredoug · 3 years ago
"Introduction to Statistical Learning" - https://www.statlearning.com/

(there's also "Elements of Statistical Learning" which is a more advanced version)

AI: A Modern Approach - https://aima.cs.berkeley.edu/

kevinskii · 3 years ago
I agree. I read the first edition to Intro to Statistical Learning and it went into just the right level of mathematical depth. The authors also have Youtube lectures that accompany the chapters, and these are a great reinforcement of the material.

Deleted Comment

kevinskii commented on The Oceanic+ app comes to Apple Watch Ultra   apple.com/newsroom/2022/1... · Posted by u/serhack_
threeseed · 3 years ago
I don't see the point of a backup dive computer for most people.

Every dive I've done has been on a boat with quite a few people all doing the same sites during the day. If your computer failed you can still estimate NDL from others on the boat and just err on the side of caution. Or even just rely on paper charts like people did for decades.

If you're doing cave diving then obviously a whole different story.

kevinskii · 3 years ago
I agree, I don't know anyone offhand who uses two computers for recreational diving, and I would absolutely use an Apple watch as my sole dive computer. If you have a computer malfunction you can still safely return to the surface. The only reason to perhaps carry a backup is if you've traveled a long way or otherwise invested a lot of money in the trip.

u/kevinskii

KarmaCake day1470May 14, 2010
About
Hello, nice to meet you. My name is Kevin Davis. I do software engineering and data science for medical device research and development. (https://kevinskii.dev)
View Original