Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bombolo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
721.
▲
by
bombolo
4y ago
Not all code needs to process terabytes of data. I have code running that reads ~20 bytes, checks the internal status on an hashmap and flips a bit. Would it be faster in C? Of course. Would it have taken me much longer to write to achieve
722.
▲
by
bombolo
4y ago
Not necessarily. Just using a better optimized sort or hash algorithm can make a big difference. I was talking specifically of pure python code (except the python's standard library itself, where it really is unavoidable).
723.
▲
by
bombolo
4y ago
Well bytecode isn't the same as the actual code you write in your editor.
724.
▲
by
bombolo
4y ago
> it's a VM reading and parsing your code as a string at runtime. Commonly it creates the .pyc files, so it doesn't really re-parse your code as a string every time. But it does check the file's dates to make sure that the
725.
▲
by
bombolo
4y ago
If the 1 second is spent waiting for IO, it will take 1 second in whatever language. But yes python is slow. However I've seen good python code be faster than bad C code.
726.
▲
by
bombolo
4y ago
But nobody even knows they didn't take the highway. We are all surprised it wasn't a render.
727.
▲
by
bombolo
4y ago
> Apple using those utilities could be a good thing. Maybe, and maybe not. I was specifically asking why should I worry with apple's licensing considerations in my choice of tools to use. For apple GPL license is a negative thing, t
728.
▲
by
bombolo
4y ago
> MIT license How is letting me know that apple can use it without contributing back going to affect my decision on which coreutil to use?
729.
▲
by
bombolo
4y ago
> Increase immigration from highest birth rate countries. I think they'd consider that as even worse than less natality.
730.
▲
by
bombolo
4y ago
But they don't want you there.
731.
▲
by
bombolo
4y ago
I once saw him at a conference and he said curl even has an option to emit the C code to call libcurl and do the curl request you did. I wish I had known this before. However I mostly use wget from shell, and since I mostly work with python
732.
▲
by
bombolo
4y ago
You often can't know in advance what will be useful and what won't.
733.
▲
by
bombolo
4y ago
> Warning, controversial: I'm actually against this. Yes, please mr I-Only-Speak-English, enlighten us. /s > I feel that having UTF-8 in source code brings more risks than benefits. [0] While this is a really fun theoretical
734.
▲
by
bombolo
4y ago
In my experience the only way to escalate is to stop your subscription and tell them why.
735.
▲
by
bombolo
4y ago
But no easy wifi
736.
▲
by
bombolo
4y ago
Google has an app that mixes SMS and messages as well transparently. They put this in the android SMS app at some point. Then they started to ask me daily to switch to using their messaging thing whenever possible. That's when I went o
737.
▲
by
bombolo
4y ago
I think it could be ok to have a link every once in a while that doesn't talk about rust.
738.
▲
by
bombolo
4y ago
Every time this gets brought up, people forget that the patch had been sent to the openssl mailing list and someone said that it looked fine. But here we have all the proponents of "distributions should never do any patch (and thus lea
739.
▲
by
bombolo
4y ago
Didn't apple also drop opengl support? It's not just a matter of recompiling the same source. It needs platform specific changes. Probably the investment isn't worth it for game makers, since apple might require them to do it
740.
▲
by
bombolo
4y ago
What are you talking about? gwbasic had a function to relabel all the lines. And the labels skip by 10 numbers exactly for the purpose of inserting lines. Then when you had hit the limit you'd ask the computer to relabel them in steps
741.
▲
by
bombolo
4y ago
Don't worry, pure android versions also made my phone slow.
742.
▲
by
bombolo
4y ago
It should be able to sync its clock slowly from the GPS signal. But I have no clue if the feature is actually implemented.
743.
▲
by
bombolo
4y ago
I used to never break screens, but the newer larger phones crack, at least on the corners.
744.
▲
by
bombolo
4y ago
> Why would poor people be more inclined to become criminals? Because rich people do the kind of white collar crimes that go unpunished, or are completely legal although they ought to be illegal.
745.
▲
by
bombolo
4y ago
When I used to be single I used both online dating and hitting on women. It was so much easier in person because there would be no other person trying to do the same. Online I was competing with thousands of people.
746.
▲
by
bombolo
4y ago
No there would not necessarily be a need for this. You could have alerts when an old account is using a new key that nobody has seen before, for example.
747.
▲
by
bombolo
4y ago
Small amount of packages might very well lead to curated and well maintained libraries that do many things (as opposed to having 1 library per string function).
748.
▲
by
bombolo
4y ago
> and criminal young men imported from Syria, Afghanistan, Iraq, etc Yes Sweden was truly a paradise before all this immigration. When a prime minister could just wonder around the streets and be killed. Try giving equal opportunities to
749.
▲
by
bombolo
4y ago
I'm having a hard time taking a website called "free minds and free markets" seriously as a reliable source.
750.
▲
by
bombolo
4y ago
> Can you drive comfortably As I said, the pedals are placed in a position that was not designed with human beings in mind. So, not really. Quite uncomfortable.
More ›