Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
benibela
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
benibela
5y ago
It is to mess with people calling rm * / in the directory Good thing there is not really any reason to call rm like that
182.
▲
by
benibela
5y ago
I made a whole collection: https://github.com/benibela/nasty-files
183.
▲
by
benibela
5y ago
FreePascal: procedure x; var a: integer; b: pinteger; begin b := @a; b^ := 1; b^ := 2; end; becomes project1.lpr:15 begin 0000000000401090 50
184.
▲
by
benibela
5y ago
It is much simpler in Pascal When you write to a pointer, it writes into memory. And it does not optimize it away. As if all pointers are volatile.
185.
▲
by
benibela
5y ago
You could also try my Xidel. With the dev build 0.9.9, not the last release 0.9.8, because recently I have implemented my own hash map and JSON parser to make it faster than before. Although it is not fast nor supports large files (it loads
186.
▲
by
benibela
5y ago
And they outsourced the flight path planing to the G'Gugvuntts
187.
▲
by
benibela
5y ago
Or they needed a lot of paperclips
188.
▲
by
benibela
5y ago
I am just flexing that I am close to a famous person. If he writes me a snippet, I just copy paste it.
189.
▲
by
benibela
5y ago
I have the best reference. I ask Till Tantau when I have any urgent tikz questions. The advantage of working at the university of Lübeck: his office is next to my office.
190.
▲
by
benibela
5y ago
I wish it had some kind of rsync repositories To make backups, you clone a directory into the rsync repository, and when you later want to update the backup, you pull the newest changes from the directory into the repository. And it would b
191.
▲
by
benibela
5y ago
https://www.benibela.de/index_en.html All my old coding projects. Static HTML generated from XML files with XQuery implemented in Pascal. Before that I was generating it with a custom Java-based generator language, which ha
192.
▲
by
benibela
5y ago
On the other hand, now I am 32, and when I look at back at my 15-year old self, I just knew everything back then. I am only regressing since then in all ways
193.
▲
by
benibela
5y ago
I implemented the same thing for my master thesis project
194.
▲
by
benibela
5y ago
It depends on your tooling I just searched for the largest code files on my system and found a 100k file I opened it on the online repo and gitlab did not want to show it at first. When I clicked on show anyways, Firefox broke trying to lo
195.
▲
by
benibela
5y ago
In Pascal that is really common, since the files are the modules. You publish your library as one file, and the user can import it by the file name. I ran wc on FreePascal to search for some. There are a few, but not as many as I expected.
196.
▲
by
benibela
5y ago
The one I found to delete all files was rm -- .[!.]* ..?* * 2>/dev/null
197.
▲
by
benibela
5y ago
I do not even talk in meetings If I get an idea during a meeting, I send it as an email afterwards
198.
▲
by
benibela
5y ago
I noticed that last week and was quite surprised by it. I was writing a script to get the permissions of all files. I wrote something like ls -l | grep -oE '^[^ ]+' and ran it in my home directory for testing. And then I was surpr
199.
▲
by
benibela
5y ago
Using C++ is an anti-pattern That is why I write all my code in Pascal, where you can enable bound checking for [] Enable it for a debug build, and you an be sure there are no overflows of any kind, and when it runs the program has pretty m
200.
▲
by
benibela
5y ago
I wonder if FreePascal is affected Looks like they ported zlib to Pascal in 1998 and left it pretty much unchanged: https://gitlab.com/freepascal.org/fpc/source/-/blob/main/pac...
201.
▲
by
benibela
5y ago
I have a custom domain on shared hosting, and apparently the hoster does not support DKIM. Is that really bad? I sent a mail from it to a gmail account, and it was not flagged as spam Also, when I send a mail from my university address, it
202.
▲
by
benibela
5y ago
We all studied STEM, which usually include a math minor degree, so we know math. Physics is just applied math, so we know everything about physics Chemistry is just applied physics, so we know everything about chemistry Biology is just app
203.
▲
by
benibela
5y ago
We hate electron apps because native apps are much faster But Java/Kotlin is not native. Before electron, we hated Java apps because native apps are much faster I develop in Pascal and Kotlin. When I had a laptop without SSD, Jetbrains
204.
▲
by
benibela
5y ago
I use LaTeX ಠ_ಠ
205.
▲
by
benibela
5y ago
Do they still use it or was that A/B testing only?
206.
▲
by
benibela
5y ago
>Doing more modern tasks like HTTP requests are not included That is included now Although I maintain my own functions for that
207.
▲
by
benibela
5y ago
Pascal has always been the most productive language (at least for native code without GC). But it is lacking good libraries. Then I write everything myself, and then it does not even work, because it is lacking a good oss compiler.
208.
▲
by
benibela
5y ago
The actual wrong opinions are deleted by the mods, so you won't see them that way
209.
▲
by
benibela
5y ago
I need that time machine, too It is the only way to make my 20 years of Delphi/FPC experience relevant for anything
210.
▲
by
benibela
5y ago
>RTWH But it is RWTH I went there because it was supposed to be the best university in my state. But it did not help my career at all I should have tried to get into a US university
More ›