jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
On "concise syntax" - this works well when your vocabulary is large. But when you have to search for an English word that's sorta-like what you want to do, and then contort the definition to fit the algorithm, readability suffers. For example, JavaScript's Array.join() and SQL's JOIN are radically different concepts and the definitions are not interchangeable, only tangentially related in the respect that all the information being 'join'ed ends up in one [maybe larger] pile.

With respect to the article, concision looks like an artifact of standard practices by the languages users rather than any part of the language specification. One can be just as concise in ObjC (or C or Java), but the tradeoff is still readability.
In a sense, they did:

http://en.wikipedia.org/wiki/Boeing_X-37
I believe that it is certain types of fish oils that are leading over fishing.

For instance if you were to buy salmon oil and the salmon was farmed raised then farmed issues aside you wouldnt be overfishing.

I believe that generic fish oil does lead to overfishing but if you by fish oil from Wild Salmon chances are they arent fishing solely for the oils.

http://www.seafoodwatch.org/cr/SeafoodWatch/web/sfw_factshee...
The retirement and Medicare options also give you huge savings in the long run.

(They should probably index the retirement age to life expectancy. That way you wouldn't need to fight huge political battles every decade.)
Having the TSA staffed by perverts whom nobody likes will likely speed the demise of the agency. For example, if it become known that more than one of the agents who pat down children are convicted sexual predators of minors, the public pressure would force the agency to shut down.
Yes, we live in a relatively cold era in the history of our earth. It’s a great, very informative article.
That's a fair question: it is not better than Google. You see, after I got my hands on the data, I wanted to do something, anything, with it - and it occurred to me that nobody else was offering a way to explore the data beyond the categorization that Wikileaks was doing.

I'm interested in what people are looking for in the documents. It's actually quite hypnotizing to watch the log scroll by. Sure, it may not be the most creative idea, but then again, it doesn't have to be (case in point: nothing I ever did got this much traffic) and it took, like, 2 hours total to make.
As my entrepreneurial mentor taught me, it's 50% about solving a problem and 50% about figuring out distribution. Groupon's advantage isn't tech, it's massive distribution and thousands of well-trained sales reps with strong relationships in local communities?

Do you really think Google could replicate that? It advertiser relationships are definitely not tapped into local communities like Groupon. In fact, that's probably the big reason for the acquisition -- local relationships.
While I don't know if I agree with the decision, this is an excellent cautionary tale for what happens if you try to guess what your current customer behavior is instead of measuring it. I doubt there is anybody here who runs a public service who has not been bitten by that before.

This particular issue has caused trouble for a few other startups, too. IMVU, if I remember correctly, also had a huge fracture with a vocal section of their user base when they decided to ban pedophilia.
> "I think that the lack of secrets is far less damaging than entrusting the government with determining what may or may not be kept secret."

I'll go along with this IMHO naive utopian view, but you're still forgetting that holding the US government to a no-secrets rule means the USA has no secrets while everyone else does. This sounds like a real winning combination for becoming the world's greatest defenseless sitting duck.
This bugged me also. The title text doesn't match what the links actually are.
My theoretical fund would have a wide range of stocks. It does not seem to be related to spreading gains or risks.

I have not seen any comparative table of stock churn rates for different funds, but my guess is that index funds do well because they reduce the sell-buy transaction costs, partly by eliminating the cost of human stock pickers, but primarily by reducing the percentage of stocks in the fund that are sold then bought every year. Maybe this is wrong?

My understanding is that an index fund sells and buys stocks to balance the proportions held in the fund as the market capitalisation of the companies changes inside the index. This imposes an apparently unnecessary cost on the fund. If we removed this cost by not selling and buying stocks to keep it equal to the index would the fund become more profitable? I am considering it to be a fund where people invest incrementally over a long period so there would be constant random aquisition of new stocks from the index.

Maybe that doesn't make sense for some reason.
Problem solved. Thanks for your feedback.
On KDE I use konsole, on i3, urxvt.

I've never noticed the lack of text wrapping and reflow until you mentioned it, but you are correct, at least on KDE that I'm using at the moment.

I think the reason I've never consciously noticed this before is because I'm almost always using VIM in the terminal when typing lines of any length. With VIM, line wrap and reflow work just fine in the terminal. I actually had to check that it didn't work with naked terminal commands, and was a bit surprised when it didn't. I suppose I haven't typed many raw terminal commands of the length to wrap, and in the rare case I did, I must have just dealt with it. So it's cool there is a terminal that wraps... that's worth a point or two... but not that a big a deal in my particular case.

For copy-paste I just use the mouse. Works normally on konsole (right-click highlight > select copy, same > select paste). On urxvt I paste by clicking left and right mouse together. Keybindings could be set easily enough in KDE and I believe there is a plugin called "xclip" for urvxt that would do the same. I haven't bothered because what I have seems to work fine and I rarely copy/paste (again, except in VIM which has it's own thing). Admittedly a nice terminal all set up that didn't require customization would be cool. But I take my setup from machine to machine anyway in config files so again...not that big of a deal.

I'm not sure about inconsistencies with other apps. The Control-C thing I'm used to. I don't hit Control-C to copy in the terminal by habit at this point although I could see how that could be an adjustment.

Anyway, cool... thanks. I didn't realize OS X had a very nice terminal. Good to know.
Said responsibility is then just not using C when you don't want buffer overflows, and by extension not using Node/JavaScript when you want readable code?
I didn't see any ads.
"You're too stupid to handle this, just stick to PHP" - really?

If a developer can't grasp Node well enough to avoid blocking the event loop, I certainly wouldn't want them trying to handle a thousand connected clients with PHP!

Anyway, to answer your question - within a single node process no, not really. If something on the event loop goes into an infinite loop, timeouts will be of no use, and all other open requests are gonna be toast. This is just a downside to cooperative multitasking.
As I work remotely, it is the best. I think it is up to the individual. If the individual does not want to work, he or she does not want to work regardless at home or at the work place.
$2M just to get started?

If that is what one needs to just seed a company, then entrepreneurship has just become another career path with little risk (still get a decent salary) with a call option on some upside attached.

The reality is that capital is not a requirement for success although we do tend to celebrate it needlessly (1)

There are real tech companies out there (many mentioned in the indie.vc post) that built a solid initial product, sold it, got customer feedback, made improvements, and sold some more. They didn't have the luxury of $2 million or necessarily even $100k.

If you're selling the shoot-for-the-moon, billion dollar IPO, "change the world" dream from day 1, $100k may be immaterial, but I know of many solid tech companies (ours included) that are growing quickly (we're doubling headcount in 2015 from 25 to 50) who grew the old-fashioned way -- by funding out of revenue and who started with no outside capital at all.

(1) Best article about the myth of VC - http://recode.net/2014/09/11/the-myth-of-venture-capital/
I wouldn't say TFA is lying but it is presenting only part of the truth. MRI does have an actively developed test suite, which they run in CI and which we use to test compatibility in JRuby. MRI has contributed to RubySpec in the past and many contributors I know stopped (like I did) for nontechnical reasons. They are not ignoring it, but it is a hard project to collaborate on given the attitudes of the project lead that should be evident in this post.
My T42 worked like a dream on Ubuntu 14.04 until recently, and now it refuses to awaken from sleep properly at all because of some update or other. I'm dreading trying to track this down and possibly finding out I'm stuck with using Windows 7.
I think the idea is to run multiple trials, each _still_ with 40,000 patients. That way we could have approved a 2-week dosing schedule and started giving out the first doses, and by the time the first patients are ready for their 2-week dose, the results of the 4-week dosing schedule would be ready, etc, etc. So we could push back the 2nd dose "indefinitely", preventing this issue in the first place. (Assuming by the time the 2nd dose is really worth getting, we have already made enough vaccines that the scheduling details are less important)
But the other commenter’s “corporations will kill people without consequences” isn’t a contrived example. It is just an extrapolation of what happened already when Uber’s self driving car killed a woman because the management and executives decided to manually disable the automatic braking on the car.

Maybe crashes and deaths will go down by an order of magnitude one day. But my point is that that’s hardly an argument in favor of not worrying about the ethical implications of self driving cars today.
I replaced my 2013 MBP with a System76 laptop in late 2019. No regrets whatsoever. I can boot the new machine into Windows if I really want to. It's been months since I left it at installed.
I actually quite like the phrase ‘mute your keyboard’ for this purpose.

If it said ‘mutes your microphone when you type’ the use case isn’t immediately clear unless you add ‘so people can’t hear your keyboard’. Adding the rest makes it clear but less concise.

Each to their own, but I think this is fine for marketing copy. It’s clear what it means, and redbull doesn’t actually give you wings.
Wouldn't make sense. The blog post indicates they went through legal channels to make this happen
which they should, if the drug abuse was encouraged by team leaders and rewarded with promotions/contracts.
That seems to be an interesting product. However looking at the price [0] that is probably not an option for everyone:

> The Team Edition is priced at $150,000 per year. The Org Edition is priced at $995,000 per year

[0]: https://docs.bitnami.com/tanzu-application-catalog/faq/get-s...
That is odd, I dont think there are any locations in the UK where there is open drug use. I also remember seeing clearly mentally ill people on the streets in Miami, something you dont see here ( though you do see homeless every now again - rarely tents ). Is that just a normal feature in cities in the US?
I must say I am tempted to buy a Mac mini and if this project succeeds it might be the thing that triggers it.

That or Apple making CMD - tab customizable so I can fix it on my desktop ;-)
If the government uses their monetary ties, or forces a company with threats of legal (or executive) action to suppress free speech, I believe that is a violation of the 1st amendment.
I can’t get upset about Twitter bans, but I’m old enough to remember this country before the patriot act and I’ve got no desire to double down.
> But your point makes it clear why Section 230 is not important to protect the Internet

I’ve only given evidence that businesses not privy to the Section 230 liability shield are doing exactly the same thing that you claim would be prevented by repealing Section 230, and therefore repeal will not solve the problem.

It is a fallacy to extend this to say that Section 230 is not important to protect the internet in general, as the internet is about far more than companies putting profit over public safety. The absence of the liability shield will absolutely cause other chilling effects. See my reply to a sibling reply for more detail, with evidence to support this position.[0]

[0] https://news.ycombinator.com/item?id=25695770
The instances you are referring to from the past were from police units that were fully prepared for riot combat. From what they were wearing and what weapons they were carrrying. They were also fully briefed on being placed into a riot situation. For the Capitol Police, it was just another Wednesday. There was no advanced prep for them to outfitted with riot gear/weapons. This is why it is so important to investigate the decision making process by leadership on why it was not something more than just another Wednesday.
Oracle is the example.
I don't think that's fair. Twitter was not in an enviable position from the get go. Trump had been on there for years before he ran for president, and banning the president IS a big deal no matter how you spin it.

There is some grey area that was definitely crossed the last few years where banning him from twitter would have been the right thing to do. It was long before Jan 6th but i don't think it was so early in his term either.

What's done is done, I'm just glad it's over now tbh.
>We need more discussion, not less.

Is there any reasoning for thinking this? Besides that, discussion cannot fix harms created by previous discussion - it can only (maybe) prevent future harms.
If they're shut out of public discourse, why do we keep hearing about them?
http://twister.net.co/
Because they have the power. When you have power you get to decide the rule.
Community board meetings in general are a problem that nobody has found a great solution to. Oddly enough, the pandemic has caused most of these to go virtual, which has nerfed a lot of the power of the highly motivated old people with too much time on their hands.
Philip Greenspun is notorious for being intentionally provocative in his online essays, but here he makes a thoughtful contribution to the literature by picking apart one of the weakest points in Paul Graham's recent essay. The essay by pg appears to assume that programmers are born and not made and they are born in equal rates by population in all parts of the world. Greenspun correctly challenges that kind of naive genetic determinism and suggests that people around the world, in many occupations, respond to incentives, so that people who are within reach of incentives to become better programmers will tend to become better programmers, while people not offered incentives to become better programmers will choose other career trade-offs.

Our fellow participant in this discussion davidw makes the good point that immigration in general is good for countries in general. So my basic policy predisposition is for the United States to have very open borders to immigration, and to impose few requirements on immigration. (All of my ancestors came to North America under rules like that, after all.) My wife was readily able to immigrate to the United States under the "immediate relative" category of immigrants after we had been married for more than a year overseas. My oldest son has sometimes considered moving away from the United States to settle in another country (he has looked specifically at some other countries), and what he has found is that his programming skills help open doors to permanent residence and settling in other countries to immigrate, but especially so for people with college degrees rather than on-the-job training in programming.

It is still the case today that the United States is by far the most desired country to settle in for immigrants from all around the world.[1] And a lot of people achieve that desire. I know first-generation immigrants from India, China, Russia, Korea, Vietnam, Ghana, Haiti, Australia, Pakistan, Turkey, the Philippines, Romania, Poland, Somalia, Argentina, Ecuador, Canada, the United Kingdom, Spain, and a variety of other countries here in Minnesota, where the climate is anything but inviting. My inclination is to welcome even more immigrants than the United States welcomes now (for one thing, that improves the variety of local ethnic restaurants and grocery stores) but the United States already receives more net immigrants from all the rest of the world than any other country on earth, so I can understand why my fellow voters might not think that the United States has a shortage of immigrants. To make a strong policy case for immigration reform takes a more nuanced and tightly reasoned factual argument than Paul Graham made in his recent essay.

[1] http://www.gallup.com/poll/161435/100-million-worldwide-drea...
wasn't Path, the restricted social network?
How do you think programmers get from average to great?
I'd rather not really share. I guess that goes against the spirit of the thread - Sorry!
Popping from the source is likely a big source of allocator / copy overhead. It’s probably better to just iterate over an input array.

The algorithm in the article would be quadratic in perl 5; not sure about rust or js, but the point still stands: It’s likely to see asymptotic performance differences in different languages.

(Edit: it’s not quadratic in perl. If it used shift to pull from the front of the array it would be.)
Yes, you have to be very careful with measurements, I agree.

> If you speed things up by 10% on your server, they'll get 10% faster on your laptop as well.

Depends on the speedup and techniques to achieve it. For example, speeding things up via more parallelism can lead to wall-clock improvements on servers but not laptops, precisely because the latter just end up doing more thermal throttling....

Ideally, you want to measure both ideal hardware and actual-user-hardware; often speedups on one will not be visible on the other and vice versa.
> Mother Nature doesn't have to care whether her rules are popular, the laws of thermodynamics are actually very unpopular, but they apply anyway.

I am pretty sure whitelisting servers don't follow the laws of Thermodynamics or nature.
What aspect of nature does the sensitivity conjecture describe?
> That doesn't negate the fact that people are still paying higher prices. If the fed is mandated with controlling the increase in prices then it is still upon them to address it, no? The fact that monetary policy is not a primary cause of the good/service specific inflation is irrelevant.

If 'everything is going up the same amount' then sure. If one particular contributor makes an outsized move in the wrong direction what's the fed to do? Fire up the printer at the cost of all of the other areas of life that aren't going up?

Healthcare contributes to inflation, sure, but if government passes a 50% tax on all healthcare procedures overnight, that's not the Fed's job to rectify. It's not their job to fight Congress on how relatively expensive certain things are. If the government decides healthcare should only be for the rich (...er) then it's not the Fed's job to change that.

They would account for what the newly more expensive healthcare cost does to inflation as a whole, and increase or decrease the money supply to match.

Their job is systemic, not targeted. Want cheaper healthcare? Talk to congress, not Janet Yellen.
I didn't catch that, thanks. Shows how thoroughly I'm reading
I'm not much of a one for write-ups I confess, but broadly:

The raw data comes from the Environment Agency and Natural Resources Wales as .asc files, which are just a big 2d array of height values in text file, in this case covering 1km2 each.

I downloaded all these and wrote a script to produce .png tiles using a "hill shading" algorithm, i.e. make pixel darker if pixel to top left is taller, using C#.

Once I was getting nice results I rented a hefty server at AWS to run it on the whole dataset for 24 hours, generating 2 million .png files, then used leafletjs to display them slippy map style.

I was originally hosting the tiles on AWS but the egress fees were too much so I move them all to a 3€/month bare metal arm server at Scaleway.

The 3D stuff re-fetches the raw .asc files from the source agencies on demand using a AWS Lambda script which cuts out the 1km2 of interest and passes it back to the web server, which renders it using three.js for the surface texture mode, or potree for the pointcloud version.

The website itself is built in asp.net core, running on a $10/month box at Digital Ocean.
This was another one of those ideas that popped in my head that I went to check google on. Already done. Nice job.
It's ftp, not http. You cannot serve scripts over ftp, so unless there is a completely seperate exploit for ftp clients out there it should remain unaffected. Note that most browsers include an ftp client which is why you are able to browse it.

It's possible the binaries you download may have been modified, but I assume digital signatures are available.
That's pretty laudable. Getting a full set of hardware that doesn't need any binary blobs seems to be getting harder and harder. Wishing they had a smaller version, or might have considered it.
I'm curious about the town you are talking about. I've seen
the finances of people who rely on state benefits, and in the Bay Area--unless you have a bunch of kids(afdc) and were lucky enough to find section 8 housing; the state benefits
are not enough to keep a room--you can eat though. I know too many homeless people who tried to get state benefits, and the help they recieved was tiny, and had a time limit. My best friend who passed away was on SSDI. He knew he was lucky he qualified for SSDI, but he was always broke. I saw his checks and it was just enough to get through the month. People used to rib him about buying a cup of coffee at Starbucks, at the expense of The Federal Government, but they had no idea just how little money he was receiving.
Awesome advice, and I looked into Planeshift myself a long time ago. I should have stuck with C++, because it would definitely have been more useful in some cases.
I'm going to start a blog, and start writing some meaningful posts. I have lots to say. I will blog about how I've been learning Godot engine lately (not many are, currently). :-)
I'm looking into labor options as well, there seems to be a number of jobs here and there that can keep me going.
Snap/Haskell/(opaleye|esqueleto|groundhog)/postgres web applications

Elm

Netwire games - Haskell frp

Gloss - Haskell 2d graphics

Nim (generics, fast, enforce purity, macros)

Idris - Becoming more useful for real world problems.

Clojure - fun pragmatic lisp that leverages the JVM
SEEKING WORK, Ontario Canada, remote only.

I can do virtual paralegal work for anyone outside Ontario, unless your jurisdiction requires a license. I'll be licensed by 2021 for Ontario.

I also have 15 years of IT experience and can do that. I can do system administration and help desk related things. My programming skills are garbage. I can write markdown though.

https://www.bettercallbritney.ca
My university uses them for file storage and sharing, so I imagine they have many large enterprise clients.
It could also indicate that the higher threshold is too high. Regardless of the reason, an income of $299K is plainly not underclass by any stretch of the imagination.
What if it's through ad networks? Do the ad-networks pay or do they bill their users? Do they start offering the option, "exclude Maryland"?
It seems to me this would be really, really difficult to enforce. So much of what is digital doesn't come with tags. Ads may be relabeled "suggestions" to avoid laws.