HNHacker News
TopNewBestAskShowJobs

ce4

1,546 karma · joined January 25, 2013

submissionscomments
ce4··on How do transistors work, anyway?
That guy's career is a story unto itself:

https://en.m.wikipedia.org/wiki/Bob_Widlar

Edit - some nice reads:

https://hackaday.com/2014/04/08/heroes-of-hardware-revolutio...

https://web.archive.org/web/20190527014243/https://www.autod...

ce4··on Gore-TEX, a lightweight, waterproof fabric made from the expanded form of PTFE
You're free to buy other brands' membranes but if you want to use Gore-Tex then you'll have to sign that license agreement.
ce4··on Ask HN: Any good black Friday deals?
The issue is comparable to mileage numbers... I dont trust that at all.

Usually they just multiply the number of cells with their "rated" mAh-value, but who knows what their cutoff voltage is. Also you need to integrate over the voltage (which keeps falling during discharge) and the discharge graph also depends on how much power you draw. Then the 4.2V=>5V (or 9..19V for USB PD) conversion losses are also not counted.

ce4··on maps.google.com now redirects to google.com/maps
There are two ways to login

Oauth and user/password, you can try both under plugins/openstreetmap editing/settings/Login to Openstreetmap

The official Telegram support group is also good for getting help:

https://t.me/OsmAndMaps

ce4··on maps.google.com now redirects to google.com/maps
It may be a bug of Android: Newer Android versions have further locker down sd card access. The implementation is apparently super slow for stuff like what Osmand uses. Dont put the map data onto the sd card or use one of the predefined locations

https://github.com/osmandapp/OsmAnd/issues/12046 https://github.com/osmandapp/OsmAnd/issues/13254

Edit: If that is not the culprit then check if OpenGL rendering is activated.

You can also deactivate unneeded features from being rendered (buildings, areas, etc). And lastly there are smaller road-only maps (no POI data and no adresses though)

ce4··on maps.google.com now redirects to google.com/maps
It's these steps:

- go to pugins section and activate the contour lines plugin

- then go to download maps and load the contour lines data for your region

- go to configure map and check the show contour lines option

I think you need the f-droid Version or the paid pro Playstore version or the subscription. Please note that this will only show marked contour lines and not interpolate/estimate the elevation for any point. So you need to search for the next line and get your own idea what that means for the specific location. Not ideal for very flat areas with sparse contour lines.

For the current position you can show GPS elevation (settings, configure screen, widgets)

ce4··on maps.google.com now redirects to google.com/maps
The separate account is needed for openstreetmap uploads/notes/corrections. You can add places on osm.org also or retry with the osm account using Osmand.
ce4··on Frog: OCR Tool for Linux
I use https://kebekus.gitlab.io/scantools for scanning, it builds on top of tesseract and works great for pdf enhancements
ce4··on Why Twitter didn’t go down: From a real Twitter SRE
Unless the OOM-killer kills the wrong process. Ages ago we had a userspace filesystem (gpfs) that was of course one of the oldest processes around and it consumed lots of RAM. When the oom killer started looking for a target, of course one of the mmfsd processes was selected and it resulted in instantaneous machine lockup (any access to that filesystem would be blocked forever in the system call which depended on the userspace daemon to return, alas never returning). Was funny to debug
ce4··on Termux on Android 5 or 6
I run a very crude shell-based scanning app (termux has an option to add shell scripts as "apps" on the homescreen), amongst others.

termux supports native GUI dialogues (input/checkboxes), and the scan-shellscript uses that for input (name, greyscale/color, jpg/pdf output and number of pages for pdf) then launches a couple of remote scanimage + ocr postproc + pdf generation commands and transfers + opens that in the local pdf app

ce4··on Termux on Android 5 or 6
youtube-dl works for a lot more sites than just YT.

Also: if you use the git sources you can do a quick "git pull" in case there were breaking changes and restart the download. ytdl is written in python, you can launch it via python -m "module name" within the src folder

You can also use different forks of ytdl or run multiple downloads in parallel

ce4··on Ask HN: Where to buy cheap but good quality glasses in Europe?
Yep, seconded.

Some more anecdata: The lenses' coating from my cheap unbranded glasses (plastic lenses) have begun to disintegrate/separate from the glass. My other glasses' Zeiss lenses are fine still (both being 8 and 6 years old).

Other than that, to the OP: get what you like, if you need the super thin lenses (depends on your level of myopia), go with the expensive stuff, else the cheaper lenses will also work. The more expensive coatings will filter more reflections, do you need a polarizing screen (doesn't work well with LCDs though)?. Then there's the lens material: glass (more scratch resistant) vs plastic (safer, because shatterproof). If you need two zoned lenses thats also different, and way more expensive.

Edit: oh and make sure that the eye distance is properly measured (i.e. at all), that is to make sure that the optical center is ligning up with your eye

ce4··on Tesla devs at Twitter misunderstand Slack privacy; leak fire lists based on LOC
And make sure the newline/whitespace convention changes often.
ce4··on I fought the PayPal and I won
> IBAN and wait for a day.

The delay can be skipped in many cases via the IBAN instant payment option. Requires both banks to be participating in the program and trust each other (the delay will happen if additional checks are needed, for example if the transction gets flagged for manual inspection, eg if you write "funny" purpose text, etc)

ce4··on An ffmpeg and SDL Tutorial (2015)
Should have a (2015) tag.
ce4··on U.S. residents fight for the right to hang laundry (2009)
UV / sunlight exposure also helps with sanitizing the laundry.
ce4··on You can't buy a Raspberry Pi right now
I got a refurbished thin client, a Fujitsu Futro S720 with 2GB RAM (expandable via 2 slots) from ebay for 20€. Havent had the need to upgrade the RAM, but I put a 512gb mSata in it. Works great.
ce4··on The Disappearing Art of Maintenance
Well written. That really resonated with me.

I work in IT and grew up in a locksmith/car repair shop where I got my hands dirty very early on. I got my DIY/repair attitude from my father who does almost anything by himself - building and maintaining houses, making furniture, metal work, vehicle maintenance. So that is also deeply rooted in me.

It's not uncommon in my circle to DIY, mostly as a hobby, to save money or because availability of craftsmanship is so poor (waiting months to get someone to do it).

I really like to get broken stuff, fix it and then use or sell it. Such work leaves you with a broad knowledge, and also who is designing repairable machines. Old style italian espresso machines come to my mind. While only some components are standardized (piping, thermostats, portafilters, e61 brew group) many proprietary components needed for repairs are still openly sold on 3rd party stores on the Internet. Sometimes the schematic is also published. The newer and more integrated plastic machines are less of a joy to work on, alas. That's mostly toss-and-rebuy gear.

Before I buy anything, I check maintainability first. Parts availability, hackability, etc. Glued stuff, soldered on chips (formerly RAM, wifi, CPUs etc), nonswappable batteries, hard cloud dependencies and similar scaries me.

ce4··on KTM Unveils A Revamped 890 Adventure R for 2023
Yep, it's crap. But there's an unofficial 3rd party app that reverse engineered the BT connection and enables a number of navigation apps:

https://play.google.com/store/apps/details?id=com.undingen.m...

The app scrapes your main navigation app's notifications and forwards that as text + turn-by-turn arrows to a dedicated area in the motorcycle's display.

ce4··on KTM Unveils A Revamped 890 Adventure R for 2023
The quickshifter purely makes use of existing hardware except for the shift-sensor which is a small piezo-sensor-insert in the shift lever.

The existing hardware being:

- ride-by-wire: ability to open/close the throttle electronically

- electronic injection control: ability to decrease/increase fuel injection

What the quickshifter feature does:

a) shift-up was done by decreasing / stopping fuel injection or stopping ignition: torque decreases and for a split second there's no/little torque between gears and the next gear can be shifted effortlessly

b) shift down needs increasing torque (usually due to deceleration torque of the engine when the throttle is closed), so this artificially opens the throttle to reverse this effect and allow shifting

The magic is all in the software, and there's big differences in the smoothness between manufactures, and also between model years. This is a pure comfort/performance feature, a quickshifter is not needed at all and you still need the clutch to get going.

Edit: very old vehicles need a so called double-clutch / german "Zwischengas" to make up for the missing synchronisation / synchromesh gears. That's what's done in software here.

ce4··on KTM Unveils A Revamped 890 Adventure R for 2023
I agree with your last sentence - but i doubt that the baseline price will be that much higher via added parts like heated grips (it's just a flexcable/flexible PCB under the rubber hand grip + external wiring). The gearshift lever sensor (piezo electric module) should also not be too expensive.

The expensive parts are the electronics sourced from 3rd party vendors (eg. the 6 axle IMU to enable cornering ABS, traction control, anti-wheelie control and so on which I guess is mostly sourced from Bosch, or the emission control). And of course meeting and proving conformance to all the regulation

ce4··on KTM Unveils A Revamped 890 Adventure R for 2023
I think it's the other way around.

It makes the bike's base-model cheaper (and KTM hopes that everyone checks all the upgrade boxes or they make the upgrade sales in the aftermarket e.g. 2nd or 3rd owner onwards). Counter example: the KTM 790 Duke for example was too cheap (had most upgrades already built-in), and subsequently was replaced by the 890. You can see it with used-790's prices - the used motorcycle market is nuts anyway at the moment (with all the emission requirements, compulsory ABS etc adding weight and reducing power on current models. While i dont disagree with those regulations, the market makes a statement via used motorcycle prices for older models).

ce4··on KTM Unveils A Revamped 890 Adventure R for 2023
I own the predecessor bike, the KTM 790 Adventure (non-R though because both my wife + me ride it and the R's seat height only fits me).

The 790 from 2019 (and the 790 Duke from 2017+) have a TFT and upgradable software-packages already, amongst other models. That includes ride-modes, up/down quick-shifter and probably more. (Heated grips are NOT actually pre-fitted and the control box installed only if you order the feature and it is separate from the LCD).

I bought every package except rallye-mode. If you need that, just shell out the 250€ or what it actually costs. Not a big deal, as the bulk of riders will not use that anyway. As a former BMW-motorcycle rider I'm also used to check all the extras/upgrades anyway.

What irks me more is the mandatory cloud-based maintenance "book", bugs in the firmware (the headlight doesn't switch off for "security" reasons if you turn off the bike in motion - and it will drain the battery until it's flat. I had a number of empty battery situations and one dead battery due to this silly feature already and complained but the manufacturer is unwilling to fix it). Also the upgradable packages require the dealership to acquire a software license directly from KTM, no bypassing allowed. So this all follows Tesla more or less, I expcect always-on connectivity in a few years. BMW Motorcycles already has that for some (?) of it's motorcycle models (if you buy the SOS-/"crash-detected-the-bike-calls-911"-feature).

Edit: small typo/grammar corrections + better wording.

ce4··on A neurologist’s quest to solve Covid-related neurological disorders
I think it's systemic, there's other diseases like stomach ulcer disease that took a long time to pin down the exact cause.

https://en.m.wikipedia.org/wiki/Timeline_of_peptic_ulcer_dis...

ce4··on OpenWrt 22.03
Optional packages, installable on-the-fly

Such as adblocking (pi-hole like experience without additional gear)

ssh access, printserver, dynamic DNS, VPNs, different routing protocols, vlan support, tunneling protocols, monitoring, home Automation, wireguard, wpa3, OWE (encrypted open wifi), lots of goodies known from other linux distros, etc

Here are some pointers on whats possible: https://openwrt.org/docs/guide-user/start

Edit: added examples. And er, that stuff is ordinary for me :-)

ce4··on Kiwi Farms is down across all domains as DDoS-Guard terminates service
Well, no, that's not how it works. They stopped business with KF by not forwarding traffic to the protected/secret origin anymore, thats how reverse proxies work. The owner of the domain is free to update their DNS records and point it to another CDN or even the unprotected origin
ce4··on Kiwi Farms is down across all domains as DDoS-Guard terminates service
You got that wrong. No one was censored by CF, because you dont need CF to have an internet appearance. If anything, it's the DDoS attacks that are censoring KF. But in the end it just got more expensive for KF to speak.
ce4··on Things I Won't Work With: Azidoazide Azides, More or Less (2013)
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
ce4··on Things I Won't Work With: Azidoazide Azides, More or Less (2013)
The blog was formerly hosted on corante.com, search for this and you get all the early submissions on hn, too:

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

ce4··on Solving my truck’s TPMS sensor problem with the help of an RTL-SDR dongle
The sensors should stay off at rest though (There's acceleration sensors in the that activate them above a certain rpm value)
← PreviousPage 4 of 21Next →