Live data from Hacker News

Viewing profile — pkolaczk

pkolaczk

HN member
Joined
Wed, Jun 06, 2012, 5:17 PM UTC
HN karma
2,804
Public activity
1,337 items

About pkolaczk

No profile information was provided.

Recent public activity

  1. comment
    Comment #48290153

    There is a huge semantic difference between sharing an object by providing a reference to it, passing the ownership of the object and passing a copy. It’s not a technical low level…

  2. comment
    Comment #48157727

    As a heavy user of Java I can assure you that Java is very very far from boring, especially when building it with maven or gradle. There are millions ways something can screw up th…

  3. comment
    Comment #48081459

    Only if you ever deal with one future at a time. But async allows things like awaiting one of N events in a very natural way. Those patterns are much less readable when done with t…

  4. comment
    Comment #48081337

    That code was optimized for performance for 1980s hardware. It’s very far from optimized for modern CPUs.

  5. comment
    Comment #48019514

    Threads are neither better or worse than async+callbacks. They are different. There are problems which map nicely to threads and there are problems which are much nicer to express …

  6. comment
    Comment #48005220

    Rust (and Scala) type systems are somewhat stronger and more expressive in some areas than Haskell. Weaker in some other. But it’s not a clear cut that Haskell type system offers m…

  7. comment
    Comment #48005188

    Java escape analysis is very weak, much weaker than what stack allocation and moving allows in languages like C, C++, Rust.

  8. comment
    Comment #47846252

    They do work for me either, but I have learned to double check the locations of POIs with Google Maps to make sure I’ll arrive at the correct place.

  9. comment
    Comment #47846176

    The interface and the direction instructions on Apple Maps are way ahead of Google Maps. The app performance is also much smoother / snappier, it connects to the car instantly and …

  10. comment
    Comment #47008395

    It still is an unbelievable memory hog. It got faster though.

  11. comment
    Comment #46905870

    What do you mean it would destroy the valuable part of the signal? If the signal has a carrier (like in AM or FM) or some other regular pattern (e.g. digital signal) then the typic…

  12. comment
    Comment #46903173

    That’s why you probably want to use it in an oscillator rather than a filter. Then some of those problems go away. Although, some new ones appear like having to add a mixer … Some …

  13. comment
    Comment #46900710

    If you can afford losing a bit of frequency stability, you can use a varicap instead and control it by voltage. Precise multiturn potentiometers are much cheaper. Or just buy a pro…

  14. comment
    Comment #46613551

    > Which is why when folks nowadays say "you cannot use XYZ for embedded", given what most embedded systems look like, and what many of us used to code on 8 and 16 bit home computer…

  15. comment
    Comment #46290242

    Hack or not a hack, it shouldn't hit the UI. It's a bug.

  16. comment
    Comment #46265157

    I’ve had that bug a few times. I think it’s related to some roads being closed and/ or under reconstruction. I’ve seen this happen multiple times on the same route, and it always f…

  17. comment
    Comment #45952260

    Technically it's not a pause as the pauses introduced by a typical STW tracing GC. It does not stop the other threads. The app can still continue to work during that cleanup. And i…

  18. comment
    Comment #45904536

    We don’t need it in Poland. We’ve been using a similar but official government issued app with ID, driving license, car documents for years now. Works both on Android and iPhone. C…

  19. comment
    Comment #45684950

    Oh, thanks, good to know. Now I feel more motivated. Because actually it’s not as easy as it looks from the text books. It’s like with drawing an owl. Yeah, pass the signal through…

  20. comment
    Comment #45680149

    You can use a germanium diode or even Shottky now instead of a “crystal”. Such a simple radio can be a gateway drug to a very complex and deep hobby. In my case it went like that: …

  21. comment
    Comment #45234904

    However, gradle build or mvn install won’t select a proper version of Java to build your code. It won’t even tell you are building with wrong version. Rust, Go, even Scala SBT will…

  22. comment
    Comment #45134445

    You can work with SMT at home no problem. A decent hot air station like Quick 861dw will cost you just about $300 and you don’t need much more to tinker.

  23. comment
    Comment #45132207

    Circuits as black boxes is usually a very leaky abstraction, because how circuits work depends a lot on what’s connected to them. And they have plenty of attributes that can intera…

  24. comment
    Comment #45112367

    The parent comment is right. Rust async is simple state automata structs you can poll explicitly with no magic. Async/await is just some syntactic sugar on top of that, but you don…

  25. comment
    Comment #45081298

    An obvious example of that is defining named constants and referring them by name instead of repeating the same value in N places. This is also DRY and good kind of DRY.