Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benibela
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
691.
▲
by
benibela
6y ago
or open-source development
692.
▲
by
benibela
6y ago
Didn't they discover that periodontitis causes Alzheimer: https://advances.sciencemag.org/content/5/1/eaau3333 Perhaps any infection that reaches the brain can cause Alzheimer and amyloid-beta plaques ar
693.
▲
by
benibela
6y ago
>You're never going to kiss anyone or share a cup or a smoke or any of the thousands of ways that have infected the vast majority of humanity? Sounds reasonable I am 30 and have never kissed anyone, and no plans to change that soon.
694.
▲
by
benibela
6y ago
I took a Haskell class in college for that It did not help much.
695.
▲
by
benibela
6y ago
More important than f-strings are translatable strings. When you write print(f"The value is {x}"), it cannot be translated. Perhaps they could add a new prefix, like t"The value is {x}", and then gather all such strings
696.
▲
by
benibela
6y ago
> This is less "On Rust" and more "On accepting a rewrite of any tool into OpenBSD, on the merits of memory safety alone". If people wanted memory safety so much, they could have done that years ago with Java
697.
▲
by
benibela
6y ago
I just noticed Google does the same: >Will Google use my social media posts to promote Code Jam? >If you share or post content on any Coding Competitions social media page(s) or tag a post with a Contest hashtag (e.g. #CodeJam) on you
698.
▲
by
benibela
6y ago
Recently I got a phone call during breakfast that texstudio had scrambled the file when saving, by rearranging blocks of it randomly. The user had triple backups, on the hdd, usb stick and another one (dropbox?). All files were useless aft
699.
▲
by
benibela
6y ago
>Yes, of course if you have a formula that involves dividing by 2 or something you just include the number directly. Or replace it with >> 1
700.
▲
by
benibela
6y ago
I used to set the append-only extended file attribute on important files No one can delete the files afterwards, not even root, without removing the attribute first It worked well with Mercurial, which is also append only. So I could commit
701.
▲
by
benibela
6y ago
>In C you cannot encode a Turing machine that is executed by the compiler at compile time. But you can get quite close with macros
702.
▲
by
benibela
6y ago
I just had a weird bug in a programming competition. You basically had to sort the English letters that occur in a text according to their frequency descending. Except the one letter that occurs the least, needs to be sorted as if it occurs
703.
▲
by
benibela
7y ago
True. I had planed to finish my CS PhD in 2016, but now I am still not finished
704.
▲
by
benibela
7y ago
The problem is that the pool becomes too big and wastes memory It is fine when the user keeps opening files and the parser can reuse the objects. But eventually, the user has opened all the files he needs. Then the process will never open
705.
▲
by
benibela
7y ago
>Should GUI icons, widgets and controls be covered by Unicode? That is a can of worms They already got all the Wingdings symbols https://en.wikipedia.org/wiki/Wingdings
706.
▲
by
benibela
7y ago
Well, I learned the better technology (Pascal) rather than the popular tech (C), and then I could not find a development job
707.
▲
by
benibela
7y ago
Or you have a library and then just write new Sandwich
708.
▲
by
benibela
7y ago
That is like a German pun tree is Baum R tree could be called Raum. Which means space, which fits, because the tree stores the keys spatially.
709.
▲
by
benibela
7y ago
I have implemented a HAMT (hash array mapped trie) in Pascal It has the same tree structure with a lot of children. But the hash is used as key, so they need no balancing. It is just assumed the hash is sufficiently well distributed.
710.
▲
by
benibela
7y ago
Pyrethoids are really used everywhere for everything That is why bed bugs have become resistant to it
711.
▲
by
benibela
7y ago
Pascal is better, because it has an actual string type that can store \0 characters, and a boolean type, and reference-counted dynamic arrays, and set types, and ranges in case statements (that makes it less verbose!), and a for loop that c
712.
▲
by
benibela
7y ago
It got better The real problem is that I keep it in the fridge too long, when I do not need it
713.
▲
by
benibela
7y ago
I use Pascal as better C
714.
▲
by
benibela
7y ago
I live in Germany Afaik there is no fair use or DMCA here
715.
▲
by
benibela
7y ago
Disney ruined Star Wars when they killed the EU.
716.
▲
by
benibela
7y ago
The difference would be that each object can be freed individually when it is no longer needed. Especially when the code that creates the objects and the code that uses/discards the objects are in two different projects. Like a library
717.
▲
by
benibela
7y ago
What happens if you post a photo of GPLed code on it?
718.
▲
by
benibela
7y ago
But then your employer pulls out the recording of all the awkward things you said at work.
719.
▲
by
benibela
7y ago
Since the oil price went negative, coffee must be the most sought commodity now
720.
▲
by
benibela
7y ago
Something that could help a lot with performance would be functions to handle memory for many small blocks at once. Like a malloc extension function that allocates many small blocks at once. Rather than returning one block of size n, it
More ›