HNHacker News
TopNewBestAskShowJobs

tga

1,447 karma · joined June 20, 2010

submissionscomments
tga··on BlackSheep: Fast ASGI web framework for Python
There is no canned way to do it in one shot, but using regular Django session authentication together with a PWA frontend hosted separately is not that difficult.

The actual authentication remains on the Django app, using the standard way of POSTing to a login form and receiving a session cookie -- only instead of a server-generated page serving a HTML form, you have the PWA lipstick sending data directly. This approach is so much simpler than dealing with id/access/refresh tokens, encryption keys, black lists, and all of the OIDC dance.

tga··on Please stop the coding challenges
So we should stop the coding challenges, stop LeetCode, stop whiteboarding, stop profiling candidates, stop asking for their GitHub page. How is hiring supposed to work then? Just post the contract online and the first one to mail it back gets the job?

I like live coding challenges, something like a ~2 hour pair programming session, ideally modifying an existing project. I invest as much time as each candidate, while we are both exploring whether we want to work together.

tga··on Using static websites for tiny archives
It looks like you just reinvented CGI/PHP.
tga··on Some Notes on Upgrading Hugo
For a simple use case (simple site with a simple blog), I started off with Hugo and found it too complicated, then switched to Zola and had it done in a few days. The documentation was simple and to the point, the templates were easier to work with (for me). The community is infinitely smaller though, if it's not in the docs you're basically on your own.
tga··on Electric vehicle battery prices are expected to fall almost 50% by 2026
Can you imagine riding a horse or walking to your destination? Because that's the alternative if cheap oil isn't readily available anymore.

Or maybe you'd rather imagine having to migrate because your city is under water and there is no more food, due to changing climate?

Your convenience is beside the point, society will adapt.

tga··on Paperless-ngx: scan, index and archive all your physical documents
Take a look at full-duplex multifunctional printers, many times they are cheaper than standalone scanners. Just as an example, a black and white laser like the Brother MFC-L2820DW should last you a long time.
tga··on Rnote – Sketch and take handwritten notes
On iOS, Nebo (https://www.nebo.app/) also has really good handwriting recognition and you can write on PDFs.
tga··on We found North Korean engineers in our application pile
We're talking about English/European _last_ names though. Definitely possible in today's international world, but much less common.
tga··on We found North Korean engineers in our application pile
What I'm still trying to figure out is how exactly the next step is supposed to work.

One of the first things we ask from both employees and freelancers is a copy of their passport/ID. Would they also have a fake ID with the name they give you (much easier to fake a PDF than a real passport) or just a story, passing you through a legit company? Or is it common to hire people without really knowing who they are?

tga··on We found North Korean engineers in our application pile
I can confirm coming across the exact same kind of profile, but in Europe. Most we found on LinkedIn keyword searches, some applied directly. I've taken a couple of interviews to confirm and indeed it was a scam, they didn't know anything about the country, the companies, or the schools in their resume. Also they were all East Asian, with implausible names and origin stories.

Many times the signs are rather obvious, the keywords are right but everything about the profile is just off and doesn't stand to even a bit of scrutiny. I suspect it's done on purpose, just like Nigerian scams, to optimize for gullible or inattentive companies.

tga··on 80% of applicants with experience matching our stack were North Koreans
I can confirm coming across the exact same kind of profile, but in Europe. Most we found on LinkedIn keyword searches, some applied directly. I've taken a couple of interviews to confirm and indeed it was a scam, they didn't know anything about the country, the companies, or the schools in their resume.

Many times the signs are rather obvious, the keywords are right but everything about the profile is just off and doesn't stand to even a bit of scrutiny. I suspect it's done on purpose, just like Nigerian scams, to optimize for gullible or inattentive companies.

tga··on What Is ChatGPT Doing and Why Does It Work? (2023)
A LLM cannot meaningfully “explain its thinking”. When prompted to do so, it will generate an explanation-looking text — but that has nothing to do with the actual way the original answer was generated.

If you ask it to explain how a LLM could possibly catch an inconsistency, then it might give you some good insights (or hallucinate something entertaining).

tga··on Ask HN: Who is hiring? (May 2024)
PartsCloud | Full-Time | Full-stack engineer | REMOTE (Europe) | https://partscloud.com

PartsCloud connects industrial machine manufacturers with a global network of specialized logistics service providers and enables spare parts to be sent to customers worldwide within hours. This is a game changer for industrial SMEs that got stuck in the last century with their after-sales business.

We are looking for a full-stack engineer to focus on developing the customer and internal web apps (Django, server-side/HTMX heavy, some JavaScript), and work together with the data team on the core platform. You should have experience with developing and running web applications in production.

Please apply with a brief cover letter mentioning you are coming from HN or feel free to message me directly with any questions.

https://partscloud.jobs.personio.de/job/1280543?display=en

tga··on Porsche summons old-school cool with the 2024 911 Sport Classic
Honest question from a non car/Porsche enthusiast, why is this interesting and not Just Another Car -- and a (nice but) unremarkable, incredibly expensive one at that?
tga··on The Philips Hue ecosystem is collapsing
That's not true, Zigbee remotes can pair directly to lightbulbs (including Philips Hue) and control the color. Example: https://rgbgenie.com/?product=rgbgenie-rgbw-remote-zigbee

Also, there are tons of cheap colored lightbulbs controlled directly by an infrared remote. Example: https://www.amazon.com/Light-Color-Changing-2700K-White/dp/B...

tga··on Amsterdam to use “noise cameras” against too loud cars
BMW is still making a cruiser, the R 18. I personally find it nicer (and not as antisocially loud) than a Harley bagger.

https://www.bmwmotorcycles.com/en/models/heritage/r18-b.html

tga··on Ask HN: EU-based cloud providers that offer managed databases?
Scaleway is a French company: https://www.scaleway.com/en/database/

You can also find many others listed on the Postgresql website: https://www.postgresql.org/support/professional_hosting/euro...

tga··on Is Germany once again the sick man of Europe?
> the vast majority of trains come on time

In 2022, only 65,2% of German trains were on time. In some regions, that ratio was under 50%.

https://www.zdf.de/nachrichten/wirtschaft/puenktlichkeit-bah...

tga··on Ask HN: Any interesting books you have read lately?
The Phoenix Project is basically the same thing, but about software. I also found it more enjoyable to read.

https://itrevolution.com/product/the-phoenix-project/

tga··on Under $100 Pre-Owned Mini Computers to Use as Desktop PC's and Servers in 2023
Fedora Silverblue is immutable and should be easier to manage than Nix: https://fedoraproject.org/en/silverblue/
tga··on EurKEY: The European Keyboard Layout – For Europeans, Coders and Translators
Not seeing the Romanian letters ș, ț, ă, â, î anywhere on the keyboard. Romania is in Europe, too.

(â and î are even needed in French, what am I missing here?)

I'm sure there must be many other letters missing. Not to mention Bulgaria and Greece.

No qualms with the layout, it's probably impossible to cram all European letters and common programming symbols on only ~four layers -- it's just the name that's somewhat provocative.

Interesting reference: https://jakubmarian.com/special-characters-diacritics-used-i...

tga··on Buying an iPad Pro for coding was a mistake
That’s nice as a bonus, but an iPad is small and rather expensive to use primarily as a monitor — you can get a portable 15” touchscreen for €120.
tga··on Ask HN: IP cameras that don't require an app or internet?
As far as I know, you can also add Hikvision cameras to the list of LAN-only, no-app devices.

In general, you probably want to look more towards the commercial CCTV market, even at the cheap end, rather than at any cameras aimed directly at home consumers.

tga··on Gandi.net – Pricing Update
They have really high prices for some TLDs for some reason.

A .re domain is €14.28 with Gandi and €43.99 with iwantmyname.

tga··on A Good Fountain Pen Lets You Enjoy the Finer Things in Life (2022)
One of the points of writing with a nice, thick fountain pen is that you can vary the line width quite a bit while you are writing, by applying more pressure on the nib. This leads to more pleasant calligraphy than you can ever get with a rollerball.

Random example: https://www.penparents.org/img/twsbi_with_flex_nib_twsbi.jpg

tga··on With all social media fucking up severely, what's next?
The experience isn’t amazing, but Mozilla Thunderbird also does IRC and you may have it around already.

irccloud.com also used to be nice.

tga··on I wrote my own smart home software
The Zigbee2MQTT web UI might be useful for debugging, but a mixed list is hardly a good way of interacting with home devices.
tga··on Add $4 WiFi Logging to IKEA’s $12 Air Quality Sensor (Wemos and Vindriktning)
And if you want to turn your ESP8266 into a standalone appliance, with a web interface and directly editable config that doesn't need a build step, Tasmota is another great option.

https://tasmota.github.io/docs/

tga··on Kera Desktop: open-source, cross-platform, web-based desktop environment
Here is one example:

I use virtual desktops to separate apps when developing (1 for terminal, 2 for the app, 3 for docs, 4 for the IDE, 5 for additional tools). I switch between them every few seconds sometimes, so the exact numbering is important.

With KDE activities, it's nice to be able to have two fully separate projects (different customers or contexts) open at the same time, while keeping their respective virtual desktop arrangements.

tga··on I wrote my own smart home software
My "HA" setup is really driven by Zigbee2MQTT -- most of my lights, devices (light switches, washer, dryer) and sensors (temperature, motion, doors/windows, water leaks) are all random Zigbee devices that Zigbee2MQTT does a wonderful job talking to, without any need for vendor software or services.

https://www.zigbee2mqtt.io/

I happen to use Node-RED for automation -- this is the easiest part to replace, it could just as well be Mako, pyscript, AppDaemon, NetDaemon, or plain Python scripts talking to the MQTT server.

What I can't easily replace from HA is the nice UI, both over the web and as an app (same thing really). I guess Mako makes it possible to hack together a web interface, but it's a lot of work for a poor result when compared to what you get with HA (or OpenHab) out of the box.

I would love to find a simpler, MQTT driven "HMI" app for both web and mobile, completely disconnected from the logic behind.

← PreviousPage 2 of 13Next →