jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I would call using the first example good programming and not an optimization. Anytime a loop is involved it is simply good practice to limit calling anything multiple times unless absolutely necessary.

A second reason the first is better is that it clearly conveys to the next programmer that there is no intention for myString to change length during the running of the loop. If I came across the second example I would wonder if the length of myString was changing in the loop.
Yeah, the fare multipliers are already dynamic and NYE's riders got a good deal. The issue is that we've had some highly-noticed surge pricing stories so all of the customers figured "oh yeah, it's going to be horrible surge pricing again and I'm going to be stranded at the FOO Bar after they close." So people changed their plans to either include a DD, use public transit, use traditional taxis, or go somewhere within walking distance.

Me and my friends stayed in and drank board games and played tequila.
That would be very interesting to watch (albeit a bit annoying for the people trying to chat)
Perhaps another 10 years from now, rogue AI will be the primary opponent, making the pro hackers of today look like the script kiddies.
"users" will grab the binary and be done.
> the market will keep rewarding "charismatic" and well-connected individuals with shitty-ideas and/or no business sense.

VCs need to make money first and foremost. I doubt they care about one Theranos out of every 1000 or even 100 companies they invest in (I refuse to compare Theranos and WeWork).

The idea that you invest in the team appears to be a winning strategy considering historical returns. So the question is, why would they change this?
Thanks for the comment. My summary of the conversation so far at http://www.talesfromthe.net/jon/?p=2091&cpage=1#comment-...
There is no void, TextMate 1 didn't go anywhere.
While this is great news, does it really belong on hacker news?
Unfortunately, not. Wine isn't that good, yet. E.g. .net stuff often doesn't run.
Increasing employee pay is a bandaid on the real problem. Googlers think there are more interesting places to work. Not even a pay-raise, or a free massage can change that.
I have a (2 year old) Vaio VGN-Z11WN and it was a bit of a nightmare to get Linux to install correctly on it. The main problem was the Stamina/Speed graphics switch, which is a software switch in this model, where as previously it used to be a hardware switch.

I joined the Launchpad group for the Z-series: https://launchpad.net/~sony-vaio-z-series which helped a lot, but there were still things like the microphone not working etc.

I have tried Ubuntus Jaunty, Karmic and Lucid on there with mixed results - karmic for some reason was the best. Fedora 13 installed perfectly (excluding the speed/stamina switch) but then I ended up in dependency hell!

Because of the trouble I have had with getting Linux onto this machine, I don't think I am going to get another Vaio.

My main desktop runs Arch, but I didn't even dare go there on the Vaio!

I would be very interested to hear how you get on. Good luck.
If there were a poker game in the virtual world, would that be legal in the US? Would it depend on whether the currency was convertible to real money? If so, would there be a threshold rate of exchange at which it is legal vs. illegal?
It'll be interesting to see how much people will hold their iPhones closer when wanting to see something small rather than zooming in.
Pricing is a required signal for me to understand if the product is even worth the time to try. I don't want to spend hours or more tinkering and then find out the pricing is bonkers.

Seeing "coming soon" and "enterprise" on the pricing page is a guaranteed pass from me (but not a permanent one).
http://unixwiz.net/techtips/be-consultant.html
I would say two naked person (no matter the gender) in sexual activities I think could be filled under "no porn" in Apple's TOS.
I disagree.

When I had an iPhone I'd often accidentally select text when I didn't want to. It was not reliable what it was going to do. Is it going to scroll this time, or think I'm selecting text?

From what I've experienced of android in the last few weeks since I switched, I like it. It seems solid and reliable. There's no ambiguity there. I click 'select text', select some, then go some place else and paste it. It's easy.

I love how you hold your finger down some place to get a contextual menu... then just select paste. I'm not sure how you could make it any easier TBH.

So FWIW, I much prefer Android copy+paste.
without multitasking copy/paste is much less useful

Really? I use copy/paste all the time on both my iPhone and iPad, and iOS 4 is still in the future.
Courtesy Yahoo??
If you gave me a metric, that could show me that you saved me money, I would sign up for it in a heart beat. Granted that is only anecdotal evidence from one individual, but I have been a senior executive in several companies some of them fortune 500 so, I would assume that there are a few more like me. Further, putting on my start-up hat, you are offering me a service for free if it does not work and less cost if it does. Reducing my cost as a start-up decision maker is always going to get an open ear.
PoS and MobileCoin validator nodes use about the same amount of electricity.

I'm not a fan of PoS because it looks like a ponzie scheme (unless it's done like eth where initial distribution is done via mining)

This is actually worse than PoS, because PoS uses standard public key cryptographic to validate ownership of coin in the chain to stake, it at least in theory can achieve "trustless" validation.

This on the other hand is just a shitty attempt to outsource database maintenance to untrusted 3rd parties, using SGX, while forcing them to pay for S3 hosting because they can't implement a DHT to do proper decentralized file transfers.
Check out the videos from https://startupschool.org

Launch repeatedly and talk to users
> I worked on the IBM COBOL compiler in a past life. It's not LLVM based; the optimizer and code generator are derived from J9, the IBM JVM.

Does it have anything in common with XL C? Does it use W code as an intermediate language?

And what language is it written in? (PL/X? PL.8? C/C++?)
>Society. Don't like it, pick a new society like the two commenters you responded to you are considering.

Society changes, get over it. These changes are going to ruin platforms and people will dislike it and move to other platforms, yet they will still be in the same society.

>The justice system is purposely setup in a way to make it difficult to punish people. This is good. We don't want the government throwing people in jail with flimsily excuses.

This is literally what happens all day every day in the justice system which is nothing more than a formalized social shunning process that requires fewer people to ruin your life and profit off of it indirectly.
>Also feels like people adopt tools and cobble shit together from google/SO, what happened to RTFM.

I find that documentation has gotten worse and harder to find. It used to be trivial to find and long to read. Now, between SO and SEO of pages designed to bring people in, it's 95% examples not enough "here's all the data about how x works". It's very easy to get a thing going, but very hard to understand all the things that can be done.
I'm an influencer, let me live here rent-free.
Didn't know Robert Mercer browsed HN
Disagree. Taxing wealth is purely about stealing savings. The only thing that should be taxed is non-essential consumption.
>and to a lesser extent, his father who seemed to be a nobody before taking over Francia

Pepin of Heristal was the most powerful man of Austrasia, from one of the most powerful families in the Frankish world (descended from Rhenan Frankish royalty). His ancestry includes extremely prestigious bishops and lords.

There's nothing about him that screams "nobody".
If you manage a website like this, I implore you to spend an hour and think about someones first-time experience when they land on your site.

- The logo goes to the homepage

- the "gpl-violations.org" link goes to the homepage

- the page title goes to the homepage

- About describes the goal of the project and who's behind it, but not how to access the project... or if that's even a thing.

- The GPL page lists the GPL itself

- FAQ has a drop down... for four pages that I don't have the context to pick from? Who is this site for? The categories also aren't the same. Some are people (Vendors) others are topics (Legal).

Beyond reading those pages, as an individual landing on the page I'm exhausted at trying to find out what gpl-violations.org does.

> The gpl-violations.org project tries to raise public awareness about past and present infringing use(r)s of GPL licensed software.

Yes, but _what do you do_? Email people? Run marketing campaigns?

> The project wants to act as information and communication platform between all parties involved with licensing of free software

Where is this platform? How do I access it? Is your selling point acting as a liaison? If so, why would you not put a big "contact us" button front and center?

Look, I get that you might not want to design your site to look like a brand-new Bay Area SaaS. I don't want you to do what you don't want! I just want you to think about how to best provide info to the people who visit your website (and who might want to join your cause). And, so far, this ain't it!
They do not pay taxes in Australia but they use Australia's infrastructure to collect the data they need on Australians.
Right, but the "get new key" bit means that your accounts are in a vulnerable state while you're getting the new key.

If you have two independent keys, and you learn that your backup key is compromised, you immediately revoke it with all services, and order a new one. When the new one arrives, it becomes your new backup, and you enroll that in everything. Your vulnerability to an attacker ends immediately after you find that your backup key has been stolen and you revoke it.

If you have two identical keys, and you learn your backup key is compromised, you order a new one (or pair, rather), but you can't revoke the old key until the new one arrives, when and you can (simultaneously) revoke the old and enroll the new.
>Canonical never said "oh the salesperson wasn't supposed to market to you with this information"

Canonical never said "oh the salesperson shouldn't have had this information".

There's only one way they could have used it.
I was asked to document old code, which someone else had taken over before leaving and removed the framework standards while I was on another project. They renamed every file index.js,and now the cli tools don't work.
> The author takes pains to describe how the lossiness of MP3 encoding is audible.

> Its biases are simply acknowledged and plainly described.

Not at all. The author attempts to show the residue of white/pink/brown noise and of a couple of famous test clips (the ones that could be labelled as European). The author makes no attempt to compare or show that MP3 has worse artifacts on non-European music. Great job there. That's why I find the racial accusation to be out of place.

I should note that I've done subtractive analysis of MP3 and Vorbis before, so I've seen the results of my test samples as well. Briefly, I found that MP3 has more tonal residue, whereas Vorbis sounds more like noise. The post-masking residue on Vorbis is stronger.
Agreed; people should learn to play the game.
Well, changing perspective, it's all good.

What I mean, changes in reasoning on drugs are largely glitches, reasoning mistakes due to wrong logical connections and associations between things, which are not really associate. It's like a delirium.

But because drugs also induce euphoria, people think their conclusions and insights are great breakthroughs, new vision, etc.

Actually, when they try to record these new ideas, and try to develop it further later, they find that the ideas are just shallow and based on some mistakes.
Why do we have to wait for anecdotal reports? There are numerous people who have followed this diet for decades in the US, but more importantly, there are entire tribes of humans who have eaten carnivorous diets for thousands of years. How much plant-based foods do you think the average Inuit consumes?
A little off topic. Why is it not politically correct to name new pathogens (COVID-19) after country of origin, but's fine to name variants by country of origin?
I'm surprised the article doesn't manage to discuss how brazil's leadership messed up big time by insisting in treating this like a flu.

Also, Chile has a ton of vaccines, but they are not the same distribution as, say, the US or the UK: there seem to be a ton of Sinovac, and I'm not sure it's as effective as some other vaccines at stopping by transmission or hospitalizations.
Amazon needs a lot of software engineers and needs them more than any individual SWE needs Amazon, no matter what their market cap is.
It's far harder to communicate subtlety to a bunch of people in the back of a theater

actually it's a different job. you use your body in space to communicate. nobody sees clearly your face expressions unless accentuated by dramatic lighting. it's a team work. your own personal performance is a team work.
It's either done with taxes using money as a unit of account or let the hatred build up and let the chips fall where it may.
Until there is a bank that can credibly hold onto BitCoin deposits, these sorts of things are going to hinder further the viability and credibility of BitCoin as a mechanism of transaction (Mt Gox seems to have done a ton of damage). As of right now, it seems it's very hard for BTC to be stored safely at a stable price, and keeping your money in a world currency seems like a better investment, for now. I know my sentiments are going to be unpopular with some BTC champions, but as an observer with no BTC, I am wary of using BTC. Just my .02 BTC.
If their hot wallet is out of commission, they have nowhere to send withdrawals from, so it makes sense from that angle.

They're definitely communicating poorly, though.
Yahoo also has a competent SSO that was well integrated across products.
I consider myself a strong software developer, and let me tell you: if someone is acting like a dick now, it won't matter if you're on the same level as them or not. So long as you're treating them with courtesy, respect, and keeping communication open, if they're not treating you the same in kind then that is their shortcoming.

To your #3, while I'm confident in my abilities, I don't think truly excellent developers have rotten attitudes. Someone who thinks they're perfect already will stagnate. Personally I _want_ to look for rooms where I'll be the dumbest person there. It's how I grow as a developer.
I am interested to see how your relationship goes with Pastebin given that your product directly competes with their revenue model.
Become the manager!
Roulette players also have the ability to be selective. You just put your money on the number/color that is going to be successful, and then you have much better odds than someone who didn't put money on the one that will be successful.
I hope this can help Twitter. It at least feels like one of those things that seems to be much more compatible with the immediacy of the Twitter culture than the Facebook one.
I think it's dangerous to make friends with the neighbors wherever you live because you can't easily get away from them if you end up having problems.
How does Racket stack up against Clojure? I like some of the special extended reader support for data structures, I dig the immutability, some of the concurrency stuff....I don't think immutability/concurrency is that typical for LISPs...for people who've tried both, which one do you prefer?
The presidential motorcade travels with the president in his own country, remember.
From my perspective, the main objection you have toward this is that you do not find value in what this is. I assure you that I, and many others do. Are we all wrong? Are practical (in that they exist and work, today) solutions that solve others peoples problems wrong because you do not understand them?

I encourage you to let go of your preconceived notions and spend a few hours, days, months or years reading and experiencing it. Contribute code. Build something with it. Earn it. Spend it.

"My argument" Try this new novel technology, it solves problems for me, and many others. Its unlike anything we have seen before. Its a whole new field that is complex and touches on elements of game theory, economics, computer science and sociology. It's been working without fail for 12 years, with many years of innovation ahead. No signs of stopping, and captivating some of the best minds of our time. As it evolves, we learn more about ourselves and the nature of the things we build.

"Counter Argument": Nobody needs it. It doesn't work. It uses too much energy. You are wrong about all the things you have experience with. I do not have the imagination to see how this is useful to anyone. Existing things are better.

Cool dude.

re: calibrate. Check the certificate or the TLS connection to this website -- you may notice that SHA256 is used for certificate public key hashing/message authentication as a cryptoprimitive in the x509 encoding and ciphersuites. I encourage you to think of a thought exercise where a practical security metric of this cryptoprimitive might be useful and to whom.

I don't think we can convince each other of our positions.
Tedious ideological warfare is off topic on Hacker News. Please don't do this here.

We detached this subthread from https://news.ycombinator.com/item?id=10944750 and marked it off-topic.
Tedious ideological warfare is off topic on Hacker News. Please don't do this here.

We detached this subthread from https://news.ycombinator.com/item?id=10945033 and marked it off-topic.
Don't checked luggage go through bomb detection and the like? Actually I'd be inclined to believe they go through even more rigorous checks than people and their carry-on luggage. iirc, they're stored in bomb-resistant containers inside of aircraft, too, ever since a bombing with a bomb in checked luggage some time ago (80's, I think)
No, because the library needs to buy one for each thing a person has out at a time, and they eventually wear out, and you have to wait in a queue to get it instead of getting it right away, and a zillion other extremely obvious objections.
http://www.emacswiki.org/emacs/FootSwitches
It's been less than a day, do these lawsuits happen and resolve within 24hr?
I can do it on Preview if I try hard enough, the idea is that it shouldn't be a hassle.

If you look at my original post, I say that Preview is very powerful but hard to use.
Yup, thats true. Not a year goes by where I don't wonder if I should move, but as others have pointed out, the Bay Area is pretty fantastic. I don't even know where I would go...
Previous discussions from a few days ago:

https://news.ycombinator.com/item?id=8838465

https://news.ycombinator.com/item?id=8794033
The comment I was responding to indicated the opposite.
The wording of the article seemed unclear to me. You can have employees who are on contract. E.g. most public school teachers in America are on contract and full time employees of the school district. Most employment in the US is at-will and not on contract, though.
In order to be a free country there must be freedom, even if you don't like what other people say. This is a dangerous precedent.

We are rapidly getting to the point where elections are not based on merit of candidates but by what the media says and allows to be said.

Having a free press and allowing citizens to be heard becomes crucial to a functioning democracy.

That being said, I'm also in favor of letting companies have freedom to run their companies as they see fit as long as it is legal and moral. But this decision by YouTube saddens me.

If the media didn't keep censoring and banning people I doubt the Capitol would have been stormed. When you take away people's ability to be heard, debate, and participate in democracy, people feel they have nothing to lose. Recent events are the consequence.
Interesting take. Yeah, we want to help people build spaces that they can feel connected to. Creating a "vibe" is underrated online.
I dont have a working 5.25" or 8" floppy drive anymore; I wouldn't trust the 3.5" i have.

imo floppy drives found in the field today, if working at all, are likely to only speak to themselves and not share media with another drive due to age and alignment issues. maybe one could detune a new drive to match an older ones quirks if necessary.

I think the better approach is to treat reading the media as a one time recovery and then emulate the drive electrically; if you're working with an actual 5" disk somewhere. IIRC there's arduino boards that pretend to be a floppy drive and serve sd card images.
Again, you're talking about what might happen. If something goes wrong you address the problem. Your argument could be applied to any law: "We can't let towns and counties and states to set speeding limits! If they do, the next thing you know they'll limit things to 40 mph, and after a while 30 mph. And poof! One day you'll wake up and over 5 mph would get you a speeding ticket!"
Honest question, by that logic, do you think Charles Manson was wrongly imprisoned?
I have worked with UDC. Both stacking shelves and cataloguing. Its the peak of classification systems in my biased opinion.

It gives a lot of power in organizing a collection to local needs and specifications. The class numbers can be made ridiculous specific if needed, a good trait for academic collections that can usually be very subject insular. When you get a feel for the system you get an whole other insight when browse shelves. Need to find books about Italian law? Go look where 340-350 is shelved and grab the books with (45) on their back. Upon getting a request from a user, without looking anything up, you can interpret the subjects of the request and often walk right up the books that'll satisfy the user.

That said it takes effort and training to use, and applying it to an existing collection - instead of building one UDC from the start - is a mammoth task no one is willing to waste man hours on. Time is moving on and library classification schemes are a dying tech.