HNHacker News
TopNewBestAskShowJobs

Lukas_Skywalker

1,723 karma · joined August 27, 2014

Creator of code-fabrik.ch and examzone.ch
submissionscomments
Lukas_Skywalker··on Aleksandr Sorokin smashes 24-hour world record with 198.6 mile run
All GPS watches already calculate their altitude (GPS uses three dimensional trilateration for computing the position, so you must get the elevation because you must calculate the three dimensional position). The elevation measure is usually pretty inaccurate in Central Europe. Since the satellites are comparably low above the horizon, flat movements of the runner have a large effect on the run time of the signals coming from the satellites, while vertical movements do not really change the run time and are therefore much more affected by any error.

This is why most portals like Strava run a data correction by overriding the elevation data of the GPS track by tracing the path over their internal elevation model.

The barometric elevation calculation is usually much more accurate and is constantly calibrated on the watch. This breaks down a little if you run for over 24 hours and the weather changes a lot. The drift over the 24 hours of this run amounts to about 8m over 2 hours, which doesn't really matter. And while air pressure can be used to normalize performance of the athletes, the absolute values measured by the barometer are usually pretty inaccurate, while the relative changes are quite accurate. Therefore, they can be used to measure climb/descent, but not really for an absolute air density measurement.

Source: I have worked on a GPS wearable (without barometric pressure sensor).

Lukas_Skywalker··on Apple Introduces Apple Watch Ultra
One thing confusing me is that there doesn't seem to be a real map view. There is a view displaying waypoints and a line tracing your route, but no map background. Some context around your current position can be very helpful when navigating. Strange that they didn't include it. The watch already has such a bright high resolution display, they could provide a much better experience than the competitors.
Lukas_Skywalker··on 134.5 kg Concrete Bike [video]
I thought so too, but at 20:55 you can see the rider stop pedalling while still rolling. It seems to contain a freewheel mechanism: https://youtu.be/Yqgn-qlg1X0?t=1255
Lukas_Skywalker··on 134.5 kg Concrete Bike [video]
The frame is upside down. You can see the bottom bracket is on top, and the seat tube is facing down.
Lukas_Skywalker··on uBlock Origin works best on Firefox
Important thing to add: Apple forces browsers on iOS to use the iOS webview. This is not Mozillas choice.
Lukas_Skywalker··on Faster offset pagination for Rails apps
This changed in version 12. See the disclaimer:

This article is intended for PostgreSQL versions 11 and prior. Starting at version 12, PostgreSQL changed the way it treats CTE to prevent the issues described in this article.

Lukas_Skywalker··on Roomba CEO says iRobot will never sell your data (2019)
Discussion from 2019: https://news.ycombinator.com/item?id=14875604
Lukas_Skywalker··on Oncall Compensation for Software Engineers
In chapter 3, the table labelled as „Companies paying 600-1,000 USD/EUR/GBP per week.“ includes German KfW Bank which apparently pays €875 per _day_. Is this a typo (they are in reality paying this amount per week) or are the engineers on call only one day per week (making the amounts per day and per week the same)?
Lukas_Skywalker··on Router Security
Google even has a geolocation API [1] where you can send the BSSID and signal strength of the access points in your range and it calculates your position.

[1]: https://developers.google.com/maps/documentation/geolocation...

Lukas_Skywalker··on Mozilla releases local machine translation tools as part of Project Bergamot
Also, „common“ should be translated to „üblich“ instead of „gemeinsam“. „Gemeinsam“ is more like „collective“ as in „a collective effort“.
Lukas_Skywalker··on Make Your Own Chips for Free
Where should one go to get started with such a project? I have some experience with embedded systems (hardware design and programming of systems with an of the shelf microcontroller). But it‘s difficult to see the „unknown unknowns“.
Lukas_Skywalker··on No other profession trivialises their profession to the degree of software
A bit off-topic, but regarding the reliability of trams: In Switzerland, we have them in basically every city with a population larger than about 50‘000 (just a guesstimate). Maybe it helps that they have much more experience here. I can only remember a single day in the past 10 years when the trams were delayed in my city because everyone was surprised by the early snow and there were no plows ready. But it was the same for cars, busses and cabs.
Lukas_Skywalker··on I'm leaving Rails core and I'm not interested in being in the alumni
> He was not uninvited. He was simply asked to share the keynote with other people.

That's why I wrote both what the email from RailsConf said, and how he interpreted it. I agree though that my wording of his interpretation was a bit bad.

Lukas_Skywalker··on I'm leaving Rails core and I'm not interested in being in the alumni
> To be clear, he was never uninvited.

That's why I wrote both what the email from RailsConf said, and how he interpreted it. But I agree that my wording about his interpretation was a bit unfortunate.

Lukas_Skywalker··on I'm leaving Rails core and I'm not interested in being in the alumni
I'll try to summarize what I know about the reasons and what brought people to resign from the Rails project, for those missing the context. Please note that I might be partially wrong, but I'll try to summarize as neutrally as I can:

- DHH, the cofounder of Basecamp and creator of Rails serves as the de facto benevolent dictator of Rails.

- April 2021: Basecamp announces that discussions around politics and society are no longer allowed at the company. The official statement was that employees should not feel pressured to take on side or the other, and that discussions would derail into flamewars. Employees instead suspected that the announcement was made because some employees found a list of "funny customer names", that had been circulating since 2009, offensive. It apparently contained mostly Asian and African names, and led to discussions about inclusion and diversity. About a third of the employees of Basecamp quit the company. [1]

- April 2021 to March 2022: The story of Basecamp leads to many many discussions on Twitter and in blogs. DHH turns off the comments on his Twitter. People start doubting the fitness of DHH to lead the Rails project. There are flame wars from both sides. People start to turn their back on Rails. After multiple tweets, people start accusing DHH of being a cryptobro and QAnon sympathizer.

- March 2022: DHH published a blog post containing an email from the RailsConf organizers, where they tell him that they want to fill the keynote spot at Railsconf with other speakers, because he had "mostly been offline for the past year". DHH had been very active in reality, publishing code to Rails consistently. He lists his contributions, along with the other contributors of those features (among them: Kasper Timm Hansen, author of the PR linked in this post). DHH suspects that he was uninvited for political reasons and his stance on diversity. [2]

Kasper Timm Hansen tweeted, back in August 2021, that DHH was credited for work Kasper did [3]. That last blog post of DHH seems to have broken the camels back.

[1] https://www.platformer.news/p/-what-really-happened-at-basec...

[2] https://world.hey.com/dhh/no-railsconf-faa7935e

[3] https://twitter.com/kaspth/status/1431699450594988036

Lukas_Skywalker··on Files – Single-file photo gallery and file manager
Annoyingly, the demo broke the back button of my Safari on iOS
Lukas_Skywalker··on An Ode to Ruby
Thanks for creating oga :) I use it a lot. Bonus: it's even slightly faster than Nokogiri.
Lukas_Skywalker··on English has been my pain for 15 years (2013)
To clear things up a bit, the correct spellings are:

- „ihr seid laut“: you are loud (seid is the second person plural form of to be)

- „seit drei Stunden“: for three hours (seit gives a temporal reference)

- „bis am Freitag“: by friday (in the context of homework)

- „der Biss“: the bite

Lukas_Skywalker··on From Node to Ruby on Rails
I have been using a software called dokku for about six years. It‘s like Heroku, but you self host. It even uses the same buildpacks. You just run the dokku installer and off you go.
Lukas_Skywalker··on Reduce your website’s environmental impact with a carbon budget
Wow. A quick and dirty vectorization yields an SVG of 9kB. The PNG even looks like it was originally an SVG with some linear gradients.
Lukas_Skywalker··on Importance of muscle mass, strength and cardiorespiratory fitness for longevity
Case in point: children in Finland bike to school [1] even at -17C/2F. Studded tires work really well, even if it‘s a bit icy.

[1] https://www.boredpanda.com/students-bicycle-school-winter-sn...

Lukas_Skywalker··on M1 Pro First Impressions: Core Management and CPU Performance
I am still on an i5 11" MacBook Air made of aluminum from Mid 2012 with 4GB RAM. Changed the battery twice, upgraded to a larger SSD once. I was considering buying a new laptop a few years ago, but that thing has served me so well despite falling to the ground unprotected about 3 times and being old. I do embedded and some web programming. I will use it until I am no longer able to start it up. And at that point, I will probably open it up and have a very last try at fixing it.
Lukas_Skywalker··on You Are Jeff Bezos
The creator mentions that this could be caused by an ad blocker: "This is usually the result of your browser's adblocker. Please disable your adblocking plugins and see if that helps things!"
Lukas_Skywalker··on [dead]
On Ubuntu Desktop as well. Both in Firefox and Chromium.
Lukas_Skywalker··on Cloudflare Images Now Available to Everyone
Indeed. I only read the blog post, where this info is missing. Thank you.
Lukas_Skywalker··on Cloudflare Images Now Available to Everyone
It would be great if they also allowed reverse proxying images directly. I.e. if I could embed an image like this:

<img src="/images/logo.png?size=200,200">

For the customers that enabled Cloudflare proxying, they could automatiacally serve a 200x200px variant of the image hosted on my server at /images/logo.png.

This would allow to use the feature without needing to upload the images explicitely.

For those not using the Cloudflare proxying, the images could be embedded using something like this:

<img src="https://imageproxy.cloudflare.com/mysite.com/images/logo.png...">

Lukas_Skywalker··on Wikipedia Is Trying to Transcend the Limits of Human Language
German has 6, french has 7 though
Lukas_Skywalker··on Walking increases spontaneous fluctuations in the brain
I have created something similar for a museum. I placed bluetooth beacons behind the exhibits, and when visitors approached them the app automatically switched to the "page" for this exhibit. The app was able to display texts, videos, images and audio files.
Lukas_Skywalker··on Turn your Android phone into SMS API gateway
There is also SMSHub (https://github.com/juancrescente/SMSHub) which, as far as I see, does the same but additionally is able to deliver incoming messages to an API endpoint.
Lukas_Skywalker··on Turn your Android phone into SMS API gateway
I once sent 10k sms messages per month for about a year before my plan got cancelled. The plan officially allowed for unlimited sms. It was about 50$ per month, which was much cheaper than 0.1$ per message at Twilio (in Europe).

I received the bill at the end of the month stating the timestamp and recipient of every message. The PDF was regularly around 100 pages long.

← PreviousPage 6 of 9Next →