Better HN
topnewbestaskshowjobs
Log inSign up

thoth

224 karma · joined Mar 6, 2014 (12y ago) · 92 submissions

Submissions

comment 10y ago · link · parent

It's still there, as a balloon popup that says a file name can't contain the following characters:

\/:*?"<>|

comment 10y ago · link · parent

That scene did seem out of place, and I'm not sure how useful a 3D file explorer is, but fsn was a real (experimental) product for IRIX systems.

https://en.wikipedia.org/wiki/Fsn

edit: fsn is lowercase

comment 10y ago · link · parent

The linked article specifically mentions that the CC safety net is fraying as well - costs for middle class income brackets range 11% to 22% instead of 16% to 45% (across various other options and states; unfortunately all 8 states mentioned are different so no direct comparisons).

So yeah, they are cheaper but not all of them necessarily offer the same discount your anecdote provides.

comment 10y ago · link · parent

>$50 million is missing, and people feel wronged as a result.

So what is the plan going forward - if either party in a "smart contract" feels disadvantaged by the outcome - they go running to the law and outside jurisdictions for remedy? Isn't avoiding all that overhead the point of have a "smart contract" in the first place?

It's an interesting concept and I'd like to see the project survive (from a technology standpoint; I not risking any cash with it)... maybe it is good they did a faceplant 6 weeks in and can start answering some very hard questions that have come up.

comment 10y ago · link · parent

The language is Solidity (https://solidity.readthedocs.io/en/latest/) which runs on the Ethereum VM.

Certainly one of the challenges for the project is implementation and security issues in the Turing-complete language they decided to create for the purpose of smart contracts. Postscript and ActionScript have probably averaged a security flaw a month for the last decade; I can't imagine getting Solidity correct from the start.

comment 10y ago · link · parent

And my anecdotal experience is losing ~100K selling a house in the down market of 2009.

As for whether a condo makes its money back - suppose someone doesn't plan to sell it? A place to live is more than a profit/loss or investment decision. As the article mentions at the end.

comment 10y ago · link · parent

>Was the NBA's lifetime ban on Donald Sterling (https://en.wikipedia.org/wiki/Donald_Sterling#Racial_remarks...) totally fine?

I don't see any problem here. This is a conflict between two corporations (the NBA and whatever holding corporation Sterling used to own the Clippers) where one (NBA) decided to terminate the relationship.

As a libertarian, how can you not agree? If freedom of associate is sacrosanct, as you state, then isn't this the NBA choosing not to associate with Sterling? He can seek redress from the courts (which he did, case still pending) if he wasn't happy.

comment 10y ago · link · parent

> flat-out blows all their money and now can't afford rent and/or food?

Well for starters I'd imagine a future BI system to handle something like rent via direct transfer to the landlord. Food handled the same way, some prepaid debit card that only works at grocery stores, etc.

I don't envision a system where people pick up a stack of 20's with a post-it note on it that says "remember to pay your rent".

comment 10y ago · link · parent

I use this strategy when playing WWF as well, and have stumbled across words unknown to me.

I also play illegal words to check the validity of other words formed. For instance, if I wonder whether an existing word can take an -S or -D ending, I'll play a word I know is wrong. WWF helpfully comes back with a list of which words aren't valid. :)

Neither of these work against a live opponent so I play WWF a lot differently than Scrabble. Like you said, strategy is different when playing - in WWF, I can focus more on rack management and scoring spaces playing WWF; in Scrrabble, I am nudged towards playing words I know because I can't test them. Back when I played Scrabble I studied the 2 and 3 letter works plus the hooks and didn't find that aspect of the game all that fun.

comment 10y ago · link · parent

The "Why not Python/Ruby/Node.js/Lua" section lists 3 reasons the author developed this language...

comment 10y ago · link · parent

>The rollout of the ACA websites makes it clear that the government isn't good at producing that sort of product.

You mean that the private contractor hired to do the HealthCare.gov website, CGI Federal, did a lousy job?

comment 10y ago · link · parent

I was a teen in the mid 1980s when computers were too expensive. The situation today is orders of magnitude better, it isn't really comparable at all.

For one thing, a Raspberry Pi is more powerful than the Sinclair ZX-81, Apple IIe, or Atari 400/800 I had access to back then, and much cheaper.

comment 10y ago · link · parent

>You should say it 'works sometimes'.

1st and 3rd examples work from PowerShell.

comment 10y ago · link · parent

Things I like about PowerShell include objects - cmdlets return them and you can call methods. For example, you can get a list of services (get-service) and each is a ServiceController object, which you can Start(), Stop(), etc.

Things I don't like, or is a pain point for me, are those same objects. As far as I can tell, there isn't a better way to figure out what you actually are getting back from a cmdlet besides feeding output through Get-Member.

For example, what comes back from dir/ls/Get-ChildItem? Well that's a trick question because it depends on which "provider" you invoke. On a file system (dir somedirectory) you'll get back FileInfo or Directory info, for a registry hive (dir hklm:) you'll get a RegistryKey, for environment variables (dir env:) you get a DictionaryEntry, etc.

So while it is fantastic there is a general way to enumerate items, the docs have to be vague and list System.Object as what returns from Get-ChildItem and its various aliases, which isn't very useful for working with the results.

This makes forming non-trivial commands with pipelines fairly annoying because I have to feed each stage through Get-Member to even figure out what I have and what is now available; this strategy starts to break down if a pipeline stage feeds a loop, etc.

I'd love it if the ISE displayed what actual object type exists at every point of a pipeline, rather than the trial-and-error-by-Get-Member approach I've adopted. Or for there to be some better way to get the return type of a cmdlet.

PowerShell is a huge improvement over the old command prompt though.

comment 10y ago · link · parent

>A branch of physics used to be taught a long time ago called "numerical analysis" to deal with this issue.

Freshmen engineers had to take a year-long Numerical Analysis and FORTRAN programming class at my undergrad university. We would learn various iteration methods for solving equations and the homeworks would be more problems to solve with a program or two to write too.

This stuff is still taught, it just might be out of a different department than physics.

comment 10y ago · link · parent

I also got tired of organizing papers and websites (various articles I print to pdf), I just throw it all into Mendeley Desktop now and apply my own tags and so some minor modifications on author/title. I go with the "last name - year - title" naming and this works well enough for me.

I have an order of magnitude fewer docs that you; I can't imagine hand organizing that many!

comment 10y ago · link · parent

>The implication seems to be that students can't do the trial-and-error, understand then apply the theory. I agree with parent comment that this is awfully defeatist.

All teaching is a balance between various factors, and perhaps the instructor didn't get right in this specific instance.

Ideally the instructor would teach the theory, allow some trial-and-error as students grapple with new information, and then step in with prodding towards how to do it - but fundamentally, there is a limit on how the instructor can let the class wander without needing to move on to cover the rest of the material (this wasn't a special topics class covering how to solve this one specific problem).

Hence, go through the information but provide the technique involved after suitable time passes. That's just the nature of teaching/learning when the students don't have infinite time to essentially re-invent the material they are trying to learn.

comment 10y ago · link · parent

>I felt like it was nothing but a bag of tricks... had to substitute a "2" with "1/2 + 3/2".

Many techniques in math are "tricks" like this. Think of solving a quadratic by completing the square, or integrating by substitution or integrating by partial fractions, etc. You could arrive at these techniques on your own, but that is a lot of trial-and-error, deep understanding of theory, and applying it, which all takes a huge amount of time. Meanwhile, previous mathematicians figured this out and we get to benefit from their work. ;)

Maybe your instructor didn't present it well - plopping out the answer without a good enough explanation of the technique, why it works, etc.

comment 10y ago · link · parent

Not taking sides here, but this view is fine as long as everything is explicitly detailed in unambiguous language.

For example, the 4th Amendment protects against "unreasonable" search and seizure. There is a lot of leeway in what is or isn't reasonable.

If you believe in the system you should be glad it is going to the courts - it is the job of the judicial branch to interpret the law. And however it comes out will be a precedent for the future.

comment 10y ago · link · parent

I've got a bunch I like, here are some of my favorites:

Itanium processor overview (series) https://blogs.msdn.microsoft.com/oldnewthing/20150727-00/?p=...

Lock-free algorithms (series) https://blogs.msdn.microsoft.com/oldnewthing/20110405-00/?p=...

Undefined behavior (also see John Regehr's posts on this): https://blogs.msdn.microsoft.com/oldnewthing/20140627-00/?p=...

Windows debugging specifics:

Rescue broken stack trace: https://blogs.msdn.microsoft.com/oldnewthing/20110309-00/?p=...

Underlying object behind COM pointer: https://blogs.msdn.microsoft.com/oldnewthing/20070424-00/?p=...

View stack of user-mode thread when kernel stack is paged out: https://blogs.msdn.microsoft.com/oldnewthing/20141114-00/?p=...

Identifying an object whose DLL is unloaded: https://blogs.msdn.microsoft.com/oldnewthing/20070425-00/?p=...

Raymond also posts "little programs" occasionally, which are great small examples of various Windows techniques.

comment 10y ago · link · parent

Midway down the page for SHGetFolderLocation is a remark that says this function is a wrapper for SHGetKnownFolderIDList, which seems to be the one to use.

comment 10y ago · link · parent

You're correct, I didn't recognize it. Thanks for pointing that out!

comment 10y ago · link · parent

When I was an undergrad and graduate EE student, the "go to" book to help with electromagnetics was Div, Grad, Curl, and all that (http://www.amazon.com/Div-Grad-Curl-All-That/dp/0393925161). Back in my era it was the 1st edition of the book, not the 4th.

I see another book with good recommendations, A Student's Guide to Maxwell's Equations (http://www.amazon.com/Students-Guide-Maxwells-Equations/dp/0...) but I have not read that one.

Div, Grad, Curl helped a bit, but what really made it click for me was an excellent professor some other EE math-class-in-disguise that explained those vector calc operations in terms of divergence (source density) and flux (change in time/space).

As far as understanding the linked paper, I can't follow the proof either. Equations 1-4 I've never seen, 5-8 are Maxwell's Equations which are familiar but we wrote them with different notation, 9-18 are again equations I've never seen. The meat of the proof in 19-21 is built on 14 mystery equations and 4 that I recognize.

As a former EE I guess we didn't prove equations as much as take their existence as given and then figured out what that implied for the real world. ;) Other posters aroberge and wraithm have mentioned also needing QM from physics to follow the proof, which must be where the other equations are from!

comment 10y ago · link · parent

>Power companies are responsible for their own infrastructure.

How exactly do you build infrastructure without government powers such as eminent domain, or without inserting easements for utility access?

A libertarian landowner could simply refuse to allow utility lines to cross their property and thus cutoff others from access, or require expensive routing around their property. Roads, power/sewer/water/gas lines, phone/cable/data - all would be at the whim of landowners large and small as to whether it would even exist.

There is no realistic way for a private company to negotiate access between them and every single landowner they'd need to in order to build infrastructure that serves a sizeable population. Hence government "coercion" is required.

comment 10y ago · link · parent

>From what I remember, suicides account for almost half of all deaths due to guns.

The article says "Today, suicides account for roughly two out of every three gun deaths."

comment 10y ago · link · parent

>At my (now closed) local B&N, it was a Starbucks.

It was probably a Branded Solutions Food Service store (http://www.starbucks.com/business the Food Service option, not a Licensed Store or Starbuck Office Coffee delivery service) that served Starbucks brands from the "We Proudly Serve Starbucks Coffee" portfolio.

Or it may have been a real store (licensed); I can't say for certain.

The B&N I live near also has a "Starbucks" inside it, except it is actually one of the food service branded stores on closer inspection. It doesn't take the Starbucks app or giftcards, small signs with the prominent mermaid logo have the smaller "We Proudly Serve" print instead of "Starbucks", etc.

I think the Starbucks that are inside Target stores are also these sorts of arrangements.

comment 11y ago · link · parent

Ah, gotcha.

I haven't played in a while so I'm out of touch as far as figuring out what changes are significant.

I looked over their development page (http://bay12games.com/dwarves/dev.html) and can't figure out if what's listed as upcoming (job prioritization? taverns? non-player artifcats?) will be major as far game play.

They do list work related to "starting scenarios for your fortresses" which touches a bunch of other subsystems - maybe that will be a large and noticeable change.

comment 11y ago · link · parent

>A "dot release" (who really cares about numbering schemes?)

DF numbers its releases differently than most software. The developers made a list of features ("core components") they would like to implement and the version number increases for each one finished.

So a "dot release" for DF means a significant new subsystem was added. v0.42.1 translates to 42 core components implemented, 1 minor release. The leading 0 means "less than 100 core components finished".

comment 11y ago · link · parent

>I'm sometimes a bit sceptical giving money to friends

I'm a runner/biker and I know dozens of people that do these charity events. I even went to an informational session for one, since I was thinking about it... the way these charity events generally work, at least here in U.S. (not sure about that particular event in Australia and the fundraising requirement it imposes) is that the participant is required to raise a minimum of 3X the amount of the expenses for doing the event.

So for example, if the hotel/airfare, event registration, and other misc training costs (generally this is water/snacks for group training on the weekends, e.g. the classic long run on a Sat morning for marathon training) are roughly $1000, then the participant will be asked to raise $4000. And of that $4000, $1000 goes to letting them do the event and $3000 goes to the charity.

That was for the one I went to, not to name it specifically however it was a marathon in a foreign country. So airfare and hotel and the pasta meal the night before. A local event won't need so much diverted so the fundraising burden will be much lower. I've done local charity events which only required $250 (no fancy travel or lodging), so rather than bug all my friends I just wrote a check and submitted a matching form from my employer!

So on the one hand, if your goal is to donate to the charity, you are better off giving money directly. But that's true of most fundraising situations as well.

On the other hand, if you view the expense as the cost of getting donors, maybe that is reasonable. A mildly obscure disease might not have a better way of attracting donations other than aligning with a sports event. I'm just speculating here since the specifics probably vary hugely and I have zero experience on the race director side of the registration table or with the fundraising side of a charity. ;)

Basically, I can understand your skepticism - your donation money is more effectively used directly to the charity or on people doing local events. If the goal event involves travel and hotels, then a chunk of the money raised by the participant goes towards them doing the event.

1234