jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> But what about an ad? By definition it's something someone pays to be shown. When Google shows you targeted ads, they aren't showing you the best ads for you, they are showing you the best ads of those companies who paid for it (and probably the price influences its ranking). The user is not the first objective.

I mean, that is an assumption, unless you work at Google and is currently sharing the algorithm with us. Most likely, they show you the best ad they can based on targeting criterias and the information they know about you. It could very well be possible that Google not always picks the highest bidder. The winning score is most likely calculated based on a combination of signals, eg bidding price, user's preferences, user's buying history, etc.
Wilkinson says following, I paraphrase

- He did not deserve be fired, based on public information of the issue

- There may be issues not known in public.

Wilkinson never says McNeil deserved to be fired. He makes a hypothesis and ensures that readers know it "I’m 92% making things up." He speculates because he tries to understand what is happening inside the newsrooms.
I do not see what is wrong with the path string, which btw. is the same in HTML Canvas. I am using SVG on a daily basis and encountered many issues that annoyed me, but path data was never one of them.
> Initial release 1976; 45 years ago

https://en.wikipedia.org/wiki/Emacs
You should freak out if the POTUS decided to invade a country without approval too. It's Congress that decides who to declare war on
This is mostly a myth.

https://www.govexec.com/federal-news/1998/12/the-myth-of-the...
Thanks for offering your experience. That matches with my own as well, albeit from the other side. I worked for a large government contractor on our bid, and we knew we weren't going to have the cheapest option but rather banked on the value-add. And most of the time it worked.
Because when you're buying a "major car OEMs are happy to sell this number" number of vehicles you can afford to get exactly what you want and the resultant few % reduction in operating cost over the following decade or two will more than make up for the increased cost up front.

Also odds are this thing will be a mish-mash of GM or Ford parts bin with just the body and body specific stuff being different (like the LLV, or that handicapped van AM general used to make). So they may very well be buying a "customized Ford Transit" where it just so happens the body is also custom.
I'm immensely grateful to the developers involved. I'm sure it wasn't easy but it's one of those features that I've always missed ever since chrome added it.
It also shows the value of a decent bug tracking system.
I mean, I can understand the basic reason if the goal is to avoid money laundering (if this goal runs counter to crypto's intended purpose of anonymity then I have frankly not much sympathy with crypto here).

But I find it interesting that they do this even though they technically can't know if the intermediate address was really under your control. Wouldn't this make any transaction out of Coinbase inherently risky? Like, if I were a troll that wanted to get as many Coinbase accounts banned as possible, could I simply set up a service that accepts payment at a specific bitcoin address, then immediately pass on all payments to a blocked address - and have everyone who uses my service auto-banned from Coinbase?

It makes sense though that tracing the transaction chains can be a reliable way to find repeat offenders. If your transaction history shows a consistent pattern of "your account -> some random intermediate addresses -> blocked address" then there is reason for suspicion. No one has that much bad luck.
Well both for that matter, but this is mostly due to my customers being very careful where they host their data, germany is a bit different in that regard i guess.

Still i think that this is totally something that is missing! Maybe CMS Plugins would be nice, could really work well with strapi.
This way the driver can put mail in suburban mailboxes without leaving the seat (while driving on the right side of the road).
Apparently they're being built by a company called Oshkosh Defense because... delivering mail is just like combat?
What exactly would you want to see compared? The same or similar examples for code comparison? "Features" or libraries?
For example, two lists both contain a reference to the same object. Neither one is a sole owner, and you can't safely destroy the object until both lists are destroyed.
I posted a decent programming job in a decent market on there about a year ago, but didn't get any qualified applicants.
he's referring to Ubuntu's desktop, which, IIRC, is GNOME 3. You could have the latest CPU and 500 GB of RAM, and GNOME 3 will find a way to make it crawl. I always switch to XFCE now. But fvwm2 would also be quite an improvement.

Linux desktop in 1998 was super snappy. As long as you didn't expect much in the way of latest 3d graphics card drivers.
FWIW, idiomatically copying a string in C is done using strncpy, and that doesn't introduce any RCE bugs. I would not in my right mind defend the premise that C is just as safe as Scala, but the truth is that sloppy programming can do harm in every language imaginable. It just becomes about damage control.
That site throws at you more popups and popovers than the article was worth.
You are combining two features of the language that don't really have anything to do with each other (references, and core type sigils), and conflating them in a way that's irrelevant, which is why you are getting some pushback on your critique.

Perl uses sigils. You can think of them like inflection in spoken language. They provide hints as to what is being referred to, to help make intent clear.

Perl uses references. In some respect, almost all languages use references, and it's just a matter of whether it's explicit or implicit. Perl makes it explicit, which means the programmer has to understand it early to make some things work (nested data structures). Other languages may have it as implicit, but that doesn't mean the programmer can ignore it, it just means they may be able to ignore it for a short while when first learning the language. Sooner or later they will encounter and have to deal with whether they are working with a copy of data or the original data. If they are lucky, this happens before it's a nasty bug.
My pet theory is that UFOs are an intrinsically 20th century phenomenon. TV no longer has that iconography on all the time, so we're not getting poked and prodded with the images anymore, and for anyone paying attention to our ever-improving 21st century understandings of the limits of technology, the idea that advanced races would be visiting us in huge spacecraft that sometimes get accidentally seen is absurd. If they wish to observe us without being seen, then it is very easy to imagine that they have long since modified our brains in such a way that they can simply edit themselves out, and also ensured that nobody is capable of witnessing the modifications, either. The idea of a War of the Worlds scenario where perhaps we could fight off an invasion is a very 20th century idea... in the 21st century it's pretty clear that if a starfaring culture wanted us out of the way, we'd be dead before we even realized a conflict had started. And I mean that literally; if they so chose, every human on the planet simultaneously dropping dead with no human-detectable advance warning wouldn't be all that challenging. Alternatively, at an unknown time in our past our entire planet's information content was hoovered up, we're running in a simulation, and the real solar system has long since been converted to computronium in the real world.

Personally I still favor life being more rare than we credit it with, and that we are fundamentally alone. But regardless, the idea that we're being visited in sometimes-observed spacecraft by apparently only quasi-competent aliens is absurd in light of what we know now. If "they" are among us, they are not quasi-competent, they are competent to a level that we can barely imagine.
If I remember correctly, these devices are capturing multiple photons over a similar path; not a single photon's journey.
Totally voluntary. Work just pays for them. A number of people opt out and no one judges them.
Maybe it’s a bit like the HK extradition bill retraction. Too little, and too late.
This is a realy bad idea. Of course I fully suport open source and self-hosted alternatives, but there are really good reasons for using the Stackexchange system. They will not only do all the hosting and management, but they'll help you find co-admins for the site and work out if there's actually a market for your chosen topic. If there's not a market for your chosen topic then there's likely to still be places you could ask questions like Quora or one of the existing Stack Exchange sites or Metafilter.

I can see this posibly being useful in a closed enterprise evironment when you want a way of helping coworkers solve problems. Maybe. But in that situation there's probably going to be a better way.
Agreed. Unfortunately the Nature article is behind a paywall but the original paper is available on arxiv: http://arxiv.org/abs/quant-ph/9908043
Yes, the Xbox Series controllers are fully interoperable with the Xbox One, which they wouldn't be if they switched to some other technique.
Do you know how long it took to finally get rid of PHP 4? Do you know how long web hosters (and with that most open source projects targeting a wide audience) were sticking with PHP4? Even now that there won't be any more php4 releases, there are STILL projects targeting PHP4. There are STILL webhosts only providing support for PHP4. More than 5 years after PHP5 came out

All this even though most PHP4 scripts run unaltered in php5.

And now you suggest to drop backwards compatibiliy to get rid of warts? How long do you think it would take before that new language will get any significant deployment? What good will all the new features be if you are not able to use them in the next 10+ years?

Personally, I like to see them add features in a backwards compatible way. Knowing PHP and programming in general, I can stay away of the bad parts but still use all the new features in the foreseeable (2-3 years) future.

Just have a look at python3 of you want a taste if what you were just suggesting.
I think it's a bit different when you're a student though, when you're a student, your renumeration package in terms of money is £0 at that moment in time (or -£9000+ when you consider tuition fees) and the only compensation you will get is a piece of paper detailing the results of your efforts. So the motivation isn't money, it's more like "I have to finish this project or I won't be able to graduate"

I suppose you could argue that I'm contradicting my original point, after all those who work the hardest will get the top grade in the class is directly comparable to those who work the hardest will get the most money.

But I think it's largely subjective, if you work 12 hours in a day, what percentage of those 12 hours are productive? For me I find that I tend to burn out after a while and my productivity becomes jaded and leaves me vulnerable to making silly coding errors or not seeing the bigger picture.
Well, I was offered partial funding to any canadian phd program and I turned down the offer. I found that even in "applied science" (engineering) the problems of real-world relevance persist. We hyper-specialize and gain little broad general knowledge.

I believe the problem lies in funding. Currently, we base funding largely off of publication success. The entire publication system is also broken but that is beside the point. We need to have more industrial and governmental collaboration between local, national, and international actors and academics. Doctoral students, should then have the option to hyper-specialize (as is necessary in some fields) or be allowed to focus more on broad interdisciplinary studies focusing on problems faced by policy makers and other organizations.
Still looking for a summer engineering intern? Sounds like an exciting place to work.
I do believe that word is spreading amongst possible students about the actual value of a graduate education. I feel that my PhD is valuable, but not execptionally so. I could be earning much more now had I just gone into the job market. However, it is very difficult to get funded as a researcher without a PhD. That's probably the most valuable component of my degree. It's a certificate in that sense.

That said, funding is decreasing and the number of people fighting for it is increasing, which makes it less valuable.

All this aside, a PhD is worth next to nothing in my eyes. I know brilliant, capable people without them, and dull incompetent people that have earned them.
This is annoying, bad sadly I believe there are legal issues that prevent more than one sentence "we decided to pass on you" (IANAL).
This would be safer with a set of alcohol impairment googles ... you can at least simulate the blurry vision part of the experience - http://www.lifeloc.com/goggles.aspx
Remember meeting these visionary founders a few years ago. Great product. Looking forward to seeing what will happen after YC. :)
Thanks Pavlov for pointing at the new high dpi support.
Snail parasites:

https://www.youtube.com/watch?v=EWB_COSUXMw
If your trust in the Python project is that low you should probably stop using it today.
Since i've handed in my resignation letter it is very hard to actually do any work at all. I spend almost all my time at work reading HN and other similar sites. I do feel very bad for this but can't help it.
If you're easily distracted, it doesn't matter what you're wasting time with. If it's not HN, then it's Reddit. If it's not Reddit, then it's Facebook. If it's not Facebook.. and on and on.

I keep myself going by setting personal deadlines: I don't browse the internet if I 'need' to finish something before, say, going to lunch.

EDIT: Also, before stopping work, I always try to have a good idea of what to do next. It's much easier to dive back into work because I know what to do, and my subconscious has had time to think about how to do it. This was inspired by Hemingway's 'hack':

"The best way is always to stop when you are going good and when you know what will happen next. If you do that every day … you will never be stuck. Always stop while you are going good and don’t think about it or worry about it until you start to write the next day. That way your subconscious will work on it all the time. But if you think about it consciously or worry about it you will kill it and your brain will be tired before you start."
There was a story recently on HN about a guy who splits his work hours into 30 minutes of work and 30 minutes of distraction. It turned out to work quite well for him. I guess I'm almost doing the same, spending most of my "distraction" time on HN.

There's a good trick however if you want to stop doing that: work with someone else, with each one being able to look at the other's monitor. Even better: do that with people you actually hired. I can guarantee you won't be spending any minute of your time procrastinating.
I've been banned by HN twice, no appeal, no explanation, in fact you don't even know because you can still log in and post comments. The first time it took me a couple of weeks of "how come no-one replies to my posts any more" before I thought anything was wrong.

The first one - I have no idea why - I guess the -4 (which I still think is a valid comment)

http://news.ycombinator.com/threads?id=skwiddor - 100+ karma

Ok so next time round I'll be more careful, got 400+ karma

Then one day you slip in a joke and you're toast

http://news.ycombinator.com/threads?id=wendroid
I was thinking the exact same thing.

He can at least count me down for one copy. Just bought it can't wait to show it to my little dreamer.
Grown up kids count too ;)
There was a story recently on HN about a guy who splits his work hours into 30 minutes of work and 30 minutes of distraction

http://chetansurpur.com/blog/2010/11/magic-work-cycle.html
You do that every time you have a cold, too. Or smack a mosquito :)
hey! thats crazy that matt took the photo - i work with him.
The article says the myth began to appear a few months later. Probably people asking, hey, you got some good pictures of D-Day, anything else we missed? But you can't say, oh I took a ton of pictures, but the darn censors wouldn't let me show it, because the first rule of censorship is you don't talk about censorship. But, you don't go to the beach and take only 11 pictures, so you need a story. And you can only dump so many film bags into the English Channel.

Then once the myth gets legs, well, the myth had legs. And you don't want to contradict it, because your reputation is everything, and the censors aren't going to rat you out. They would have gotten away with it too, if it weren't for those meddling kids.
Of course there's an objective standard. You look at the politicians, the judges, and look up their standard. It's gross (no pun intended) that one needs to do that, but AFAIK lawyers do that all the time.

More cases (both civil and criminal) are decided on those bases than you'd expect. (Can't speak for all places, but I'm passably familiar with UK law and precedent... and I suspect the US is similar)
> If Google threatened to withdraw (which they're probably not foolish enough to do), the loss of things like Maps (that many other services depend on) and Gmail and Google Docs and etc. would worry most advanced economies.

It would inconvenience those who are using these Google services, but the services themselves are easily replaceable.

Google Maps can be replaced with HERE Maps, which has a similar feature set. The absence of Google Maps would also accelerate contributions to OpenStreetMap and its ecosystem.

Gmail and Google Docs have Zoho Mail and Zoho Docs as alternatives, as well as Microsoft's Outlook.com and Office 365. Nextcloud combined with Collabora Online or OnlyOffice also makes a fine FOSS substitute to Google Docs.

Any worry would be in the short term, until companies make the transition to other solutions. I agree that the absence of Facebook would also not pose long-term issues, since users would simply migrate to other social media platforms and businesses would choose other forms of advertising.
I agree radio and checkbox inputs are still huge warts in HTML forms, though there is a workaround: if you have a hidden input with the same name and "false" value then you'll get what you want. See here for an example: https://stackoverflow.com/questions/2697299/
News outlets run smear campaigns to destroy their competition.

This has less to do with politics.
You're better off eating brazil nuts and some of the grains that contain selenium.
One cool thing about the pandemic is that many countries took the opportunity to run large-scale social experiments under the guise of Covid Restrictions. I expect social scientists will be digging into this data for years to come.

One experiment in South Africa was banning the sale, or transportation, of alcohol. (Production and consumption was still allowed, just not sale or transportation.) This resulted in a marked decrease in hospital admissions, traffic accidents and domestic crimes. [1]

The ban would morph during the first year of Covid, alternately covering things like trading hours, availability in restaurants and so on. Some restrictions were more effective than others, and overall effectiveness decreased as the population got smarter about stocking up with sufficient quantities to bypass any restrictions.

Even the hint of restrictions now (such as was rumored to happen, but did not happen, when Omicron was first recognized) resulted in huge surges of sales.
Generally speaking though more restrictions resulted in fewer hospital admissions.

Clearly prohibition taught us that a blanket ban on alcohol just incentivizes organized crime. So it's not like a long-term ban is useful. But the effects of lowering alcohol consumption are also clear. Balancing these two very conflicting points of view is going to be a challenge for society as we move forward. [2]

[1] Clearly not all decreases are solely because of this, less traffic means fewer accidents for example, but it's considered to be a high contributing factor.

[2] https://businesstech.co.za/news/government/547654/what-all-t...
Or Alpine or Sabotage if you want something a bit different (Musl libc support).
Right. They should "port" a feature that's intricately linked with the internal workings of a kernel over from another completely alien kernel.
Agreed back in the 80's I picked up PL/1G in a few days
I'm seriously considering it. The fact that Digital Ocean offers FreeBSD means I get to try it out beforehand which is a bonus.
Yeah, they've really been annoying, but other than those, I have nothing but wonderful things to say about Linode.
Yep, looks like you're right. That's good news.

http://git.ffmpeg.org/?p=ffmpeg;a=commitdiff;h=3af1792a71dc6...
Cool idea.

In my job we are working on business process engine, and we have implemented many long business processes that involves user interactions and calling plSQL code.

Testing these processes manually is pain, we have tests using soapui, but writing tests in linear fashion is repetative and tedious, our test suite is lagging us. Also we use big databases and our tests unfortunately aren't isolated - we have to prepare data manually for tests to run.

This tree-like approach looks great. One problem is - the only way I see to create "stack of databases" is to use savepoint - rollback to savepoint around every node in tests tree.

We use hibernate, so rollback to savepoint won't be enough - we'll need to disable second level cache, and to do sth about first level cache - maybe flushing after each rollback to savepoint will do.

Anybody has experience with hibernate and rolling back to savepoint?
Space?

(Sorry, I just couldn't resist.)
Nope. No relationship between the two, besides a few helper methods on NSCFString to go either way. And characterAtIndex: will return a unichar, not a char, anyway.
eh... I keep telling myself I should have a side project ready the next time one of these threads shows up, but it never is.

http://precis.gopagoda.com/url/http://www.reddit.com/r/progr...

I'm playing around with creating feeds from metadata - specifically, building feeds with 'expanding' views which build trees from the outbound links on pages. The reason the url is appended there is the thing doesn't even have any caching - but just add a url to the form at the top or tack it on like so and it should build the feed out of whatever.

The [+] links should expand the feed. Unless they don't. Because it sometimes doesn't. When it does though it's nice.

Also trying to get dynamic rss to work but unless the dynos at pagodabox are really spinning this can be insanely slow:

http://precis.gopagoda.com/rss/http://www.reddit.com/r/progr...

But yeah... someday i'll get my crap together enough to make it into something worth something.

Also I have a hnlike forum i'm building in laravel - it mostly works but it isn't online. Maybe next time.
The retained profits (much of which go to productive activities such as R&D) add to the value of the company. Theoretically, the market should see this and then revalue shares accordingly.
It sounds like the whole benefit behind this new form of Apple Pay acceptance is that there is no app. You just double tap the sleep/wake button to open Apple Pay and then tap the phone to the payee's phone. That's no more complicated then reaching for a wallet and pulling cash out of the wallet.