HNHacker News
TopNewBestAskShowJobs

smashed

1,617 karma · joined December 7, 2015

Email: veilleux.cedric@gmail.com Github: https://github.com/cveilleux
submissionscomments
smashed··on 737 Tailstrike at Amsterdam Schiphol Airport
Same thing that happened to Alaska airlines twice, supposedly fixed by a software update?

See also https://news.ycombinator.com/item?id=34895061

smashed··on An overview of single-purpose Linux distributions
I am working on something like it. It's a specialized, immutable Linux os that blends networking, nas and containers.

We found that even with a web GUI, containers are just too complicated for the typical user "that knows nothing about containers".

Even with a GUI, no matter how nice it is, you need to learn about env vars, port mappings, cni networks, bridging, volume mounts, images, tags, host isolation, etc etc..

Our solution is to wrap apps into pre-packaged recipes. Pretty big trade-off of course, but it makes the installation and management completely fool-proof afterwards.

You can see some screen shots in the documentation here:

https://sentinelc.com/docs/user-guides/administration/manage...

smashed··on TabFS – a browser extension that mounts the browser tabs as a filesystem
Haven't looked into the source, but this is most probably using FuseFS in order to present a mountable filesystem.

Fuse does not support windows. If it did the extension could probably be easy to port..

Your best bet is probably running the browser under some wsl layer.

smashed··on Web Push for Web Apps on iOS and iPadOS
You have to add the web app to the home screen, then the app needs to ask permission on a click event, the user needs to grant the permission and then focus mode, etc can still filter them out.

In many cases, you have a perfectly functional web app and the only feature you would gain from publishing a native mobile app would be push notifications. Apple used to gate this feature behind its app store/developer program. Now you have an alternative, and I think it was long overdue.

smashed··on Russhian Roulette: 1/6 chance of posting your SSH private key on pastebin
That is exactly what snap is aiming for.

Apps run in a sandbox and have no access to user files except through "portals", which are secure file pickers essentially.

smashed··on The Pretty Good House
Only on hacker news would you see a comment like that.
smashed··on DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 2023 Edition
Performance is important but my main problem is reliability of the usb to SATA controllers.

In practice you often get weird timeout issues and unintelligible errors in kernel logs, hard resets, drives disconnecting or worst, data corruption. It's also always difficult to tell if it is a failing drive, or if it's a controller bug, or power supply issue.

smashed··on DIY Raspberry / Orange Pi NAS That Looks Like a NAS – 2023 Edition
This is a cool project and I am happy to see interest in this sort of thing.

Too bad though that general purpose SBC's kind of suck for NAS/Storage though. Both the rpi4 and orange pi zero mentioned in the project lack any kind of SATA port and relies on usb to sata.

The best project I saw was the Helios4/Helios64 (https://kobol.io/), but sadly, they folded in 2021. Is there anything even remotely similar around?

Right now I am still using intel-based mini-pc's for diy NAS storage as they simply work better.

smashed··on Sometimes it actually is a kernel bug: bind() in Linux 6.0.16
Best explanation I found is here:

https://lore.kernel.org/stable/CAFsF8vL4CGFzWMb38_XviiEgxoKX...

A patch was backported to the 6.0 branch from the main branch, but they forgot a line of code, leading to a buggy behavior.

smashed··on Tell HN: Airbnb has no system in place when a host cancels on a renter
Advertise a very nice apartment in a desirable location, then last minute redirect the guests to a slightly less desirable location but still "similar".

Good old bait and switch.

Besides issuing a prompt refund and hopefully banning the fraudulent host, what exactly is Airbnb supposed to do in such situation?

They operate a platform, not an hotel chain. They have nowhere to actually host you and are in no contractual agreement with the guest to actually get you a place to stay whatsoever. Buyer beware so they say?

smashed··on A Linux Evening
Kernel state does not survive reboots afaik.

That would need help from userland, which is not involved in the early boot process.

You could I guess change kernel init parameters and save that in your boot loader, but that is very hackish.

smashed··on Migrate from Linux to FreeBSD
Hardware support.

I have no idea why the hardware/software industry all focused on the linux kernel as the common base for so many hardware support. The amount of chips supported in the linux kernel is mind boggling.

I worked with FreeBSD in my early career. How do I miss the `make world`. So easy, all-in-one, clean and elegant system.

smashed··on MDN converted to Markdown
I think you are on the right track but may be over estimating the "average" internet user capabilities?

I had to migrate a couple of projects from awful, big ridden, wysiwyg editors to markdown and it's a huge challenge. Many people expect everything to work just as Ms Office/word does. Anything behaving in any way different than their benchmark is wrong..

Now, going from such a mindset to Markdown is a huge endeavour. You need to re-educate your user. Many will never appreciate the raw, code-like nature of markdown and will dread it the entire time they have to endure it.

smashed··on Podman Release v4.3.0
Podman initially was daemon less, but docker-compose is a python script that interacts with dockerd directly through its rest API, not by invoking docker cli commands.

So even though podman offers a compatible cli interface, if was no help to get compose to work.

podman-compose is a re-implementation of the docker-compose spec in a podman compatible way. Like any re-implementation, compatibility issues are possible.

The main podman project instead chose to tackle such incompatibility by implementing an optional daemon mode offering a compatible to docker REST api.

If you start de podman service on a recent version, you can use docker-compose as-is. It will happily send commands to the podman daemon and from my few initial tests, everything works perfectly so far.

smashed··on Ubuntu 22.10 Kinetic Kudu
My first encounter with snaps was launching gcalc, the basic built-in calculator app.

At some point after an update, launching that app would take multiple seconds. How could the most basic gtk app be so slow to launch.

Investigating further, I found the update had transformed the normal gcalc package into a snap, probably just to prove how great snaps could be for desktop apps?

What a bad way to introduce your latest tech canonical. From then on, my opinion of snaps was very negative and I still do everything possible to avoid them. Even if they are technically great or more secure, canonical messed up their introduction and are now stuck pushing a dead horse.

smashed··on Kill Bill – Open-Source Subscription Billing and Payments Platform
That's very harsh. If it were a bunch of cobbled together perl and bash scripts I could understand poopooing the software stack, but java for enterprise accounting software is a super common stack and arguably one of the most suitable solution for this type of software.
smashed··on Linux Kernel 6.0
The last release number was 5.19.

Linux 6.0 could have been versioned as 5.20 but Linus chose 6.0 out of thin air. Nothing more nothing less.

smashed··on AWS vs. GCP reliability is wildly different
Which makes 2000% sense.

Why would any tenant supplied data affect anything whatsoever?

As a tenant, unless you are clashing with another resource under your own name, I don't see the point of failing.

aws S3 would be an exception, where they make that limitation on globally unique bucket name very clear.

smashed··on Ubisoft delays server shutdowns, prevents purchased DLC from going away
Heard from inside source through a friend, take with a grain of salt, but that particular server was running ancient software (think very obsolete windows server version) and would have a peak of less than 10 concurrent users, worldwide. I don't think there is a business case to make here.

It's a maintenance nightmare. Poor, rushed together server components. Noone still around the company that still knows how it was built. No automated tests whatsoever, so any code changes or recompile with newer libs would require important QA efforts..

I'm not saying this justify anything. It's still very bad business practice and consumers are right to be mad. Kinda was predictable though, and game publishers should have a clear EOL policy when selling a game.

smashed··on New Yorkers with pot convictions will now be the first to get to sell it
I will agree with you that it is a totally different situation.
smashed··on Your online identity is owned by your email provider (2019)
Sounds interesting but can you elaborate on the social benefits, challenges and potential downfalls of such an approach?
smashed··on Resolving an unusual WiFi issue
See Ethernet pause frames

Usb ethernet adapters will send these pause frames, waiting for the computer to reconnect.. but they end up flooding dumb switches..

https://news.ycombinator.com/item?id=31268134

smashed··on Zoom Alternatives for Longer Meetings?
Since it is browser based (webrtc), the implementation is mostly browser based. You can expect the same audio/video as you get with google meet or teams, which are using the same tech.

One or one calls should be using direct peer to peer connection thanks to webrtc.

Group calls will be routed by the server, so latency will be an issue depending on the server location.

smashed··on Android removes much of Fuchsia-related code as Starnix project progresses
It's not only about releasing the "driver".

It's committing the time and resources to get it in a good enough shape to at the very least be submitted upstream.

Embedded device drivers are often developed by cutting a lot of corners, copy-pasting huge amount of code, using magic register addresses that are undocumented and targetting old kernel versions.

Even if they make the code available, there is not much the kernel maintainers can do.

By the time the device hits the market, the driver developers have moved on to the next project in the pipeline. There is never the time to clean up, rebase on top of master, submit upstream properly, and address code review (of you are lucky to get a maintainer to even look at your code).

smashed··on Captive Portals
I've been there. I can relate to everything you said!

The DHCP standard was such a waste of time. Ignore it completely, no client support whatsoever.

Intercepting all plain HTTP traffic (just drop https) and responding with a 30x redirect to your captive portal web page seems to be the ad-hoc "standard". Your captive portal domain can be served under secured HTTPS just fine.

I fully agree with the sandboxed browsers pain and absolute impossibility to get a nice consistent UX across platforms.

smashed··on I've been abusing HTTP Status Codes in my APIs for years
Of course. Its just that in the general mindset, an hypothetical average dev who needs to call your API won't be surprised to receive a 404 for a missing resource. I might be wrong of course.

Either way, a proper api doc/spec should make either approach a non-issue.

Personnally, I've switched to graphql where it makes sense. Application level error codes and handled on the graphql layer, not on the HTTP layer, so you could say I've adopted that approach!

smashed··on I've been abusing HTTP Status Codes in my APIs for years
I think the author is aware and I noticed the term REST does not appear anywhere in the article.

The main idea of the article is exactly that he does not agree that http error codes be used for application level errors (as REST principles recommend).

I think at this point that ship has sailed. Most HTTP based API will use http error codes in various ways. I would be surprised to not receive a 404 when requesting a resource ID that does not exist for example when consuming a new API.

smashed··on Markov Chat Bot Disaster Story
My wild guess would be that they used chat rooms as a sort of access control.

If you are in the room with the bot, you can issue commands.

They could have forgotten that you can also just add the bot to another room. Major face palm, but plausible.

smashed··on Snort – Network Intrusion Detection and Prevention System
How relevant is a rule based IDS in today's environment?

With most everything fully encrypted, what's left for the rules to detect? If I remember correctly, one of the first performance optimization recommended by snort/suricata is to detect and skip encrypted traffic, to not waste cpu cycles on random bits.

If a malware wants to exfiltrate data or receive commands from a remote command and control, won't they simply masquerade their traffic as regular outgoing https requests and bypass the IDS easily?

smashed··on Many powered USB-C hubs with Ethernet kill networks when disconnected from host
I was looking for more details about these Ethernet pause frames, as I'm pretty sure I experienced the problem using a usb-c hub..

Found a relevant article and discussion from 2016 here, so this problem is not new!

https://news.ycombinator.com/item?id=12339902

← PreviousPage 9 of 11Next →