HNHacker News
TopNewBestAskShowJobs

alufers

1,317 karma · joined June 9, 2018

submissionscomments
alufers··on Redis 6.0 GA
I have a bit of a tangent question for more experienced back-end developers: where do you fit Redis (or other caching mechanisms) in the traditional MVC model? I haven't had a use-case for Redis yet, but I'd like to know how should I approach the architecture of an app using Redis.
alufers··on Show HN: Insomnia Designer – Open-source collaborative editor for API design
Isn't fiddler intended to be used to capture requests sent from already running apps and not to make standalone requests to APIs? Additionally it is not multi-platform as far as I know, you can only run it on Windows machines.
alufers··on Show HN: Insomnia Designer – Open-source collaborative editor for API design
I use Postman daily and I have never created an account. I think it only nags you when you start the app for the first time. I just import/export my collections to the git repo of the API I am working at.

Sure, the whole cloud login, team synchronization stuff is totally useless for me, but it is not mandatory. Anyway I can understand why it may be frustrating to see all this bloat.

On the other hand I found that Insomnia lacks a few features that Postman has. For example there is no way to do scripting in Insomnia, there only is request chaining which is IMHO way more limiting than the Javascript sandbox that Postman provides. Most notably there is no way to generate request data on the fly.

alufers··on Show HN: Code Time 2.0 – free automatic time tracking and metrics for devs
I have been using WakaTime [1] for a long time now. Why should I consider switching to your solution?

i can see you have less integrations and there is no data export functionality mentioned in the landing page.

Anyway, best of luck in promoting your app.

[1] https://wakatime.com/

alufers··on Ask HN: What is your favourite OS and why?
Arch Linux with the yay helper.

Just typing `yay app-software-name` and hitting enter a few times to install any app, no matter how obscure, or proprietary it is (at least for me 99% of software I use is included in the arch packages or the AUR). Unfortunately the installation procedure for Arch is quite daunting at first, but the Arch wiki helps a lot and you can use Manjaro which is presumably user-friendly.

alufers··on Ask HN: How do you illustrate your books?
I haven't personally written any books, but I have seen this blog article [1] written by Bob Nystrom. He talks about creating his book (about writing an interpreter) in general, but there is a part dedicated to explaining how he illustrated the book by hand and scanned the pictures to include them in the book.

Maybe such a low-tech solution will suit you.

[1] http://journal.stuffwithstuff.com/2020/04/05/crafting-crafti...

alufers··on DBFromZero: Develop increasingly sophisticated databases from scratch
Hey! It would be nice if the code snippets had better contrast and matched the white color theme of the website. I have to squint really hard to make out the code, which makes it really hard to consume the articles.
alufers··on Shell Productivity Tips and Tricks
It depends on how you work, I have a lot of small projects which come and go, so setting up the paths every time I start or finish something would be inefficient.

Although I might adopt it for different weird system configuration directories which I often forget the path to.

alufers··on A New Problem Is Brewing in the Beer Industry: One Million Kegs Are Going Stale
If only there was a similar ban on alcohol which was supposed to help, but ended up making the situation worse. Maybe it even overlapped with a financial crisis.
alufers··on Shell Productivity Tips and Tricks
The single best shell productivity tip for me was to use z:

https://github.com/rupa/z

It automatically makes a list of directories you frequently use in your shell and if you type `z a-small-substring-of-the-directory-path` it does a cd to that directory. (e.g. I type `z and` and it changes my current directory to $HOME/Work/Projects/android`). Saved me tons of typing.

alufers··on Most content gets no traffic from Google
Yeah... Until a country-wide food delivery company starts an advertising campaign and floods the results with their website even though their services aren't available in that town.
alufers··on Show HN: Pxy – A Go server that proxies websocket livestreams to RTMP servers
I tried doing that, but I ran into some performance problems due to streaming raw video. Instead I streamed the audio via stdin and created a HTTP MJPEG server listening on localhost and pointed ffmpeg there. I was limited to maybe 10 FPS top and the JPEG encoding overhead was also getting noticeable, but I limited the framerate to 1 per second because it was mostly static (song name and current/remaining time of the track).
alufers··on Instagram no longer allows people without an account to view photos on computers
Well it is their platform, but they are using what I would consider unethical means to force people to create accounts, collecting and selling their data.

Sure, you can say that I should avoid Mark's websites altogether if I want to keep my data safe, but that would probably mean that a huge portion of my social life would be sacrificed.

alufers··on Career advice for people with bad luck
Yeah, I really feel sad when I see those articles and comments telling you not to share anything that you don't want your boss to know with your colleagues, or even better ignore them completely and automatically treat as deadly competition. If you cannot trust anybody and have difficulties with assessing if someone won't turn his back on you, it may be a problem with your social skills, not with other people.

This kind of thinking encourages situations where the employer may have total control over his employees, like with Amazon.

alufers··on Starlink internet private beta to begin in roughly 3 months
Wow! I am really excited for this technology. I just hope the reliability, especially with thick clouds will be somewhat tolerable... Because if somebody cannot work due to the weather, this will be no replacement for traditional fiber or copper wires.
alufers··on Instagram no longer allows people without an account to view photos on computers
I sometimes used to browse my friend's instagram feeds just to see what they have been up to, as I don't use instagram due to privacy concerns and personalized feeds being a time-eater. The desktop experience has been degrading for the past year or so, for example you were unable to scroll past maybe 20 photos on someones profile without logging in. That's ridiculous, and I hope that Instagram and Facebook die someday.
alufers··on Valve's Proton Has Brought 6000 Windows Games to Linux So Far
I think you meant Proton instead of Vulkan. Some games run on Vulkan even on Windows. :)

Cheers

alufers··on Show HN: Pxy – A Go server that proxies websocket livestreams to RTMP servers
I see you are invoking Ffmpeg via the shell. I also tried steaming to Youtube from Go and had to resort to the same solution. It's a shame there isn't a usable library for implementing a RTMP client in Go. Using Ffmpeg from the shell is very limiting because there is no way to monitor the status of the stream or to provide audio and video separately using stdin.
alufers··on Stuck at Fucking Home. I got bored and started compiling lists
Well, not everyone is okay with profanity, some people may be upset by it.
alufers··on Show HN: InventHub – Visual version control for electronics design
Hey!

The core features work great (albeit the schematic and board preview are a bit sluggish compared to the rest of the website). I would also like to point out that the design of the page is really eye-pleasing. The GitHub-like file browser is visually pleasant and feels familiar without being a direct ripoff of GitHub.

Unfortunately I found a few minor problems concerning authentication. Namely there is no way to use ssh keys when pushing with git. This is a real bummer since I use generated passwords which are stored in my password manager. Pasting passwords with special characters (which are a requirement in your registration form) in terminals is sometimes a bit cumbersome on some platforms. The second problem I noticed is that you cannot change your password when logged in (without using the "I Forgot My Password" option).

Cheers!

alufers··on Show HN: Linux driver for the Xbox One wireless dongle
Thank you so much! I was just to buy the Bluetooth ones but it seems like I don't have to.
alufers··on Using Web Bluetooth to Communicate with Bluetooth Devices
I have recently tried communicating via BLE on an ESP32 using the Web Bluetooth API on a hackathon. The experience was mediocre at best. Enabling an experimental flag on the desktop version of Chrome 77 was reqired, we had to use some hacks to overcome the 20 byte limit for writing into a characteristic. Additionaly after 10 hours of constantly connecting and disconnecting the device, it refused to work with any device except with one laptop. I don't know if it was caused by the web api or the ESP32 but it was quite an unpleasant superise.
alufers··on Building a Dark Web Crawler in Go
I am no TOR expert, but how does decreasing the amount of hops or running your own relay decrease the privacy of other people?
alufers··on The cost of parsing JSON
The key part here is

> As long as the JSON string is only evaluated once the JSON.parse approach is much faster.

So doing this would only work on top-level declarations, because the javascript runtime will cache the parsed JSON structure for subsequent executions (eg. creating an object in a loop).

alufers··on The cost of parsing JSON
I believe you are doing it wrong here, since the code is parsed only once and then executed in a loop in the first sample. If you parsed one array with 10000000 elements it should be faster.
alufers··on Tesla’s Autopilot found partly to blame for 2018 crash on the 405
Could you explain what a "fruit fly control point" is, i can't find anything about it on Google and it seems interesting to me as I am not an native English speaker. Thanks.
← PreviousPage 5 of 5