HNHacker News
TopNewBestAskShowJobs

nimrody

610 karma · joined March 22, 2009

nimrody at gmail
submissionscomments
nimrody··on Facebook exec blames society for COVID misinformation
"When you’re young, you look at television and think, There’s a conspiracy. The networks have conspired to dumb us down. But when you get a little older, you realize that’s not true. The networks are in business to give people exactly what they want. That’s a far more depressing thought." - Steve Jobs.
nimrody··on Announcing Vitess 11
Is Vitess still used by Youtube or did they eventually move to one of Google's internal planet-scale databases?
nimrody··on Show HN: Work with CSV files using SQL. For data scientists and engineers
Not sure how you'd do this from Python, but you can fire up sqlite3 from the command line and run

    .mode csv
    .import filename.csv table_name
On my 2-year old Windows laptop (i7, lenovo x1) importing a 2M rows 1.4GB file takes about ~70 seconds.

So not 10 seconds but no need to create an insert statement (I'm sure you can access this functionality from python if you need to)

nimrody··on Exodus: Easily migrate your JVM code from Maven to Bazel
Maven just hides the complexity in its plugins which are implemented in Java.

If you don't need any plugin - then, yes, it's simple.

But once you need specialized plugins it's no better than gradle/bazel. The latter two lets you add some logic in the build scripts - so at least it's visible to users. If you need special functionality in Maven you have to write a plugin or gather a few plugins. And when it breaks down (as all tools do) -- it's difficult to find the code and understand the problems.

nimrody··on Ask HN: With advancement of tools such as Sentry, do logs serve any purpose?
Logs are usually more detailed. So while you get error events (and perhaps other interesting events) aggregated in Sentry and similar tools -- when you actually want to understand the failure, logs can help you understand the reason for the event.

A typical workflow would be to look for common errors reported by Sentry, then take a few example cases and examine the logs to understand what went wrong.

nimrody··on Bring Your Own Client
It was but then deteriorated into a big patent war with every company trying to shove its proprietary patents into the next cellular standard.

So while everyone can implement the standard, very few can do this profitably (In practice, Qualcomm, Mediatek and to some extent Samsung)

nimrody··on Female Founder Secrets: Fertility
Except that cultures change over time. And, typically, when cultures evolve they tend to promote less children. For example, population growth in India is declining as the economic situation is improving (source: https://datacommons.org/place/country/IND?topic=Demographics)
nimrody··on Improving DNS Privacy with Oblivious DoH
With time, client-side TLS tickets will become more common and session resumption means you won't always be able to see the SNI.
nimrody··on A small but complete JavaScript engine
One advantage of using multiple files is that you can have functions that are private to the file (static functions). So when looking at a specific file you know it can use either functions in this specific file or functions #include-d from other files. But it cannot use the private functions of other non-included files.

This reduces the cognitive load and gives the compiler a way to enforce separation.

In short - files in C can give you namespaces -- which are sometimes a useful way to organize code.

nimrody··on The Art of Automation
There was a post here a few weeks ago reminding us of the dangers of this approach. I don't have the link but the essence is here:

After a process gets automated, people forget the details of how to do the work manually. Now, when the automation breaks (and it will break at some point. It takes a huge amount of work to make these things failsafe and scripting doesn't really encourage robustness) -- no one remembers the details and fixing the issue is more difficult and requires specialized knowledge that is no longer common in the organization.

nimrody··on Why should I do production support?
But does it give engineers a good incentive to improve product quality and reduce the number of production incidents?

Where I work we are not on-call. Nevertheless, I try to help the ops team when they encounter issues. This does make you improve logging and error handling since you know it takes a lot more time when it's difficult to filter logs for the interesting events.

Engineers not exposed to production issues and customers will never understand why you need these extra measures.

nimrody··on Things I wish I’d known about CSS
That is correct (https://codepen.io/nimrody/pen/dyGgBxW)
nimrody··on How Zoom works [slides]
The funny thing here is that this is no small startup with limited resources.

Microsoft can have dedicated teams for each platform (perhaps Linux is not as important but certainly for Windows, macOS, android and iOS)

nimrody··on SimRefinery Recovered
Office-Politics-Sim.

Along with an ML training pipeline where you can train the figures in the sim to behave similarly to certain people in the office and a prediction phase where you can ask "what if"-s type of questions :)

nimrody··on A scheduling tool for bread baking
Thanks for the tips!
nimrody··on A scheduling tool for bread baking
That's the most difficult part for me. We need more than a schedule - we need instructions how to modify the schedule and perhaps ingredients based on what we get.

The "Quarantine bread" receipt was wonderful last week. This week, for some reason it turns out terrible (dough very sticky, bread burnt on the outside, etc.) No idea what went wrong and what I should have done to fix this.

nimrody··on Honda bucks industry trend by removing touchscreen controls
I am not a pilot, but it seems like MFD (multi-function displays, a sort of touch screen with touch points at the edge of the screen) are very common even in fighter planes.

Yes, the basic controls do not change. But more advanced functionality is easier presented through menus and screens which guide you through a process -- instead of adding tons of switches for every possible function.

https://en.wikipedia.org/wiki/Multi-function_display

nimrody··on Zoom meetings aren’t end-to-end encrypted, despite marketing
Very well explained, too. Great work.
nimrody··on Windows Subsystem for Linux is making inroads with developers
How is the file system performance in WSL? I'm stuck on WSL1 (IT managed OS upgrades) and file access performance is much slower than native windows.

So sometimes I give up on my favorite command line tools and switch to "CMD".

nimrody··on The growth of command-line options, 1979-Present
Actually, that's something that seems inspired by Plan 9 with its /net/tcp/xxx files. Bash just tries to make it cross platform so it cannot rely on the host OS like rc does.
nimrody··on Mozilla’s DNS over HTTPs
It gets more difficult when you deal with aggregated traffic in the 10s or 100s of Gbps.

But yes, it is possible.

One thing is though - TLS1.3 is getting more popular and so is session resumption. So even now quite a bit of traffic cannot be identified and it will get harder and harder.

Encrypting DNS requests is one required piece of the puzzle.

nimrody··on Let's Destroy C
Have you looked into Zig (https://ziglang.org/)? It's a little more than what you've asked since it does support compile time generics. But is specifically targeted at removing undefined behavior and improving safety.
nimrody··on Building all of our new mobile apps using React Native
I'm sure Shopify has way more than 3 developers working on their mobile apps.

They can certainly afford to have separate teams doing web, iOS and Android development and optimize for each environment.

nimrody··on What: A terminal tool to check what is taking up your bandwidth
You do realize that multiple domains may be hiding behind the same IP address? This is very common with CDNs (although the bigger players can afford a static CDN IP, I guess)
nimrody··on Snap: A Microkernel Approach to Host Networking
"While early microkernel work saw significant performanceoverheads attributed to inter-process communication (IPC)and address space changes [15,16,20], such overheads areless significant today. Compared to the uniprocessor systemsof the 80s and 90s, today’s servers contain dozens of cores,which allows microkernel invocation to leverage inter-coreIPC while maintaining application cache locality. This ap-proach can evenimproveoverall performance when there islittle state to communicate across the IPC (common in zero-copy networking) and in avoiding ring switch costs of systemcalls. Moreover, recent security vulnerabilities such as Melt-down [43] force kernel/user address space isolation, even inmonolithic kernels [25]. Techniques like tagged-TLB supportin modern processors, streamlined ring switching hardwaremade necessary with the resurgence of virtualization, andIPC optimization techniques such as those explored in theL4 microkernel [29], in FlexSC [58], and in SkyBridge [44],further allow a modern microkernel to essentially close theperformance gap between direct system calls and indirectsystem calls through IPC."
nimrody··on SQL queries don't start with SELECT
Start all your sessions with "BEGIN TRANSACTION".

Then if you make an error you can always ROLLBACK. If it looks OK -- COMMIT.

nimrody··on Tmux Tutorial
Tmux won't restart the service when it fails. It won't start the service when the machine reboots (or even if someone deliberately reboots the machine and forgets about the service).

Assuming you're on a modern Linux distribution, it's pretty easy creating a systemd service file which will make it easier to manage the service.

nimrody··on MSVC's implementation of the C++ Standard Library
Isn't Apple a major contributor to LLVM and clang? Chris Lattner (one of the original developers of LLVM) was working for Apple until recently.
nimrody··on Experimenting with same-provider DNS-over-HTTPS upgrade
They say it will be enabled only for providers supporting this. Do they mean DNS servers supporting DoH?

If a network DHCP server publishes a local DNS server that is not on the list, DNS traffic will not bt encrypted?

So a network operator wishing to continue spying on its users just needs a local DNS proxy?

nimrody··on Sugar: Open-source software learning platform for children
I thought one of the original aims was that kids could easily explore and modify the code behind the apps (python code I think).

I like that approach but couldn't find the "show/edit source button" (using the Sugarizer web based platform)

Perhaps a simplified Smalltalk environment would be better?

← PreviousPage 2 of 12Next →