Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nrdvana
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
nrdvana
3y ago
"one big game of code golf" would probably be a decision by the author, wouldn't it? I know a person or two who could fall into that category, but it's hardly the fault of the language.
62.
▲
by
nrdvana
3y ago
sigh no, the plan now is to get something completely different into core that is fundamentally incompatible with many of the things we like about Moo. It puts up firm barriers between parent and child classes which forces all the interac
63.
▲
by
nrdvana
3y ago
This was true for me as well until I used DBeaver (a universal database browser tool) I only realized it was java after I tried connecting to a really old server that needed me to change my ssl settings in the JRE. The user interface feel
64.
▲
by
nrdvana
3y ago
I'll agree with everything here except the clean code. Clean code is about optimizing human perception and there can't be a standard for that because humans think in a wide variety of ways and it's further impacted by the le
65.
▲
by
nrdvana
3y ago
C++ An old one, but the FTGL library (renders truetype fonts in old-school OpenGL in half a dozen different ways: texture-per-letter, texture-per-word, 2D polygons, 3D polygons, etc) is the best example of C++ inheritance I've ever run
66.
▲
by
nrdvana
4y ago
I found the opposite in a very real-world analysis of my hobby project to build a digital dashboard for my DeLorean. I spent 5 years making very slow progress with C++, and then switched to perl, started mostly from scratch, and finished i
67.
▲
by
nrdvana
4y ago
And that's exactly my point, that his new decisions seem petty and self-centered, where his old decisions (sinking his significant wealth into risky car and rocket companies and sleeping in the factory instead of buying a Caribbean isl
68.
▲
by
nrdvana
4y ago
Or the easier explanation, that Elon has changed. He was my favorite billionaire back when all his prospects related to colonization of Mars and all his investments were aimed at creating new technology. But power can corrupt people, and
69.
▲
by
nrdvana
4y ago
C did compile to more efficient code than Pascal, but The Delphi compiler processed code 10x faster than the C compiler, and hit an amazing sweet spot for the 300Mhz workstations of the day, where you could iterate through edit/compile
70.
▲
by
nrdvana
4y ago
Pascal graduated to Delphi (Object-pascal with built-in GUI designer), and had a very healthy run for a decade and was my favorite language until Borland corporate stuff happened and a cross-licensing deal with Microsoft that turned Delphi
71.
▲
by
nrdvana
4y ago
If you really want to run linux, get a Lenovo Thinkpad. They actually test the hardware with linux distros and even have bios options for Linux sleep states, labeled as such. Give the Macbook to someone who wants to run MacOS. The X1 Car
72.
▲
by
nrdvana
4y ago
From what I read, Musk doesn't want your money for SpaceX/Starlink precisely because he doesn't want the funds of the company to be chained to a public perception war that distracts him from running the company, like happened
73.
▲
by
nrdvana
4y ago
20 years ago I worked on some Java applications as a college student curious to compare AWT/Swing to other options, and I found that the cross-platform rendering worked decently well, but that the underlying architecture and algorithms
74.
▲
by
nrdvana
4y ago
The experience for each person is probably different. I never had that sort of stuff in the first place; mostly just pictures of people's concerts, vacations, dance events, car shows, family gettogethers, home improvement projects, ne
75.
▲
by
nrdvana
4y ago
I used to see posts from 50-100 friends/family each week. Now I see posts from about 5 of them. I barely use facebook because it crashes my iPad browser (I refuse to install the app) and because the feed is so packed full of autoplay
76.
▲
by
nrdvana
4y ago
And they were on Facebook instead of MySpace because Facebook worked better for sharing news snippets. Then facebook changes to the "most interacted-with posts", then politics took a dump on everypne's sharing from about 201
77.
▲
by
nrdvana
4y ago
501 is for unrecognized methods. As I was about to say this would then be incorrect usage, it occurred to me that you could in fact use this for an RPC system if the procedure name were used as the HTTP Method. So instead of GET 
78.
▲
by
nrdvana
4y ago
> Route params _identify_ the object Well... in REST they do :-) HTTP is designed to give access to a tree of files. The REST design says "lets fully embrace the idea that we are representing our data and program state as a virtual
79.
▲
by
nrdvana
4y ago
Yes I used the wrong word. I meant "instead of encoding the employee id in the path?" And instead of "if its not rest" I meant (in the context of the article) "if it's HTTP RPC" because the author clarifi
80.
▲
by
nrdvana
4y ago
If it's not REST then shouldn't the url be /api/v1/employees?id=1000 instead of encoding the employee id in the URL? In this case the path is the endpoint, so a employee id is a parameter and not a controller act
81.
▲
by
nrdvana
4y ago
jQuery gives you the body. ExtJS gives you the body. Webix gives you the body. Maybe this is an Angular problem?
82.
▲
by
nrdvana
4y ago
Use a better framework? In any good framework, returning a json body with a status code should be a one-liner. One topic the article didn't even touch was flagging bad parameters in the request which didn't make sense on the appl
83.
▲
by
nrdvana
4y ago
Agree with everything here, and I'll also add that spam was a major problem for the simpler forums. It takes a lot of effort to combat, (at least until Google's recaptcha) and some forums stopped accepting new users from the publ
84.
▲
by
nrdvana
4y ago
There is a parser and producer for yaml in all the major languages. I mean, even perl -MYAML -E 'say YAML::LoadFile("filename.yaml")->{foo}{bar}' what level of tooling do you mean?
85.
▲
by
nrdvana
4y ago
Toml is not much more than a standardization of how to represent trees with INI. INI has been in use since at least the 90's and it persists because it is easy to read and edit, and supports comments. I actually find traefik quite nic
86.
▲
by
nrdvana
4y ago
HAH, yes, "safe mode" which is really set-uid mode, meaning that if an admin restores a .php file from a backup and forgets to set the ownership, they have suddenly granted that user root access to the server. and it's call
87.
▲
by
nrdvana
4y ago
Was CGI.pm ever "ready"? Modern Perl releases dropped it because it was such a bad design.
88.
▲
by
nrdvana
4y ago
This answer is growing on me. My first reaction was "well that's not really what I meant", but actually my question could have been phrased as "I want to use one-process-per-logical-task design, but this is too heavywei
89.
▲
Ask HN: What languages have true native cooperative multitasking?
2 points
by
nrdvana
4y ago
|
3 comments
90.
▲
by
nrdvana
5y ago
You got me curious, so I looked it up: Transports To date all known Wayland implementations work over a Unix domain socket. This is used for one reason in particular: file descriptor messages. Unix sockets are the most pract
More ›