Better HN
topnewbestaskshowjobs
Log inSign up

Ao7bei3s

1,549 karma · joined Dec 5, 2012 (13y ago) · 595 submissions

Submissions

241.

CLI Design (2013)(jmmv.dev ↗)

3 points · by Ao7bei3s · 6y ago · 1 comment

comment 6y ago · link · parent

Ask your lawyer for an "academic equivalency evaluation" from a professional US education advisory firm that specializes in assessing foreign educational credentials.

Or Google those terms to find a provider (or email me, for the same result), and buy it yourself (price starts at $110; just expense it later). If they like your degree, you'll get like a 2-3 page wall of text that should usually be sufficient for USCIS. Take that to your lawyers, and make them include it in your application. I'm surprised they didn't get one already for your L-1B.

3 years B.Sc. can definitely be fine, but maybe it depends on the country/university/courses? (In my case it didn't matter; I also have an M.Sc. But they certify what you give them, not just the highest, and so I know my 3 year B.Sc. is ok, at least for the evaluator, don't know about USCIS.). One potential problem is if your subject of study doesn't match exactly (e.g. an EE MSc doing software dev). USCIS has been stricter in those cases in past years afaik.

Also, it's more risky, but x% of a degree + y years progressive experience can sometimes be summed up and then in total considered equivalent to the degree. (Progressive means you can show your job continuously became harder. y years of beginner level wouldn't count. Any work that doesn't directly relate doesn't count either.)

IANAL

(You may have already done this; I couldn't tell from your post. "certificate that proves it does" could refer either to a (useless) piece of paper by your university, or an independent academic equivalence evaluation. So posting this just in case you don't have the latter one yet.)

comment 6y ago · link · parent

Effectively being limited to your local repeater or maybe some local simplex (if you're lucky) gets very old, very fast. Not just because of the people, but there's just not much interesting to do. What I mean is that pushing a button on an off the shelf handheld doesn't require much sophistication. Same for handhelds as for car radios; and anyway car ownership is also less prevalent among young, urban people. Many people I know do carsharing. Can't install stuff there.

Most people want DX (long range) on HF bands, and that mostly requires moderately large antennas (for the non-hams: rule of thumb: ideally λ/2, where λ=100m-10m. smaller is a compromise). It's by far where most of the activity is, and if you can't participate in that, that may lead to a feeling of being left out.

(I say effectively because there are many niche areas that you can cover with handhelds and small antennas, like building a small cross yagi to reach a hamsat. But still, how often do you really do that? How much activity is there, really? Keep in mind for any mode, you need someone to talk to.)

So that leaves going outdoors and operating portable. Summits On The Air (SOTA) is so much fun. But with prep/driving/hiking/setup/teardown/driving/cleanup, that always takes most of a day. Not something you can do for an hour, after work. (And completely infeasible for kids too young to drive.) And you have to carry everything, which limits you to low power gear. Which leads me to...

...my 'best' experience: I was outdoors on some hillpeak, with a 15W portable radio. Had a nice diy antenna, but still couldn't reach most (with SSB anyway). Overheard two older hams running 1.5kW, talking straight over me, ranting that quote "young people just don't know how to listen". Toxic.

comment 6y ago · link · parent

Because it lets you use single quotes ("isn't") or double quotes ('error: "%s"') without escaping ('isn\'t', "error: \"%s\"").

A rare case where readability and consistency may not be the same. (Let's not argue about this, it's subjective. I'm aware of the obvious counter- and counter-counter-arguments, such as syntax hilighting and greppability.)

comment 6y ago · link · parent

At least the data collection part is very easy to set up on Android and zero maintenance afterwards:

Use GPSLogger[1] to record the position. It can auto-upload to pretty much anything from DropBox to SFTP (FTP over SSH). It can auto-start on boot, run in background, and rotate files daily. (If you do SFTP, use ForceCommand internal-sftp in sshd_config to restrict the phone to file transfers.) No excessive energy usage.

Use GPSMapper[2] to visualize the GPX files on phone, or https://www.gpxsee.org/ on Linux (this tool works well even with hundreds of GPX files loaded, unlike all others I've tried).

None of the viewers are really "nice" unfortunately.

If someone needs a side project idea, a personal location history visualizer would be nice. All existing tools focus on individual tracks (eg day hikes), there's nothing that does much useful when you dump a few years worth of history into it. Actually most just freeze or crash. But there's so much that could be done (performance, filtering by time, exporting/sharing specific parts, postprocessing like removing outliers, correcting cut corners by matching against a map, detecting places/businesses and hyperlinking to services like AllTrails, visualizations like speed over time (this part is common) but auto-detecting and showing this for all traces along the same route (no software does this yet) (think "how fast was I on which part of my commute each day over the past year"), multi user eg. family capability, etc.)

Of course even if viewers are limited today, one can still collect the data in case someone writes a better viewer tomorrow ;-)

Google Takeout can export raw location history, and there are tools to convert that standard GPX.

Only issue I have with GPSLogger is that the accuracy filter is not adaptive. At a high value, you'll get outliers, at a low value, it won't record during flights.

[1] https://play.google.com/store/apps/details?id=com.mendhak.gp...

[2] https://play.google.com/store/apps/details?id=com.mendhak.gp...

comment 6y ago · link · parent

In Germany, there's Stiftung Warentest ("Product Test Foundation"), with the best domain: https://www.test.de :-D

They are a non-profit with a 55-year history, a stellar reputation and a track record of calling out any issues found. Their test results are broken down in a detailed way, and they have useful graphs like price vs rating. They actually buy their products instead of taking prototypes or commerical samples. They report the real-world, online consumer prices. Their own prices are reasonable (8€/month for all access, incl. PDF downloads).

Washing machine tests are actually one of their staples. See https://youtu.be/6Oke76VZiRw?t=48 (0:48 long term testing, 1:04: standardized lab prepared detergent, 1:56 standardized test clothing and loading schema, 2:15 waste water analysis, 2:36 analysis of cleaned cloth via light reflection, 2:49 power/water usage, 3:31 acoustic test lab, 4:05 useability)

comment 6y ago · link · parent

Counter-argument(?): I've seen a product where production ran in Docker, but development was a mix of Mac, Windows and every popular Linux distribution, on laptops, on-prem servers and in the cloud, as per each devs preference. Components could be run separately. The product could run anywhere.

Then standardization crept into development. Two years later, it was essentially impossible to run it outside Docker built by Bamboo, deployed by Jenkins in on-prem OpenStack, components were tightly coupled (database wasn't configurable anymore, filesystem had to look a certain way, etc.), and it required very specific library versions, which largely haven't been updated ever again, and cannot be updated easily anymore by now. No individual team had an overview of everything inside the container anymore (we ended up with 3 Redis, 1 Mongo and 1 Postgres in that container. The project to split it apart again was cancelled after a while). Production and development were the same container images, but in completely different environments.

If you want code paths to work, you need to exercise them regularly through tests. Likewise, if you want a flexible codebase, you need to use that flexibility constantly. Control what goes into production, but be flexible during development.

comment 6y ago · link · parent

This is a standard notation. tcp_v4_rcv+48 means, within the binary kernel image, 0x48 bytes after the start of the tcp_v4_rcv function. You can use the addr2line tool to find the source code line. https://serverfault.com/questions/605946

The tcp_v4_rcv function has two obvious kfree_skb calls, here https://elixir.bootlin.com/linux/v5.6.13/source/net/ipv4/tcp... and a few lines below after "discard_it:" (there may be more if there are #define's or inlined function calls), and without your kernel image and debug info I cannot tell which one the offset corresponds to. Also, clean-up code like kfree_skb is often after a label ("out:") referenced by multiple goto's, and you cannot tell which goto was taken. However, often the function return value contains an error code that identifies it, and you can (often) grab that with perf by attaching a dynamic kprobe to the function exit (it's much easier than it sounds). Or attach a gdb to the kernel (easiest is if the kernel is in a qemu VM) and put a breakpoint on tcp_v4_rcv. There's also the inverse problem of "who called tcp_v4_rcv". Either gdb, or perf record -g, can tell you the stacktrace. (perf is less invasive, so better in production)

As an example, take https://elixir.bootlin.com/linux/v5.6.13/source/net/ipv4/tcp... : if the packet is a SYN belonging to a new connection, but has a bad TCP checksum, goto csum_error, and from there fall-through to discard_it: kfree_skb(skb).

This may sound laborious, and it is, but note that often you don't need to go to this effort. To me, as a troubleshooter, the precise reason might not be that relevant. The function name already tells me this packet has gone up into the TCP receive stack, which (basically) rules out entire problem areas like bridging and routing, tells me if this specific drop is even relevant for me, and/or lets me decide which simpler tools to use next.

comment 6y ago · link · parent

dropwatch's definition of drop is literally kfree_skb, ie kernel stops processing a packet (plus changes to drop count at napi device). Don't think of it as recording drops, think of it as recording the ultimate fate of every packet, including e.g. iptables -j DROP, but also e.g. successful transmit by your network driver. dropwatch is a low level tool.

I've found it useful to perform a baseline test to see "normal" drops and their rates, then run intense test traffic and compare.

You pretty much have to understand each reported call site by looking at the kernel source code. As you gain experience with the kernel network code, you learn which locations do what, and how to access the regular statistics for them. Having the (outdated but) relevant kernel networking books on your desk helps.

comment 6y ago · link · parent

Yes, you can attach an eBPF program to the skb:kfree_skb tracepoint.

For example: perf record -e skb:kfree_skb

comment 6y ago · link · parent

Note there's also kernel side code for this. Theoretically it's generic, but practically it was written specifically for dropwatch and dropwatch is the only user of it that I am aware of.

https://github.com/torvalds/linux/blob/master/net/core/drop_...

comment 6y ago · link · parent

dropwatch is great, I've used it to debug why our router firmware drops packets. It has some issues (I really need to verify which are still present and file them) but it works.

You can also achieve mostly the same effect with perf via the skb:kfree_skb tracepoint. This has less performance impact, better post-processing options, and doesn't require the dropwatch specific kernel config option (NET_DROP_MONITOR).

comment 6y ago · link · parent

Security shouldn't be opt-in; you should be secure by default because most users will stay with the default (which is reasonable - the entire point of the extension is to prevent information leaks, and as the author you're the domain expert and your users should be able to trust your judgement which comes in the form of a default).

Also, may I propose that as replacement text before blurring you use ads targeted at computer graphics researchers. /jk

comment 6y ago · link · parent

Through licensing and/or certification requirements. Large companies take compliance serious.

comment 6y ago · link · parent

The integrity mode applies to the running kernel in RAM. You generally don't actually upgrade that, instead you replace the kernel image on disk (vmlinuz), which is still possible. On next boot, the new image will be loaded. But if you have trusted boot enabled, the new image will only be booted if it is appropriately signed.

Live patching still works if the updates are signed. The kernel can still do whatever - with integrity enabled it just refuses to do certain things, such as loading kernel modules or updates that aren't signed.

comment 6y ago · link · parent

I don't see why not.

750g/drive * 60drives + 45kg chassis = 90kg. I've stood on top of IKEA Lack side tables, and a) I weigh more, b) with the chassis, the weight is going to be better distributed (lower mounting and no flexing). It might slack a little.

Anyway compared to the price of the disks, a cheap small rack (they come in living-room compatible form factors as well. don't ask) wouldn't break the bank.

Only inconvenience would be the top-loading aspect. The Lack fits 19" exactly, and besides can't provide the needed counterweight, so you can't have sliding rails. Can't mount lower either, a Lack would only barely fit 4U.

1
8910
20