skysight-inc/HackerNews huggingface dataset:
I recently looked at SICP again after first reading it many years ago. I had retained the overall impression that SICP demonstrates how to build many of the celebrated creations of computer science - interpreters, compilers, databases, logic programming systems, circuit simulators - using a very simple programming language with just a few constructs.

But I had forgotten many of the details. Here is just one: in 3.1.1, Local State Variables, SICP shows how to, in effect, define classes and create objects using only function definition with lambda and set! (that is, assignment) in the definition body. The function you define this way is a like a class, the functions it returns are like instances. So you can do all this without any specifically object-oriented language features. This occupies just a few pages near the beginning of a long book - the whole book is dense with worked-out ideas like this.

The cumulative effect of all these examples in SICP is to demonstrate that you can solve any programming problem from first principles - that is, by combining a few simple but powerful constructs in the several ways they describe. Moreover, a solution constructed this way might be simpler and easier to understand than a solution made the more usual way: by looking for a specialized language construct or library that seems to offer an already-made solution to the problem.
Skin in the game
And that comes down to trust. Apple usually and correctly doesn’t trust third party apps with sensitive information. Anytime you enter a password in, you get switched back to the native keyboard.
Moto G5+ is an awesome budget phone (especially the version with more memory). 90% as good as the flagships for less than half the cost. Also, I quite like Motorola's version of Android. Very minimal with a few very useful features. The double chop motion for the flashlight is ingenious.

Caveat: If you care about a lot about the best possible photo quality, then it probably isn't the right choice. I found it to be good enough for my needs.
I'm guessing that the downvoters don't know what chinook winds can do nor what causes them. [1] The temperature swings can easily be double what I mentioned above, i.e. 40 C from -20C to +20C and back.

Or it's a heresy to point out that a particular weather event is neither uncommon nor a sign of doom.

[1] https://en.wikipedia.org/wiki/Chinook_wind
The reason why people act irrationally has more to do with psychology than economics. Vsauce has a good segment talking about human tendency to think in terms of proportion instead of absolute scale: https://youtu.be/Pxb5lSPLy9c?t=1m53s
When you say they had nothing they had nothing or did they have nothing and were also in 'debt'?

In my families historical situation the big issue is you're poor because of debts. You can't move because you're stuck in a mortgage or farm loan. You can't go to college because you owe money. You can't better yourself without help from the outside essentially. Imagine owing 2k+ a month but only making 1800 for a few years that will drain your savings.. imagine then it gets worse and worse and eventually you get laid off.

Being upside down causes the blood to go to your brain and like the article implies makes some people continue to make bad decisions. Say you get out of being upside down for just a small time you then rationalize spending over what you were like before because you think your ship finally came in... but in today's society that can change in a heartbeat.
If you want to see regression to the worst tendencies in humanity look no further than democratically elected Tony Abbott going on an ideological crusade to undo everything Julia Gillard’s government achieved. The same is playing out with Trump dismantling everything the Obama Administration accomplished.
We use puppeteer for our smoke tests. Ensure all network requests load, no JavaScript errors, take screenshot of page and simple validations so we know our deploys aren’t borked.

I really love puppeteer over selenium. Much deeper control.
Again, it sounds like you're trying to justify leaving money/time/autonomy/working conditions on the table.

You want to do that? You do you.

That's not the mark of a rational economic actor, willingly selling themselves short on a deal.

You can dress it up by saying "well, we work with machines," but at the end of the day, the machines don't own the company, the machines don't sign your check.

The bosses do, and they're the ones you've decided to give up your maximal time/money/autonomy/working conditions to.

Again, you do you, but the minute you say "we should all willingly give up some of our time/money/autonomy/working conditions to the bosses and owners," well, now you're telling all of us to stop being rational economic actors, which I can't get behind.
Paying for road usage is the solution to all traffic problems!
A network architect is an experienced technician (the "blue-collar" form of IT) who graduated from help desk and break/fix to helping out with project work to getting to design and lead projects. In that world, you may have a trade-school degree in IT/MIS and/or vendor certifications, but a CS degree isn't going to help you operate the Windows Server admin panel, configure Cisco routers, know which model number of HP switch is appropriate for a situation, or make sure that your underlings get the low-voltage cabling and patch panels right. It's going to help you write Windows Server and the router firmware that technicians operate.

Planning, installing, configuring, and integrating off-the-shelf components to create an IT environment for a business is a totally different world from software engineering, particularly in the Silicon Valley style.
Two-Phase-Commit for Distributed In-Memory Caches
I wonder where some of those people went when then? Did they move to Kai os or not?

Or maybe the phone partners figured out that they could run the project themselves and when mozilla axed it they just moved on.
Typically on a new hardware design I'll write throwaway code that exercises all outputs. You use this to verify the schematic.

Maybe half the time that code evolves into an API/HAL that the final application will use. Many times it also becomes code for manufacturing test (burn in with the test code, then reflash with final production firmware right before boxing)

Starting out with application code on top of a brand new design will lead to madness. Take it in smaller steps.
Your html sanitizer should escape ' and "... both characters you're using unescaped.

So does this work with a proper sanitizer? Doesn't look like it.

If you have a broken sanitizer, or worse youre inserting it without sanitizing it, you're already vulnerable to XSS... this is just a lot of writing showing an exploit caused by a broken sanitizer.
So it's going to get warmer, sea levels will rise. coastlines will move inland as sea levels rise. Typically colder areas will become more tropical.

Other than displacing a large number of people who live on coastlines, what's the big deal?

Insult me for my niavety if it makes you feel better, but I honestly don't know the answer.
I don't think the ad is good man I'm sorry :(. I'd rather see an anime commercial showing delicious candy that you can't find here. The fat girl at the end too I'd remove. Nobody wants to be fat.
Hospitals aren't becoming obsolete, but their role is changing. Hospitals were once a place where patients were kept for extended periods of time; now for reasons of cost, sanitation, improved surgical techniques, and patient preference they're increasingly places where patients go for medical treatment but unless they're on the verge of death (and thus may need further treatment in very short order) patients then return to the community.

More surgeries; less meals and laundry. Rather than becoming obsolete, I'd say that hospitals are gaining an increased focus.
> Minimum wage only really encourages

No, it also means those people are paid a liveable wage, as opposed to a pittance.
The Deep History of Email Scams (2013)
It was not presented with appropriate context, and was not left out. It undermines the argument and thus should have been left out. That makes it interesting.
Can you define what you mean by "the ugliest"?

SML is used in academics because the language is very well-defined(both semantically and typing rules) and all the fundamentals of typed functional programming, so it is preferred for teaching. Ocaml is a moving goalpost, and the language has no formal specification, afaik.
This is an ambitious venture. I'm curious to see the results. Good luck during the rollout!
I came here prepared to walk away from this article being reminded once again of Betteridge's Law[1], but then I got to thinking once I did finish it...

...decoupling certain aspects of healthcare from gigantic, expensive hospital systems may actually work for patients and medical care providers couldn't it? Article points out how we do to an extent already, and paints an interesting argument for why we could see more of it. I think I'm on the "want to see more of it", but unsure what the drawbacks would be aside how the expected parties would like to see those traditionally centralized services remain so.

I am not a medical professional, the article just got me thinking on the topic...which means, Betteridge be damned-if a piece of writing gets you thinking about something you wouldn't ordinarily think about, article succeeded.

---

[1] https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headline...
Some goings-on in science fiction capitalism
Agreed. Except to the extent that people who buy $1000 tablets care less about saving $50 than people who buy $100 tablets. And their time is more valuable as well. Unless they don't need to work, and enjoy driving.
It never really did, nor was it ever intended to do that. It's always been a wage that was at or slightly above the federal poverty line.

The lowest minimum wage I remember hearing about as a kid was $1.50/hr. I thought that sounded like a lot of money at the time, but I probably was not even 10 years old.

That would have been in the first half of the 1970's when the federal poverty line was around $2,500. So working full time, you'd make $3,000 or about 120% of the poverty level.

Today, the federal minimum wage is $7.25 an hour and the poverty level (2016) is $12,200. So still, a full-time minimum wage worker earns nearly 120% of the poverty level.

Source: Table 1, https://www.census.gov/data/tables/time-series/demo/income-p...
JavaScript for the Web [tutorial]
I live in a city that banned U/L for about a year. Nothing was improved. A bunch of companies popped up to replace them but they were absolute jokes and so much worse. DWIs went way up. People stopped going out. I don't think there were any net positives from it.
taxing a particular road will only divert traffic onto other nearby roads that are probably less able to handle high traffic volumes. I wouldn't want hundreds of cars driving down my residential street just because the nearby arterial street has switched over to congestion-pricing mode.

congestion taxes need to be regional, not per-road.
Do people still buy $800 phones, and why?

There must be a term for this kind of question. To answer it, yes. Look at Apple’s average selling price and people are buying maxed out iPhone 8s and X’s.

But that question is like the old internet trope - “I haven’t had a television in 10 years. Do people still watch TV?”
Bad headline, but the article itself gives some nice insights into the current trajectory of medical care in the US. Important to note that the trend is not the same in all countries though. In Japan, where hospital stays are frequently used as a stopgap measure in cases where elderly patients can't afford or can't find a long term assisted living facility, hospitalization shows only moderate declines from historic highs in the 90s.
Definitely a star-tracking camera mount for astrophotography.

https://partofthething.com/thoughts/making-a-cheap-and-simpl...
That's going to be tough if our hypothetical business has only been running for three months, though, isn't it? Everyone has to start somewhere, and all I'm saying is that in those early days, the need for immediate results will naturally dominate longer-term brand-building -- unless you're already heavily funded and don't have the same priorities, of course.
Why Your Pharmacist Can’t Tell You That $20 Prescription Could Cost Only $8
Bizarre article full of unsubstantiated claims (e.g. Midwest cities generally “spending years in the doldrums” huh? Twin Cities, Chicago, Kansas City, Indianapolis, etc. have consistently been doing well) and sketchy assumptions (mid-tech blue collar?). This whole tendency to bunch all mid-west cities together is ignorant and condescending. Also, “decline of mid west cities” is mostly a story of cities not necessarily the entire region or even the cities’ suburbs (Detroit’s wealthy suburbs are as rich as ever). Generally muddled piece.
First thing I thought of too - the only category where students ranked themselves as less proficient than they were perceived to be is technology - the one area they are probably actually proficient in.
I strongly suspect that whatever country you live in also issues arrest warrants for failure to show up in court.
According to the Bureau of Labor Statistics (1), the most common jobs in the US are retail sales, cashier, food prep and serving, office clerk, registered nurse, customer service rep, waiter / waitress, laborer, secretary, janitor.

It’s worth reviewing the actual list for yourself to see what these common jobs really are. And thinking about at what point you would rather be dealing with a robot (let’s call them that) than a person.

Truck driving is #15. It gets a lot of attention because it’s a good paying job for a high school education.

Taxi driver is #173. Seems low for all the attention that Uber’s disruption of that industry gets.

1. https://www.bls.gov/opub/ted/2016/mobile/retail-salespersons...
It's even stupider than that.

When I first subscribed to Google Play Music, in the UK, it included "YouTube Music Key", which had the same feature to allow YouTube videos to play in the background, and it worked just fine in the UK.

Then they rebranded YouTube Music Key to YouTube Red, and since YouTube Red isn't available in the UK for legal reasons unrelated to backgrounding YouTube videos, they disabled the backgrounding feature in the UK, even though UK subscribers are still paying for a YouTube Red subscription (that cannot be used in the UK).
The first two sentences EXPLICITLY state the type of arguments that James is responding to. Click on the links in those first two sentences and read the arguments.

The "main argument" of those posts -- i.e., the posts James is responding to, is not that "project-based learning... make[s] learning interesting".

That may be your main argument, but it's not the argument that the people who James is responding to are (mainly) making.
Where did you go where it's only one class? My university (quarter system) required 4 minimum.
Looks like this fern fixed it last time? So no worries then. Might take a while...
https://en.m.wikipedia.org/wiki/Azolla_event
Chrome headless is just that. Chrome that’s headless. Selenium is a cross browser api that connects to browser via some port. But usually it’s a high level api since it’s a common denominator of browser apis. Selenium uses middleware webdriver libs sometimes and usually quite bloated.

Puppeteer uses Chrome Remote Debug Protocol, which is the same protocol Devtools uses. It’s just a simple JSON RPC over websockets. Puppeteer creates a nice library abstraction over this api.

The advantage of puppeteer over selenium is that you have a lot more control over chrome. Network, perf, screenshots, coverage, dom & style traversal, etc. It’s a very reliable API too since Chrome Devtools team maintains the backend.

Selenium on the other hand surprises me with all sorts of quirks.
With the iPhone having 40-50% market share in the US, I doubt anyone sees it as a status symbol. Besides, every major carrier has some sort of monthly lease or 0% interest plan. It’s not that hard to get an $800 phone affordability.
I find it hard to believe that you are unintentionally missing the context behind the original post, but so be it
Yes, I've bought and sold a few houses and the appraisals without fail always came back an slightly more than the agreed purchase price.
I was speaking somewhat in general, with "algorithm" being {crazy_computer_science_problem} (when you're interviewing for a React or Rails gig no less)
Doesn’t work on iOS because iOS downloads the whole gif before beginning the animation. So only the first frame is shown and never updated.
Interesting article, but is there any research to back up this claim? I didn't see any sources referenced in the article. While I don't doubt there is a link between a more sedentary modern childhood and a variety of other issues, jumping to "blame the iPad" seems a bit thin.
Yeah the s8 is insanely slippery. I put a concrete dbrand on the back of mine just so I could pull it out of my pocket and not toss it half way across the room. I'll never understand the all glass trend.
Widespread and severe agricultural issues, drought, an increase in extreme weather (hurricanes / typhoons / etc), unprecedented heat waves, and others I'm forgetting.

This along, with the issues you've mentioned, could result in significant political instability across the world, massive migration issues that could easily dwarf the migration issues of the last decade, perhaps even severe wars, and other disastrous situations.

I'm not qualified to give a full description. Some form of the above seems fairly plausible to me if we don't take serious pragmatic action.

It's of course incredibly difficult to give meaningful predictions about something this complex. But let's not bet the damn farm on it.

It is very well established that there are serious risks. The time has long come for anyone in a relevant position of leadership to accept the responsibility and take effective action.
Just weird and a bad blog post. The author also wrote this:
http://scripting.com/2018/02/23.html

The owner is a domain parker and is upset that he has to update hundreds of sites in order to be marked as insecure, is what I can gather

In the last few weeks he's also wrote:

- http://scripting.com/2018/02/21.html

- http://this.how/googleAndHttp/

- http://scripting.com/2018/02/08.html
This is a problem with trying to enforce the law against people who have no money. This is quite a problem with traffic violations. In many states, people get sent to jail over unpaid speeding tickets, not because speeding tickets are punishable with jail time, but because they don't pay the ticket, don't show up to court to address the ticket, don't respond when their license gets suspended, and eventually get pulled over for driving on a suspended license. On one hand, it doesn't seem like people should go to jail for this sort of thing. On the other hand, how exactly are you supposed to encourage compliance from people who can't afford to pay fines and penalties?
And the quota system, and the existence of '.oz' as a domain name which regrettably ISO3166 refused to allocate.
Indianapolis, etc. have consistently been doing well

I can't speak for the other examples, but...ask me how I know you don't live in Indianapolis. This city definitely has a lot of potential to really be something even greater (than I think it is now), and I'm proud to call it my home-but don't romanticize it too much.

We are having a series of existential crises here; just jumped out of one political fire and into another with state and municipal leaders (oh dear god are we about to see the end of Unigov? Probably not but a man can dream), schools are laughably bad, roads are hilariously worse (I challenge you to drive a few miles north on Meridian street and try to not have your car swallowed by one of the hundreds of near-car sized potholes), but hey....rent's cheap, so we've got that going for us. Which is nice.

Don't sleep on Naptown, if that was your overall sentiment, for sure. Don't sleep on us because there's some rumblings of a real explosion of change underneath it all, and I think we've got nowhere to go but up...same time though yeah we've got a LOT of problems that are going require some very painful decision making in the next 10 years and we gotta look that horse square in the mouth.
It's important to remember that anxiety and panic are neurochemical responses and can have strong physical and genetic components, they don't always need to have a psychological "cause."

One thing I'd suggest, if you haven't already, is look into your family history for any for signs of it. In my case, there's a very clear hereditary line of panic disorder and other similar ailments that came down through the generations, eventually landing in me as well.

We like to think of our "mind" as something that exists completely separate from the physical reality of the brain, but in the end it's an organ like any other, and any malfunctions within it can affect us in subtle ways. For example, during the run up to a panic attack, I tend to get very irritable and easily frustrated. I've come to recognize it as a sign of what's to come and take steps in advance to try to curb it.
That's because the S2 and S3 were made from impact-absorbing plastic, which is a perfectly good material if it weren't for the designers and Apple's screaming about "premium materials" (i.e. breakable glass and rigid metal that transmits the impact force.)

Perhaps people need to get used to the fact that a "plasticky" phone which creaks and bends slightly, is also one that is far less likely to shatter if dropped. That flexibility absorbs and dissipates the impact force, which is the reason why plenty of other handheld devices (remote controls, etc.) are made of it instead of metal and glass.

"Bezel-less" screens make no sense to me either --- besides protecting the display itself from impacts, they are places fingers can be put to hold onto the phone without activating the touchscreen.
Donald Trump is a crook the biggest crook and America Trump do what do you want to do Linda what do you want to do and I got to stop doing what you wanna do they need to impeach him
Writing something that horribly fails to scale, then learning from your mistakes. :)

Seriously, though, come up with a hypothesis about how your system will scale, then devise an experiment to test the hypothesis. If the hypothesis fails, figure out why, fix it and repeat until you get the behavior you want.

The next important piece is monitoring and measuring the performance metrics important to you, then figure out how to change your architecture when the system grows enough to have new bottlenecks.

Having a good load test tool, for example, can be invaluable in learning how your system actually performs.