Better HN
topnewbestaskshowjobs
Log inSign up

Hello71

1,909 karma · joined Sep 24, 2012 (14y ago) · 1,011 submissions

Submissions

comment 7y ago · link · parent

then don't buy an alkaline battery?

comment 7y ago · link · parent

In fact, that's basically what Telegram did with their impossible "crypto contests": provide a specific attack scenario, promise lots of money to break that (impossible) scenario, and then claim that it is secure against all possible attacks.

comment 7y ago · link · parent

Yes.

comment 7y ago · link · parent

This is a very silly way of writing it though. grep|sed can almost always be replaced with a simple awk: awk '/^x/ { sub("a", "b"); print $2; }' foo.txt. This way, the whole command fits on one line. If it doesn't, put your awk script in a separate file and simply call it with "awk -f myawkscript foo.txt".

comment 7y ago · link · parent

wouldn't it make more sense to use 1 as a placeholder

comment 7y ago · link · parent

> Font rendering on Linux is as advanced and capable as any other OS including in the areas of kerning and hinting. It should just work without any user intervention and look great.

This isn't entirely true. AIUI, Apple enables LCD filtering and subpixel rendering by default, because it knows that you're using an LCD and what the subpixel order is. However, these are usually toggleable via the GUI, and even without them it usually still looks fine.

comment 7y ago · link · parent

zsh completion supports menus, typo correction, caching...

488.

Upgrade Windows Server 2016 to Windows Server 2019(microsoft.com ↗)

1 points · by Hello71 · 7y ago · discuss

comment 7y ago · link · parent

doesn't the wall work just as well?

comment 7y ago · link · parent

in fact the TransparentProxy documentation now has a large warning on the top saying not to: https://trac.torproject.org/projects/tor/wiki/doc/Transparen...

comment 7y ago · link · parent

Somewhat better than OpenGL passthrough, whose security can be summarized as between "basically none" and "absolutely none".

comment 7y ago · link · parent

Except... they mostly are? As far as I can tell, Debian only ships one Python per major version per release, Fedora does the same, Arch does the same. Gentoo lets you install everything side-by-side, but it does the same thing for gcc, binutils, ruby, wine, llvm, and dozens of other packages, and I don't see the author complaining about those.

comment 7y ago · link · parent

> And I pity anyone who miscounts spaces and accidentally puts in three spaces instead of four somewhere -- this can take hours to debug and track down.

this is so hilariously wrong that it is clear that the author has never actually tried any of the things he complains about.

  Python 3.7.1 (default, Oct 22 2018, 10:41:28)
  [GCC 8.2.1 20180831] on linux
  Type "help", "copyright", "credits" or "license" for more information.
  >>> if True:
  ...     if True:
  ...         pass
  ...    pass
    File "<stdin>", line 4
      pass
         ^
  IndentationError: unindent does not match any outer indentation level
same error in Python 2.7.15. the caret is at the wrong place, but the error message is perfectly fine on its own.

edit: I checked the CPython source, and this message actually dates back to 2000. so unless the author was using python 1.x back in the 90s, or is dumb enough to use single spaces for indentation, the story is a complete fabrication.

comment 7y ago · link · parent

> The hot water in your water tank may contain an excess of salt deposits

This is clearly impossible due to conservation of mass, unless you're claiming that the water heater is so hot that it causes nuclear reactions in the water.

comment 7y ago · link · parent

> G+, the social network used internally at Google

Ouch.

comment 7y ago · link · parent

file-backed mmap is by definition not related to overcommit, because the memory is committed by the file.

comment 8y ago · link · parent

That, uh, doesn't sound right. None of your networking equipment can do auto-negotiation?

comment 8y ago · link · parent

That's not a complaint about static linking though, that's a complaint about library embedding. Lots of Professional Enterprise Software as well as poorly designed games use a buttload of dynamic linking, but a few patches here and there and some API/ABI ignorance later, the libraries are impossible to replace.

comment 8y ago · link · parent

https://github.com/FineUploader/fine-uploader/issues/1881 was open for more than a year. There were some proposals, but I assume that all of them imposed conditions that the author considered unacceptable.

For such a large project, there is no such thing as dormant, only rotting. Archiving makes this status clear to potential users.

comment 8y ago · link · parent

bcachefs is specifically trying to avoid the btrfs garbage fire by building slowly on top of well-tested bcache. I am confident it won't end up like btrfs where RAID5/6 is still horribly broken yet people claim the filesystem is totally stable and fine for production use.

comment 8y ago · link · parent

a button for toggling the font?

comment 8y ago · link · parent

previously: https://news.ycombinator.com/item?id=17006848

tl;dr "additional functionality" yes, and also some missing functionality.

comment 8y ago · link · parent

Seems like a very Windows tool. By that I mean it's a full "application" to do what could be done in about 15 lines of shell script:

  #!/bin/bash
  set -e
  pid=$1
  if [[ "$pid" = *[^0-9]* ]]; then
      pid=$(pgrep -x "$pid")
  fi
  lasttime=$((2**64))
  while sleep 10; do
      read pid comm state ppid pgrp session tty_nr tpgid flags minflt cminflt majflt cmajflt utime stime cutime cstime priority nice num_threads itrealvalue starttime vsize rss rsslim startcode endcode startstack kstkesp kstkeip signal blocked sigignore sigcatch wchan nswap cnswap exit_signal processor rt_priority policy delayacct_blkio_ticks guest_time cguest_time start_data end_data start_brk arg_start arg_end env_start env_end exit_code < /proc/$pid/stat
      newtime=$((utime+stime))
      if (( newtime - lasttime > 1 )); then
          gcore $pid
      fi
      lasttime=$newtime
  done
This one has the benefit of being extensible to handle whatever metric you want, or execute whatever command you want, change the polling period...

comment 8y ago · link · parent

Location: Toronto, Canada

Remote: Ambivalent

Willing to relocate: Yes

Technologies: C, shell, Rust, Python, networking, others

Résumé/CV: https://alxu.ca/resume.pdf

Email: see resume

comment 8y ago · link · parent

Hibernation?

comment 8y ago · link · parent

  ╔══════════╦═══════╦════════════════╦══════════════════════════════╗
  ║   Tier   ║ Rated ║ Highest Report ║ Highest Report (But Pending) ║
  ╠══════════╬═══════╬════════════════╬══════════════════════════════╣
  ║ Platinum ║   286 ║           2356 ║                         1467 ║
  ║ Gold     ║   372 ║            399 ║                          232 ║
  ║ Silver   ║   319 ║            472 ║                          367 ║
  ║ Bronze   ║   178 ║            195 ║                          158 ║
  ║ Borked   ║   245 ║           1162 ║                          960 ║
  ╚══════════╩═══════╩════════════════╩══════════════════════════════╝

comment 8y ago · link · parent

No, because it's even worse than that. "management software, user interfaces, application program interfaces, automation software, monitoring software, backup software, storage software and hosting software" encompasses everything behind the server, everything in front of the server, and basically everything beside the server.
1
161718
34