jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> “You say this, but then never address this claim in the text below. Could you expand on it?”

I believe I did answer this in my original comment, so I will just refer you back to that.

I disagree that there was any conflating going on. Type system designs enforced with static typing are a hallmark aspect of most of these design patterns around things like type classes, interfaces and inheritance. Of course similar things can exist in dynamically typed languages but they are not the same. For example “interfaces” in Python are just duck typing conventions (apart from built-in CPython data model properties). That duck typing interface is not at all similar to interfaces as a type system design pattern in a statically types language. Any similarity is purely semantic.

As for examples, one example that I worked on heavily involved a Scala system for managing DAG dependencies in task execution. The system was set up using phantom typing and a bunch of sealed case classes such that for any logical type of Task that could exist in a DAG, the task had an “Active” and “Passive” variant, where the “Active” variant could only be obtained through a monadic validator processing a “Passive” variant.

The goal was to use the type system itself to encode the concept of “this task has passed through validation and it’s allowed to be processed.”

Because this was designed at the type system level, it created huge problems and never added any real value in the sense of making it “logically impossible” to create invalid Tasks. Number one, it led to huge, painful boiler plate to create the case classes for every type of Task and specialize the type class with a “validator” function. Number two, we eventually realized there were many different aspects to “validation” that did not map well to the concept of “passing through a validator.” For example, some tasks depended on data that didn’t exist in the required location at a certain time, and hence needed retry logic to validate. Some situations involved re-running an already complete task (usually for resource usage observability reasons, or because an external data dependency changed). At any rate, baking validation status into a static type via the phantom type design was nothing but a headache. For all the beautiful code supposedly protecting us from processing invalid jobs, all that we got was difficult constant refactors.

Eventually we abandoned it and just used Luigi instead, and wrote all DAG management code in Python. It was the best decision we made. We lost zero safety and our defect rate did not get worse. Testing caught all the same bugs that compilation would have caught in Scala, and more, with less total code. And because the nature of the tasks in Luigi was just “whatever arbitrary Python you want” it was super easy to write effective validators, accommodate new use cases on the fly, and keep the code clean without dogmatic adherence to a precommitted type system design. Luigi happening to use some lightweight inheritance patterns was forgivable, given the dynamic typing flexibility.
You can hack it in VSCode by turning on the warn-before-terminal-closed feature, and making the terminal always load.

Only drawback (maybe) is that every open project in VSCode warns when trying to close the entire app.
> Whether from Stanford or community college, anyone with Leetcode and a few weeks can easily pass these interviews.

That is, of course, if your resume doesn't get tossed out for not being diverse enough [0][1].

[0] https://www.theverge.com/2018/3/2/17070624/google-youtube-wi...

[1] https://www.wired.com/story/new-lawsuit-exposes-googles-desp...
Wow. GTFO. Where are these SLA's you speak of?
I don't know if the law has any POV on the speed of delivery, but what I do know is that the law prohibits private carriers from touching your post box (under any circumstance), so they can only deliver letters if they're shipped in a box, or a large envelope that can be left on your porch like a package.
Cemeteries are beyond ridiculous, and growing up, I thought there would be a cultural shift away from such non-sense, but maybe not?
They won't be having much fun.
I didn't say it would be easier. I want something a lot smaller and less visible. Plus using the beacon is optional. If I'm on the couch and want to place aa couple quick refills...
Her farewell letter is an interesting read. And it reminds me I haven't donated this year so that's on the todo list.
Yes, there are plenty of howtos on how to do this. The only downside is you have to enable developer mode, so you lose trusted boot.
Thanks :) Yes, it's a personal poem.
This is awesome! We need more technology in the classroom!
I bought a Chromebook Pixel 2015. The first thing it asks, when you turn it on, is for an Internet connection. You cannot go past the first-boot panel until you give it internet access, then agree to Google's ToS which says you'll let them auto-install updates at anytime, and then let it try to download updates from Google. Then you must log in to a Google account.

I didn't bother with ChromeOS enough to see how well offline apps work. The laptop does not have any screws, and I'm told the SSD is soldered on even if I knew how to take the laptop apart without breaking it.

That being said, there are magical keystrokes you can use to bypass even the intro "first boot" panels to switch the laptop into "developer mode" which you can use to wipe ChromeOS and install a real Linux. Much of the hardware isn't supported by mainline kernels, but Google has a lot of that sourcecode online, so I'm trying to compile my own module to get the touchpad to work in Debian.

That's all experirence with a different product than what we're talking about here, but my anecdotal observations are that ChromeOS fundamentally expects internet access, and it might not be possible to upgrade the hardware and get a comfortable setup with a real Linux or BSD.
> Like many other physicians, pharmacists, and nurses, Jenny Lucca found alerts to be a constant nuisance. Even giving Tylenol to a feverish child every four hours triggered an alert that the dose was approaching the maximum allowed.

You know, given what we know about the liver toxicity of acetaminophen/paracetamol at this point, not sure this is the best example of a spurious alert. There's a good argument that this is one of the more dangerous drugs OTC, in part due to the widespread impression that it's not very dangerous.

It is interesting looking at the story in general as an example of alert fatigue, though, and the need to differentiate different types of alerts.

Unlike some of the other comments I see here, I don't think this points to incompetence so much as human nature. It takes a fair amount of cognitive power to overcome the natural tendency to assume that when the alert was spurious yesterday, it's not spurious today.

That power would be better spent elsewhere, and points to a failure of automation to truly lighten the load.
I'm sort of shocked that most web developers don't have at least one small virtual node somewhere out in the real world where they can demo things and/or forward ports.......

But that's just me.
If you really want to learn functional programming, you are better off trying something that at least makes you go out of your way to code in a non-functional style. Anywhere from all the way off the deep end with Haskell to Clojure and F# being good choices from personal experience.
It's his site?
But it still will do if the nvidia graphics driver can override the code of your process, even if the nvidia graphics driver can't directly read the protected area of memory.
Oh, sure, when you agree with something controversial, it is just society being irrational. But when you disagree with something, it is obviously because it is crackpottery.

Don’t you think people who are against these “heresies” have exactly the same view?
I'm advocating that cells are cheap, so the density can be increased by a lot. This might enable more local competition, but the main benefit of LTE is proper QoS support.
Taxi regulations gives us passengers safety and fair prices.

Do not know about London. In my location all the money go to paying license fees and to the actual owners of Cabs (any entity with the money but the taxi driver). And how exactly exploiting taxi drivers makes us safer I have no idea.

Failure to do criminal background check is also pathetic lame excuse. I really doubt that said former criminal got into taxi driving job and paid all those fees in order to rob/assault passengers.
> Your body is not built to sit at a desk all day
> Take breaks from time to time and go walk around a bit.

I agree with the quoted parts, but disagree with the rest. In the time you do spend typing, an ergonomic keyboard (one of the few that actually deserves that title) can be beneficial. It sure is for me.
clickable: http://proxlet.com/
If Facebook has any impactful reach then convincing people that they don’t need Apple products should be a piece of cake. And that could hurt Apple.

Otherwise FB impact amounts to nothing and the company has zero worth.
It's interesting you used Madoff as an example, because it's precisely the type of situation gmaxwell's proof-of-reserves scheme is designed to solve.
> I think it preserves the "spirit" of the game.

The art-direction of games from this era wasn't done with the intention that these games would be played on pixel-perfect computer monitors, though. The art was designed and tested for CRT TVs, which would generally give you something like http://i385.photobucket.com/albums/oo299/muddi900/LTTP3xNTSC..., or even http://4.bp.blogspot.com/_Kzdww8T9fUA/TRplyGIj6PI/AAAAAAAAAt...
As a native West Virginian, I can tell you what will happen if you call his office. In about 4-6 months, you'll get this letter:

https://gist.github.com/dbb/5810717
[citation needed] on the 400k, but at least on wikipedia the average number is 6000/week. At 3 shifts/day * 5 days gives the really too nice and round 400 / shift (or almost 1 a minute off all lines give a 7 hour production). And this is with Toyota's lean changes so making significant improvements would be hard. For example if you watch UltimateFactory you can determining the takt time in your head of other auto manufacturing facilities, some including GM are able do do 450+ in their plants (btw for those of you in the EU and you ever get the chance see Porche's factory, it is fantastic). But the fact is that the cars being made are not the same and so you might be able to get that efficiency gains simply from the smaller number of value added steps required. Really it all depends upon the amount of waste (non-value add) that is in the system and how easy it is to make improvements. Given the opportunity I would love to checkout Tesla's facilities and would probably geek out more on it than the car. 25% might be doable, but without more real information I guess this is like saying sports team X could win Y without looking at the current stats.
I don't have any of the old papers / results. But my recollection is that the Lisp workstations greatly outperformed LISP on a contemporary VAX for a given cost, in part because of the workstation's microcoded instruction set tailored to Lisp. Over time, though, commodity hardware increased significantly in relative performance simply due to the economies of scale in producing it.

You might've been able to buy a Xerox workstation for, say, $15K-$20K, while a VAX box was over $100K. BUT for a production system, the VAX could run multiple Lisp processes at the same time. (I'm guessing at costs here, it's been too long.)

Also, Richard Gabriel did a bunch of Common Lisp benchmarks, might help to look for them. (Great fellow.)

The real threat to Symbolics et al, circa 1987, was things like Gold Hill Common Lisp running on, say, a IBM PC/AT with a 286 chip and maybe a meg of memory. At, perhaps, $3,000. It ran pretty fast, the Gold Hill tech folks were very good. But GHCL had an unsophisticated development environment compared to Symbolics / Xerox.

As excellent as the workstation environments were for development, a market demands that you eventually deliver a cost effective product into customers' hands. (Or is that too much old-think?)
Some rather humorous responses on Twitter: https://twitter.com/Sen_JoeManchin/status/438762073527705600
One thing I've learned from having been married to my wife is that people have hugely disparate views of what constitutes a vacation.

For her it's the more standard lounge-at-the-beach vacations. For me it's always been the feeling that I'm not compelled to do anything by anyone other than myself. I don't want time bound obligations.

I went to ireland for five weeks or so, and toured by bike, then did some hitchhiking and general wandering around. I did a lot of reading, and writing, and some learning/math. Every day I had some random downtime and would have been totally content fixing a small spelling mistake or two in some docs, if I had been into programming then.

All that to just say, relaxation and contentment are pretty specifically personal, and I could see how it wouldn't be a hassle at all, especially if you've got some good momentum going and all it takes to keep it is to spend a few minutes committing a grammar fix. Ymmv of course, but that's just my two cents.
You should consider listing the topics it helps you cover, I think it would be a great selling point and help convert visitors to buyers faster.

I noticed one of the slides (not the 1st) contains a blurry phone image in the right corner with what I think might be some sort of table of contents: linked lists, trees, stacks & queues, etc.

Perhaps to keep the description terse you could group the features using something like: 'the most important data structures, problem-solving heuristics and math'.
Naive (and mostly ignorant) programmers make a habit of sh*tting on the JVM and the Java platform in general.

My usual response regarding the merit of the JVM is this: there is a reason there's jvm on the server, desktop, on your phone, on the rovers on mars and god knows on how many mission critical systems.

And no it isn't because of great marketing, which is another common and lame response from JVM detractors.

The JVM is an impressive engineering effort and the eco-system spawned by it is currently unrivaled.

With the new trend of porting other languages (ruby,python,js..etc) to it, the I see the JVM as the middleware over which most future software would be built.
Just to play the devils advocate.

USA has double the smoking rate (per capita) than in my country (2017).

Germany was very,very early with anti-tobacco campaigns:
“in 1929 (presumably too late to be included in the handbook) the German physician, Fritz Lickint published a paper in which he showed that lung cancer patients were particularly likely to be smokers. He then went on a crusade against smoking, and antitobacco activism actually became widespread in Germany.”

Hollywood was one of the main proponents of marketing cigarettes.

See also the newish American trend of vaping.

America is the forth largest producer of cigarettes.

https://en.m.wikipedia.org/wiki/List_of_countries_by_cigaret...

https://www.businessinsider.com/sweden-smoking-rate-what-wor...
That is a dishonest statement, as a lot of data is recent, and they know that and are almost pretending like it is some kind of feature.
But then it would be in the full right of someone with dog allergies to refuse service to someone with a service animal. Their being able to live completely trumps the person's ability to get a car. Then the customer who was refused service would probably feel discriminated against (because Uber did not make reasonable accommodations to prevent this) and we are back where we started.
The reason a steamy shower shouldn't set off an alarm is because fire code requires you to put the detector far enough away from the bathroom that it will not encounter steam. Smoke detectors of all types will detect steam; they just detect particles. The person you replied to is likely experiencing false positives because of improper installation.
Watching bojack horseman
Great article. Makes you think about the two million Americans in prison.
Neat, was just looking at this SVG filter powered watercolor effect earlier today again:
https://observablehq.com/@veltman/watercolor
It's tweets about a report, not just some data-free rant.

https://www.daft.ie/blog/the-covid-19-crisis-is-already-affe...
Fun tangent - the most unguided missile ever.

https://en.wikipedia.org/wiki/AIR-2_Genie
True. We edit the transcript on purpose to make it more useful to people who want to read it instead of watching the video. If you're looking for a full word-for-word transcript, we have that through the subtitles available in the video. We iterated towards this model after a lot of trial & error but we're still looking for feedback on what people would prefer to see!
You can spend $187 to take the Series 65 exam to prove that you know what you're doing and become an accredited investor that way - unlike the Series 7, you do not need your employer to sponsor you.
Can you explain how? Waze doesn't show your speed to others on the map.
Hello. Sure, I understand your point.

Stacktape is not exactly a "PaaS in your cloud".

Similarly to serverless framework, it works on the developer's machine (or on a CI/CD server). You don't have to "install it to your account".

Compared to those "PaaS in your cloud" tools, you don't lose control, flexibility or security. You have the the full power and control of AWS (and other 3rd party providers Stacktape supports).

Stacktape is also very transparent about what it does. You can extend it (using AWS CloudFormation) or modify the generated template.
This is basically what I hoped the parent might be alluding to. However, while I believe you about what you're describing, my personal experience of people wanting more tangible military action has not been "I think we could win a nuclear war", but rather, "I don't think it will come to nuclear war" (not sure if that's a better or worse attitude).

Related: I usually find these conversations kind of gliding around what I think is the primary point. There's the military tactics, gambles, and trade-offs; and the immediate and long-term effect on societies; but I feel like it's usually kind of glossed over that 10s of millions of civilians will die. It's one thing to talk about putting the lives of your army on the table, and gamble on how long it will take for society to catch back up to where we are, but it's quite another thing to put entire civilian centers on the table. Of course, I really have no idea how far Russia, or anybody, would have to go to make that gamble worth it. Putin's threats of the nuclear murder of millions of innocent people for the "crime" of participating in the war he started essentially puts NATO in a much larger-scale version of the "negotiating with terrorists" situation. I've never been so unsure as to what the proper level of response is.
This is excellent advice. Years ago I had a misspelling of my name on my drivers license. Very easy to find the source of all my junk mail after that!
I'm not just saying it, I've done it. Someone else in this thread has too.
I appreciate the correction. It seems like I made the mistake of Gbit vs GByte confusion (little-b vs big-B).

> (which is what I think ajross keeps alluding to)

It seems like ajross is accusing me of underestimating CPU-bandwidth. At least, that's my interpretation of the discussion so far. As you've pointed out however, I'm overestimating it.

EDIT: But I'm overestimating it on both sides. A100 2000 TB/s is the "channel bandwidth" as well, as the CAS and RAS commands still need to go through the channel and get interpreted.
Sure, I added a source. I'm referring to the famous incident at Ruby Ridge where the FBI tried to pressure Randy Weaver into being an informant. After he refused they started an escalating cycle of violence culminating in federal agents murdering his unarmed wife and child.
> This is already the case. My list is meant to be descriptive, not prescriptive nor aspirational

I misunderstood the intent of the list, I agree with you.
> They're a great way to try to figure out logic problems using real world items.

What are the advantages over using a computer?
There is no email in your profile. You've probably added an email to your HN account, not to your profile.

To make it appear in your profile, add it to the "about:" section in your account settings (the page you go to when you click your own username)
Babashka has picked up a lot of adherents lately by using a more hybrid approach to this idea. Use clojure to where you want to succinctly and powerfully manipulate data structures (even simple things like (assoc ...) is alien technology in bash) User the shell for everything else.
If the error is flagrant enough e.g.

let a = [0;4];
println!("{}", a[5]);

or

let a = 128u8 + 128u8;

the compiler may tell you, but in general you can add any two `u8` or index an array with any `usize`, the issues will be checked for at runtime (or not at all for the overflow in release mode, by default).
Yep the date matches perfectly, they hid the signal-server repository explicitly to keep their MobileCoin integration secret for a year. This is bad even for them.
There is no reason in principle, and you can even do it for kicks.[1] The only issue here is a practical one, as the parent poster described: from an end-user perspective, browsers do SSL/TLS better than ad-blocking proxies.

[1]: An example from the other side of the coin: http://www.wired.com/2010/03/packet-forensics/
Scientists have discovered that being poor actually impairs our cognitive abilities.
http://www.huffingtonpost.com/2013/10/28/the-lasting-impacts...
If people keep using Flash, these websites will not adopt another options.

Disabling unsecured plugins will be a long term benefit for us.
No, the point is not to trust anybody (more realistically: vigorously evaluate your Web of Trust), but you should especially not trust someone who is known to be untrustworthy.
As neat as that sounds, I wonder what will happen when the amplifier and/or speakers start to give up the ghost in 5-10 years. I associate the word "BMW" with "wiring issues" so I'm skeptical of any system that requires unflinching reliability for the life of the car.

The 2015 Mustang with the turbo 4 cylinder has a similar system but the functionality can't be deactivated or tweaked in any way. Can you imagine the frustration of listening to the acoustic meddling through a blown speaker that you can't disable? I had a Lincoln Mark VIII where the stock amplifier fried itself when I was on the highway. It blasted static with wildly varying pitch at full volume for 5 minutes before I could safely pull over and pull the fuse. It was literally maddening.
If I had to guess, I'd say this got posted because of the relevance next to the other posts about multiplexing SSH/HTTP over a single connection.
Skype is getting more and more useless with every iteration. Encryption is gone, file transfer first stopped to recognize direct LAN connection between clients and now some of the files get stored "in the cloud", the design is just atrocious, advertisements annoying (thank gods for workarounds).
And yesterday my 5.9 installation stopped working, so I have to put up with that.
"uploading/downloading pics on WhatsApp takes forever"

I haven't seen this, but I'm on Windows Phone, so perhaps it's platform-specific?
I'm not sure why it's not satisfying. The airplane exerts a downward force, the air exerts an equal and opposite force upwards. If you don't change the motion of the air than you can't fly. The typical tear drop wing picture doesn't change the motion of the air so it wouldn't fly. A downward deflection of air is required to provide lift in the form newton's 3rd law. Initially air moves horizontally. The wing serves to deflect air downward. So the wing exerts a downward force on the air. So by the 3rd law the air exerts and equal and opposite force upward. Just talking it out in my head. That seems way more satisfying to me.
Can someone at Facebook verify if the answer on Quora is accurate/mostly accurate?