Better HN
topnewbestaskshowjobs
Log inSign up

pwiecz

33 karma · joined Apr 11, 2011 (15y ago) · 25 submissions

Submissions

comment 2w ago · link · parent

> IME, taking a string_view as an argument is pretty unproblematic. Two areas where I have seen problems

I've seen a few problema with automatic conversion of const std::string& arguments to std::string_view. They arised when the argument was later captured by value in a lambda and passed as an argument to e.g. std::thread. Instead of safely passing copy of the string now you pass refwrence to a memory owned by a different thread, which may be deallocated at any moment.

comment 1y ago · link · parent

Reminds me of a "Washing Machine Trategy" by Stanisław Lem. A short story that may be a perfect parabole of the today's AI bubble.

comment 2y ago · link · parent

Another cool example is Nexus One's trackball. It had advantage of being able to scroll in any direction.

comment 3y ago · link · parent

I remember playing a pretty simple Basic game on my Commodore+4 called "Kubusiowe Litery" or "Kubusiowe Literki", unfortunately my cassette with the game got damaged, and I cannot find a source of it anywhere. I feel sad that the game may get lost in time like tears in rain. ;(

comment 3y ago · link · parent

I was expecting either the Alpine Linux, or a port to js of the mail client. :)

comment 3y ago · link · parent

Unfortunately both Alts are not equivalent. The right one, the AltGr is uaef in many languages to type letters with diacritics. E.g. in Polish AltGr+Z is Ż, while AltGr+X is Ź. Still using both Ctrls itself helps a lot, and one may have a right Windows to remap as Meta.

comment 3y ago · link · parent

Boom is "just" pure Doom + some static limits being raised, and a few new types of floors and lines (plus a few other smaller changes) :)

comment 3y ago · link · parent

I've actually implemented the Game of Life in Doom engine. But I've used a significantly stronger "computation model" - Boom engine, which provided scrolling floors, and more actions being possible to be triggered by monsters.

It sound like an interesting exercise to make a vanilla-compatible variant of the map.

You can find the post about it here: https://www.doomworld.com/forum/topic/131881-conways-game-of... and the code: https://github.com/pwiecz/conway.wad

comment 4y ago · link · parent

That's why I loved The Witness devs who released an update for the game, with improved support for my crappy old integrated GPU on laptop. Even though it was not meeting tmhardware requurements of tge game.

comment 4y ago · link · parent

"People" don't need just lossless, they need The Beatles to release all of their pre-master tracks to be released in lossless format, so they of them can create their own remastered versions of a the tracks.

comment 4y ago · link · parent

On the other hand over last few months majority of post from sma few of private Google Groups, I'm member of, keep getting wrongly clsssified as spam.

I don't know if it's related either.

comment 4y ago · link · parent

Yup. I really loved all the functional stuff I've learned there from OCaml to SML+Extended ML, to Haskell.

Unfortunately, I haven't had a chance to professionally program functionally since the n. :(

It was all Java and C++. Though I like C++, maybe it's a Stockholm syndrome. ;)

comment 4y ago · link · parent

Not the original commenter, but my first year course of Introduction of Programming 15 years age was also using OCaml. There were two groups of students, standard one was using Pascal, and the functional one using OCaml. I was studying on Warsaw University and the lecture notes are in Polish: https://mimuw.edu.pl/~kubica/wpf/wpf.pdf

comment 4y ago · link · parent

I've misread the title as "You can do a lot with an empty life", and clicked eagerly hiping to learn how to deal with the feeling of emptiness in your life.

comment 5y ago · link · parent

You can very well parallelise CPU-intensive problems. Look at e.g. "Embarassingly parallel" on Wikipedia. Intuitively if you can divide your work into chunks that are large enough, the scheduling overhead becomes negligible.

comment 5y ago · link · parent

I can see several of the compact models here: https://wiki.merproject.org/wiki/Adaptations/libhybris#Sony

But e.g. not XZ1c

comment 5y ago · link · parent

I've once implemented a regular expression engine based directly on https://en.wikipedia.org/wiki/Brzozowski_derivative – it's straightforward to implement both intersection and negation this way.

comment 5y ago · link · parent

In Poland it's Polish, not Russian ;)

comment 7y ago · link · parent

I'd call myself an ignorant as far as philosophy goes, but I found „Philosophical investigations” much more readable and influential on me than the „Tractatus”.

comment 7y ago · link · parent

I hope very few people will own electric cars in the future (or any car whatsoever). We don't need more cars on the road - we barely can squeeze them on our roads now. We need good, fast, ubiquitous public transport system.

comment 7y ago · link · parent

You can find a somewhat playable early "prototype" linked from here: https://waxy.org/2008/04/milliways_infocoms_unreleased_seque...

comment 8y ago · link · parent

If I'm reading http://wardsattic.com/joomla/Download/BellmanForestProblem.p... correctly, the ratio you're looking for is ≈ 2.0471.

comment 8y ago · link · parent

I use zile.

comment 10y ago · link · parent

What's the problem with the "mutable"? I thought that it does not impair the type safety.

comment 10y ago · link · parent

https://youtu.be/pdvCO97jOQk around 7:30 shows how camera in terraria works :)