Better HN
topnewbestaskshowjobs
Log inSign up

georgeam

84 karma · joined Sep 16, 2014 (12y ago) · 43 submissions

Submissions

1.

Ask HN: Python library for regex with “extent-of-match”

2 points · by georgeam · 4y ago · discuss

comment 4y ago · link · parent

If I remember correctly, Massachusetts has a law that says that potential employers are not permitted to ask candidates what their previous salary was. The intent of this law is to ensure that people who have been discriminated against in the past will not continue to be discriminated against by new employers who "copy" the treatment of previous employers.

(a) Can anyone confirm that I'm remembering this correctly?

(b) Is this behavior by Equifax not a violation of the Massachusetts law (at least as far as it concerns citizens of Massachusetts, and in the spirit if not in the letter of the law)?

comment 5y ago · link · parent

I've listened to only 2/3 of it, but: he promotes Crystal+Lucky (crystal is compiled) as good replacements for Ruby and Rails. The second part of his talk is about promoting a new variant of open license called PostOpen, which will require commercial users of Post Open software to pay 1% for using, 1.5% for using without sharing modifications. There is a 10% fee for worse offense. All percentages are percentages of revenue. This is partly aimed at large companies that host open source software with few modifications as a service and charge for it. Money goes to PostOpen and possibly conventional Open Source developers.

comment 5y ago · link · parent

I think I obtain a lot of the benefits of focus without quite being this extreme. I use a lot of virtual desktops. One virtual desktop per logical activity. For example as a student it would be one desktop per course I'm studying. As a software engineer, each git-repo that I touch gets its own virtual desktop (especially when one application involves many git repos). Each virtual desktop has its own editor process, terminal, and browser window for documentation and tabs related to that activity only. This means I can change my focus just by switching to another virtual desktop. And the tabs and editors and such on other desktops are not visible (they are not even in the panel) while I'm not working on them. So unlike you, I have lots of bystander applications, and each one is exactly where I left it. They just aren't visible until I switch to that activity. So I would argue that they don't distract me at all.

I also have things set up so that there is a keystroke that raises the editor on the current desktop to the top. Another for the browser and another for the terminal. When I switch to another desktop, the same keystroke raises a different editor process for that desktop, etc. So within a desktop, I switch between these apps using the same keystrokes regardless of which desktop I am on. And there is only one way to switch desktop. I can't switch to another desktop via choosing another application on another desktop, because the other applications that are not on the current desktop are completely invisible.

When I'm working on something with a Scala backend, an Elm frontend, and C/C++ embedded device, and when I need to go back and forth often between these sub-applications making related changes, I can't afford to close and reopen each one when I change the language/repo. I can change desktops very often this way. eg. Add a new field to the frontend. Immediately add it to the backend and the embedded also. But they are in different repos. etc. etc.

If I have one editor opening all three projects it is a nightmare to navigate between files. But one editor for each language and repo is the sweet spot for me. And it means my documentation for Elm is all in a separate browser window from my documentation for Scala (which is on another desktop) etc etc.

Sorry this was so long, but I think all the details add up to making it an efficient system.

comment 5y ago · link · parent

Here is a book I happen to own (and I recommend highly), on the general topic of how to practice piano effectively.

"The Practice Revolution: Getting great results from the six days between lessons", by Philip Johnston. It contains a lot of advice including some overlap with some of the comments in this thread.

comment 5y ago · link · parent

Not to be too nit-picky, but a thousand dollars would help or save many children, not just one. $20 will get you a mosquito net on Amazon.

comment 5y ago · link · parent

With the bees will go lots of foods that depend on them for pollination. Bees are very essential for agriculture.

comment 5y ago · link · parent

The article mentions that there is a 500 gallon tank of some toxic material buried at a unknown location in the property. 500 gallons is very small -- 66 cubic feet, which is about 4 ft by 4 ft by 4 ft.

In my opinion, that makes it completely plausible that a problem relating to that tank could be so localized that it will only affect one tenant.

I'm not saying her problem was due to the 500 gallon tank. All I'm saying is that if it is, then it is not unbelievable that it affected only one (or a small number) of tenants.

comment 5y ago · link · parent

Nice idea and execution! Just one small suggestion. Could you consider increasing the height of the map? Even if it means putting the top white-background banner as a vertical column on the left edge. I was trying to find a location which required navigating due north, and one has to make very many short swipes because of the limited height of the map. Compared to when you're navigating East-west, in which case you can make wide sweeping swipes. Also it would allow you to see more context for any given location. Thanks. Nice work!

comment 6y ago · link · parent

Do you mind sharing how many mg (milligrams) of zinc are in the one you have which advises to limit use to 7 days? I noticed that the Mayo clinic site says the maximum dose per day for an adult is 40 mg. I'm curious whether this 40 mg is safe for indefinite use, or such a 40 mg limit would also be for a maximum of 7 days.

comment 6y ago · link · parent

I agree -- I would say the government should recognize the utility of the idea and request an emergency technical team from both Apple and Google to join up in a public-health emergency response consortium (to ensure interoperability) and brainstorm this idea. And Microsoft too, if they are still making windows phones.

comment 6y ago · link · parent

In principle it could be installed as a system/default app on Android and iOS by Google and Apple respectively. Even more reach for people that haven't installed Facebook.

comment 6y ago · link · parent

Kudos to Google for doing this. It is so much more effective to marshall a small number of extremely powerful cloud providers backed by very qualified and active techies, than a large number of weak providers (people using their home machines).

comment 6y ago · link · parent

Likewise, I would be glad to see it in 20.04. According to this page, https://wiki.ubuntu.com/FocalFossa/ReleaseSchedule, feature freeze for 20.04 is on the 27th of February so I don't see any reason why Openssh 8.2 can't make it into the LTS. Unless there are other considerations I'm not aware of.

comment 7y ago · link · parent

For natural unprocessed eggs you're right. But for most eggs in the US and Canada, the coat has been washed off, as indicated by ihodes in sister thread. So refrigeration is important there.

comment 7y ago · link · parent

I'm a strong believer in solving problems at the single point of failure. If you solve it at the Twitter level, what about any other internet/cloud based service that is designed just like Twitter? It would still be a problem. If you solve it at the phone company level, all the companies that operate like Twitter are protected.

Even better still, solve it at both levels, but definitely don't let phone companies off the hook.

comment 7y ago · link · parent

I would also like to see a feedback option for wrong word (same spelling). For example I searched for "melee" meaning (close to) "chaotic fight", and one of the entries referred to a person called "MeLee". It should be possible to flag this and either automatically or manually review the entry.

comment 7y ago · link · parent

See youtube https://youtu.be/MvekG31FbJM?t=9 for an artists conception of the seating layout.

19.

Ask HN: What are your ideas for rideshare security?

2 points · by georgeam · 7y ago · 1 comment

comment 8y ago · link · parent

Airliners.net: http://www.airliners.net/forum/viewtopic.php?f=3&t=1407217

comment 8y ago · link · parent

It would also be helpful to see a comparison to tools like asymptote:

https://en.wikipedia.org/wiki/Asymptote_(vector_graphics_lan...

comment 8y ago · link · parent

Computer Science too don't get paid from my experience either.

comment 8y ago · link · parent

Thanks for the reference -- that's rather unfortunate because Phil Freeman did a great job leading the project.

BTW my question could sound like I am hoping Phil Freeman has given up the project leadership, which isn't what I meant to say. I should have said "I was wondering whether you are mixing up ...".

comment 8y ago · link · parent

Could you provide a reference for this? I'm just hoping you are not mixing up Python (by Guido van Rossum) and Purescript (by Phil A. Freeman).

comment 8y ago · link · parent

One solution I use is a 1/8" thick sheet of amber transparent rigid plastic/acrylic. It is designed to cut UV, but it also cuts blue light. I bought a 2'x4' sheet from an online site (since ads are probably not permitted, I will not mention the name of the company), and they cut it to size specifications for me. Out of that I got filters for my 14", 15" and 17" laptops, and a 30" LED TV.

I find it easier on my eyes at night (both laptop and TV), and it has its place since the TV can't run f.lux and redshift.

comment 8y ago · link · parent

Another thing that would be useful is for your version-control systems (git/svn etc) to be able to say precisely who made which changes. That gives you proof of who did which work. Even if your company/org does not use version control, you can use it independently as an individual, and have a complete development history of your own which documents your work. It would be harder for someone to claim your work if you have a ton of incremental check-ins and they don't.

comment 8y ago · link · parent

It may be relevant that he applied elm-format to the codebase, apparently for the first time. elm-format puts very little code on each line and puts a lot of meaning into indentation, so that alone could inflate the LoC instantly without changing any semantics.
12