jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> Laravel has to jump through a lot of hoops behind the scenes to do what it does, leaving you with a framework that isn't particularly nimble and design patterns that often aren't particularly applicable to the rest of the PHP world.

And tell me, do you use React? Talk about jumping through hoops just to print HTMl.

Personally I'm very glad Laravel was written in PHP, because:

1) you can still use raw PHP in the templates if you wish.

2) PHP Traits allow a very interesting form of polymorphism and code-reuse which is especially suited to the kind of business logic you find in web apps.

3) PHP is very much a C-inspired language that was built ONLY for the web, so you get access to a lot of low-level constructs and a "baremetal" paradigm (passthroughs like system() for bash scripts with seamless handling of STDIN/STDOUT) plus a solid standard library for the web. The PHP standard lib supports everything you need to write HTTP servers: curl_setopt, parse_url, FFI for calling C functions for performance-sensitive code, date/time/number/currency formatting, global variables for cookies and sessions, etc. all out of the box.

For web apps, I'll take PHP over NodeJS/Ruby/Python any day of the week.
People are still free to have opinions on the case. The purpose of this legal principle is to put the burden of proof on the prosecution, i.e the government can't simply blame you for a crime and force you to dig up evidence of innocence.

People can disagree even if you're found innocent at trial... just look at OJ's case. The government isn't going to prosecute him again, but "OJ did it" is gonna dog him for the rest of his life.
Not kinda true anymore with M series chips.

Look at other comments here, people are amazed how their 8gb MacBook Air works.

People have been saying this from the moment M1 came out, 8gb Air/Pro feels like 16gb.
What you propose doesn’t seem to be microdosing. But it seems like what you’re saying is not so much about the drug but about the opportunity
Just switched jobs and got a M1 16". It's definitely bulkier and heavier than the previous gen Intel 16". If you're not at a desk and doing web dev, I would say go for the M1 Air. It's plenty fast and very portable.
Sure, relying too much on heuristics can be a bad idea in tail risk situations.

But other times, they make perfect sense and save a lot of time and effort.

This post reads like a series of straw men created to show that heuristics are dangerous. I’m not sure who is going to argue that heuristics are appropriate in those situations.
I admit, that point had not occurred to me. Nevertheless, the Medicare portion isn't subject to a cap.

My main issue was this: "You opt for chaos when you decide to cheat." Aggressive tax planning within the bounds of the law is not cheating, and I think it's unfair to characterize it that way.

The wage/distro setup is an advantage unique to S-Corp owners, and I understand why some want to see it eliminated. But to use it today is not cheating.
Why does the editor have to be open source? I think you might have an argument if you wanted .NET and other proprietary software related to development open sourced and available on all platforms but an IDE is not something that needs to be open source (though extensibility is always good).
n82 right?
You can't compare breakfast cereal or gasoline to a cellular connection.

The cellular industry, due to its high barriers to entry (stemming from the enormous initial infrastructure costs), tends towards a natural monopoly. In this case, it hasn't quite reached a monopoly - instead, we have 4 main companies (AT&T, Verizon, Sprint, and T-Mobile), also known as an oligopoly. I know there are smaller carriers, but since they don't provide coverage everywhere, their product is not the same as the one provided by the 4 major carriers.

The problem is that when there is a disparity between the value of a product to the buyer and the cost of production to a seller, if there is natural competition (cereal, gasoline, etc. are relatively close to natural competition), the actual price will tend towards the cost for the sellers, since companies will keep undercutting each other until the price drops to the lowest they can accept without losing money on each sale. OTOH, if there is a natural monopoly (or something close to it), the actual price will tend towards the value for the buyers, since the lack of competition allows the price to rise as high as the buyer will tolerate.

In the case of bandwidth, the marginal cost for the telecom companies for each byte transferred is miniscule compared to the value it provides to us. If we had an industry with natural competition (like they do in other countries where the government owns the pipes and the telecom companies simply lease it out), then we would only be paying that miniscule cost (which essentially rounds off to a flat monthly fee for unlimited access). But since we have an industry that tends towards a natural monopoly, the companies will milk us for every penny we're willing to give them.
flash block?
The reporter indeed was unbearably obnoxious:
"He is dead? But you're giving him flowers? Does that mean he is a god?"

I suppose that coming from the democratic, enlightened West, she's never heard of such a bizarre custom before.
It's ok, but really not what you'd hope for. Searching is impossible and a good portion of the screen is taken up by "Missing image" images. Very hard to find new stuff (in my brief experience).
Yeah I had always thought they would be incredibly expensive. The Spanner paper (which is how I ended up at the posted link) contains this amusing line -

An atomic clock is not that expensive: the cost of an Armageddon master is of the same order as that of a GPS master

http://static.googleusercontent.com/media/research.google.co...
There isn't really much benefit of using chunked encoding for streaming video, if you're not generating the video on the fly server-side.

If you are simply streaming a stored video, you can just get the file size, use that as the content-length, and send the video. If the content is in a streamable format the client can just read/play the data as it is received. Chunked encoding will in fact add a little overhead to just sending as is.

Chunked encoding is more apt for situations where you don't know beforehand how much data you are going to send.
Very cool. And cheers to fellow Canadians too!
This looks good. Fulfills requirements, but a bit cluttered. Will try using for awhile and then upgrade to ads free.

Thanks!
I don't think there is a bookmarking service that uses lists. Most of them use tags, which, for bookmarks, are more useful.
Yeah, NuGet! I'll take two.
The Need for Cognition Scale can be found here: http://www.liberalarts.wabash.edu/ncs/

Note (from the link): "Based on previous research, the Need for Cognition Scale appears to be a valid and reliable measure of individuals’ tendencies to pursue and enjoy the process of thinking"

It has nothing to do with Intro/Extroversion. NFC may have some correlation to Intro/Extroversion, but one cannot draw that conclusion from the NFC study alone.
I really think this is going to end up hurting Google in the long run. Quality control for Android phones is horrible and handset manufacturers add their own garbageware to the phones.

Google is banking on consumers being too naive to realize they are getting a substantially inferior experience. Not a good bet in my opinion.

Apple is being stupid here by not calling Google's bluff and lowering prices even more aggressively. Nobody who used both phones side by side for a few days would prefer Android.
What can I say, I'm a lists girl. There was actually a social lists site some time back, but I can't remember it now. I think it allowed you to make and share lists of anything, not even just lists (like, "what to pack for a camping trip", "my favorite books", stuff like that) Would love to find it, might be good for my purposes.
Think of a program you'd like to actually have for your own use, then write it in Java.

You're likely to find that it's got some problems, because you haven't used Java in a while, so fix those problems, or even rewrite the whole program from scratch.

You only have a week - well really two before you'd be expected to turn in any work - so this program you'd want for your own use shouldn't be so ambitious.

"Effective Java" is a good book.
What impressed me the most was how it's not only hard-coded, but that it can still reliably halt the system even when forcibly disabled. If only it could be fully and truly disabled in the BIOS, or even better, isolated as a separate SKU, then I would be much less irate about it's existence.

You can literally wipe all configuration from NVRAM and the platform is still available for "zero-touch remote configuration".

This truly is a PC beside the PC. The level of complexity is astounding; they built everything but a way to turn it off.
mootothemax - thanks so much for this series. I loved the first post and was anxiously awaiting this one. It met and exceeded my expectations, packed with great advice and insight. That being said - the language seemed a bit rushed at times. Please run through it and fix grammatical errors - just a nit-picky thing :)

Oh, and I have a few quick questions on gaining initial users. Other than mass-mailing bloggers and submitting to twitter directories, what have you done to bring traffic to your site? Also, I'm interested to know unique visitors vs. free users vs. paid users, as I'm sure many others here are wondering as well. Do all free trials end up converting to paid users? Also, how have you handled existing customers when experimenting with price changes? Do you keep them on the plan that they signed up with, or do you apply the price changes to ALL customers? Please share with us!
Yes, golf and caber tossing both come from Scotland. No, that doesn't mean they mix.
I agree, and furthermore, based on my own observations, it seems like a lot of Android users don't even know that their phone is running Android, much less have ever heard of anything called "the Android marketplace". Those users don't count towards the size of the platform, by any useful metric.
That article skips over some of the actual details of the way the site was founded, like how the founders uploaded US DVD rips/pirated content to the site themselves, or the way they started charging for accounts _before_ removing that content, or the way all the site announcements were written in textspeak to make them look like teenagers.

I guess that's called bootstrapping.
Certainly not for all "secretaries" but depending on the position it may well be necessary that the assistant prepare coffee for clients. Salesmanship can be part of the job.
Your solution is asinine, as I have little way to protect my "cache" of goods... it's unencrypted both on the device and in the backups (though you can encrypt backups now, there might be previous computer backups of mine that have unencrypted location data, now I have to go find and excise those).

Any malicious desktop tool can easily find the location cache in unencrypted backups. Modern Police Forensics tools (http://www.cellebrite.com/) can easily extract non-encrypted data from phones in minutes (see Michigan Police).

That Apple stored this growing set of user-data in cleartext on the device was as stupid as Sony storing their customer's personal information in cleartext (or weakly hashed) on their servers.

Either bit-recycle the information that's not immediately relevant, or strongly encrypt/sanitize it. This shit isn't rocket-science, folks. Otherwise it's a liability and potential PR nightmare in the making.

We're now still in the "wild west" of personal data records. Once these issues start to snowball and real-life consequences happen, people will clamor for litigation, which given politicians will be over-reaching and ham-fisted.

Corporations with hundreds of millions of users' personal data should stay in front of these issues unless they want to wade in a regulatory mess (see Google's mis-steps with wifi packet data).
May be its me, but her style reminds me of Asterix comics.
Oh wow, didn't know PS crowd so strong on HN.
> Because something hasn't happened yet it can't is your claim?

Nuclear reactors physically cannot generate a nuclear explosion of the sort you'd get from a bomb.

They've been in use for 60 years. More people per unit of energy die from solar and hydro accidents than from nuclear power, and coal is many, many times more deadly. Turkey's coal mining accident this year killed 3x what Chernobyl - the world's worst nuclear disaster - did, and such mining disasters are routine.

http://physics.kenyon.edu/people/sullivan/PHYS102/PHYS102F12...
Your comment certainly doesn't apply to languages with expressive type systems.
Using PleaseWait to actually show progress can be achieved by simply updating the loading HTML to show a number percentage, but we may update the API to make this easier in the future.

And I agree that a skeleton project to show proper modularization of different components would be great! Our blog just started an Angular series, so we'll try to write one on how we split up our large Angular enterprise app in this regard :)
> you should be ashamed for linking to it.

He wrote the article, and that's his site.
This really seems like a guy who doesn't want what Go has to offer. At every place he compares Go and Haskell, he wants Go to be like Haskell.

There's already a language like that - Haskell.
>To a degree you're right, but it's a somewhat navel-gazing point.

With respect, nonsense.

My point is not ""free speech is complicated, there are exceptions".* This is not about shouting fire in a theatre.

It's about sloganized thinking. This then resolves to high-level, half baked "solutions" like adopting "constitutional free speech" or whatnot.

The laws used to determine if you go to jail are not suitable for determining what's allowable to say at work. You can legally tell "you suck" at The Rock on the street, but if you do it at a restaurant they will throw you out. Etc. Etc.

Currently, for all the idealistic takes about free speech online, there is nothing of practical use circulating. No protocol, pledge or method that twitter or any other site can adopt.

Free speech is currently an extremely vapid debate, all the worse for its shrill spectacle

Digital freedoms closely were at a high point 15-20 years ago. The WWW meant that mass digital communication was via a free and open protocol. Concepts like Wikipedia succeeded. Linux. OSS generally.

Those came with thought out, sometimes complex frameworks and philosophical ideas about freedoms.. eg FOSS.

The current free speech "drive" is, by comparison, sludge.
art is also easy to smuggle in case one's entire country is hit with broad carpeted sanctions, and less likely to be burgled since it has to be sold in the primary markets. not to mention the whole arts appraisals circle is a farce, and driven with just the right bars of subjectivity.
what is the effective value of investing in Magic cards though? surely <<<1
When can I buy a Tesla AC for my house?
I don't feel like its getting bogged down in the ToS, but I think I get your point.

My main concern is about even application of their policies across the board. If they say something is against their ToS and want to ban it, fine, that's on them. But apply that same thing to everyone. I don't like banning one piracy site but not another. Or banning random folks but not the President. I understand why it happens, just feels more wrong to me than any singular policy decision.

In my opinion: Should they ban misinformation? Yes. Should they ban piracy? I want to say no, but if I am really thinking about it they probably should when actually compared with the other things I say yes to. Makes me wonder what kind of ethics theory there is around these kinds of situations. Probably some good reading out there. Anyone know of any good things to read on the subject?
Honestly, I don't know what to think. Ophthalmology is a great field for AI researchers (lots of images: the eye is an organ that you can photograph and analyze visually in every angles, almost like in dermatology). In Ophthalmology, diabetic retinopathy is an evident take : lots of people involved, lots of annotated pictures available, screening programs.

However, I would like to see the performances of the algorithm on different fundus camera. It is also important to realize that diabetic retinopathy classification is very easy to learn, to the point that if the screening is such a problem, it is easier to ask the person that takes the pictures (In France, a nurse or an orthoptist) to phone the doctor when he/she sees something strange on the eye fundus.
Is there a technique to eating organs I don't know about? I assumed a stomach would be like eating vomit. Liver is still popular to this day, but maybe the animals whose organs we eat don't have as many metabolites in there as I thought.
https://archive.is/Hrelw
They do not.

The width and height attributes we have been discussing set the size that the image will be displayed at, which are not necessarily the size of the image transferred.

Those are two very different things. My statement holds - if an image has size (a, b), but the author wants it to render at size (c, d) but does not send that data, the client has no way of magically determining c and d.

Furthermore, even when the actual image size is the same as the width and height attributes, there's the obvious problem of you needing to completely transfer the image itself before determining the size, which blocks rendering (or forces you to re-compute layout a second time, which both increases latency and decreases throughput).
> Now try taking out 50 million or more, you'll face same difficulties.

Sure but that’s my point. The fact that my small volume transactions go through without friction is not proof that the system is not fractional reserve. In the case of a (properly run) bank the value still exists but isn’t liquid; in the case of USDT we don’t know without an audit.
As someone who has saved no chat logs, and just deleted pics, letters, and such from a long gone marriage; IMO, they’re not that important.

In fact, shedding that memory shed cognitive distraction I did not know I had.

If I want to connect to people I do it here and now. Talking to the past in my head is unhealthy.
I'm guessing you're american even though this story Is about a british voting system. So you want local military, local FAA, local social security, local CDC, local EPA, local interstate highways, local FDA, local FDIC, local NASA, local weather satellites... I could go on but it seems like every little city providing all these services might be a tad wasteful.
Lisp imposes almost no structure,

I'm a lisp novice, but doesn't it impose functional composition? And isn't that some mighty structure?
I remember walking into a McDonald's (early '90s) in an Arizona "gray town". My dad and I were the only people under 60 in the place.

They were good, too. They were a bit slower, the average age in the place probably being 70, but they had a much better work ethic than most people in fast food.
It's not blurry. It's occasionally non-existant, that's all.
Where is this they they kill/rape/beat the inhabitants? usually forced entry that is not their intent. Scare, grab and go...am I wrong?
Underscore insensitivity is unforgivable: it makes grep work poorly. I guess I'll have to strike Nim from the list of languages I might want to use.
yed looks cool, I've been wanting a good free visio alternative
Probably, but that's why it's luck, not sat down and planned life.
> You'll need to stop for 30 minutes anyway

Except that on the holidays, there will not be enough chargers, so the “30 minute stop” is an ideal that simply cannot be reached under peak holiday conditions. Booking a charger could make things predictable, but it can’t solve the problem of not enough chargers available during peak periods.
The question was earnest, and thanks for linking to that informative, entertaining talk. I currently run GNU/Linux on servers (mostly virtual servers) for pragmatic reasons, but I'm always interested in learning about alternatives and different approaches.

In the talk, you said that you and the Illumos community believe that the kernel and the system libraries (e.g. libc) should be inseparable, whereas Linux places a sharp boundary between the two. Why do you believe the Linux approach is suboptimal (except that it makes it easier for you to emulate Linux)? Is there any existing writing on this topic that I can read?
This has also bugged me in the case of other cryptographic algorithms, for example SHA-1 has several magic input constants, whose choice is not obvious. When casually reading through the original papers I could not find a clear explanation of how those values were chosen. Pretty much everything in the design seems fairly arbitrary and amendable to variation.

In physics there are multiple case where you can do seemingly very hard calculations, if you do it in the wrong coordinate system and neglect symmetries that are present, that collapse to almost nothing (In the case of elliptic curves that was the fact that the curve points chosen by NSA were related by Q = P + e, where e was some point on the curve only known to the NSA)
The backlash of GDPR for not informing users may be far more severe.
> Boomerang is awesome. And it will tell you when an email hasn't been replied to. But it won't automatically bump until you get a response.

That's because Boomerang understands and meets widely accepted email standards of behavior.

> We think Rebump saves time and workflow that way.

It's spam. No blizzard of words, however blinding, can change its identity. It renames a deplorable social email practice, but without changing its identity.

Civilized people write once, then wait for a reply. Spammers "bump" over and over again until they either get a reply or are classed as spam.
Because they would go to jail for a very long time?
Customization is the immediately obvious one and a central point of their campaign.
There's always a bigger fish. But most billionaires seem capable of owning sports teams and single handedly funding large scale philanthropy, so there's some point before then that it stops being just luxury. I don't find this kind of envy you're expressing to be useful, however.
I don't budge on my rate. If they are limited in what they can pay, I'm limited in what I can fix, or I simply don't work for them.

Again, I only do these projects as moonlighting, this isn't my primary source of income. People contact me to fix their sites based on referrals and they know my rate before they contact me. I don't go out of my way to scour craigslist/odesk/whatever for jobs.
Java puts boilerplate between the programmer and the algorithms and data structures without allowing direct control of the memory. Python, Scheme, Haskell and many others do it without the boilerplate, while C and any of many assembly languages require that the student learn what the hardware is actually doing.
Interesting.

Looking at the source I see that you calculate and store an md5 hash for each comment:

var commentContentMd5 = md5($this.find('table td:eq(2) span.comment').text());

However each comment on HN has a unique id, that can be found on the links of the up and down keys:

<a id="up_1943152" href="vote?for=1943152&...

Wouldn't it be easier (and maybe faster) to use these ids to identify comments?
I would say Haskell is protestantism, since its world is immutable. Outcome depends on some initial state only known to the omniscient and omnipotent* programmer.

* Ok, maybe not ;).
That's true, mine never changed either.