jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
In Haskell there are (nearly) only pure functions, and you will still write tests. Or, rather, you will write test specifications with QuickCheck.
Hmm, startswith('/', '../') in is_secure_path doesn't check for paths like this: './../'

Although it would prohibit some legitimate uses, you could just prohibit any usage of '../' anywhere in the path.
Wow. That has some awesome concepts. Keep up the good work!
Also, only 25% of top 1000 alexa websites has IPv6: https://www.worldipv6launch.org/measurements/

The adoption rate has been really slow.
"Also, our compile test seems to have broken itself when we used Windows 10 1909, and due to travel we have not had time to debug why it is no longer working. We hope to get this test up and running in the new year, along with an updated test suite."

So there's that. I'd give them a break with the fact they also had to produce the review for Intel's launch on the same day: https://www.anandtech.com/show/15039/the-intel-core-i9-10980...
It's 1G "somewhat-shared" unmetered per dedicated and 20TB on their VMs. I don't believe they've ever offered a 3 TB option.

Good choice though, their NVMe is also really nice on the VM line.
Storing a dozen bytes of 5,000 expired token ids until they expire vs several hundred bytes of 100,000 sessions.

Granted, its use case leans towards big systems, or systems that cross boundaries between orgs.
Am 5'11". Married a girl I met on Tinder
Having read it again, I now think the numbers are indeed from TfL and not from the more recent Cognizant review.
I haven't used it, but it works in a Docker container without any device mounting or access to the host X server, so I'd assume that it does indeed work without any X available.
This is why the article says MAP_EXCLUSIVE would exclude the relevant pages from the direct map.
After the Joel on software forums closed, where do shareware/isv folks congregate nowadays (if you don’t mind sharing)?
> Depending on the kind of damage a given person may do when not in prison, the cost of keeping said person in-prison may be cheaper than the damage they do to society.

This is definitely true. Prison is sometimes justified as "punishment" and sometimes justified as "protection"of the vulnerable. Both approaches have merit and society generally uses both.

However, if you look at the system as a whole, terrible prison conditions are an obstacle to protecting society. As we have seen fit to imprison some people for less than the entire term of their natural life, you will notice that this means we release people. When people who have been abused by a needlessly cruel prison system are released, it is harder for them to re-integrate into society, and much more likely that they will re-offend, perhaps with the assistance of people who they met in prison (often their only resource upon release.)

Unless you are prepared to argue here that substantially all sentences ought to be life sentences (or death sentences) it is thus critical for the project of protecting society that prison is not cruelly abusive. Rest assured that it is still punishment to be locked in a small room! It is altogether unnecessary and counterproductive for you to rot in the small room, to ruin your health with the food, to lose your teeth for lack of basic dental care, to be abused by guards for fun, to be abused by other inmates, or to be raped, but all of this is common. It is especially counterproductive for prisoners to be denied access to means of self-betterment such as reading material, or to have their reading material replaced with rent-a-book tablets charging exorbitant prices, but this too is a trend in some states.

And this is, of course, just a start; there are of course many other inhumane things in US prisons that harm society as a whole, so much so that it is hard to enumerate a meaningful inventory — perhaps you could start with the article linked?

Nor is it in the service of society that prison guards should put a man in a shower and turn on scalding hot water and leave it on until he dies, but it happened to Darren Rainey. Nor is it in the service of protecting society that prison cards should leave a man in a cell, naked, with the floor covered in sewage, but it happened to Trent Taylor, and the guards were afforded qualified immunity.

And most people who are not literally Nazis and have a shred of moral fiber would not say that involuntarily sterilizing women in prison, and lying to them about it and saying they have cancer, is something that protects society, but it was happening in California AS RECENTLY AS 2014 — yes, the year of our lord two thousand and fourteen, that is not a typo. And the next time you start hearing about "private prisons" remember that this was in a state run facility. (Documentary here: https://www.youtube.com/watch?v=IoD7VgFl9EI )
Revealing it on hover would be the desktop UI answer and perfectly achievable on the web if they wanted to. Facebook does this on post times. I think it's a decent tradeoff.

Unfortunately mobile doesn't always work nicely with hover semantics.
If you read the articles closely, you'll see that they're anything but "alleged". The "morality" dasil003 mentions, which "does not agree with that of the wider culture surrounding them", disagrees with the "wider culture" of the West on many topics, including the way that sexual abuse should be dealt with or how access to healthcare should be regulated.
I don't know about the situation in specific but typically those things are governed by reciprocity and personal relationships.
A $182M bug bounty was just claimed.
Very interesting experiment/idea/project, I hope you get lots of messages, help lots of people and then tell us about it!
I think it's evident of how strong this narrative of the day is that newspapers keep churning this stuff out despite the fact she unanimously lost the case as decided by a jury of her peers.

If she had won, how many newspapers do you think would be publishing articles giving Kleiner Perkins the benefit of the doubt?
I heard that Yale had a problem like this, and struggled to collect on it. It put them in a tough position of angering their alums to get their money.
The webpage at https://auth.startssl.com/ might be temporarily down or it may have moved permanently to a new web address.
Error code: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

(chrome)
As I said, both are backlashes fueled by overhyped fears of the company's power and disrespect for privacy. All analogies break down somewhere, and you are correct in the fact that Google is a search engine (plus ancillary services) and Facebook is a social network.
I would say just search meetup.com for technical meetups in your city. Go to those meetings. Meet tech people. Convince one of them to join forces with you.

Going to these meetings will expose you not only to the talent but also to the jargon and the issues of the day. As a business person you are not expected to code but you kinda need to know how to spell[1] words like python, ajax, cloud, nodejs persistent data store and the like.

I would certainly expect a non-technical co-founder to know at sme level and show interest in the technology being used. Just as I would expect, as the technical co-founder, to be involved in certain big picture non-technical decision making.

[1]by "spell" I mean at least know what they are.
Found this http://code.google.com/p/fb-exporter/source/browse/trunk/fb-...

if (request.pissOffZuckerberg) {
startExportFriendData();
}
Because .tel was approved specifically (and solely) for this purpose :) Here's Telnic's quick 5 minute pitch: http://www.youtube.com/watch?v=JnRwniqqiCE
Yeah, for me this would be one of the more important features, since I've on more than one occasion had to access FB to get a phone number.
Misses the point that "regulating food" and "banning all the unhealthy foods" are not at all the same thing.

As a libertarian, I'm amused since more statist folks usually accuse us of confusing regulation with totalitarian control.
The Chrome extension looks like it includes more than just the exporting code, which does look like something that could be fairly trivially made into a bookmarklet. http://code.google.com/p/fb-exporter/source/browse/trunk/fb-...

But it also has the ability to automagically use OAuth to connect with gmail to upload contact information.
I clicked on this link thinking "yeah, hot chocolate has kind of vanquished cocoa hasn't it?" Very disappointing to discover this had nothing to do with chocolatey drinks.
I had the same feeling when I did my first side project in Swift earlier this month. My main experience is with CoreData.

An example with 1:n relationships: CoreData returns and expects an (untyped) NSOrderedSet. Now I may either keep the NSOrderedSet, but have to cast each object I want to use - and my Swift code is just as bloated as Obj C would be:

let obj = mySet[0] as MyClass

instead of:

let obj = mySet[0]

Plus, map/reduce etc. won't work on an NSOrderedSet.

Or I create a typed Array from the NSOrderedSet, which is fine to work with in Swift - except that it is not managed by CoreData anymore. So I'd have to be careful to synchronize with CoreData manually, and it's not just saving that I have to watch out for, but also other operations like rollback etc.

Another example is NSNumber. NSNumber needs to be manually mapped to Int, while the other direction works automatically. That makes sense when it is unknown whether NSNumber is an Integer or a Floating Point Number, but in CoreData I have specified that it's an Integer 32... (Well, I think it was similar with Obj C, actually).

So, working with Swift in the Playground felt like a huge improvement over Obj C at first, but then working with some Cocoa APIs it started to feel ... more clunky again.

I think it was/is similar with Scala. If you can stay in the Scala libraries, awesome. It is a huge improvement over Java. But Scala won't automagically turn a terrible Java API in a great Scala API. Yes, you'll save a couple of semicolons and type declarations, but it's not that big of an improvement. Thankfully (in Scala), there are a lot of better frameworks or wrappers for existing frameworks by now. I guess Swift will have to go the same way...
There is a fine line between 'trying something' and 'repeating something stupidly'.
It's worth noting that these techniques also work in other languages - I've been doing this more and more often in the Python code I write.

If you aren't used to it, it looks a bit unusual (of course) but it makes for much cleaner, and therefore more maintainable, code.
A good forum for discussion, or reading along, used to be sci.crypt with the spam filter turned up to 11+, but I haven't checked it out recently.

Or http://marc.info/?l=cryptography&r=1&b=201010&w=...
I've been toying off and on with low carb diets, and my body has made it clear that if I want to continue with high carb diets it intends to make me one of the guys having heart attacks at 40 or 50, so it's now permanently "on". (I'm 31 right now.)

For a while I've been playing with spices, in all the good senses of "play", and I've been upping my culinary game. Even more recently I've started to get into sort of "gourmet" cooking; I'm scare quoting it because I'm not really in it for the attitude, but just the flavor. I have a small collection of vinegars, cooking wines, various extracts and oils (you can pry my sesame oil out of my cold dead fingers), and have been experimenting with a variety of cheeses. My wife, who isn't quite as into this yet, has also become hooked; she's discovered she really likes Balsamic Vinegar in a couple of recipes. (We buy the, ahem, "fake" stuff that doesn't take decades to create and only costs slightly more than other vinegars in the store; I'm sure it's not as good but it's good enough.)

And lo, it turns out that there are entire culinary traditions around the world that have centuries of history working with these ingredients, and it is good. My "boredom" level has plummeted in the past six months as I've opened these doors, and lately I'm getting to the point where I couldn't go back.

It isn't that hard, and it isn't actually that expensive. It does take some experimentation, though; you can follow recipes but I've found that my tastes and the tastes of those who are really "into" the culinary thing diverge quite strongly, even as we agree on ingredients. These are expensive ingredients relative to other foods in the store, yes, but typically you only use them in very small quantities; per use they are monetarily insignificant.

Example: I like hamburgers. For other reasons, I have to eat them without a bun, but I now wouldn't eat them with a bun anyhow. I do not know what it is exactly, but I find that adding one drop of sesame oil to a pound of hamburger can really change things. Don't forget to salt the meat. Toss in some dried onions for even more fun. Mix it all together, then form the patties. This is not a normal burger. I say "I don't know what it is" because something is really opening up the sesame oil, usually one drop does not have such an effect on a meal, but don't dribble much more in or you will actually ruin it. (Unless you really like sesame flavor.)

And this is just one example. It really isn't surprising (in hindsight, remember I've been there) that trying to take a typical American diet and subtract the bad stuff, which also happens to be where all the flavor is, has a boring result. But there are other traditions and ways of cooking that are as good or better; after all, the recommended American diet is a local aberration, not what we've been eating for centuries.
Indeed.

http://www.cafepress.com/metalrubystuff.22268587

(Yeah, that's my CafePress shop.)
The problem here is not so much with a judge or magistrate being ignorant of technical issues but rather with a set of laws or procedures that allows a prosecuting authority to come in with a heavy hand to get onerous remedies without affording the affected party a proper opportunity to respond, at least at the first step in the proceeding.

As long as the affected party gets a fair opportunity to respond, that party will put contrary evidence and arguments before the judge or magistrate, including affidavits of experts who explain the relevant technical issues. Once a full record is before the court, issues tend to be fairly and properly decided.

Obviously, at the warrant stage in this proceeding, everything was one-sided. In such cases, at least at the ex parte phase, things will tend to be "rubber stamped" by an official, such as a magistrate, who probably has all of 10 or 15 minutes to devote to considering this particular item as one among what might be dozens of items presented to that official in a given day.

The key is always one of due process. If all sides get to present their case, judges and magistrates will tend to conscientious and well-supported decisions. They do not need specific technical training to be able to do this, as they will usually be well-educated by the affected party on whatever technical deficiencies might exist in the prosecutor's position. That obviously did not happen here because this particular step appears to have been decided based on a one-sided presentation only.
Many people have complained it is too long and complicated the user doesn't have to fill everything out. I think it is great but just make it obvious that they fill out what they need and ignore as much or as little as they like.
> (x + (if is_true(): 1 else: 2)) [is invalid in Python] be­cause the if–else con­di­tional is a state­ment, and can only be used in cer­tain positions.

Point taken, but troll-mode pedantry: (x + (1 if is_true() else 2)) would be valid :)
Its not XMPP that's the problem, its Google Hangouts. Google Talk didn't drop messages (and its the one using XMPP).
"Native" really isn't that significant. When Android first came out, it's "native" applications were all apps that were written more or less from scratch using the Android APIs. When Android first came out, there were essentially zero apps. "Native" usually isn't raw ARM binaries either, it's in the form of dalvik vm bytecode, optimized not for speed, but for executable size. The only time native is useful is with truly performance critical applications, and the vast majority of apps aren't performance critical. Javascript runtimes are getting faster with each release and the huge amount of competition between browser vendors. Chrome also has Native Client, which would be the equivalent of Android's NDK.

If by "native" you mean the user interface consistency, acknowledging that web apps will be significant pretty much destroys that anyway. Lots of iOS/Android apps don't even use the native UI widgets anyway, so it's not a really worthy goal.

Android started with a huge disadvantage: not having any apps. Yet only a few years later, the platform hundreds of thousands. Chrome and the web as a platform is much more approachable, and for every existing android or iOS app, in a short time, there will be rough equivalents that can be made.

From the start, Chrome has millions. All of them can be accessed with a consistent interface, where there's a single notion of an application. If android takes over, then you'll be constantly switching contexts from the browser and the "native" applications.
This comes up all the time here. Most people use downvotes for disagreement. Gotta live with it.

More importantly, TrailBehind looks nice. How's it going?

Edit: Case in point. Someone downvoted this comment to 0. But I think it will come back up. I think with the growing numbers of HN, a lot of rogue voters have come along, who just like to screw around.
Or if you're worried about the licensing of Singularity, Singh and others, check out MOSA (http://www.mosa-project.org/) which tried to bring back SharpOS and EnsembleOS together (both inactive now unless something changed lately), or jNode (or many others I missed probably). They should be all in a runnable state (even if very limited).

There's been a lot of this stuff happening around. There are many paths - which unfortunately cannot include many of the existing native (unsafe) solutions.
I think the point is more that it is reinforcing a negative stereotype, that all Russians pirate software, squat on names, etc.
Donation, seriously? How is this any different than an RV? And don't forget you're encouraging inefficiency.
yes, and there is a market for used containers. You can get a new one for like 10 grand or so, but can find used ones for about 3 thousand --but of course you'd have to recondition them for living like strip the plywood and anti fungus chemicals, etc...

The house designs can be pretty avant guarde and while they retain the constraints of the geometry, the configuration can make you forget that the building blocks are shipping containers.

See http://www.dwell.com/great-idea/slideshow/10-examples-shippi...
Gripped: http://gripped.com/news/big-push-dawn-wall/

Rock and Ice: http://www.rockandice.com/lates-news/dawn-wall-update-caldwe...

SuperTopo (like HN for climbers): http://www.supertopo.com/climbing/thread.php?topic_id=253096...
I'm agreed on this. The shop has no requirement for due process. You're entirely correct: Cameras are reasonable. Monitoring is reasonable. Keeping a log of who causes issues is reasonable, and the people making a fuss of automation haven't put forward any arguments beyond "1984!!1!1!1".
SQLite would suffice. Although I see no reason to change now.
Sounds not-so-dissimilar to Tom Stuart's "Refactoring Ruby with Monads" (https://speakerdeck.com/tomstuart/refactoring-ruby-with-mona...) which is excellent.
>all my scientific alarms go off

Is it required on HN that every article be terse list of peer-reviewed facts?
Extensive discussion two days ago:

https://news.ycombinator.com/item?id=8792565
Great post as usual Paul (OP).

The points raised are really good pointers for other startup companies and their approach towards fundraising, which let's not kid ourselves is one of (if not the) most important things to do.

I am sure that it is a really good product and has a lot of potential. I can easily see notifo as being one of the little tricks in a developer's bag, a framework that handles all of your notifications while you concentrate on other, more important aspects of your application.

I would agree with maxklein on the approach towards Notifo. Yes it is revolutionary and brand new technology and it did take me quite a bit to understand and comprehend what it does. The understanding was also hindered by the fact that I cannot see what it does, since I do not have an iPhone and the Android application is under development.

The only obstacle is understanding what notifo is and what notifo does. Some people will not get it but the more do, the better it will be for you :)

Keep up the good work !!
Three people just said this. This is a good idea, thanks.
Rendered example coming soon.
Question - how do they get their internet? Internet in the UK comes over ADSL (which comes with a landline) or via Cable (and that usually comes with a landline too).
The irony is that I've had a number of times where I've been discussing limiting carbohydrate intake with somebody and they repeat the claim they heard that ketosis somehow puts the body into "diabetic shock."

I'm not even hardcore about it and don't go to the extent of maintaining ketosis, but I've definitely noticed that I feel my best and control my eating easiest if I limit carbs to about 30% of my caloric intake.
Isn't that the point of a good proportion of comments on Hacker News? It seems to be.
There is a lesson to learn somewhere in all of this.
That was an EXCELLENT read, thank-you.
Honestly wikileaks barely actually affects anyone. Facebook has changed the day to day lives of hundreds of millions of people around the world. I can't imagine my life being different at all in the absence of wikileaks, and unless wikileaks in the future leaks something more interesting then I doubt it ever will.

The actual nature of wikileaks's leaks has turned out to be so prosaic that it hasn't really changed anything. Apparently diplomats bitch about things. Whoop de fricking doo.

edit: Wait, I forgot about the Kenya thing, of which Assange claims "1,300 people were eventually killed, and 350,000 were displaced. That was a result of our leak."
Strength does not mean violence in this case. >99% of the gathering was peaceful. What if we applied the same standards we applied to the Black Lives Matter protests which also included elements of rioting, looting, arson, & even murder, yet were heralded as "mostly peaceful" (by the same people)?
One solution might be to characterize individual drivers (agents) by running an RL experiment that mimics the interactions of individual car drivers. If the reward function is made to compare traffic patterns of the simulation vs real life, then eventually the RL model (a combination of agents) should converge to how humans drive.

So you would have various transition probabilities of a car driver moving from an attentive state into various inattentive states, with drivers having different reactions in each state.

It would also help to have a level of "variance" in individual drivers. So instead of having a bunch of drivers who are just as likely to make mistakes, you have some who transition far more easily into inattentiveness and some whose likelihood of damage/nuisance is higher than the standard driver when inattentive.

It seems entirely doable. (famous last words)
It will, and then in a few years it'll jump again. Bitcoin is pretty consistent. Bubble up to multiples of previous high, then collapse 70%+. Then in 2-3 years, do it again. Each time it dumps, it'll still be higher than it was the last cycle.

Previous results don't guarantee the future, but most likely, if you can keep your emotions out of it, you'll make good money following the cycle.
This is not true. Most of the ones arrested, however, is definitely true. Check the comment above.
How how the times change. Gore conceded. Then withdrew it. Then later conceded again. Up until 2000, it was pretty unprecedented. Some rather spicy events.

2020 obviously blew it all out of the water though.