jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I wonder why there is no general "template" language that you can use on any text/source file. For example, I'm writing a lot of AutoHotKey code lately, and I find myself wishing I had some of the expressive power of Python so I wouldn't have to repeat things.

I'm seriously considering writing a Python-based "Preprocessor" language which lets me drop in Python code on any file, and deals with transforming it into the final "compiled" file.
Am always enjoying life, but I want to be more successful and run my own startup. I make a good living, have all the necessities in life, which being a basic person, is a roof, a set of clothes and some bread and water (some chicken thrown in ofcourse..lol). I live a basic life and have excess amounts of cash to invest into the AIM etc.

Here's what I missed out...am not having fun. A 9-5, I can not stand but lucky for me, I don't do have to do this. I go in when I want and finish when I want, my employers know I get the job done and just leave me to it. However, working for an organisation which its not allowed to make a profit is dragging me down.

I had the motivation to create great products managing teams, highly successful business models and double/triple profits for my employers. This may have left me feeling sh*t if my employers cashed in and I didnt, but most times, I was rewarded heavily. I have dont this for employers, now I want to do this for me.

Currently, I just keep a non-profit organisation plodding along, and so long as we break even at the end of the year, everyone keeps their job and we plod along!

This was important to me 2 years ago. My marriage had ended and I needed a stable thing, with the huge mortgage burdon she had left me with. I still have this morgage burdon, one I could seriously do without considering I dont care to live in a house or a caravan but with the market at an all time low, am stuck in a position where I will loss over 40K if I sell now. All my cash and not the banks so am not in negative-equite with them. You'll think am crazy here, but I dont care about cash, and have considers loosing 50K to get out. To me, its only money and hapiness is definately more important, however, when I evaluated my life once I sell, I simply end up renting and paying the same as the mortgage, so there's no point. How can I have fun in what I currently do is the question am asking myself now?

Thanks for helping me reach this far.
There's no real use-case here. There are basically two types of books you can scan, rare books and non-rare books.

For non-rare books you typically just cut the binding off and feed the book through a scanner that has a page feeder.

For rare books you typically turn the pages by hand, but the reason you do it slowly isn't because you're human, but rather to avoid damaging the book. Any kind of rapid jerking movement to turn the pages isn't a viable solution
No equity.

I am trying to keep this post fairly generic, however we are located in the Northeastern United States Lower than New York, Higher than Maryland ;)
Small channels on Youtube that are avaraging under 100k views per video could be hosted on a good home Internet connection.
Youtube basically gives you peanuts. So you have to get your own sponsors anyway, and there are so many videos on Youtube that you can forget about discovery unless you have a very large network.
I saw Ito on a panel debate, in the Silicon Valley Comes to Oxford conference -- incidentally the place where he was first approached regarding the position [1].

If Biz Stone made the funny web-cowboy comments, Ito definitely made the thoughtful ones. He came across as a thinker. Although a complete outsider's view, I'm really looking forward to how he will run the Media Lab.

Of course, no other university would have nominated such a person for such a position. Lead the way, MIT.
To add top of other answers.

Khronos is pursuing OpenCL to FPGA targeting, and you can do it with C++ via SYSCL.

https://youtu.be/BDH8p--kx6c

Intel also has their offerings,

https://software.intel.com/en-us/oneapi

And LLVM can also target some directly,

https://youtu.be/9a5gQ4wJoxs
Better for some things / worse for others.

It was much easier to write parsers for though. Most of the BBCode tags could be rendered with simple regex substitutions.
Isn’t the gain of this kind of machine that you are testing many people that weren’t tested at all before? Some of those will get a scare for nothing, but more will find out earlier that they have cancer.

If all it takes is a drop of blood (as opposed to more invasive tests) to know with ~90% accuracy if I have cancer or not (and when the machine says I do, then do a more accurate follow up test) then it’s far more likely more people will get diagnosed sooner.
Prof Alan Guth's office:
http://archive.boston.com/realestate/galleries/springsweep/b...
> rampant sexual harassment

Sounds like something straight from the Bolsheviks in an attempt to take down a larger entity purely for control.

The concept Google is worse than general society is out there. Try looking at the real world, of transport or construction or the service industry or cleaning or food harvesting. Pretty much anywhere but the industry of IT of which Google is exemplary.
Close to 20.000 emails, ~4.5 GB in size. Tried using Google's data takeout first, but imapsync worked way better (while slower).
I thought the same thing. Was wondering why the lack of anything substantial created. They made a video. Could have made a more complete project with their product for the video. :)

Regardless, cool idea.
> Which is great until your backdraft cache invalidation signals start clogging things up because they're happening too often.

There are plenty of simple solutions. Batching, throttling, scheduling, partitioning. Any or several could help.

> you're not going to always have a clean, fully encapsulated space like a git database

This was kinda my point: the problem isn’t cache invalidation, it’s external concurrent state.

This, and the rest of your response, comes down to the hard problems being design, analysis, and ability to adapt. Those problems show up in cache complexity because it reveals where those other considerations are suboptimal.
> It’s treated as property by the IRS and a commodity by the CFTC and exchanges are regulated by the SEC. The US government has already approved it.

There are commodities that have become illegal.
As a consumer, it has served me well to explore every new city by checking out top rated eateries on yelp. I hope they sort their business out with restaurants. Their relationship should be pretty symbiotic.
My story with SSRIs is largely similar, anxiety and PTSD almost at zero. One of the things I didn't realize is that my base level of anxiety was through the roof. I thought that was "normal" and that times when my anxiety really kicked up a notch was anxiety.

And then within a month and a half of taking meds, the constant feeling of impending doom within my spine that was always there, gone.

I had side effects for the first month or two but they're long gone. I also had first sleeplessness and then fatigue, but I found taking meds at night made all the difference, making that issue a thing of the past.

I don't worry too much about my long term dependence on it: even if it lowered my life expectancy, which there isn't really any proof of, but even if it did, I'd take it as a fair trade-off.
Yes. Look at the UN death rates for India and China from 1960 to 1990.

Mao definitely had deaths both from poverty and inhuman atrocities. but way less death from poverty.
The numbers aren't helping. 100 lines of what?
It all boils down to 'it depends'.

In my personal experience, before i started using spacemacs i
would postpone re-arranging code when i was busy coding something useful. Pushing all the cost into an afternoon of _just_ rearranging code.

Besides not having a very 'productive' afternoon, the costs would linger because i need to update my mental map of all the stuff that moved around.

Now, most rearranging is a couple of key strokes away. I'm not sure what i would do in another IDE. I would probably do the rearanging as soon as required, because I've learned my lesson.

But moving my hand to the mouse and clicking multiple buttons while typing new file names and dragging my mouse over pieces does take a lot of flow out of the session.
Because

A) J2ME targeted feature phones.

B) Google isn't accused of copying J2ME when you get down to it. The parts that make ME distinct from SE weren't reimplemented in Android's Harmony fork (looking strongly at javax.microedition), and a lot of packages that SE implemented that ME didn't were present in Android.
You say the alternative is bad but stop short of evaluating how bad. There's clearly a difference here and you don't seem to shy away from giving an opinion yet you also claim to be undecided for a court case that had lasted 10 years.

I'm sorry, but this smells like a bad faith argument.
Hurray, time to see NTP screw up hosts everyone on the internet yet again.

(Oh wait, the last leapsecond event didn't even involve an actual leapsecond)
Horriby misandrist article that presents no solution, only another voice in the "men accept rape by existing" crowd.
I don't remember the last names of my best friends from elementary school who moved to different states, and have started blanking on names of a few folks from middle school. This was about 20 years ago, so I find it perfectly plausible to forget the last names of folks who you 1. knew only for 3 months, 2. have not talked to for 56 years
This was a fascinating comment to read - thanks for the insight.

> You need a swap configuration that's large enough to fit your entire RAM and also your current swap.

I'm struggling to wrap my head around this one - please help me understand?

How can a swap be made large enough to fit your entire RAM as well as your current swap?

In other words, what if your current swap is already being used near capacity?

Or is that not really likely with a really large swap?
I bought a new Dell XPS13 two weeks ago and discovered the hard way - after totally flat batteries - that sleep mode doesn't work. Whereas my other XPS13, the previous year's model, works perfectly.

What is totally annoying is my monitor, which has USB C power delivery, won't charge the laptop if its battery is completely flat. So now I have to carry the XPS's power adapter too.

I have been an XPS fan for years. But I am so close to sending this one back.

(If anyone from Dell reads this, pass back the message that you've lots of really unhappy customers from this)
So, sanctions like these started in 2015 [0]. That was when the Chinese first topped the global super computer league (and that's for public super computers so presumably they'd been leading in private for a while?).

The US banned exports to 4 Chinese companies that made the machines.

So other companies spring up to fill the gap. This is problem 1: it takes very little time to setup a company, so sanctioning one is sort of pointless. You sanction PLA_Supplier1 LLC? Good thing PLA_Supplier1 LLC is interested in ordering the same kit!

The result was a roughly yearly round of sanctions. Every year's new list of names is a list of the companies that bypassed the last year's sanctions...

There is also problem 2: back in 2015 the computers used Intel parts but increasingly the Chinese are designing their own. They're not there yet, but they're making progress. TSMC still do most of the manufacture.

So the question is: how long till Chinese hackers steal the latest designs or Chinese engineers reverse engineer the parts they buy on the grey market? AND how long until China sets up a TSMC competitor?

I'm something of a hawk on China. I'm out on a ledge but here I am. I'd like to see real action on them for a long list of reasons. But before we can have real action, we need to drop the pretend action. Trump (what a turd) loved pretend action. Maybe Biden will be different? But this isn't that imho.

Source on the original tariffs:

[0] https://www.economist.com/business/2019/06/29/an-american-ba...
Are you still so concerned about the rain? Or is there any actual discussion or point you want to make here?
Sure. So it only stops unsophisticated criminals. But they're mostly the ones that kill people.
I'm not sure what their case would be. How can making a suggestion to buy a different product be fraudulent?
Yes, you agree for both the fare rules of the specific ticket you bought and the airline's contract of carriage, both of which are approved by the Department of Transportation. And (at least) the CoC prohibits hidden-city ticketing.
no-baseband devices

a wifi-only phone

If you're looking for "Android phone without the phone", you'd be better off looking for an Android tablet.
Just so that this doesn't stand entirely unchallenged: Gibson's newer stuff is excellent and continues to be prescient and quite a lot of fun. The Blue Ant trilogy ("trilogy", like the Sprawl books) is a very sharp look at the decade past, especially the middle book, Spook Country.
Looks like an interesting career path
I'm on latest and the indexing issue is just getting worse and worse for me.
Fred Wilson's posts on this are still excellent, and relevant.[0] At Aptible (S14), we convert equity stakes and benefits to dollar values and offer a few different equity/salary options to each prospect.

One big question is what your expected role is going to be in the future. 1% is far too low for a VP- or C-level prospect with experience managing a team. If the company is already well-funded (i.e. somewhat de-risked), 1% may be appropriate for a line engineer.

[0] http://avc.com/2010/11/employee-equity-how-much/
I feel like these ideas could not have been used to test a Facebook. Asking people if they want to use a new social network without actually seeing and touching it would not have been insightful. You could describe to the wall but because the concept was so new I feel like most people including myself would not necessarily see the value of it right away. Asking people to commit to pay for it is even more of a stretch.

It doesn't apply to all situations.
Poor guy, I hope he stuck with it. After all, doesn't pg use vi?

Eta Someone indeed pointed this out as the first comment in 2007.
Great post! Let me just say that for a person like me, who hasn't really used Erlang in large projects (mostly on small projects for fun), this post (as a retort to the previous one) was a really insightful introduction to the mentality behind/in Erlang.

One comment I've wanted to make about the initial post by Sudarshan Acharya and his point about Erlang's syntax is the following: before delving into functional languages, I had mostly experienced imperative & OO programming. The syntax of any language doesn't really bother me: it's already unintuitive enough that I have to learn a new language, based on typed text, to tell the computer what to do, that worrying about it / contemplating its reason for existence isn't gonna help me in any way.
I think Bertrand Russell's take on this is one of the best:

Here there comes a practical question which has often troubled me. Whenever I go into a foreign country or a prison or any similar place they always ask me what is my religion.

I never know whether I should say "Agnostic" or whether I should say "Atheist". It is a very difficult question and I daresay that some of you have been troubled by it. As a philosopher, if I were speaking to a purely philosophic audience I should say that I ought to describe myself as an Agnostic, because I do not think that there is a conclusive argument by which one prove that there is not a God.

On the other hand, if I am to convey the right impression to the ordinary man in the street I think I ought to say that I am an Atheist, because when I say that I cannot prove that there is not a God, I ought to add equally that I cannot prove that there are not the Homeric gods.

None of us would seriously consider the possibility that all the gods of homer really exist, and yet if you were to set to work to give a logical demonstration that Zeus, Hera, Poseidon, and the rest of them did not exist you would find it an awful job. You could not get such proof.

Therefore, in regard to the Olympic gods, speaking to a purely philosophical audience, I would say that I am an Agnostic. But speaking popularly, I think that all of us would say in regard to those gods that we were Atheists. In regard to the Christian God, I should, I think, take exactly the same line.
minimum bid for this 30 dollar on freelancer.com
thats like 5 hours wage for an average programmer, but i estimate this will take 1 hour to build. no?
while there's no universal freedom of speech in British Law...

Perhaps not in written law, but I think you'd have a hard time convincing a judge that the British constitution does not guarantee freedom of speech.

As my legal friends as fond of pointing out, an unwritten constitution has the important advantage that its words can't be twisted the way that a written constitution can.
Related... https://www.youtube.com/watch?v=cJd3LO6u1vY
It sucks because a lot of the loses in the FTA could've been avoided. The highest gain and lowest lost of the SPY respectively have been 16% and 20%. As a personal rule any stock I purchase basically has a stop loss of 20%. As for the gain, I automatically sell after a 50% gain. How much more could you want?

edit: this is in the context of day trading
> friendly advice. read more

thanks, I am a software engineer with 30 years of working experience, still find bitcoins the most obtuse way to send money, first of all because bitcoins are not money, secondly because 100% of those I would send money to don't know anything about bitcoins (why would they care?) and last but not least because it's easier and cheaper to convert money to gold and ship the gold (assuming I don't want to send real money)

buying prepaid credit is also an option, it works everywhere bitcoins work and it's free, immediate and it's money, directly spendable on goods and services

hell, even shipping banknotes in an envelope is better than sending bitcoins!

bitcoins are useless for this use case to anyone who really wants to send money to someone they care about

> "you can send money to anyone you want with fiat". which is false.

it's not.

I can send fiat money to anyone I want (emphasis on I)

but to prove me wrong you can send a couple bitcoins to my mom and I'll show you she doesn't know what to do with them.

if you're interested in proving me wrong, I can give you her wallet address.

in the end ask yourself this: why North Korea is disconnected from internet, but allows bitcoins?

are bitcoins really pro people and against oppressive regimes?

p.s. as much as I don't care about burn accounts, yours is actually really suspicious...
The only people who would still want to go back to an office are people who live in a city without friends and family, who would move and live with them, but would not move within the same city and live with new people?

Sounds rather rare. I don't deny it but from just talking to work mates it seems more want to come back.
>> Colorectal is also one of most treatable, and curable cancers there are .

While I agree that the interesting statistic is "the individual chance of getting colorectal cancer given that one eats meats cured with nitrites and nitrates", I don't think I'd accept the risk to give up a piece of my colon for the joy of eating ham. Especially if this joy can be enjoyed without having to run the risk (see the bit about Parma ham in the article).

Btw, 5% risk is a gigantic chance. 5%! One in twenty! Where does that number come from? Can you link to its source please?

Edit: let me stress this again; it's not cured meats that increase the chance of colorectal cancer. It's meats cured with nitrates. You don't need to make a choice between a healthy colon and an enjoyable diet.
> I don’t understand why you think that consistency in itself is a moral obligation

Cicero defined justice as giving each their due; not a definition original to him, Plato and Aristotle said more or less the same thing. Inconsistency is a form of injustice because you are giving to one different from what you give to another without a good reason. Justice doesn't demand that you treat everyone the same, only that for any difference in treatment there is a valid justification – I give my own children hugs, I don't give hugs to the children of strangers, but that is not injust, since there is a good reason to justify that difference in treatment. Justice is a key part of ethics, indeed classically it is one of the four cardinal virtues.

> His reason was basically that he might suffer some negative effects from the publicity. But almost anyone whose name is mentioned in the NYT might suffer some negative effects from the publicity

He had specific reasons due to his dual role as both blogger and psychiatrist, that do not apply to the average person. The profession of psychiatry has certain expectations about psychiatrists hiding their opinions from their patients which don't apply to most other professions. Those reasons don't apply to "almost everyone" because most people are not psychiatrists, and most other professions don't care anywhere near as much if clients find out your opinions on unrelated issues.

> It’s “all the news that’s fit to print”, not “all the news except when someone asked us not to publish it”.

But what is "fit to print"? Traditionally journalism justified itself as serving the public interest. What is the public interest in publishing Scott Alexander's real name? I don't see how there was one.

> The paper can't simply grant anonymity to anyone who asks for it

Yes they can: If someone asks for pseudonymity, they should grant it unless there is a strong public interest in refusing it; and if they refuse it, they should be explicit about why they believe denying it serves the public interest in that particular case.
AR. I’d be happy to pitch once things progress to a Skype call.
I tried searching for some time also there, but I don't remember the title. I didn't read the comments for that particular post either.
https://www.buybitcoinworldwide.com/bitcoin-uptime/
But this is what people are objecting to, isn't it?

That anyone reasonably clever which spends months studying CTCI, EPI and Pramp and whatever else and doing mock interviews will pass the interview, while an experienced programmer will not just by virtue of their skills and knowledge.
Look, kid, so it's not a cabinet level department in the executive branch or anything.

It's little PCAOB, and a little Post Office. Point being it's not autonomous nor private.
Note that I did not mention germany, rather the US and canada, while the OP said "all of our allies". No two countries are ever the same. And NATO /= USA. There are lots of other organizations which would quality a country as an "ally" of the US other than NATO. Canada and the UK are linked to the US through numerous other organizations (eg NORAD).
Email works for most of us in business because it can handle long messages, it can handle images, and is recognised as 'legally usable'. (Just as faxes were used in an earlier era.)

It is widespread, whereas Discord, Zoom, Skype, etc. are not available in lots of businesses. It's no good having Discord if the person you want to communicate with doesn't have it too.

It is also good enough and easy enough for non-techo users.
I think this is really insightful. Misallocation of resources is what eventually brings down economies. There are lots of bright people around, but corruption can drain a lot of talent.
For some odd reason I don't get the PiP icon on the firefox demo video. It works well on different youtube videos though :)
And it isn’t just a domestic jobs program. Countries that agreed to buy the F35 were rewarded with subcontract work. There are at least a dozen partner countries.