Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
olsgaarddk
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
An easy way to concurrency and parallelism with Python stdlib
(bitecode.dev)
105 points
by
olsgaarddk
3y ago
|
68 comments
2.
▲
by
olsgaarddk
3y ago
At the tax authority we could query that directly from a database. But yes, the public sector suffers from countless different systems that have accumulated over the years. It happens because everything has to go out to a public bid and thr
3.
▲
by
olsgaarddk
3y ago
> My copy actually is just lying in a cupboard in the original packaging. I never got around to actually displaying it! Interested in finding it a new home?
4.
▲
by
olsgaarddk
4y ago
It works okay. You can setup unicode blocks and use them. I have a collection of python scripts you can use for text manipulation: - regex: https://github.com/olsgaard/Japanese_nlp_scripts/blob/master ... - tra
5.
▲
by
olsgaarddk
4y ago
Last time I was at the doctor, I answered “not that I know of” when asked if I had any allergies. Afterwards at the pharmacy, it turns out my prescription included a box of antihistamine.
6.
▲
by
olsgaarddk
4y ago
Weren't people on the go 50 years ago? This need for bottled water is relatively new. Some of us on HN lived at a time when the concept was absurd, others have grown up with bottled water. Meeting rooms used to serve a carafe of water
7.
▲
by
olsgaarddk
4y ago
Obviously there are many things going on here, and I am not saying this is the end all explanation to the whole thing, but an interesting part of the puzzle I came across during a project I did on the brewery industry during my bachelor, is
8.
▲
by
olsgaarddk
4y ago
A few years ago I decided I wanted to buy one of his limited prints with some extra money I was to earn. Then I pushed it off for a bit due to a few poor excuses, and eventually forgot about it. And now his prints are of course ... out of p
9.
▲
by
olsgaarddk
4y ago
I thought I was pretty good at regex, but I could never have written this one and had to consult both `man grep` and regex101.com. Explanations for the beginner and intermediate regex and grep user: `-o`: Only return the match, instead of t
10.
▲
by
olsgaarddk
4y ago
Does anyone on HN have any of these "surprising" email addresses that most people and developers do not expect? How does it work with common e-mail clients? How do people react when you show/tell them your email? I have a dom
11.
▲
by
olsgaarddk
5y ago
Since we are sharing our getting out of doom scrolling stories, I’ll share how I got off Reddit. I realized that most of what I was reading on Reddit was fabricated outrage (since then they’ve added subs like “makes your blood boil” and “id
12.
▲
by
olsgaarddk
5y ago
I really got a lot of use out of taking the GCP data engineer course on coursera (the one by google aimed at the cloud cert) and then later taking the actual certification. With that being said it was very focused on BigQuery, and my impres
13.
▲
by
olsgaarddk
5y ago
This reminded me of a recent experience on WeChat. I hadn't used it for a few years and recently tried to log in. I was told, that my account had been deactivate due to inactivity and that it was against my agreement with Tencent not t
14.
▲
by
olsgaarddk
5y ago
I took a hint from Gorkish, having never heard of SQL triggers before, and I gotta say, the 2-query answer is really thinking out of the box and very clever. I learned a lot from it!
15.
▲
by
olsgaarddk
5y ago
You really need 3 for the first puzzle and 1 for the second puzzle. Spoilers ahead: - 1st query to get the crime report. This contain plaintext clues. - 2nd query to get witness interviews. Again, these contain plaintext clues that can'
16.
▲
by
olsgaarddk
5y ago
When doing my master thesis, I wanted my plots to be printable on a black and white printer in case my professor would print or photocopy it (you never know) I wrote up a blogpost about my findings on how to generate monochrome plots. I h
17.
▲
by
olsgaarddk
5y ago
I thought I had set it up to redirect http ... for email it actually does redirect.
18.
▲
by
olsgaarddk
5y ago
Open your QWERTY keyboard on phone/tablet or look down at your keyboard to see the cleverness
19.
▲
by
olsgaarddk
5y ago
Mine is “first name at last name dot dk, only last name is spelled with an ‘O’ instead of an ‘Ø’” ... It’s quite common when giving my email over the phone that my full name has already been established so I really wished the “Ø”-version wo
20.
▲
by
olsgaarddk
6y ago
This reminds me of a joke I used to tell people, when I was writing my master thesis: "I wish I was doing my PhD thesis now. That way, I can finish writing my master thesis by procrastinating my PhD."
21.
▲
by
olsgaarddk
6y ago
That's a really neat way of trimming the file extension, something that can end up being quite tedious to do with SED. Do you know of a cheatsheet that describes what all the percentage sign means and other things you can do with para
22.
▲
by
olsgaarddk
6y ago
A lot of the tips from TFA can be done in BASH as well and I'm sure the following of my own zsh tips also have a bash equivelant, but I'd like to share anyway: Pure theme - My absolute favorite shell theme. Has almost all the bell
23.
▲
by
olsgaarddk
6y ago
Inspired by similar plaintext to-do discussions on HN I also built my own system. I use Sublime and I love scrolling. The second makes the system in TFTA not good for me, and given the first, I didn't mind my implementation being edito
24.
▲
by
olsgaarddk
6y ago
According to Kenneth G. Henshall, who wrote a book on the etymology of Kanji [1], it is quite common to choose a phonetic part that lend itself to the meaning of the word and not just a sound. [1] https://www.amazon.com/Guid
25.
▲
by
olsgaarddk
6y ago
This is a really good summary. For anyone who want to geek this out further, I highly recommend the the introduction in "Decoding Kanji: A Practical Approach to Learning Look-alike Characters" By Yaeko Sato Habein [1]. Despite bei
26.
▲
by
olsgaarddk
6y ago
I am interested and would like to learn more. So do you just sudo apt install pypy3 and then pypy3 -m pytest /my/python/app and if things go well you either got a 5-10x speed up or an insufficient test suite
27.
▲
by
olsgaarddk
7y ago
Mostly because I didn't know of it. But also if you want to log caught exceptions as debug, because you were expecting the exception. E.g., a StopIteration exception you for some reason might want information about, or you have an obje
28.
▲
by
olsgaarddk
7y ago
Kinda off-topic, since the article is about not making errors, instead of logging them, but sometimes you are not in control of input, and you expect some exceptions that you want to log. In Python, instead of the example in the blog:
29.
▲
by
olsgaarddk
7y ago
During my graduate degree, I was looking into phonetic search, and a lot of the papers I stumbled across were using an expanded version of soundex called Phonix[1] as their basis of new algorithms. However, I had a lot of trouble finding an
30.
▲
by
olsgaarddk
7y ago
That was my initial goal, but I had a lot of trouble with vanilla MeCab not understanding a lot of the text. But this was before neologd, so i think it would work better now. I don’t have the source code on me, but I scraped it from a websi
More ›