Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vnorilo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
by
vnorilo
5y ago
Yeah, that was the problem with most attempts I saw, unordered_map won't work. I did write a persistent hash map and vector [1], but ended up mostly using them in C++ projects. I wouldn't advise anyone else to use them at this lev
152.
▲
by
vnorilo
5y ago
I have long had the ambition to be the N:th guy to try Clojure on C++. For similar reasons. I have a pretty good idea how to do it, already got HAMT and some macroexpanded code to work. But then you remember how even ClojureCLR struggled at
153.
▲
by
vnorilo
5y ago
It's quite common in Clojure circles. Care to elaborate? Not copyleft?
154.
▲
by
vnorilo
5y ago
Joe Duffy has blogged about it, excellent read. http://joeduffyblog.com/2015/11/03/blogging-about-midori/
155.
▲
by
vnorilo
5y ago
A serious implementation would probably use a binary tree (such as twine [1]), so it would basically boil down to creating a node for each operation. Still expensive, but if you imagine integrating it with, say, Python interpreter, I don&#x
156.
▲
by
vnorilo
5y ago
Well, basically it's about converting iteratively computated state to a function of iteration count. Consider indvar[n] = indvar[n-1] + k, indvar[0] = a. It follows that indvar[n] = a + n * k. This is the type of indvar canonicalizatio
157.
▲
by
vnorilo
5y ago
MeeGo was nothing like Symbian. It was a Qt/Linux stack and quite sweet in many ways. N9 was the only phone I ever owned that got me excited.
158.
▲
by
vnorilo
5y ago
Maybe BB saved you from Symbian though?
159.
▲
by
vnorilo
5y ago
It certainly looks like companies are desperate to hire qualified people and the dev job market is pretty hot right now. That should certainly give devs some leverage.
160.
▲
by
vnorilo
5y ago
Sweden has oodles of talent and great institutions, but the missing ingredient, much like with the rest of us Europeans, is the abundant venture capital that made SV.
161.
▲
by
vnorilo
5y ago
I once worked with a pretty amazing older Common Lisp programmer who used some IDE (Xanalys?) He selected forms by dragging with the mouse. Watching that felt uncomfortable, almost like physical pain. I tried to get him into paredit, but he
162.
▲
by
vnorilo
5y ago
Agreed. I feel Lisps and SmallTalk are dynamic done right. I think the other language features that you use also influence the value from dynamic or static types. For OOP style, static types are a huge asset for refactoring and laying our a
163.
▲
by
vnorilo
5y ago
Complexity is like body odor: you generally don't mind your own.
164.
▲
by
vnorilo
5y ago
Recently I was trying to connect to a meeting on a train journey through a rural lake district with less than ideal connectivity. Zoom with screen share (cam off though) was more functional than text mode Slack, which kind of blows my mind.
165.
▲
by
vnorilo
5y ago
I mostly just remember copying stuff from here and there, not too different from the age or stackoverflow, just printed and mostly correct! I did have some lucky breaks, like going to local small town art school to study "computer grap
166.
▲
by
vnorilo
5y ago
I respect that. But I would contend that these people made something, learned something, and published their findings. Even if it is all goofy and of no immediate practical value, I wouldn't call it a waste.
167.
▲
by
vnorilo
5y ago
Are you similarly annoyed by the stupid stuff private companies you deal with spend their margins on? Of course, the government has a tax monopoly. But wait, several private companies look like they do too! From my perspective there are mor
168.
▲
by
vnorilo
5y ago
This - I never felt the lack of learning materials. I saved my pocket money to buy Turbo C++ and Assembler in my teens. They came with nice fat books that explained standard libraries and instruction sets. My library had more books with ref
169.
▲
by
vnorilo
5y ago
I think there are a couple of levels to this. I try to avoid adtech-driven stuff because I prefer other kinds of products which come out of different business incentives. On a practical level, that's what drives my online privacy habit
170.
▲
by
vnorilo
5y ago
I have been working on many mobile apps that would share a C++ model between iOS and Android, and use platform-specific code for views.
171.
▲
by
vnorilo
5y ago
C++ has a great reach, from bare metal to very high level of abstraction. It can be squeezed to support almost any paradigm, oop to functional. You can make dynamic object systems, build a reflection system or a garbage collector. You can d
172.
▲
by
vnorilo
5y ago
Having written C++ for 30 years now, which is 75% of my life, I don't disagree from a personal point of view. However, at one point I was teaching programming at the university. At that point you realize that C++ is .. huge. It may be
173.
▲
by
vnorilo
5y ago
Some counterexamples that I've dealt in the recent years include LLVM, Abseil and Windows COM APIs.
174.
▲
by
vnorilo
5y ago
raw pointers.. or homegrown strings, vectors and hash tables. C++ soldiers on because it can support such things and adapt to decades of changing hardware and philosophy. But the pain of using and composing libraries in C++ is not just abou
175.
▲
by
vnorilo
5y ago
Thank you! Mobile Safari is the browser that breaks more often, will have to take a look again!
176.
▲
by
vnorilo
5y ago
Bret Victor was definitely an influence when I sought to combine the visual graph-patching paradigm (for audio programming) with a repl-like experience on a more-powerful-than usual functional backend [1]. He does talk about real-time visua
177.
▲
by
vnorilo
5y ago
Agreed - what I was trying to convey was that BJJ is a very good bet for defending yourself one on one, but if you face multiple assailants it is useless. A good striker may stand a chance against two or three aggressive drunks (untrained,
178.
▲
by
vnorilo
5y ago
The street effectiveness of a MA is a function of time spent sparring, something that is prevalent in the arts you mention, in addition to coverage of standing and ground game. Strikers will have just a brief window of opportunity before gr
179.
▲
by
vnorilo
5y ago
As a past top contender, this was due to meetings being far too long and irrelevant so I usually tried to do something more productive. Private sector has its share of bullshit meetings but people are at least a bit more sensitive to the co
180.
▲
by
vnorilo
5y ago
If we play the analogy further: life is suffering, apart from the brief ecstasy of eating sheep. The AI was trying not to suffer, thus chose the boulder. Did my best to translate the (misguided) fitness function to fiction.
More ›