HNHacker News
TopNewBestAskShowJobs

bajsejohannes

2,552 karma · joined August 20, 2008

submissionscomments
bajsejohannes··on Taxiing accounts for more than 1/8 of fuel consumption [slides] [pdf]
I got the number 1/8 from

> 25% of the emissions are produced during the Landing Take-Off (LTO) cycle (for flights over a 800km range)

and

> Taxi operations are the largest source of emissions in a standard LTO cycle

It seems almost unbelievable, but the sources seem solid. I would love to hear other input on this.

bajsejohannes··on Learn just a little Awk (2010)
I once read the two or three first chapters of _ The AWK Programming Language_. Those chapters cover the whole language and I could read it in one sitting (actually standing; in a book store, but I digress).

To my surprise, it was powerful enough to write a somewhat limited implementation of Snake: https://github.com/johshoff/snawk

bajsejohannes··on Ajit Pai says you’re going to love the death of net neutrality
You're being deceived. The price you pay is either baked into your monthly bill or comes in the less tangible form of reduced competition for those zero-rated services (i.e. startups have a much harder time entering the stage).
bajsejohannes··on Ajit Pai says you’re going to love the death of net neutrality
I did consider it, but at least for me, it's only a negative. The key quote:

> [The repeal] will protect consumers and promote better, faster Internet access and more competition

First of all: I think the "competition" in question is along an axis that I'm not interested in; e.g. does this plan give me faster Netflix or unlimited Facebook. So now I have one more thing to worry about when picking a plan, which is very likely going to make me less happy with my choice.

The better/faster internet he's talking about is probably along these lines too, e.g a deal being struck with Netflix to make just Netflix faster.

So, for me as a consumer, I think this is terrible. I'm going to be spend more time thinking about my plan and be less happy it. It will also be worse in the sense that ISPs are spending time and money on a feature that I didn't want in the first place.

I also think this is terrible for new companies, but that's for another post.

A great book on this is The Paradox of Choice

bajsejohannes··on Sketch.systems
Seems like a somewhat unfortunate naming when one of the leading design prototyping tools are called Sketch (https://www.sketchapp.com/).

Looks pretty cool, though.

bajsejohannes··on Solving dynamic programming interview problems
A tiny correction in the following:

    if (position + adjustedSpeed in memo and
        adjustedSpeed in memo[position + adjustedSpeed] and
        adjustedSpeed in memo[position + adjustedSpeed]):
The middle line is not needed.
bajsejohannes··on Stateful Apps on Kubernetes: A quick primer
Good point about it getting better. A lot of the pain was from trying to do it before 1.8.
bajsejohannes··on Stateful Apps on Kubernetes: A quick primer
I would recommend against running stateful apps in kubernetes. It's not really ready for it. Big problems include routing (it works fine for http requests, but not for DBs, message brokers, etc) and just the pain of setting up stateful sets.

If you don't believe me, take it from someone who should know what they're talking about: https://twitter.com/kelseyhightower/status/96341350830081229...

bajsejohannes··on Stateful Apps on Kubernetes: A quick primer
You are correct.

> [kubernetes is] a simplified clone of Google’s internal borg system

https://medium.com/@steve.yegge/honestly-i-cant-stand-k8s-48...

bajsejohannes··on TurboTax Freemium Funnel: Critical Analysis and UX Teardown
Interesting (and not entirely surprising). Reposted that article for more visibility: https://news.ycombinator.com/item?id=16841449
bajsejohannes··on Defeat your 99th percentile with speculative task
I think the OP is saying the people involved should investigate the root cause instead of working around the problem. Not that the _service_ should try to do it when needed somehow.

Like philsnow says in a different comment (https://news.ycombinator.com/item?id=16832566)

> If your backend is Redis, how is starting more speculative hits to Redis going to help, since it's single threaded?

I agree; really understanding this problem is a lot better than just blindly retrying because it seems to work. Is there something wrong with the network that'll affect every service?

Retrying could be the solution, but it should be so with the acknowledgement that it's incurring technical debt.

bajsejohannes··on CSS Grid changes everything [video]
Any idea why the grid is 1-indexed instead of 0-indexed?
bajsejohannes··on Zstandard – Real-time data compression algorithm
Some good discussion in earlier postings too: https://hn.algolia.com/?query=zstandard&sort=byPopularity&pr...
bajsejohannes··on Show HN: RetroClip – Instant Replay for Your Mac
I really enjoyed the blogpost!

> we knew we had to get with the times

There are already too many of us working on the web side of things! :p It's lovely to see someone crafting a fast native application instead of yet another electron app. Speaking of which, do you have any recommended literature for learning more about the things you're writing about?

bajsejohannes··on Google Memory Loss
> will try to rewrite your queries and omit words

This has been bugging me too the last couple of years. Sometimes I would actually prefer an empty answer to one where various words are missing. Empty can mean an idea is still unexplored.

I've started sending feedback to Google every time this happen. Maybe it'll make a difference if more people do it?

bajsejohannes··on How I went from programming to consulting (2012)
There are plenty of places outside of the US where you can charge that rate.
bajsejohannes··on Almost everything on computers is perceptually slower than it was in 1983
> And it's worth noting that HYPERTEXT, specifically, is best with a mouse in a lot of cases. Wikipedia would suck on keyboard.

A decade ago I would navigate web pages quicker than now. I was using Opera, which had keys for navigating from hyperlink to hyperlink (spatially, using shift+arrow keys). It also keys for navigating to the logical previous and next page--that is, not navigating history, but following "link rel=prev" and "link rel=next" links. Unfortunately, the web evolved to make this harder. Everything is a hyperlink and no one uses link rel tags anymore.

bajsejohannes··on Almost everything on computers is perceptually slower than it was in 1983
One way to improve this is to do like gmail and provide keyboard shortcuts in addition to the point and click interface. (It has to be explicitly enabled in settings, but it didn't have to be that way). Like the author is claiming, it takes very little time to get used to and you get more productive quickly. The only problem I've run into (also covered by the OP) is that input focus might be different than what you think and you end up quickly doing unintended things to your email. Luckily there's an undo function for that.
bajsejohannes··on Europe mostly ends mobile roaming fees from today
The article lists the 28 EU countries, but note that this is true for the countries of the European Economic Area too: Iceland, Liechtenstein and Norway.
bajsejohannes··on Introducing Highlights
> Predicting which messages are most likely to be important is a challenging technical problem

I think this is much better solved as a social problem. Use mentions sparingly so they have value and have company conventions about what's expected to be read/skimmed/ignored.

Seems like a case of fitting a solution to a problem.

bajsejohannes··on AI Is Getting Better at Detecting Handguns
> what if police officers were equipped with body cameras that could alert them the instant they come into view of a handgun, or some other weapon?

And then

> Overall, the optimized model achieved 84% accuracy, with zero false negatives [...] and 57 false positives.

So in the what-if scenario above, 16% of cases would falsely escalate a situation dramatically? Seems like a horrible idea. And "really good" seems like a stretch.

bajsejohannes··on Cyberattacks in 12 Nations Said to Use Leaked N.S.A. Hacking Tool
How would you practically do that? Send all those encrypted hard drives to NSA to be decrypted? Publish the backdoor, effectively rendering that encryption scheme broken?
bajsejohannes··on Is it really “Complex”? Or did we make it “Complicated”? (2014) [video]
There was a period where Opera had the fastest javascript engine of all the browser. It was a stack based runtime like all others at the time and, as a side-effect of being developed for mobile devices, was small enough to fit on a cache line. That was the key to the performance advantage. Then came V8 and everyone changed over to JITing compilers.
bajsejohannes··on Digital picture converted to string art patterns
> Over 2 billion calculations are needed to produce each pattern; not much of a load for today’s computers, but definitely an impossible task for the human brain. So, this is a new and unique type of knitting that could not have been implemented a few decades ago, without computers.

It's hard to take this assertion at face value. Compare that to what a human go player can do vs. a computer. (2 billion computations would be on the order of seconds on a normal computer)

Still a cool project!

bajsejohannes··on LLVM 4.0.0
> thanks to Zhendong Su and his team whose fuzz testing prevented many bugs going into the release.

http://web.cs.ucdavis.edu/~su/ claims 1228 bugs found (counting both LLVM and GCC). Impressive!

bajsejohannes··on Windows 10 Tip: Turn Off File Explorer Advertising
It's baffling how many ad spaces they have in this paid for operating system. By default, there's not only this, but also "notifications" that are ads and lock screen ads. I would understand it if it was free, but my employer probably paid $100 or more for it.
bajsejohannes··on Show HN: Askama – Type-safe, compiled Jinja-like templates for Rust
There's also Bart (https://github.com/maghoff/bart), inspired by Mustache. Like Askama, it's typesafe and compile time generated.
bajsejohannes··on Iranian MIT student goes home over break, denied return for spring semester
Citation? I know from personal experience that this is not the case for non-US citizens.
bajsejohannes··on Scuba: Diving into Data at Facebook [pdf]
Is this replacing the Gorilla database? Or is it using it under the hood? Or do they co-exist? If so, how are they used differently?

For those who don't know, the Gorilla database is also from Facebook and they published a paper about it roughly a year ago: http://www.vldb.org/pvldb/vol8/p1816-teller.pdf

bajsejohannes··on Using Rust for 'Scripting'
I found myself doing the same just a few days ago when my local server suddenly had a new ip address. I made a simple script to scan IP addresses in the range: https://gist.github.com/johshoff/bed463ce8a122123e60bbc84bd1...

There are probably faster ways, but none that I could think of a the time.

← PreviousPage 6 of 17Next →