jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
This is a great exercise of how to take a Unix command line and iteratively optimize it with advanced use of awk.

In that spirit, one can optimize the xargs mawk invocation by 1) Getting rid of string-manipulation function calls (which are slow in awk), 2) using regular expressions in the pattern expression (which allows awk to short-circuit the evaluation of lines), and 3) avoiding use of field variables like $1, and $2, which allows the mawk virtual machine to avoid implicit field splitting. A bonus is that you end up with an awk script which is more idiomatic:

mawk '
/^\[Result "1\/2-1\/2"\]/ { draw++ }
/^\[Result "1-0"\]/ { white++ }
/^\[Result "0-1"\]/ { black++ }

END { print white, black, draw }'

Notice that I got rid of the printing out of the intermediate totals per file. Since we are only tabulating the final total, we can modify the 'reduce' mawk invocation to be as follows:

mawk '
{games += ($1+$2+$3); white += $1; black += $2; draw += $3}
END { print games, white, black, draw }'

Making the bottle-neck data stream thinner always helps with overall throughput.
With a Core i7, I wasn't expecting the simulation to run so slow, even at the lowest settings.. Maybe Firefox on RHEL 6 isn't the optimal platform for this little toy?

--edit: it runs much, much faster on Firefox with Windows 8.1. Not a Core i7, but an AMD 8-core thing. Must be Firefox on Linux's implementation, unless it's a video card/driver thing.
Did you give a talk in Cambridge a few years ago? I went to a Zynamics talk and it was absolutely fascinating - really cool stuff you guys did.
This is nothing new has been going on for decades.
"In the United States, e-books are less expensive. Students will say, “I’d like to have the print version, but the electronic version is so much less expensive.” But if you buy a book used, the publisher and the author are not getting any money but they are getting another reader and they’re not cutting another tree. And the cost is less. And if it goes to a third generation the cost is really less."

That's a nice sentiment but there were a bunch of books in college that purposely changed portions from year to year to kill to resale market. Some profs were cool and researched what sections/questions would be so that you could use one of the 3 editions available but others didn't care.

I was happy to get all some of my books in digital form in grad school. Preparing for finals was so much easier.
No, but you could purchase a $10,000 plate at his next fundraiser and he may just tell you, like he told the donors at the last fundraiser before the crash.
https://news.ycombinator.com/item?id=22666681
Sounds good. I had assumed you were heading in this direction. The approach was something Duncan and I wanted to try in 2007/2008 but we didn't have resources at the time. Now the infrastructure is there, automatically identifying stable sets, tagging and releasing them is a good step. If you can get to the point of computing the next HP set in the same fashion, that will be a big win for stability.
ClojureDart co-author here. It happens in Dart too. Some changes are not compatible with the current application state. It may occur a bit more frequently because of Clojure being less stringent than dart about giving names to everything (which is tedious but definitely helps with hotreloading).
And the parent commenter mentioned that they usually get a taxi from the airport at least (because it's right there I guess, there are strict special regulations about how german taxis wait at the airport to make things go smoothly), so... Another other reason to take one is when you're so far outside and at a time of day that public transport is spotty.
I've been following this and there's been a lot of activity there lately. Let's hope we get it before its 25th anniversary.
Finally, an uplifting story about software.
As someone who's been in working and failing long distance relationships, I'm not sure they are a good comparison.

The issue in LDRs is mostly lack of intimacy these days, since you can easily be connected all the time.

I'm not sure you would need this from someone in sales from company X.

As you say the problem would be _building_ relationships, which is different from _maintaining_ them.

People have been leaving their parents' place for a very long time, but this rarely means become estranged, because the relationship is already there, and it's not that hard to maintain.
Not quite the same but reminds me a lot of the Commanche JS demake called VoxelSpace: https://github.com/s-macke/VoxelSpace
Do you fill postgres with 100MB+ blobs?

You'd do the same "hack" there.
On the pricing page, there is a typo under the "Custom" pricing panel.

It says "Increased domain limiut".

I assume you meant "Increased domain limit".

https://www.weweb.io/pricing/
> Easier to just spray the money & acquisition cannon around indiscriminately.

Apple does nothing, especially anything involving money, indiscriminately.
In my experience, babies will get enough sleep one way or another, with or without "sleep training", though it may not be on a consistent or convenient schedule.

Parents can easily get enough sleep as well. It's called "sleeping when the baby sleeps". Infants sleep like 15 hours per day, so it isn't hard. You just can't conform to any kind of a schedule--that's the tradeoff, not getting enough sleep.
dang: there are several informative polite posts on this sub thread voted down to oblivion, perhaps brigaded? These are legitimate ideas, important to the conversation.
It was at $168 at the close of extended hours... who knows where it'll go tomorrow.
I would assume they would raise prices so margins stay similar, though I don't know if that's been experimented with.

Even if it does mean less restaurants and less eating out, there is nothing inherently more unfair about it.
I figured out freelancing somewhat organically, around the end of my first year of college, while getting a haircut. The guy giving me the haircut turned out to be the store owner, and we talked for a bit about how you can host your business phone in the cloud. A couple days later I had a simple Java applet making API calls to Twilio (it was my first year of college, I didn't know better ways to do it back then). He loved it - he could set it to remind his repeat customers to come in for a haircut at the frequency of their choosing.

My favorite thing about that project is how simple it was and how little time it took. For a shitty Java UI that improved his ability to do business, I got a couple hundred bucks and free haircuts for life.

After that, whenever I walked into a pizza place or burrito place or whatever, I asked the store owner if there's any way I can help them improve their efficiency or web presence. In my head it felt like I'd get a resounding "fuck off" from all of them, but in reality small business owners are wonderful people who love talking about how to improve their business. Small business owners who are hostile towards random people asking them stuff usually don't stay in business for very long.

By the end of college, there were three places I could go to get a free pizza, and I hadn't paid for a haircut in three years. By the way, one of those pizza store owners had a cousin who worked in a small private lending company. I set up a Python library for him to scrape data from this ancient silo of data and graph it - that was the first job that paid really well.

The key is to realize that being a good designer and engineer is like being a superhero in today's world. You do something that nobody else can - take advantage of it while it's still relatively rare.
I think hq4x is the best. Microsoft's curves too much - and while it can look good/stylized for some pieces, it's ultimately inaccurate and warps many of the pieces from their original form.
That is a publisher and advertiser problem as they did not create an ad relevant and/or engaging enough.

With retargeting ads this days it becomes easier to show relevant and targeted ads.

Actually most HN-ers are leaving huge money on the table right now for not using the highest ROI ad channel - retargeting.
Correct me if I'm wrong as I always used a pre-paid phone on an MVNO prior to switching to T-Mobile after they started their reforms, but my understanding was that cell-phone companies would typically have something like:

PAYMENT = PRICE_OF_SERVICE + (PRICE_OF_PHONE / CONTRACT_DURATION)

I know this is a "naive implementation", but the problem is they would never take off the charge for the phone even after one had paid it off and that they didn't tend to have transparent billing so you wouldn't really know if/when you had.
aaaand... it's gone.

It's too "political", not enough technology, and from dubious sources. Unlike, say, some blogpost complaining that civilisation is being threatened by people no longer being allowed to be racist in peace: https://news.ycombinator.com/item?id=25011757
History in the making right here. This[1] might be an early contender for image of the year

[1]https://twitter.com/igorbobic/status/1346906369232920576/pho...
As does C, Ruby...
Mostly because Netflix has very high compensation for senior engineers.
Police are standing back and standing by.

https://twitter.com/jazmineulloa/status/1346898566703435779

https://twitter.com/igorbobic/status/1346902299466203145

https://twitter.com/bubbaprog/status/1346920198461419520
Where's the tear gas and rubber bullets? Where is the national guard? There was more police response for a fscking photo op!
Let me paraphrase the original comment to make my next question easier to answer:

Effective software engineering in a business context requires awareness of business needs.

Which part of that is “bashing and shit talking”?
Actually, both the question asker and answerer can choose to be anonymous.

As far as I know though, you cannot ask anonymously and then answer the same question publicly.

Also, note that you cannot comment on questions and answers if you are anonymous (unless you are the person who originally asked the question or its your anonymous answer)
It is mentioned that volume matters, but I am saying that this conclusion is wrong:

"The bodybuilders had lots of opportunities to experiment and tinker, with lots of skin in the game, but they were still getting things pretty wrong..."

All they did was mistakenly attribute success to short rest periods when it was actually about volume.
Fast alternative:

https://github.com/89z/mech
Using two hands for key combinations is step one to avoiding RSI.

If you need to keep your hands on the mouse (for example, CAD or video editing) then get a keyboard with programmable macro keys, or a separate macro pad.

For example, a Kinesis Freestyle Pro, or a Koolertron.
> Manual QA promotes bad habits and is not a great thing to introduce to an org

Interactive software, and very interactive software like games, absolutely requires good manual QA. There's a lot of interactive software out there.
Have a lot of money, be privileged to work with lots of very smart people, and spend a lot of time learning from the sound of this article.

I'm always super-suspicious when I hear someone's brilliance described in anecdotes. Some people are better at promoting themselves than others. So perhaps judge him only by his published work and not his reputation.
Yes, and I think that should be illegal.

My point is that it would be more productive to focus on fixing the system than just getting angry at companies for "cheating".
It's intriguing seeing how often we reach for metaphors when trying to define software engineering. Some say it's like music, others like painting, the crafts and so on. What often gets overlooked is that those areas are thoroughly anchored in the physical and sensorial world - one perceives their work and usually physically interacts with it.

For software, one sits most of the time in front of a glowing screen and the rest is drawing boxes and text on paper/whiteboards (plus meetings). Certainly doesn't sound as glamorous and one is left with imagining their work most of the time.
That's why such comparisons fall flat and at least to me it seems that an attempt is being made at rubbing some "cool" on something that is typically perceived as uncool and for a regular human looks mind-numbingly boring.

So programming's not hard because it's like <arts/crafts>, but because it's abstract and mechanical and emotionless. It's an acquired taste which needs fertile ground to develop in, when most people understandably don't have that, not even for a simple stack of JS, HTML and CSS.
I originally registered Spotify because of the recommendations, but it feels like YouTube is just much more spot on. Maybe it's time to switch.
This should not come as a surprise to anyone and I think it's fairly easy to show this link, too. Whenever I'm asked what the best part of living in my country is, I unhesitatingly answer "low corruption". It is the source from which all other nice things flow.
> Seems like a niche product.

It probably is, and that is just fine. As long as enough of us value being able to use Ruby they'll do ok. Not everything needs to aim to become a unicorn.
Projects like Sheepdog should definitely kill off SANs and RAID. It can't come soon enough, as the post says, current performance in the cloud for storage is so variable. I moved away from EC2 for exactly this reason.
I say this every time someone comments with very slow Fx startups, and I know this isn’t the elegant way to fix the problem, but 30 secs to start a browser is broken behaviour. Have you tried creating a new Firefox profile?

http://support.mozilla.com/en-US/kb/Managing+profiles
You can "disprove" the Pythagorean equation the same way, by taking the limit of the Manhattan distance between two points as the grid size approaches zero. It approaches d_x + d_y, not sqrt(d_x^2 + d_y^2).
Yes agreed, distributed block storage is definitely the future. Nice to see Linux pioneering this too.
For any given n, all the points of the "right angled fractal beast" lie within some distance epsilon(n) of the circle. As n increases, epsilon(n) approaches zero, so in the limit, you have a circle, and at every step along the way, the length is 4. It's just that the length of the resulting shape isn't the limit of the lengths of the sequence of shapes.
The easiest way to informally prove that the demonstration is false is to imagine starting with a circle in a triangle instead of a circle in a square. Or with any other weird shape around the circle and follow the same "cutting" algorithm to infinity. This way you can prove that pi is equal to anything greater than pi.
For most courses the exams don't stray far from what's already been asked before. Competition between universities has made this problem a lot worse. Students choose courses with high pass rates and favorable grade ratios.
Could you share your resources, please?
The question doesn't particularly make sense because iOS apps can't exec.
That approach wouldn't work out of the box; it sees text for the first 256 tokens and images for the following 1024 tokens, and tries to predict the same. It likely would not have much to go on if you gave it the 1024 tokens for the image and then 256 for the text later since it doesn't have much of a basis.

A network optimizing for both use cases (e.g. the training set is half 256 + 1024, half 1024 + 256) would likely be worse than a model optimizing for one of the use cases, but then again models like T5 argue against it.
January shows 99.71% uptime now.
Leave.

Speaking only of your situation, your company isn’t going to appropriately comp you for the on call burden, and they’re going to string you along (“we’re working on it”) as long as they can. If you stay, you will continue to suffer, and unless your comp is exceptional, it doesn’t appear to be worth it.

They might change after enough folks burn out and/or leave, but that’s not within your control. Your quality of life is within your control.
If I remember correctly Windows on ARM is still limited to 32bit Apps.

And you can actually download Windows on ARM from Microsoft Insider Preview for Free. And run it on top of Parallels Desktop 16.
Is it looking to the future, or having a consumer focus versus enterprise?

Consumers are fickle, and you have to be on top of the latest trends in GUI, service, products, business models.

Corporate customers tend to be stickier, and more resistant to change.

The A/G/A/F foursome are geared for consumers, and are suitably nimble. The others you listed aren't. The worst thing a company can do is try to be perfect for both types of customers.
http://www.tynan.com/living-in-a-small-rv-introduction/
I have a ton of hobbies that don't involve me making money- it's this new thing I've heard about called "work life balance". I highly recommend it.
I don't have access to a gym or the need to study paper notes at this time, or the money or the space to buy a treadmill, but I intend to get a treadmill desk when I get a real job.
Libraries and bookstores are different things. You may not see many private lending libraries outside of universities where there are public ones, but they used to flourish.
"We'd like to pay you for this but ..."
In the limit you do not have a circle.

If we write down area and perimeter error e_A and e_P as a function of n, in the limit of infinite n e_A is proportional to 1/n. However, e_P is independent of n, since the perimeter does not change at any step. Thus, if the perimeter was unequal to begin (clear by inspection), it does not get closer through this approximation.

The mistake is in accepting that anything that looks like a circle must be a circle. The fractal beast has area arbitrarily close to that of a circle, but it's clear once we look at e_A and e_P that it is not an approximation of its perimeter.
While I don't think the slice changes are particularly out of character for Go, its simplicity is in general somewhat superficial.

The type system is unsound and lacks power (although the interfaces are mostly nice), there are no generics (except for builtin collections), error handling is hard to compose (except in non-idiomatic ways), no real type inference (although single assignments are easier).

Its simplicity is not composable.
Awesome! I love that Chess 960 (aka Fischer Random) is a prominent choice.

It's a variant of chess where the back rank with all the pieces on it are in a random order (although the board is mirrored, so each side has their pieces in the same order).

My brother is a strong chess player, but eventually gave up the game because to improve he was having to spend more and more time memorizing opening lines. With chess 960 there are 960 different starting positions, so memorization doesn't help at all. I hope it gets more popular, it's a more purely strategic and tactical than standard chess.
At the risk of being down-voted, there is too much arrogance in the comments of this thread. I run into this constantly and I find it mind-blowing.

There is very little respect for the skills and talents of people in different disciplines. It's not just hackers beating on "Business People". It's accountants beating on marketers and hackers. Marketers beating on accountants and hackers. It's one big circle of disrespect.

I really don't understand it at all. Becoming an expert in any one of those disciplines takes a lot of time, effort and discipline. Why such little respect for your colleagues? Selling is hard, it takes a long time to be good at selling.

I'm a founder of a tech startup, have money, am in an incubator, launched a product with another major release on its way, and I've chosen to not hire several hackers because of this mentality. If they can't respect the skills of their co-workers then I don't think they'll be able to help build a winning company. It's a losing attitude - on a football team, imagine if the wide receivers decided to not join the huddle because they think the o-linemen and the QB don't do enough. In that case, though, their value seems obvious - to the outside observer, anyway.

The problem I find in my city isn't in finding the hackers, there are many places to find them. It's convincing them to try something beyond their comfortable day jobs. The good ones tend to have jobs that pay them well in which they don't want to leave and our universities teach the students to seek jobs at the big companies. So our pool is very small. The middle of Canada is also not really a tech hotbed, unfortunately.

I think we can all agree that success comes from excellent execution. This means excellence in _all_ areas. Engineering, sales, marketing, accounting, design, customer service, etc.

::Warning, Combative Tone Ahead::

To all the 'technical' people in the world: Being a superstar in sales, accounting, or marketing is just as hard as being a superstar in engineering. Stop belittling your colleagues, you're not going to win.

/combat stance

To the non-technical people: Check GitHub for technical people in your city and network with a bunch of the high level execs in the dev companies around your city. The world is a small place, they all know each other.
you could modify the reminder to send a text. They user selects a carrier and then enter phone number. As another option. US and/or Canada.

http://www.emailtextmessages.com/

you might also think about deleting the item once the message is sent.
Basically, some life events lead to inheritable changes. The mechanism is apparently methylation (or other similar changes) to the DNA. Why this is inheritable I do not understand.

One rather relevant example from a recent new scientist that, in rats, overweight dad rats had offspring who more likely to get diabetes.

I get the impression it's early days with all this stuff, but it's going to be interesting.

http://en.wikipedia.org/wiki/Epigenetics

http://www.sciencedaily.com/releases/2005/10/051026090636.ht...

http://ndt.oxfordjournals.org/content/24/4/1088.full
I do it, but only for annotating text, and then recalling it (sometimes by tags) on my Hypothesis profile: https://hypothes.is/users/pyxelr
With Eric Schmidt, history would suggest you're being naive.

He was on the Apple board until giving Google's Android division NDAed designs for iPhones, at which point Android phones lost the trackball, yes, trackball, and went full touchscreen. He was subsequently removed from Apple's board.
If I didn't know any better I'd say that document was produced with the explicit intent just to troll people:

1) On one hand the worksheet offers pretty solid common-sense math education advice;

2) but also, it peppers this with very odd unsubstantiated claims and accusations of "racism" and "white supremacy" that make no sense at all.

If you say "this is good math advice" then you're right, but if you say "this is piece of unsubstantiated nonsense" then you're also right.

I'm annoyed that the stupid "getting the right answer is racist"-line keeps coming up, as you said I think accuracy is important. But I'm also annoyed at the authors of that paper for covering good math advice in such weird muddled stuff that's easily open to misinterpretation.
So if it didn't lead to bullying in the classroom you would be in favor of having those questions in the math textbooks?
One little trick that works for me: read and listen at the same time.

I love books, I love reading, but my main struggle while reading was having to go back and read a few pages again and again when I caught myself lost in random thoughts. Sometimes it took quite a long time to finish a simple book because of this.

Most books today have and audiobook version. So just try both at the same time. It's less likely you'll get distracted and if you do, you can just catch up to what you have been listening.

But most important trick is to read things you like and that interest you. Don't force on books that aren't interesting just to say that you finished it.

I hope this helps.
But being incapable of providing for yourself and your family wouldn’t?