Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kgabis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
kgabis
7y ago
There is a modulus operator, I've just forgotten to put it in that section. It's fixed now.
152.
▲
by
kgabis
7y ago
Hi! This project started with me going through "Writing An Interpreter In Go" ( https://interpreterbook.com ) and "Writing A Compiler In Go" ( https://compilerbook.com ) books by Thorsten Ball (howeve
153.
▲
Show HN: Ape – an easy-to-embed programming language in two C files
(github.com)
90 points
by
kgabis
7y ago
|
22 comments
154.
▲
by
kgabis
7y ago
Isn't it too soon to assume that? Viruses decay faster at higher temperatures so it should have some effect on R0. With other measures like social distancing, masks, and remote work it might lower it below 1.
155.
▲
How ATI’s drivers ‘optimize’ Quake III (2001)
(techreport.com)
2 points
by
kgabis
7y ago
|
1 comments
156.
▲
by
kgabis
7y ago
I was contacted but I had a different offer by the time it happened. Still worth it because the position looked interesting.
157.
▲
by
kgabis
7y ago
It's called Tesla autopilot . Average user is more likely to do silly things in cars that are advertised to have an autopilot rather than adaptive cruise control.
158.
▲
by
kgabis
7y ago
The footage shows how car's cameras saw the accident. Human eyes have much greater dynamic range than that, so I wouldn't assume that a human driver would not perform better. Something appearing pitch black on this footage could b
159.
▲
by
kgabis
7y ago
I'd rather not lose context of what I'm working on by switching from code to issue tracker. That's how bugs are born.
160.
▲
by
kgabis
7y ago
It's surprising how rarely intentional geoengineering (because we're doing it anyway, just unintentionally) is mentioned when discussing climate change. Stratospheric aerosol injection seems like a plausible way of slowing down th
161.
▲
by
kgabis
7y ago
I'm yet to see a C++ project that compiles as fast as a C one.
162.
▲
by
kgabis
7y ago
Location: Warsaw, Poland Remote: Yes Willing to relocate: No Technologies: C, Python, C#, Golang, C++ Résumé/CV: https://www.dropbox.com/s/fdyl51zntg0e656/Krzysztof%20Gabis%20cv.pdf Email: "
163.
▲
by
kgabis
7y ago
Compilation times even for simple C++ programs are far too long and it's not like you can reject this "feature" unless you basically write C code compiled with C++ compiler. For instance: simple hello world with iostreams tak
164.
▲
by
kgabis
7y ago
Cats don't kill large migratory birds. But wind turbines do.
165.
▲
Lobster War
(en.wikipedia.org)
4 points
by
kgabis
7y ago
|
0 comments
166.
▲
by
kgabis
7y ago
Please see https://ourworldindata.org/uploads/2018/10/CO2-emissions-by-... . 86% of CO2 emissions are created by people in upper-middle income and high income groups.
167.
▲
by
kgabis
7y ago
The way this scanline counter was implemented is quite clever. From nesdev wiki ( https://wiki.nesdev.com/w/index.php/MMC3 ): The counter is based on the following trick: whenever rendering is turned on in the PPU,
168.
▲
by
kgabis
7y ago
Your guess is wrong, other than big cities (Shanghai, Beijing, Chengdu and Xi'an) I've also visited smaller cities (under 100K) and villages in central China.
169.
▲
by
kgabis
7y ago
I haven't been to US, but all my friends that visited it were quite disappointed with quality of life there (coming from Poland). But I've recently spent a few weeks in China and I'm really impressed with how advanced it is i
170.
▲
Show HN: NES emulation library in a single C header
(github.com)
3 points
by
kgabis
8y ago
|
0 comments
171.
▲
Show HN: kgflags – Easy to use header-only flag parsing library in C
(github.com)
4 points
by
kgabis
8y ago
|
1 comments
172.
▲
by
kgabis
8y ago
Well, it is. Every f*up you can have in C, you can also have in C++.
173.
▲
by
kgabis
8y ago
As someone who also learned music and played several instruments (violin, piano) before getting into computing I still don't get what's the point of comparing musical memory to being able to recall programming language rules. Prog
174.
▲
by
kgabis
8y ago
Code is not music. When thinking about code you must keep track of possible branches executed code might take and properties of the physical machine it runs on. C++'s complexity can hide code's underlying logic and make some types
175.
▲
by
kgabis
8y ago
Wouldn't replacing every ICE car with electric one be extremely wasteful? Cars cost resources and energy to produce so it makes sense to keep driving them for as long as possible. Focusing on emissions from driving doesn't account
176.
▲
by
kgabis
8y ago
If you ignore weekly nazi rallies and all the book burning it's not such a bad place./s Seriously though, Poland is one of the safest place to live in right now, especially if you're a foreigner. Media's portrayal of cur
177.
▲
by
kgabis
8y ago
Isn't it unrealistic to assume that 150 years of emissions can be reverted? At this point it's more about slowing down the global warming rather than reverting it.
178.
▲
by
kgabis
8y ago
You're the one making the assumption so you should back it up with some evidence (burden of proof).
179.
▲
by
kgabis
8y ago
Could you explain what you think his true intentions are? Because to me it does look both sexist and racist.
180.
▲
by
kgabis
9y ago
It's not caused by old cars (for the most part), but rather by people burning cheap coal in inefficient furnaces to keep warm during winter (see "energy poverty").
More ›