Better HN
topnewbestaskshowjobs
Log inSign up

mortenlarsen

1,658 karma · joined Feb 15, 2012 (14y ago) · 178 submissions

PGP key ID: 0xd08689e7724172cb

[ my public key: https://keybase.io/mil1980; my proof: https://keybase.io/mil1980/sigs/UieANG5LfFnkrBP2S-rlbkDU4hwGQkbdH3BtAcgwCEg ]

Submissions

comment 10mo ago · link · parent

Then they would need to deal with drivers.

comment 2y ago · link · parent

What about the internal resistance of the battery? Doesn't that increase with higher current?

As in 1A for 2 seconds uses less actual battery power than 2A for 1 second due to internal loss in the battery?

I may be remembering this wrong, It has been a long time since I studied this stuff.

comment 3y ago · link · parent

I still have a Cobalt CacheRaQ (caching proxy server) and a Cobalt VelociRaptor (Firewall) (the blue Cobalt branded one from before they became Symantec products).

comment 4y ago · link · parent

Same here in Denmark. Maybe it is easier due to a flat company structure, and micro-managment being less common. It is not expected or even tolerated by workers, who will just jump ship if it happens.

comment 4y ago · link · parent

There is no need to call cat to read from a file.

> temp=$(cat /sys/class/thermal/thermal_zone1/temp)

temp=$(</sys/class/thermal/thermal_zone1/temp)

comment 4y ago · link · parent

Like money...

comment 4y ago · link · parent

Doesn't work on all phones, like my Pixel 4. That was a big surprise. There is no way to connect anything else but BT.

comment 4y ago · link · parent

Anything not based on libvte, it is like a CVE magnet.

comment 4y ago · link · parent

In my "Compilers: Principles, Techniques, and Tools" (the dragon book).

A few National security Agency Post-Its with notes.

comment 4y ago · link · parent

Only if they are being told the truth. A functional free market requires symmetrical information (ie. both seller and buyer has the same information about the product). It is just a theoretical thing. But you can get closer to that ideal with regulation and strong buyer protections.

comment 4y ago · link · parent

It sounds like a free market working as expected. Maybe something important like this needs regulation to prevent optimization based on only one parameter ($).

comment 4y ago · link · parent

The recent issues did not have renewable energy as the main cause. Fox News is entertainment, not news (by their own claim).

comment 4y ago · link · parent

> Why is the root password hash even in memory in the first place?

Maybe /etc/shadow is in the filesystem cache.

comment 4y ago · link · parent

I have lost a few save-games, so I can relate. In my case it was because I forgot about them or the fact that, I did care if they were lost (I rarely game at all).

I have an "offline" Windows 7 gaming PC (only connected to a dedicated file-server, that holds the game installers, drivers, etc). I only use this PC to play Witcher 3, Fallout 3/NV, and a few others. I found this PC (i5-2500K) at the side of the curb, and invested ~$21 in 16GB of RAM, and ~$230 in a GTX 1660 Ti (6GB). It runs my games at Ultra settings in 1080p, so I am pretty happy with it.

It has happened that I have lost save-games because I did a reinstall and forgot some save-games because "There is nothing important on this PC!" ...doh... I then switched to using Duplicati for backing up save games, screenshots and game configs to the dedicated file-server.

I don't bother with that anymore though, because the gaming PC now runs off a FibreChannel SAN backed by ZFS Volumes. So I have snapshot, rollback and clones. Which is also quite useful for testing drivers, and rolling back to "a clean install" or "a clean install + windows updates via WSUS-offline" without waiting for the installer or updates.

comment 4y ago · link · parent

So it only needed a "turn-table" base?

comment 4y ago · link · parent

Yes. But we don't have the stupid gaming aspect where people take on debt that they don't need in order to "build a credit" score.

It is only a proof of income, outstanding debts (that you are required to reveal), and the hopefully lack of past non-payments that count. You can't "build your" score buy using a bunch of credit cards and paying every month.

I live in Europe, and do not have a credit-card (only debit) have no need for credit, since I do not spend money that I do not have.

If I was in the US, I would probably have a credit card to "build my credit".

It is like if I asked my neighbor to lend me money every month and pay them back a second later to build their trust. It is just a stupid game, with no real meaning.

comment 4y ago · link · parent

Are you sure? A cache miss might be very expensive.

comment 4y ago · link · parent

This video explains and show the same concept for copper cables in a very simple and hands on way: "Cheap and simple TDR using an oscilloscope and 74AC14 Schmitt Trigger Inverter" https://www.youtube.com/watch?v=9cP6w2odGUc

comment 4y ago · link · parent

It is not that I do not know that GPS is unreliable. But I wanted to read about what OP had experienced specifically.

comment 4y ago · link · parent

> GPS is just not 100% reliable (ask me how I know)

How to you know?

comment 4y ago · link · parent

I don't have any annoying router or CPE from my ISP. Just fibre to the basement and an ethernet plug in the wall in my apartment providing 1Gb Internet access.

So I have a few EdgeRouter Lite 3s doing NAT and port forwarding (IPv4) because they can do that in hardware. As they are not open and I don't really trust them, I just pretend that they are on the ISP side of my network (even though they are mine, and I "control" them). So their LAN ports count as the "outside" in my setup. They provide networks like 192.0.2.0/24 that I just pretend are my public IP's.

This is also where the AP with GF's phone and chrome-cast resides on a separate VLAN. This has the benefit of me being able to play around with "real network" behind the firewalls in the next layer without worrying about causing downtime and issues for her (big win).

After that I have my "real" firewalls (a bunch of APU4C4s) that segment my network into several parts and multiple layers. They have less work to do as they don't need to do any NAT/translation. It also makes the firewall rules much simpler as there are no NAT/RDR rules and I don't have to think about whether a firewall rule apply pre- or post- translation (NAT/RDR).

It would of-cause be a lot easier if I just had a /24 of public IPv4 addresses, but this setup lets me sort of pretend that I do, even though I only have two static IPv4 addresses and an extra one with DHCP.

I just recently got IPv6 with a /56 routed to me from my ISP and this is what I am messing around with currently. I have some Juniper switches (EX2200/EX3300/EX4200) that can do IPv6 routing in hardware (and ACLs), meaning that I can do things a lot more like I wanted with IPv4 because I don't need any NAT. One of the benefits for example is that I can just route a /64 to my local mirror servers over a VLAN for bulk traffic without putting any load on my firewalls. As the traffic is only to/from a few destinations and ports, ACLs in the switch are fine for me (+ local firewall on the mirror servers). This bulk traffic is probably close to 90% of my total bandwidth usage, which is just syncing the local mirrors. This means that this traffic is not clogging up the NIC queues on the firewall competing with "interactive traffic" like web-browsing, etc. Is this needed? No, not really. The firewalls can easily handle the traffic, but it is simple to remove 90% of the load on them for basically free.

All this may seem complicated and/or convoluted (and it probably is) but it makes (for me at least) my network much easier to reason about, and makes tinkering/experimenting easy and less likely to affect "production".

comment 4y ago · link · parent

FreeBSD has two repositories of packages, quarterly and latest.

    $ cat /usr/local/etc/pkg/repos/FreeBSD.conf
    FreeBSD: { enabled: no } # disable the default config
    FreeBSD-latest: {
    url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
    #url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
    mirror_type: "srv",
    signature_type: "fingerprints",
    fingerprints: "/usr/share/keys/pkg",
    enabled: yes
    }

comment 4y ago · link · parent

I was told by someone I met, who is working at my very cool ISP (Fiberby), that I should just as customer service for IPv6. One day later I had a static /56 prefix routed to me on a /64. I had just assumed that it was not an option, because hardly any ISPs have IPv6 here in Denmark.

comment 4y ago · link · parent

The earliest Sound Blasters had IRQ7 as default. This conflicted with LPT1 so the default was changed to IRQ5. There are a few games like "Gods (1991)" and "Space Quest III (1989)" that have IRQ7 hardcoded, so for best compatibility with older games IRQ7 is needed.

comment 4y ago · link · parent

Yes, malware is a broader category. But one that includes spyware.

comment 4y ago · link · parent

I don't. I have thought about it a few times.

comment 4y ago · link · parent

I would call that malware. Telemetry is just malware with a marketing department.

comment 4y ago · link · parent

10+ Retro PCs from 386 to Pentium 4 (with all the obligatory graphics cards (3DFX, TNT2 Ultra, PowerVR etc.), sound cards (GUS, Adlib, SB Pro, AWE32/64, etc.) and MIDI modules (Roland MT-32, SoundCanvas, etc.) And the parts to build 30+ more in the basement.

6 or 7 Sun Machines, SGI O2, a few Cobalt RaQ (CacheRaQ, Velociraptor) (both MIPS and x86). Also in the basement.

5 HP Microservers (one with a "low power" Xeon running 24/7). ~50W

3 "Low power" Xeon servers (two 4 cores and one 20 cores). One running 24/7 ~60W.

3 Intel NUC's. One is my daily driver (FreeBSD).

15+ Laptops (mostly IBM/Lenovo), and even an old 386.

6 PCEngines APU4C4 (firewalls) two running 24/7 ~7W each.

7 Soekris NET4801, 2 NET4501 (my old firewalls and NTP servers).

7 Raspberry PIs (mostly 4s with 8GB).

My plan is to have one APU (~7W) + one Server ~60W running 24/7. I have 7 APC power units to allow me to turn all the other stuff on and off remotely. Most of this stuff is in my lab (GF decided I needed my own room for some reason). Most of the stuff not ready to run is stored in the basement.

I have a lot more than these but this is just from the top of my head. Pretty sure that I have 100+ all in all.

comment 4y ago · link · parent

I use a small two-way KVM-switch for my main setup in the living room (GF demanded that my main setup was in the living room so that I wouldn't spend too much time in my lab). The KVM-switch has an external button on a wire to switch between two computers . It fell behind the desk a few years ago, and now I just use my foot to switch between computers. It works well.

comment 4y ago · link · parent

The script can change any time, and maybe even just for some people without leaving a trace.

Updating a package in a OS distribution repository requires that it is signed, and spread to all the mirrors (it is unlikely that an attacker controls all of them). This makes it more likely to be discovered and hard to do targeted attacks without leaving a trace.

If it does happen that you are compromised using:

    bash -c "$(curl -fsSL http://gef.blah.cat/sh)"
How will you find out afterwards, that this is what happened?

I run local mirrors of everything I use (with snapshots after updating the mirror), so I at least have a history of the software that I ran to do forensics on. I could not do that if I ran scripts directly from the Internet into a shell.

For example: Something suddenly trying to connect to the Internet (or doing DNS lookups) from one of my segregated systems might prompt me to investigate. Even if you are not so "paranoid" as many would call it (I would call it being diligent), you still get the benefit of others being "paranoid".

So making sure (via packages, mirrors and signatures) that we all get the same "version" of software is important for security.

123456