jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
For line (row) level locking, add handling to only allow one user to edit a particular line at a time.

For each user currently on the page, assign them a discreet palette color. Highlight the current line each user is on with their color to give indication to all other users what line everyone else is on/modifying.

Have a sidebar (collapsible/expandable) on the page that shows all given users on the current page, along with their personal color. This lets you associate live edits to a particular user. This would function much the same as using Google Docs (i.e. spreadsheets).

I shouldn't be able to hold backspace on the same line my collaborators are editing IMO. Another added bonus would be to do a very faint row level highlight to show where other contributors are. Lastly, just to show a list of the current page contributors.
>So with this in mind, would Jobs be wrong in stating that they don't track you? No he would be 100% accurate as a cache used to help save battery life isn't tracking you, its a cache.

You're taking the statement out of context. In context, the email was clearly asking about "passive location-tracking," i.e. the cache. If you have to take a statement out of context for it to be true, it is as I said, disingenuous to the point of being an outright fabrication.

Now, I do think Jobs was accurate in saying that Android does do similar caching, so I don't see why he would have (if this email is genuine, which I doubt) felt the need to falsely claim iOS doesn't.
History does indeed have a tendency to repeat itself, and if you go a little further back than the eighties you'll se that the way empires usually fall is by overreaching, and trying to control and colonise beyond their ability. In the end they implode.

America is clearly overreaching at the moment.
I like git a lot, but find that the more I hear about it, the more pitfalls I discover. The actual user interface often does not seem to have good defaults and just generally does things differently from how I expect.

So. I love that github is working to take you out of the command line. It is fabulous that they are working to make git easer to use at the same time as providing hosting space.
Birth rates decline as overall health and living standards increase. This is an empirical relationship (we've observed it but don't know the exact mechanisms), but it has been quite consistent in societies throughout the world for decades now.

This is the reason that the 1970s overpopulation doom scenarios never came to pass. And it is the reason that foundations today focus on improving health and living standards, rather than birth rates specifically.
> With Europe and a Biden presidency being pro-China,

Huh?
I believe WhatsApp used to charge a small fee a few years back.
As if web developers need a reason to make their websites slower.
You may not realize this, but China is also a serious threat to the US in multiple ways, cyber security included.
Ok right, read that now. So you’ve added further exceptions, like no monopolies, no cronyism, and even more exceptions could be added, for example no market externalities.

I feel like if we kept going with the exceptions to find a form of theoretical capitalism with no exploitation only mutual benefit from exchange we’d end in a weird, not really capitalist place.
If they can sell you a mac for $1500 I don't think they are very concerned that you're not spending 50 bucks a year on iCloud.

I mean, if they prevent Linux you probably won't buy a mac at all, you won't prioritise using an M1 macbook over using Linux if you're a hardcore Linux nerd.

Bottomline is that yes they are greedy, but they are not trying to stop people from installing Linux on macs just to perhaps earn some extra dollars.
Nearly all luxury brands have had lane keeping for years. Similar quality to what Tesla offers, just not marketed as broadly and typically not available on a model 3 kind of entry level. But at Tesla S price levels, all other manufacturers offer similar lane keeping and adaptive cruise capabilities.
That is the second largest hydroelectric dam is the world.

Pick the Netherlands instead for the comparison, which has similar consumption to Argentina.
> For these reason, they're going to oppose any new supply entering the market.

Nobody is opposed to new supply entering the market. The opposition is 100% about the devaluation of the area, which is not about the supply per se. If you wanted to build a block up with 500 units which had adequate parking and everyone's homes/land would increase in value 5%, you would have widespread support. The problem of density is solved with substandard buildings that cut corners, alongside the increased density in Southern California.
> [T]he US is far more progressive than eg Europe...

This post is the craziest collection of misconceptions and outright untruths I've read in... A very, very long time.
This is a dumb question, but I feel like maybe I'm failing to pick up on something with respect to the necessity of the count parameter. It doesn't seem like it should be necessary, but both 'butt' and your version here use it. What is it for?
Exactly, even if the documents weren't fucked up it would still have cost me $3500. The value in lawyers is smooth talking in court under pressure, you hire a lawyer so your decisions aren't based on emotion but rather objective advice as viewed through the law.
Except they almost all existed prior to the iPhone:

You can have a complete new feature without changing your phone

I had this with Windows Mobile seven years ago. Not as frequently as today's phones, but happened -- especially at transition points

You don't depend on your carrier in order to buy applications

That's a feature phone issue. As I noted before 3rd party app stores have existed for a long time. And for SmartPhones were the dominant way apps were purchased.

No crapware (sorry this advantage is available only on non-open devices)

If you go back far enough with smartphones they didn't have crapware either. Largely because the carriers hadn't developed any yet. But Apple did get rid of them for the newer generation of smartphones.

They opened the mobile development industry to indie and small developers

That was also the case with smartphones prior to the iPhone. Look at the apps on PalmOS and Windows Mobile. Most were written by small shops. And because of their deployment models there were a large number of enterprise apps written for them too. In fact in many ways the iPhone introduced Fortune 500 mobile apps. On WinMo and Palm you were a lot less likely to find Disneyland and Walmart apps as you are now with the iPhone.
External links tended to lag, but overall, not bad. One thing bugs me, though -- why did they use a power button symbol instead of a play symbol?
I either use a rich text file (that supports strikethrough) or TaskPaper - which is basically a text editor - depending on the context. The added complexity of most existing to-do list software doesn't pay off, for me.
Super-simple-summary:

Git doesn't use history to determine merge behavior (edit: in this circumstance). Git behaves like applying patches. Darcs uses the history to make "intelligent" patches.

It's a matter of taste. If you look at Git as having a history, therefore should use the history, yes, it's incorrect. But if you look at it as a patch manager, it's behaving as it should, and Darcs is frighteningly unpredictable - the numbers on the patch might not match the numbers of the lines it modifies.

I side with Git on this. I can generate patches from Git that will work anywhere, and use them 100% identically within Git as manually applying them. The same cannot be said for Darcs.
I've heard good things about IndoChino: http://www.indochino.com/ but I haven't tried them myself.
So, like http://www.asuitthatfits.com/ but for shirts not suits?

.. just seen that they also do shirts.
It's like sort of useful. In the old days, I would print my lab reports to the college printer from home (using smb based print spooling, which dates me, because smb over the internet was allowed then). You could also use cloudprint to send a document to a print shop before you got there; not the worst way to print things if you don't have a printer at home.
I'm glad to see this one go. When you want to print from one device in a room to another, sharing a copy of the data with Google's servers halfway across the country seems like an odd and privacy-concerning way to accomplish that.

I support relatives using Chromebooks and the old fashioned model is printing is much easier to explain and deal with! The wifi printers in my life never seem to maintain reliable connections over long time spans so we resort to using them as USB printers anyway.
I use it and it is very useful.

It allows to print documents even when you're not on your network.
Crazy thought, what if Android and/or ChromeOS is next? Android always seemed like another "charity" project that didn't directly generate profit (before Nexus/Pixel phones). Most of the value from Android is captured by Chinese phone manufacturers and carriers, not Alphabet.

Probably not a good idea to invest too much into the Android ecosystem tbh.
> If you are a drug dealer it is an occasion to hide your supply extra hard.

I suspect he did. Most likely the police planted the glass pipe that was found when searching for the tracking device so that they could obtain permission from the judge for the second search.
For some reason every once in a while Fastmail decides to interpret the shortcut for paste, Ctrl + V, as 'Send Mail' which has led to some curious exchanges (particularly early-on before i clicked what was happening (if not why)).
Learn to type.
It wouldn't be practical. The great advantage of the monorepo is that it encourages teams to use libraries from almost anywhere in the company. One disadvantage is that it makes splitting out those codebases almost impossible.
They haven't seized them outright maybe, but they are owned by Chinese citizens and carefully managed by the government,

The CEO and founder of Huawei is a member of the communist party, the government also requires a large staff of military intelligence workers.

Do not assume the strong distinction in the west between private entities and the government exists in China.

In China if you are of any real size whatsoever as a company, the government is either taking a role in things directly, or you are going to be forced out.
> “On the basis of the original fiber line, we utilized quantum key technology to give every message a unique encryption, and then transferred [the messages] through the traditional communication network,” said CHEN Yu’ao, a professor from the University of Science and Technology of China (USTC), and also Chief Designer of BSBN.

That's probably real. You can create a pair of entangled photons in a lab, send one to another lab using an optic fiber, and if you use a polarizer to see if the photon pass it, will get the same result in both labs. If you arrange everything carefully, you have a 50% chance that the photons will pass in both labs, and a 50% chance that the photons will not pass in any lab. (Ignoring noise, error, and other nasty real life problems.)

The main idea is that the pass/no-pass decision is not made at the creation time of the pair of photons. It is made when you use the polarizer in any lab to measure them. So it is not possible for someone else to see the photon during the transmission, make a copy, and send the original photon or the copied photon. So you are safe from MITM at acts.[1]

So you get one bit that is generated in both labs and quantum mechanics assures that no one else has a copy. If you generate more bits, you can use it as a one time pad for an encrypted communication. More details in https://en.wikipedia.org/wiki/Quantum_cryptography

Every time you see quantum and brain in the same sentence, you can be sure it is bullshit. You can cite me. (Penrose proposed the idea that consciousness is related to quantum effects, but nah.) (Also see https://xkcd.com/1240/ ) There are some quantum local effects in molecules. To have a global quantum effect in someone of the size of the brain, it must be very cold, like almost 0K cold. Otherwise the noise is so high that it shadows all the global quantum effects.

[1] Or to be more precise, if someone MITM that you can detect it. The idea is that you can measure the polarization in the official directions and get the same result that they get in the other lab. Or you can measure the polarization in other directions. If the direction is very similar you most of the time get the same result, but there is a small chance that you get a different result. But the amount of times you get a different result is different if you have a pair of entangled photons or if someone has measured it and make a fake photon with that direction.
That would undo the entire point of it, no?
> can you implement tail calls in Java and meet the same language specification? I think you cannot.

Is this because Java exposes stack traces in a way most languages don't?
>to avoid the shame (?!!)

Or the cost. I have some limited number of SMS messages on my cell plan and then it's 10 or 20 cents or something like that I think. I don't send many texts so I'm pretty sure I don't normally get hit for fees but someone sending the large number many seem to probably would.
This could still lead to a double-charge, though.

If some rogue deploy script creates fifty of the cron job, and weirder things happen every day, one of those could be checking the stale state during the transaction of another one. A classic data race.

Eliminating this problem is left as an exercise for the interested reader...
I remember that too.

But the console you only open sometimes.

But everyday(!), I have to use {[(| ... and they are just awkward to reach on a german layout.
Thanks for sharing. On first impressions, I found Nhost's product to be really cool, so much so that I actually applied for the open position of Product Designer [Tahmid].
How would you sort that? Some combination of length, girth, rigidity, recent reviews, proximity, and a checkbox for circ'd or uncirc'd... the query logic is, shall we say, quite hard.
yep, but the scripting language is based on hypertalk, hyperscript.org was available (!!!) and there are other projects called hyperscript too: http://hyperscript.com/

so... I'm stickin' with it.
The link to the article is not an appeal to authority.

Instead, the article is where you can learn more about the

topic under discussion.

There are many references in the article that provide

additional background.
Yeah, like a language. However if I ommit a commmmma or mispel or abbreviate smth you'll still be able to understand me. A computer on the other hand...
part of what happened is described by the bullwhip effect[0], where oscillations in supply and demand essentially resonate as they ripple through the whole distribution channel. in this case, the effect was created and amplified primarily by the car industry, and thus their culpability in the supply crunch across industries.

[0]: https://en.wikipedia.org/wiki/Bullwhip_effect
Go doesn't allow for specifying multiple short flags all run together, or for flag args without spaces, so neither of those are directly relevant here.

Also, that first issue happens with POSIX flags (with the GNU long flag extension, anyhow): `grep -help` is different from `grep --help` (and if you type the former, it'll just wait patiently for you to close stdin).
It was a fun exercise. It was great for remembering a handful of things about statistics and experiment design--for instance, it was impossible to get good results until I started doing controlled runs on the same randomly generated population rather than regenerating, because the effect of changing social shyness (while there) is way, way smaller than the effect of the random variations in promiscuity and sex drive.

I may want to play with adding condoms to the simulation, though. My transmission rate is based upon the HIV transmission rate for unprotected anal sex, which is pretty clearly an upper bound--that's why especially slutty or outgoing populations get >50% infection rates after 20 years seeding from 1% infection rate. You also see the odd run where you just have a 1% infection rate after 20 years--probably cases where the randomly seeded HIV+ individual is especially shy and has a low sex drive.

Also, it would have been a lot more interesting if I could have generated random values along different distributions, or...well, lots of things would have helped.
Two co-founders that give up a total of 15% - 25% to raise $500k - $1M (ideally from well known investors) and never take another dime of investment. That seems like the best balance all things considered.

Your odds of success are much higher, and your opportunity to exit (if you want to) at a low price is still there.

1) You can still accept a relatively low acquisition price.

2) Your share is still 37% - 43%, which is a huge chunk.

3) You have investors that will help with acquisition offers/hiring/partnerships, etc.

4) You can afford to pay for things that significantly accelerate your growth, that you would otherwise shy away from.

5) You're instantly full time (compared with a day job, or consulting work on the side).

6) Other companies/people will take you more seriously because you have investors.
Not only that, but it's a Starrett caliper: the kind of pricey, high quality tool that I drool over.

...and about the only interesting part of the article. I enjoy cooking and I love potatoes; I even have a dozen or so potato plants/tubers/whatever growing in the garden. But even I realized years ago that the key to good french fries with low effort is to buy the OreIda "fast food" fries and cook them myself in the fat of my choice.

I've tried all the methods I read about and still the premade ones are better. Something I've never been able to say about any other food I cook.
I'm all for the food hacking and the article was quite interesting, however I shivers to the idea of McDonald's as a cooking reference.
I want to retain credit for the idea. Will a detailed blog post act as copyright of the idea?
http://en.wikipedia.org/wiki/McGill_University is ranked 18th in the world and above several of the ivy league schools for just $3500/year
but I've since found that the cash price point for sex for most women is not only "no price", but in fact far lower than I would have imagined.

I have a theory about this actually. Do you have any specific data r.e. what "prices" were accepted?

My theory is that below a certain margin (I never tested this you see) then it becomes a different matter. At , say, £10,000 you are trading your body, it is transaction. You are gaining the money.

At a certain lower bound it switches to being simply an incentive. "I'll buy you dinner if you'll sleep with me after". i.e. it sweetens the deal.

I very much doubt that anyone, if offered $100 right here right now would take you up on the offer (but, then, I've never tested it)
direct link: http://krugman.blogs.nytimes.com/2010/06/06/lost-decade-here...
mono + .net are merging, see the following Trello board to track the status https://trello.com/b/vRPTMfdz/net-framework-integration-into...
PHP in JavaScript? Node.js itself is much more versatile and often easier than PHP (in my experience anyway), so I can only assume this is so Node.js can be used as a drop in replacement.

I think the only thing missing would be automaticly including PHP.js
Shh, we don't talk about that!
1. Most people don't go to HSW (Harvard, Stanford, and Wharton) to start startups. Well, for some edge cases, it is a way to get admitted. Many of the grads here love to get hired by PEs like KKR and Blackstone.

2. Business schools are good at marketing themselves: they try to set up labs for new trends, fads, etc.
The version that came with MS-DOS definitely had extensive help on the language as well as the editor. It was an interpreter though, and couldn't generate executables like the commercial version which was called QuickBasic IIRC.
If you have troubles adding your own API to the search engine on APIs.io . Feel free to reach us :)
That game reminds me of Shores of Hazeron.

It was a neat little game where you essentially strand on a planet and start building your own city until you can build a rocket to leave the planet and explore the rest of the solar system. Then build a city on the moon so you can create custom spacecrafts to go even further into space.
From working with many ML researchers, it's not speculation. Some aren't very proud, but if you want to get ahead and stay competitive, you have to publish your un-replicable results. The results aren't usually completely fake, but they depend on enough dishonest sleight of hand that they might as well be.
I can't find details on their process, but I wonder if they bothered to compare their results to hot water washing the rice prior to putting it into the boil water. I do this every time and I notice a mega amount of starch is taken away. It would be rather sad if they didn't account for this.
A good option is doing both.

Store a security token in localStorage and additionally store a secure signature for it in a secure, HTTP-only cookie. On your backend, verify validity of both the token and its additional signature contained in the cookie.
Without wanting to take away from the pioneering example of Y Combinator itself, I like the way that Redgate, the Cambridge UK based SQL tools developer, has set about setting up Springboard as an adjunct to the main business. The objective is to strengthen the Cambridge developer cluster to the benefit of everyone in that community and economy including, even if indirectly, Redgate itself. Besides speaking to Paul Graham about Y Combinator, I'd speak to either of Neil Davidson or Simon Galbraith the Redgate founders.
Snake is a lot of fun.
There has been work done on the fate of chemical weapons dumped into the ocean, especially mustard gas.[1]

Interestingly, many bacteria can feed directly on the hydrolysis products (after the mustard gas reacts with water) and use them as a carbon source.

The MGHP-degrading microorganisms identified as Achromobacter sp., Pseudomonas sp., and Arthrobacter sp. were isolated. These microorganisms were capable of utilizing the major product of hydrolysis, thiodiglycol, as the sole source of carbon and energy. The bacteria were capable of metabolizing MGHPs at a low temperature. The metabolic pathway for thiodiglycol degradation was proposed. The results suggest the potential for MGHPs biodegradation by naturally occurring populations of near-bottom-water and sediment microorganisms.

[1]http://www.ncbi.nlm.nih.gov/pubmed/19481794
That doesn't seem likely to me: what features does iOS not have right now, that this is likely to use? It seems more likely if they are targeting chrome only they did it to avoid the support overhead of making it work in multiple browsers.
yes but 51%? that's a ridiculous number.
At this point I would consider it in line with what they did for Windows 8. For the first while after release it was possible to upgrade from Windows 7 for $15.

This looks to be an embrace and extend :) of their own idea.... Now free for a whole year.

Obviously more details once it is closer to release but sounds great so far.
I thought that Whatsapp didn't store (or read) messages, and that was why it was so secure / awesome?

So how can they do this?