Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pmontra
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
841.
▲
by
pmontra
2y ago
Web radios handle many clients. The first problem could be if the Wi-Fi hot spot can handle that many clients. The second one is that web radios and their protocols usually don't care if two clients are not in sync. They are usually in
842.
▲
by
pmontra
2y ago
"Their own source" looks like they are bringing their own files or (more probably) their Spotify or YouTube. It happens all the time on public transport. Or did you mean bringing their own music and taking turns at sharing it with
843.
▲
by
pmontra
2y ago
I work with Ruby but I never had to use Ruby to use Jekyll. I downloaded the docker image and run it. It checks a host directory for updates and generates the HTML files. It could be written in any other language I don't know.
844.
▲
by
pmontra
2y ago
I checked. htop reports 22.7 GB. I do have one VM with 4 GB RAM. Having 32 GB I disabled swap. It's been maybe 8 years since the last time I had swap on. No problems at all.
845.
▲
by
pmontra
2y ago
I have 53 tabs open on Firefox Android. They are a dump of what I'm reading or wish to read or what I want to come back to. Sometimes I send a tab to my desktop using the KDE Connect app. I have Gnome with GS Connect on my Linux laptop
846.
▲
by
pmontra
2y ago
Usually yes. Web apps are simple. There isn't much to do inside a request params to db to response call. But sometimes, not every year, there is something to really reason about. I still remember some project from 10 or 20 years ago.
847.
▲
by
pmontra
2y ago
I remember that I was using trees quite often last century, when I was writing programs in C. I seldom use tree or comparably complex data structures nowadays, when I almost only write web apps (mostly backend in Ruby or Python but some fro
848.
▲
by
pmontra
2y ago
It works well on my Android phone with Firefox. Well done.
849.
▲
by
pmontra
2y ago
The blue cones are probably the wind coming to the boat but there is a wall of cones a little further away, visible by zooming out. Those cones don't have the same directions of the ones close to the boat. It's probably apparent w
850.
▲
by
pmontra
2y ago
> what happens if customers have purchased that product? You still want it in the database, and you still want to fulfill the orders placed. You might still want to show to those customers their purchase history including what they bough
851.
▲
by
pmontra
2y ago
Ultimately all the money Apple is making from the store comes from the pockets of people. If apps won't have to pay a cut to Apple, people would be left with more money in their pockets. If all apps were free and no sales would be forc
852.
▲
by
pmontra
2y ago
Finland and Sweden yes, because they are the next ones in line on that front. UK probably but not 100%. France, it depends who'll be the president, who controls the parliament and what they'll have to say to get the votes to win t
853.
▲
by
pmontra
2y ago
A country attacks another one only if it doesn't have political control of it feels that never will. For example Russia doesn't have to attack Belarus and won't have to attack Hungary, and probably not Slovakia. They'll
854.
▲
by
pmontra
2y ago
The Wikipedia page about the Battle of Kyiv https://en.wikipedia.org/wiki/Battle_of_Kyiv_(2022) is what I remember from the news of 3 years ago.
855.
▲
by
pmontra
2y ago
If I were Putin I'd attack some very minor NATO state to check if NATO will really send soldiers to defend it. Example: is really somebody willing to die for Estonia? (Sorry HNers from Estonia, but you are just in the worst possible pl
856.
▲
by
pmontra
2y ago
In my experience engaging a dynamo is worth one switch of the gear on a 7 gear cassette. I accept the tradeoff of having to pocket the light.
857.
▲
by
pmontra
2y ago
I've seen this arrangement countless times in cities: First key for the gate on the road to get into the yard. Second key for the gate in the yard to the stairs and elevator. Third and possibly fourth key for the door to the apartment.
858.
▲
by
pmontra
2y ago
Wouldn't the center be the Big Bang and the 3D Universe at the current time (if Relativity lets me write about a current time) be the 3D surface of the 4D sphere (or spheroid) that the Big Bang is creating by keeping to expand?
859.
▲
by
pmontra
2y ago
What is there of "post capitalist" in all of that? I see capital and scarcity all the way down. Maybe scarcity is artificially enforced on things that wouldn't be scarce anymore but nothing changed substantially compared to 1
860.
▲
by
pmontra
2y ago
It's strange that they didn't write about the Erlang /Elixir approach of 1. returning a tuple with an ok or fail value (so errors as values) plus 2. pattern matching on return values (which makes error values bearable) possib
861.
▲
by
pmontra
2y ago
endfor, so it's not 100% real Python but I see that handling structure with indentation inside an HTML file could be a problem. Sometimes it's a problem even inside a Python file. I often have to undo and start again after moving
862.
▲
by
pmontra
2y ago
Django has a few features that can be taken for granted: the ORM, the templating language (ouch), the admin, the user/auth/permission system, the division in views (called controllers in Rails) and templates (called views in Rails
863.
▲
by
pmontra
2y ago
If I'd have to spend my career developing and attending to a single product, a set of libraries would be all I need. I can fill in the blanks and connect them and write and maintain any missing pieces. However I work for customers, man
864.
▲
by
pmontra
2y ago
ERB is also the default templating language of Rails. I wish Django would use an embedded Python instead of the mutilated tool it uses in its own templates. Not only it's yet another language to learn, but it's also underpowered a
865.
▲
by
pmontra
2y ago
Or: you both get fired but they hire you because of all the money they made anyway.
866.
▲
by
pmontra
2y ago
I keep one window (in the common OS meaning of window) per virtual desktop and I usually split it into two horizontal buffers. Sometimes I split it in two vertical buffers, for comparing lines. Sometimes even in four, two rows and two colum
867.
▲
by
pmontra
2y ago
Every native toolkit has its own idiosyncrasies. Some are closer to the OS official look, which changes along the years, some are different. I'm for a relaxed definition: if it's graphical it's a GUI, if it's text it
868.
▲
by
pmontra
2y ago
Icecast2 https://www.icecast.org/ with DeeFuzzer https://github.com/yomguy/DeeFuzzer to stream my music collection to my laptop and my phone.
869.
▲
by
pmontra
2y ago
I remember that my old HP nc8430 from 2006 cost only 20 Euro some 10 years later. I could have bought a couple of them for spares if I planned to keep it running. The problem was that the GPU run out of software support circa 2012 and I had
870.
▲
by
pmontra
2y ago
The nail that sticks out gets hammered down (Google Translate.)
More ›