Recent submissions

Comment · 10 years ago
> It would be interesting to know how they will judge the results of this experiment when it concludes.

Personally, I don't plan to discuss politics any more or less than when this topic was posted, so I guess I'm not part of the experiment.

Comment · 10 years ago
I used to be somewhat interested by stats on passwords, etc. from breach data dumps.

haveibeenpwned is a helpful and legit site, though I think it should have used email confirmation instead of requiring only an email address.

I also respect Troy along with many other security researchers. Even those that are up to no good in the security world in some ways have contributed good things; after all, the rest of us are stronger and more vigilant now than we used to be because of their work.

However, this anonymized data will almost certainly be used by black hats more than white hats, and I don't see how this release is good for the majority of those that were affected by these breaches.

Comment · 10 years ago
You have inventory. Now is the time to start selling them. See it as an opportunity.
Comment · 10 years ago
What I've learned about parenting:

* Your kids may grow up to act like you, so act in a way that you want your children to emulate.

* Talk to them in a way and have expecations of them that are developmentally appropriate. Use your wisdom and conscience to determine how to do this.

* Expect your children to have certain responsibilties and behave in a certain way, to start working for the familiy or for others when they become old enough (possibly to make their own money), volunteer to help others, and respect their parents, family, others, and themselves.

Beyond that, it just depends on the situation.

I've seen some bad parenting, though. It usually involves anger, psychosis, manipulation, spoiling, irrationally defending their child, drug use, etc. If you or your child is the common thread in problems, it's probable that you or your child are at fault. If you can't handle things, get outside help. And if your kid is exhibiting bad or dangerous behavior to themselves or others, get help.

Comment · 10 years ago
It would also good to address arbitrary size floating point numbers in Rust.

Huon Wilson worked on an implementation a year ago:

https://github.com/huonw/float

Related- there was a discussion a few years back in Reddit about future-proofing math/numbers in Rust:

https://www.reddit.com/r/rust/comments/1uy7rt/an_appeal_for_...

However, when it comes to speed, working with primitive types has gotta be faster if supported natively, so anything else anytime soon will play second fiddle.

Comment · 10 years ago
> Businesses complaining about greedy Americans being overly litigious may want to look in a mirror.

Sure, but it goes both ways.

On one hand, companies are overly litigious for reasons described in the post. I've been frustrated at least once that I couldn't be part of a class action suit because there wasn't a recall for a design flaw costing me thousands; I knew however that a class action suit probably would've resulting in a small check at most.

On the other hand, there are law firms that advertise on television to get people to claim malpractice, etc. and "get money." And there are patent trolls that are purely exploiting.

I think it's fair to say there is a lot that could be done for reform.

Comment · 10 years ago
> "This 4/6 MAC issue was well documented in BCP128 back in 2007. The control-word drafts mentioned that there would be dragons related to 4 and 6 back in 2004."

This reminds me a little of what Mr. Prosser said to Arthur Dent in the Hitchhiker's Guide to the Galaxy about the demolition notice for Arthur's house: "It was on display at the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying beware of the leopard."

You can't make the assumption that engineers will be able to keep all of this in their heads. The IEEE is not going to review every document and put together a compendium of bear traps awaiting them in the future, and they aren't going to review every historic document before every decision, either.

If the few that knew what would happen made an incorrect assumption of prior knowledge, then they dropped the ball in reminding those that needed to know.

Since nobody remembered, they should have just been informed of the mistake and a possible solution or assistance provided.

Comment · 10 years ago
It's ok to try tackling a big problem, as long as you know when pause for a while and come back to it later.

What if Ramanujan had been told by Hardy to stay home and stop working on big things that he hadn't had sufficient experience in? While there will ever only be one Ramanujan, he wouldn't have developed into what he did had he restricted himself. He made a lot of mistakes, and that didn't kill his career nor did it stop him from producing many great works.

Similarly, Bezos obsessed about a simple online bookstore website. Jobs obsessed over details for a small number of devices. Torvalds obsessed over an operating system he wrote. DHH obsessed over a web application framework open source project for his company. If you obsess over something, it has a much better chance for success.

If you believe in it, and you see a path to it, don't give up.

Comment · 10 years ago
Explosions and threats of explosions bring many kids (middle/high school/freshmen) into it.

If you have money, this is nice for the younger ones: https://melscience.com/

Or one of the numerous chemistry sets available- preferably something with a lot of chemicals that are unsafe. I personally almost killed myself mixing things when I was an adolescent.

And in the 80s there was this: https://archive.org/details/Chem_Lab_1985-Simon_and_Schuster...

If kids aren't interested in chemistry, it's that the teacher/cirriculum/resources available to the students is just piss poor... and unfortunately that is the norm. It's so easy to keep kids engaged if you continue doing experiments that astound.

Comment · 10 years ago
Comment · 10 years ago
It's also available in deb/rpm/pkg:

https://pkgs.org/download/mg

Note: pkgs.org list is not all-inclusive; there are more Linux distros in which it's included.

Comment · 10 years ago
Kilo's supported commands are[1]:

  CTRL-S: Save
  CTRL-Q: Quit
  CTRL-F: Find string in file (ESC to exit search, arrows to navigate)
It's available in a lot of well-used distros:
https://pkgs.org/search/kilo but doesn't look like it's in Arch, etc.

Kilua looks cool also as it has more similar keybindings to Emacs[2]:

  Ctrl-x Ctrl-o Open a new file in the current buffer.
  Ctrl-x Ctrl-s Save the current file.
  Ctrl-x Ctrl-c Quit.
  
  Ctrl-x c      Create a new buffer
  Ctrl-x n      Move to the next buffer.
  Ctrl-x p      Move to the previous buffer.
  Ctrl-x b      Select buffer from a list
  
  M-x           Evaluate lua at the prompt.
  Ctrl-r:       Regular expression search.
but the goal would be to have that available in a package manager in a default install, so that after logging into any server where I'm a sudoer, I could:

  sudo apt-get install some_package
  sudo yum -y install some_package
  pacman -S some_package
  ...
[1]: https://github.com/antirez/kilo [2]: https://github.com/skx/kilua
Comment · 10 years ago
I've loved and used Emacs for ~20 years, but if Emacs were to become slow, then if I were to have a replacement editor that could do the following (w/no X or window manager) without additional config in Linux, I'd use it instead:

  arrow keys to move
  add and delete text anywhere
  paste from terminal buffer
  ctrl-s -> search (and continue to find next match)
  ctrl-v -> down
  ctrl-esc -> up
  ctrl-k -> kill line
  ctrl-x ctrl-s -> save
  ctrl-x ctrl-c -> quit
  ctrl-a -> goto beginning of line
  ctrl-e -> goto end of line
I don't even use selection anymore, because I can just use the terminal window copy/paste.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton