HNHacker News
TopNewBestAskShowJobs

pxndx

240 karma · joined January 27, 2014

submissionscomments
pxndx··on Small World: The Tiny House Trend
I want to clarify that I don't necessarily think that this is a bad thing. The "american dream" where everyone owns a 4000sq ft home, a wife, 3 kids, a car for each person and a backyard with a pool and a trampoline is not sustainable even in the short term. It's important to make the sustainable choices cool.

As an European I find it weird that these people decided to go live in a place with a backyard and no public transport though.

pxndx··on Small World: The Tiny House Trend
Tiny houses are just gentrified trailers.
pxndx··on Flutter: Futures, Isolates, Event Loop
> What is the difference between an async method and a method that returns a Future?

There's no difference for callers of the method, but you can only use await in methods that are async.

pxndx··on Meta Programming in JavaScript with Proxies
There's some work being done on optimising Proxies, but the current implementation is just slow (and also varies by engine), but yes, they can probably be optimised further.

EDIT: there are various blog posts around talking about optimisation: https://v8.dev/blog/optimizing-proxies

pxndx··on Meta Programming in JavaScript with Proxies
Because they need runtime support from the engine, e.g. you need engine support in order to intercept calls like:

  obj[prop] = 'foo'
where prop is user input or similar. You could technically compile them away if you replaced all property set/gets with code like

  set(obj, prop, "foo")
  get(obj, prop)
with a babel step, but the performance impact of this (both in runtime and compile-time) would be enormous.
pxndx··on Meta Programming in JavaScript with Proxies
They don't get compiled away because Proxies are a runtime thing. The impact on performance is entirely on the runtime.
pxndx··on Facebook launches petition feature, its next battlefield
They probably tried, failed, and are building their own petition platform now.
pxndx··on Road Tripping Around Europe in a Tesla Is Less Fun Than You’d Think
Because they can't harvest your information if you don't sign up for stuff.
pxndx··on Pathfinding for Tower Defense
I downloaded dungeon warfare (a suggestion from another comment chain) and it doesn't have ads or p2w elements. It was 3 eur in the Android play store.
pxndx··on Why Do React Hooks Rely on Call Order?
But that's not exposed to the developers in a bug-prone way.
pxndx··on On the Worst-Case Complexity of TimSort
Runs can be increasing or decreasing, a reversed array is a single run. Worst case is n/2 because you can always split the array in pairs (if it alternates a high and a low value for example).
pxndx··on LEGO built a life-size, drivable Bugatti from over a million Technic pieces
They sell the smaller version of this car, in the same colors [1]. But many pieces are not available in those colors, e.g. I see a lot of the 3x1 cross-blocks [2] in light azure, which is not in any other set.

[1] https://shop.lego.com/en-ES/Bugatti-Chiron-42083 [2] https://ali1994.brickowl.com/store/lego-technic-cross-block-...

pxndx··on Ask HN: Which types of tech jobs are best for people that can't handle stress?
Yeah, there's nothing like already being rich. This is terrible advice, not everyone has rental properties or passive income.
pxndx··on Make a “Literary Clock” from a Jailbroken Kindle
Why would you do that? you want to see the quote for 8:19 at your 8:19 local time, otherwise it's not a very good clock.
pxndx··on PEP 572: Python assignment expressions has been accepted
Yes, thanks for correcting me.
pxndx··on PEP 572: Python assignment expressions has been accepted
Python list comprehensions _are_ map/reduce.
pxndx··on Large crack in East African Rift is evidence of continent splitting in two
That's literally the title of the article.
pxndx··on What Works and Why: Opus Magnum
I'd start with the free ones: http://www.zachtronics.com/the-codex-of-alchemical-engineeri... http://pleasingfungus.com/Manufactoria/

Then depending on which one (or which parts) you like the most, select a similar one

pxndx··on What Works and Why: Opus Magnum
I prefer games like Manufactoria or SpaceChem. Human resource machine and TIS-100 look too much like regular programming to me.
pxndx··on What Works and Why: Opus Magnum
Haven't seen any mention of Factorio in this thread. It's not as much of a puzzle game (except when going for extreme optimisation) but a resource management game.
pxndx··on A Type of Road Junction that Kills Cyclists
The obstacles are intentional. Blocking sight forces people to slow down.
pxndx··on Android 8.1 Oreo
Or the trend Apple follows of naming their devices Macs /s
pxndx··on How to Stop Advertising Notifications from the Google Photo App
Oneplus also has this kind of shitty ads. All Oneplus owners got a notification when the 5 was released.
pxndx··on There are over a billion outdated Android devices in use
s/Sadly/Fortunately/
pxndx··on Silicon Zeroes
Can't recommend Manufactoria enough. It's from the same author.
pxndx··on Post a boarding pass on Facebook, get your account stolen
Indeed, but for the attack discussed here (someone calls support and pretends they're you) you don't need that much entropy, as you can't test different phrases quickly.
pxndx··on Mystery of sonic weapon attacks in Cuba deepens
Maybe rotating your head affects how you perceive the noise.
pxndx··on Wilson’s Algorithm
You can select any arbitrary tile. The opposite corner tile, or any random one in the edge if it's a maze you need to traverse.
pxndx··on C compiler undefined behavior: calls never-called function
Your example also presents undefined behaviour, so the compiler is free to do whatever it wants.
pxndx··on Hedge Fund Uses Algae to Reap 21% Return
https://xkcd.com/1831/
← PreviousPage 2 of 3Next →