Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
oelmekki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
391.
▲
by
oelmekki
10y ago
Ahah, this is fun :) But please someone, let google know this exists. I just had a forward refused by gmail because "it contains viruses", and I realize I've forwarded 5 spams before that. I would not want google to think I&#
392.
▲
by
oelmekki
10y ago
Agree with this. While you may feel like you're losing something big by not using the asset pipeline, tools for managing assets in js are now totally awesome. A frontend app using create-react-app has everything to compose js files, lo
393.
▲
by
oelmekki
10y ago
If someone is wrong here, it's neither adblock nor troyhunt, it's the person who decided to manually block the sponsor banner. I'm an happy adblock user, but this makes me wonder how blocking lists are built. Did I just give
394.
▲
by
oelmekki
10y ago
Before golang, my experience with compilation was about building softwares as an user in gentoo, and a few LFS. Speed of compilation was the first thing that stroke me with golang. But then again, it was the first time I was actually writin
395.
▲
by
oelmekki
10y ago
Hi criddell, I switched from ruby (and rails) to golang this year as my main language. If you're thinking "I'm hesitating between ruby on rails and golang", you should probably go with ruby on rails (no pun intended). Go
396.
▲
by
oelmekki
10y ago
It's clear from this thread that the point of pgrebase may not be understood if you don't play often with functions, so let me provide a bit of context about what comes before pgrebase. Why do we use migration tools? Data is the
397.
▲
by
oelmekki
10y ago
It is, provided you pass to `DROP FUNCTION` the exact previous signature of your function. Then, if you want to be able to revert your change, you also need to write a down migration, having a `DROP FUNCTION` with the exact same signature t
398.
▲
by
oelmekki
10y ago
Yes, having a better dependency resolver is something that will happen, eventually. Edge cases will have to wait for that :) (the workaround, obviously, is to use classic migration tools for those, since you still need a migration tool anyw
399.
▲
by
oelmekki
10y ago
Hi sbuttgereit, You're totally right that the dependency graph handler is extremely crude, I wrote it in one evening because I had functions depending on other functions and this caused my import to fail. The dependency statements only
400.
▲
by
oelmekki
10y ago
Thanks! Love the idea of packaging stuff in extensions. Actually, both ideas cool work well together: pgrebase to do the dev work with live reload, then packaging to distribute FOOS libs for postgres. Maybe it's time for pg third party
401.
▲
by
oelmekki
10y ago
Thanks! Same here, I would always hesitate before writing a function just because of that pain. I went totally wild this week with pg after building this :D
402.
▲
by
oelmekki
10y ago
Hi everyone, I've been playing a lot with postgresql lately, writing custom functions, views, types, etc. I find it cool, especially regarding performances. But one thing was annoying me: migrations. When I wanted to edit an existing f
403.
▲
by
oelmekki
10y ago
I find it a bit disturbing how this focuses on people in power's attitude, and not on the mass of people's behavior, like if fascism was something a handful of people put in place and the rest of us had nothing to do with/abo
404.
▲
by
oelmekki
10y ago
I'm 34, I totally experience that. Then funny part is that I thought it was a decision of mine, and not a social phenomenon. The more time I passed closed to some people, the more I was disappointed. There was always this time they wou
405.
▲
by
oelmekki
10y ago
Thanks! This makes me realize that the biggest energy challenge for humanity may not be to produce it, but rather to store it.
406.
▲
by
oelmekki
10y ago
Oh, yeah. Now you're mentioning it, "China invented gunpowder" is often followed by "but they used it only for fireworks".
407.
▲
by
oelmekki
10y ago
For what it's worth, I'm in France and it's common knowledge here that China invented gunpowder. I don't think I've ever heard someone saying Europe did.
408.
▲
by
oelmekki
10y ago
Funny, the picture instantly reminded me of the Shinra and its reactors in Final Fantaisy VII :) [1] Regarding Mars, I would love someone who knows to tell us how this would compare to raw sun energy exploitation. Each time I think of solar
409.
▲
by
oelmekki
10y ago
By far, it is dealing with migrations. Initially, I would use `\ef <func_name>` in psql and just write and try my function, but this turned out to be not as pleasant as writing code in an editor in a dedicated file. The annoying thing
410.
▲
by
oelmekki
10y ago
> People used to defend writing things in assembly language for similar reasons, as a way of getting more machine sympathy. I'm not buying it. I have to assume those people did not first learn and use C, then went to assembly, but r
411.
▲
by
oelmekki
10y ago
When I started using go (coming from rails), ORM was really the thing I missed the most. And this made me realize I actually didn't know much about postgres. I started using pg functions, views, triggers, etc and found it extremely con
412.
▲
by
oelmekki
10y ago
Well, if that is your main problem with go, I'll say this is awesome :) (means the language itself is almost perfect)
413.
▲
by
oelmekki
10y ago
For me, doing (in that order) the go tour [1], then reading "effective go" [2], then reading the language specs [3] have been a very good and immersive experience (of course, playing with some code along the way), better than a bo
414.
▲
by
oelmekki
10y ago
<Insert battlestar galactica reference> :) [1] One thing is sure: we won't ever make 100% secure networks. For now, ransomware are few and only on a big scale, but they could indeed become a big problem with IoT. I'm not exa
415.
▲
by
oelmekki
10y ago
This is a good point. I guess the difference here will be "how much do we trust human judgement?" and "how much do we trust AI predictions?". If AIs make 10% less errors than humans but we have 50% more trust in them, th
416.
▲
by
oelmekki
10y ago
If they make an error, it's their own problem, so I'm fine with that. I'm more concerned about researching such models to decide policies or act upon as administratives. I don't think classifying suicidal behavior is som
417.
▲
by
oelmekki
10y ago
I can appreciate the effort made in the research, but classifying possible human behaviors is exactly a field where I don't want machine learning to go. There is behind machine learning both a phantasm - artificial intelligences that c
418.
▲
by
oelmekki
10y ago
> So, floating point safesness is in R, dsl in ruby, concurency in Go and Unicode in... ? What if you want two features at once ? Or all of them ? ;) I'm pretty sure you noticed this was exactly the questions my comment was addressi
419.
▲
by
oelmekki
10y ago
Thanks! I'm going to be honest: nothing in what is described seems to me like a new idea that makes me want to try perl6. Floating point safeness is in R, dsl is in ruby, concurrence is in golang. And unicode... I'm not exactly su
420.
▲
by
oelmekki
10y ago
Maybe I'm just bored, but I'm quite excited about what we will have to create as interface patterns with mixed reality. Even if there were no useful content made for it, I'm pretty sure I could spend hours trying building int
More ›