Better HN
topnewbestaskshowjobs
Log inSign up

archivator

954 karma · joined Apr 26, 2010 (16y ago) · 218 submissions

Email: hn@delyan.me
Submissions

comment 2y ago · link · parent

Take a look at Core Feature #2 in this post - https://deepflow.io/ebpf-the-key-technology-to-observability...

It looks like it's using tcp flow tuple + tcp_seq to join things.

comment 3y ago · link · parent

I'd love to see a size comparison of the DWARF encoding vs the binary search map. I have a strong suspicion that there's a neat perfect hash solution to this problem - perfect hashes can encode keys in single digit #bits, and you get faster lookups.

comment 4y ago · link · parent

> Note that seccomp has limited visibility into recvmsg / sendmsg args because bpf can't dereference syscall arg pointers.

BPF programs attached to syscalls (via kprobe or fentry) can read arguments via helpers (bpf_probe_read_{user,kernel}). Seccomp uses "classic BPF" which has no concept of helpers or calls.

comment 5y ago · link · parent

The FDA's report on third party servicing says this:

> The currently available objective evidence is not sufficient to conclude whether or not there is a widespread public health concern related to servicing, including by third party servicers, of medical devices that would justify imposing additional/different, burdensome regulatory requirements at this time. Rather, the objective evidence indicates that many OEMs and third party entities provide high quality, safe, and effective servicing of medical devices.

https://www.fda.gov/media/113431/download

From my personal experience poking at a CPAP machine, there's nothing magical about it. All the sensors and active elements I could track down are available from the respective manufacturers in large quantities. The CPU is a freaking off the shelf STM32F4 with the jtag header still on the board. This is not some impossible to debug hyper-integrated design.

5.

On Signals(delyan.me ↗)

1 points · by archivator · 8y ago · discuss

6.

“It was a frat house”(nytimes.com ↗)

3 points · by archivator · 9y ago · 1 comment

comment 9y ago · link · parent

That's fair, it's a better state than the previous attempts.

Still, it's not as tested as, say btrfs and ext4. Can't wait to see its particular quirks.

comment 9y ago · link · parent

Except that's not how class linking works on Android :)

In particular, everything is compiled down to lookup tables and hash tables within each odex/oat. Your point still stands but the hit is much lower than you would think and given the slow speed of the superfluous reads, it ends up being a net positive for A LOT of cases.

comment 9y ago · link · parent

This articles conflates a lot of things but it also has the priorities somewhat wrong.

1) fsync cost. Yes, fsyncs are dangerously slow in any Android app. (SQLite for example is a common culprit. Shared Prefs are another). HOWEVER, it's possible that flushes cause reads to be queued behind them (either in the kernel or on the device itself) which is even worse because

2) Random read cost is super super important. Android mmap's literally everything and demand paging is particularly common AND horrendous as a workflow. To add insult to injury, Android does not madvise the byte code or the resources as MADV_RANDOM, so read-ahead (or read-around) kicks in and you end up paging in 16KB-32KB where you only wanted 4KB.

Also, history has shown custom flash-based file system on Android to be a world of pain. yaffs, jffs have some pretty atrocious bugs/quirks. I'd much rather see the world unify on common file systems, optimized for flash-like storage, rather than OEMs shipping their own in-house broken file "systems" (I'm looking at you, Samsung).

comment 9y ago · link · parent

> and in a mobile device OS and application SW are tightly coupled

I call bullshit. There's no reason Google can't update everything AOSP-y in /system - libc, libart, libwebkit etc.

> Google (and Apple and Microsoft) can totally do it for devices that manufactures and maintains on its own

That's a low bar. When you buy a Dell laptop, you continue to receive updates from Microsoft. This is the bar we should hold Google to.

As for the certification process, surely having one update that ships to N models is easier to test than N updates shipping to N models?

11.

San Francisco’s Biggest Taxi Operator Seeks Bankruptcy Protection(wsj.com ↗)

2 points · by archivator · 10y ago · discuss

comment 11y ago · link · parent

Trader Joe's has Unpasteurized Orange Juice which does taste like freshly squeezed juice. I wonder how real that is.

comment 11y ago · link · parent

Last I looked, no, but the immediate cause of nondeterminism I saw was the zip entry timestamps in the apk. I didn't bother looking further down the chain.

comment 11y ago · link · parent

Damn Interesting did a full episode on the entire event - http://www.damninteresting.com/the-zero-armed-bandit/

It's really fascinating stuff.

15.

Managing Unconcious Bias(managingbias.fb.com ↗)

3 points · by archivator · 11y ago · discuss

comment 11y ago · link · parent

I love how much longer the documentation is than the actual file. That said, I'm also somewhat wary of using forked pgsql and ubuntu images.

comment 11y ago · link · parent

The Bod and in general the wider library system in Oxford (over 120 libraries!) was easily the best part of my undergrad academic life there. Having a dedicated space for studying, open 24/7, within 20m of my room was absolutely liberating and fundamental to the experience.

I sometimes wonder whether I should continue my education somewhere like Oxford, just so I can experience the focused concentration of a library again.

comment 11y ago · link · parent

This is my favorite Unreal 4 demo - https://www.youtube.com/watch?v=MOvfn1p92_8 (sadly missing the wonderful quote "I light my level by dropping a sun in.")

I'm completely in awe of the feedback loop here. It even compiles and swaps code while you're in the game!

comment 12y ago · link · parent

It was meant to be hotels in a single country, it's still operational at http://bookinbulgaria.com

In this business, the big competitors all reserve a bunch of rooms in the hotels and manage their booking themselves. The hotel is then not allowed to touch these rooms.

The model here was to give the hotels a reception-desk piece of software and have them use it to maintain availability. A lot of the hotels that signed up had nothing like this, so it was definitely a win for them. Armed with exact availability, you can have a much better booking system (and of course, if the hotel only wanted to give you a chunk of their rooms, they're perfectly capable of doing that).

Hotels can sign up on their own (including local bank details, etc) and just need to be reviewed before showing up on the site. It supports i18n, scheduled payments, lots of bells and whistles.

The fact of the matter is that this failed because of market reasons (too small a market, dominated by big players, primarily) but it may have a niche somewhere else on this planet. :)

20.

Ask HN: How do you sell the software of a failed business?

51 points · by archivator · 12y ago · 22 comments

comment 12y ago · link · parent

While I'm not arguing against your overall point, your example is not a good one. Volley was unnecessary. It only got attention because Google did it but the community was already on top of the issue. From shipping their own, newer Apache Client libs, through koush's ion and picasso, to Square's okhttp, networking on Android is full of good libraries to use. Volley didn't anything dramatic to this and, judging by the amount of attention it has received, it was someone's side project.

22.

Securing SSH with TOTP (2FA)(delyan.me ↗)

1 points · by archivator · 12y ago · discuss

comment 12y ago · link · parent

As someone just now learning how docker works, I absolutely agree.

Personally, I think there are some new-ish interesting immutability ideas that can be explored with regards to static files. It's not clear to me whether static assets (or even static sites) belong inside the container. I would be really interested in experienced folks' opinions on the immutability of the image. Where do you draw the line on what goes inside it and what's mounted in?

comment 12y ago · link · parent

Book In Bulgaria - http://www.bookinbulgaria.com - It's a full-blown reservation system, with a hotel reception endpoint (so that availability is always accurate). Hotels can sign up themselves, and it also has fully automatic billing.

We've received really positive feedback from both hotels and tourists, it just turns out that Bulgaria is a really (really) tiny market.

comment 12y ago · link · parent

It's either that or Twitter will be completely blocked in Turkey. They're playing a tough game but at least it's a game that the Turkish public can play too, as long as you're faster than the censors.

The alternative is for the government to take down the entire game field.

comment 12y ago · link · parent

What's the recommended non-serious-personal-use VPN these days?

PPTP is completely broken (MS-CHAPv2 especially), OpenVPN is hard to setup and maintain.

I've been using ssh as an impromptu VPN-like thing but I'd really, really like an actual VPN solution.

comment 12y ago · link · parent

Well, actually, I did back up these guys - https://www.kickstarter.com/projects/117421627/the-peachy-pr...

It's a laser-based solution, they're a small and lean team, their software is a Blender plugin and they sound competent. Also, did I mention the lasers?

What I'm saying is that you were right.

comment 12y ago · link · parent

Comments like this, full with a longing for a simpler time, amuse me.

No one's making anyone communicate in a "lonely" way. If you don't like it, you are free to demand your preferred means of communication. What you'll find, however, is that people generally like it. "I tweet in my dreams," someone I know one said.

The truth of the matter is, constant communication is valuable. Not in the market cap type of way but as a type of human interaction. It matters to people. It helps them organize parties, revolutions, their lives around a stream of current data.

Is it distracting and addicting? Yes, it can be. But that's not a problem with the technology. If you lack the self-discipline to live in this deluge of information, guess what - help is one Google search away.

I guess my overall point is that the bandwidth of human communication has only ever been growing. It's not gonna stop now, so there's no point in longing for a long gone idyllic past.

P.S. I understand the hatred for dopamine triggers, wrapped in HTML. Meditation helps.

P.P.S. I'm making an assumption that people willfully choose a medium as a basis for discourse. That's not the case most of the time. I believe everyone should be made aware of how the medium they're using influences their thoughts and actions. I'm all up for having more media, though.

comment 12y ago · link · parent

Thanks for clarifying. I'm new to the world of design and am still struggling with some of the nuances of expression.
12345
8