jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
The first solution can be done in JavaScript and it is done sometimes, but other times it may be undesirable, especially for refactoring. The second solution was done; ECMAScript (since the 2015 edition) supports explicit default arguments.

When you add TypeScript into the mix, it can help a lot as it is often able to detect under- and over-application as type errors (though not always, due to intentional looseness in the language; TypeScript is not fully sound.)
The police unions have too strong of an influence on government and are rife with corruption, nepotism, favoritism and worse. Breaking up the union and individual insurance are the number one priorities to break the back of the excessive authority the cops currently wield. Everything else is a nice to have.
I can't escape the nagging question: is it really 1,000 or actually 1,024 and simplified for the press release?
This may be a bit of a reach, but there's AssemblyScript [1], which is a compiler from a strict variant of TypeScript to WebAssembly. Since technically V8 is also a WebAssembly engine, porting some part of your codebase from JS/TS to AssemblyScript could improve your performance.

[1]: https://www.assemblyscript.org/
Prescription ads to consumers were legalized in the US in 1985. "Deregulation", it was called.

Only the US and New Zealand allow this.
Absolutely, abundant choice can paralyze.

For me it has to do with opportunity costs. Take a strawberry milkshake instead of banana, no biggie if it tastes bad. Take a career path and end up regretting it, and it's a really big deal, usually. And even if your career path wasn't a bad choice per se, again, opportunity cost, perhaps the alternative had been much better. At the end of the day you just have to choose, try it, and if it appears nice enough you double-down, and that choice can be really difficult.

One of the most frustrating things for me had been having to decide on the bulk of my professional education before ever having worked in the field. I think programming is to some extent an exception in that many programmers get a decent experience on what programming is like as a kid, as a hobby. Being an engineer in an office is a whole different matter of course, but the notion of programming for hours on a daily basis is something you can grasp by age 15 or 18 when you decide on a focus in high school and a major in college.

But for so many professions, you have people age 17 having to decide if they like being a dentist or a lawyer, or a sales person or a government worker, while having near-zero experience, and fleeting ideas on what it is from movies and magazines.

Not sure what it's like in the US but in the Netherlands at age 11 you get tested and go to a certain level of secondary school. The lowest gets you entrance to community college at age 16. The middle to vocational school (e.g. university of applied sciences). The highest to university ('research uni'). There's some opportunities to switch after age 11, but it's very tricky for multiple reasons and generally rare. And then at age 13 or so you decide on a focus which gets you different subjects. e.g. Physics & Science, or Culture and Society or Economics & Society. And those give entrance to your tertiary education. So if you chose at age 13 or so that you liked Culture, you'd have gotten things like art history and French, and you couldn't go on at age 17 to pick Computer Science. You'd have to do an extra program, again difficult for various reasons and rare.

Now at 24 looking back this structure was really frustrating. I liked economics as a subject, chose that path, always did Computer Science as a hobby (which wasn't a subject in any of the paths), but couldn't do CS unless I did Physics (which was a subject I had for years regardless as everyone gets it, but not to the full extent supposedly required).
Median garbage collector income in the US is close to median personal income, and they don't even get out of the truck on most stops anymore. They're also widely unionized with substantial benefits.

I haven't bothered having anyone cut my hair in years, but yeah, people working at SuperCuts make crap, in much the same way and for the same reason that people working at McDonalds make crap.
War, plague, or famine. Which would you prefer?
Right but even if so, that's a lame complaint. Are you completely honest in your life? I suggest watching Liar Liar again as research material.
"Nobody, finance sector or otherwise, makes this list by being an employee. Not even top employees can reach this level."

That is indeed true, but "start-up" has specific technology connotations in the minds of most people here.
My brother is 46, has an MBA from UCLA, business owner, doesn't need to work for anybody else for the rest of his life, grown up kids, etc. He started with typing classes ages ago, went through the motions with MS Office tutorials .. and now he is somewhere taking advanced Excel scripting, really funky stuff involving ODBC connections and ETL. He is just one of those people who never stopped going to night schools and now he is very sophisticated.

I would say go for it.
Truth is they can. That's why they write about computing and don't spend their days flying planes, driving fast cars or throwing wild parties.
The added complexity and lack of centralized control isn't worth the cost of cycles.
It saddens me my kids grew up on an x86 desktop world. I think that's why I have a collection of interesting computers - Macs (68K, PPC and x86), RISC workstations, Amigas, Ataris, Apple IIs: to give them a taste of what has been so they can imagine what can still be.

And boy... I want a Lisp machine for the collection...
Thank you, sir. I honestly didn't realize I had been using the wrong compl*ment all these years.
Did you look at just the new rich (the people who have gotten rich over the past ten years), or all the rich? If the latter, you're including a lot of dot-com people who wouldn't have gotten nearly as rich if it weren't for the bubble.
Thanks for the positive advice. I've decided. I want to be a programmer, I love build things myself.
And yes, we hit HN frontpage. great start =).
Please don't do this here. Ideological flamewar is against the site guidelines and we ban accounts that do it.

Also, these generalizations are entirely in the eye of the beholder. They're a creation of your own passions, based on whatever data sample happened to activate them. This explains why the people with opposite passions to yours see HN in exactly the opposite way: it's a big enough place to encounter a data sample that will activate any pre-existing perception. I've written about this many times:

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

If we're to have a community that doesn't suck, at some point we all need to understand these mechanisms well enough to avoid repeating them uncritically.
They abused whole IT ecosystem with Windows for years. That is the main reason for the general distaste against Microsoft.
Another reason we reported more bugs to LLVM is that on average, they fixed bugs faster.
That's a bit like what etherpad did, right? :)
wouldn't the company die if there is too much focus on the product part and not much on the selling part. I mean if you stop customer support, many users will move out. Also if the solution fails often, why the heck will one use it?
And it looks very ugly on an iPhone- hard to read and text is cut off
Actually, that means the answer is even clearer for Windows Phone - since the differences are greater, it should have a proportionally larger share of the market to make supporting it worthwhile.
I think the next step is to make it fly.
If you pay attention to the commas the structure of the law is:

If you do A OR B based on C

A: Deprivation of rights
B: Different punishments

where C is on account of such person being an alien, or by reason of his color, or race

I removed B to make it more readable in my initial comment because you were only talking about A.
Probably because they are only meant for use inside Chuck E. Cheese stores.
I think a better analogy is saying, oh, you've banned newspapers, but who cares, you can still talk to people in person.

Which is to say, it's true, & that's a good thing, but that doesn't mean that the censorship itself isn't bad.

The most effective, most powerful communication medium that exists right now is native apps for social networks on smartphones. If 100% of that medium is controlled and censored by two companies, that means those two companies exert a massive influence on what kinds of communication society as a whole will have.

If you believe in the general principle of free speech (not just strict legal interpretations of say the 1A), that's not a good thing.
>100 people spilling over a barrier into a government building

This isn't a fair representation of what happened and it reveals your bias. For one example, it appears a police officer was murdered with a fire extinguisher. We don't even have to get to what might have happened if the politicians weren't able to get out in time.
Censorship has a very simple definition, and it can be conducted by private companies. From Wikipedia:

“Censorship is the suppression of speech, public communication, or other information, on the basis that such material is considered objectionable, harmful, sensitive, or "inconvenient." Censorship can be conducted by governments, private institutions, and other controlling bodies.”

“Real” censorship is just censorship, and that’s the definition.
Natural rights existed all governments all religions and all systems. Create a system that diminishes natural rights and by the Organic Law, it is our duty to alter or abolish such systems.
That really doesn’t feel like inciting or calling for riots or violence to me. Maybe if @dickc had a large and heavily armed following there’d be more subtext to read between the lines... (i.e. “and we should start this riot now”)
This is nonsense.

Web is as open and free as it has ever been. Arguably more so given that the barrier to entry e.g. cost for creating and promoting a site has come down. And we have examples such as Parler and TheDonald.win.

You just don't have a right to demand that the Facebook and Apple's of the world help to amplify your voice.
While Websocket has good supports by browsers, it doesn't always handle switching between networks correctly, also, some networks disallow Websockets altogether, or drop websocket connections over HTTP, but not over HTTPS.

Socket.io (especially > 1.0) solves these issues with a layer by having smart reconnection mechanisms and starts by connecting over plain old HTTP longpolling, and upgrades the connection to use websockets if they're available and work.
It's a good question, and a pretty fair one for a Javascript developer to know, given the role that closures play in the language.

That said, I'm not thinking of a 3rd solution. Closures(best?), a global(worse), what else?

Edit: As Daiz points out, the bind I was thinking of doesn't even have to even be to a global. But we still have seen only two solutions: variations of binding and closures. What's the third? Inquiring minds want to know!
I never said zero stakes? There are clear instances where a a 1 or 0 shot transformer can have benefits beyond entertainment--topic modeling and named entity recognition for instance (I'm on the team that believes that human-in-the-loop systems will always outperform solo systems on their own and that GPT-3 alone does not confer any competitive advantage). If you think that chatbots are the only user facing use-case for a transformer, then frankly that's on you falling for the hype surrounding its language generation performance.

OpenAI knows GPT-3 is not sophisticated enough to perform medical diagnosis or analysis (anyone can look at how Watson failed), so it'd never approve such a risky application.
Maybe, because it's going to (on average) be hard to collect. But the debt doesn't go away automatically or get reduced, it goes to whoever paid that penny...

(Now, if that's John Oliver [0], maybe it also gets forgiven, but that's not the usual case...)

[0] https://www.globalcitizen.org/en/content/john-oliver-buys-15...
Yes, this was my feeling as well. It is very rare that calligraphy in a left-to-right writing system will have letters slanted left. It may have been a photograph from the other side. Rice paper being very thin, it might not be obvious which is the right side.
We found some old Armenian letters in my family and it was really really hard to find someone who could read and translate. I don’t speak or read it but that was our experience.

Here what they looked like. It’s hard to compare with the low Rez but seems like not a match with this old Armenian..

https://www.flickr.com/photos/acomjean/10720319325/in/album-...
Again, youre assuming internal controls exist implicitly. They dont. Theyre a risk exercise not a requirement.
I think the point is that no price would have made any extra electricity supply available. All this $9000 imaginary price did was provide the remaining generators with an extra $8000/MWh and causing a number of electricity wholesale buyers (far from only Griddy) to default.

It's not like any generator is making money having a power plant sit idle, they are losing tons. Any positive price is incentive enough, but no level of price can make whatever is causing the outage to be fixed in 4 days. The Texas grid is an entirely isolated system.
There is a point to which this is true, and there is a point at which this is no longer true because everyone is already doing everything they already can.

Texas was quite obviously well beyond that second point during this crisis.

Moreover that only excuses the people who actually had those extra expenses of charging more. The rest of the producers of electricity are morally (and under normal circumstances legally) obligated to not also raise their prices just because they can.
As I understand it, there are two ways to purchase electricity in Texas:

1) a fixed rate per kilowatt hour, regardless of what the wholesale cost is.
2) a variable rate per kilowatt hour, which is wholesale cost.

If supply is up and demand is low, wholesale prices drop, so the customer pays less per kWh and ostensibly less per month. In that same vein, if supply is down and demand is high (like when power plants literally freeze and supply from other sources can only trickle in), wholesale prices rise and this increase is passed directly to the consumer.

On the other hand, fixed rate consumers pay the same per kWh regardless of whether the wholesale cost is high or low.

So when prices skyrocket to $9/kWh, wholesale customers are on the hook for it, but fixed rate customers will still be enjoying 10.98[1] cents (yes, that's $00.1098) per kWh because their utility provider has to deal with it.

[1] https://www.electricitylocal.com/states/texas/
I think he was expecting popular content from unknown/non mainstream artists instead of popular content from popular artists that can be found anywhere.
The author points to the recently good support for frameworks (specifically MVC), but hasn't there been a bit of a backlash against overly opinionated frameworks and a move to more lightweight frameworks like Sinatra? Isn't PHP going to just be behind on this trend as well?
I see your point, but I absolutely do not think that a lot of coffee shops would be at the point they are today without the "laptop zombies" (which have supplanted people with books, or people with pencils and paper).

The coffee shop I go to has completely embraced them, and has little workspaces for everybody to use.

I probably wouldn't ever go to a boutique coffee shop if not to use it as a workspace, and I don't know many people who would either.

If I'm looking for a place to just hang out with some friends, there are many, many, many bars and restaurants that are much more conducive to "hanging out" than coffee shops are.

I think coffee shops have always been workspaces, and I don't think the modern coffee shop would exist without the customers that a lot of people seem to think are leeches.
If you want PHP to save the compiled code between sessions, the APC extension does that perfectly well, and has a dramatic impact on server performance. Yes, it's weird that something that useful isn't part of the core language though.
You should have edited this down. :-) Frankly, this seems even more condescending than what you started with and gives me a less charitable impression.

However, I get your main points, and feel the same frustrations at times with "social" apps, but it's never bothered me to such an extent. If someone was bothering me that much, I'd hide them or un-friend them -- they provide that service, you just have to have the guts to use it.
I've just talked to esad (he's sitting right next to me at the local cocoaheads meetup), what the component does is use a separate R-Tree like data structure to keep track of MapView annotations and perform clustering/display and it seems to deal fine with ~50k annotations on an iPhone 3G. Esad's using this in his local search app http://www.oeffnungszeitenapp.at/
It is possible that he's offering some hard-won wisdom. Hard to know without engaging him in a conversation.

A couple decades ago I gad a girlfriend who made tie-dye t-shirts and I'd often accompany her to shows and festivals. At one festival she left me to mind her booth. I didn't want to do it and I certainly didn't want to do any work in the hot sun.

So I changed her sign from $15 to $35 and sat in the shade.

But my scam backfired and I moved far more shirts at more than double the price than we ever did at the lower price.

What does that have to do with OP's question? Dunno. But maybe the competitor is actually trying to be helpful rather than being evil.
Definitely get rid of the timer or make it something you can turn on. As soon as you have a clock ticking, it adds an element of stress to it. Part of the charm of games like Wordle is that it’s all about delight. Casual is good. Get rid of the threat.

If you really want something to formulate a score, count the number of guesses.
Thanks, makes sense. Next time I'll remember! :)
I've never had the experience that learning a language is harder than learning the culture and (usually bad) tools around it. Stuff like "oh no, I know the official docs say that, but no one does it that way" or "this tool is a 'hip, faster, drop-in replacement' and you'll see it recommended everywhere but the last part is actaully a lie" or "the platform says it supports this language but actually the tools are so broken that it effectively does not" et c.

[EDIT] I had in mind Android, Yarn, and AWS Lambda + Java (as of a couple years ago, anyway), in order, for those examples, for the curious :-)
Contrast that with walking into a codebase in a statically typed language that uses String as the predominant type with little to no effort spent on sanitizing the data in those Strings.

It’s understandable in pieces… but also really hard to scale/refactor/replace after it has grown enough.
Does anyone have a doc with the specifics of how tap-to-pay works? Specifically, what happens when mulitple individuals are in proximity? I imagine there's a payment request broadcast followed by a payment allow response, followed by the broadcaster sending a subsequent request message to a selected payment response? I'm curious about the specifics and what kind of clever things the protocol has to maximize security and minimize DoS, and what kind of information is transmitted on each leg of the protocol
Perhaps give this a go: https://www.chkjournal.com/node/154
That's assuming the feds don't have unfinished business with Bitfinex. They're not exactly on great terms.
Just a thought.

Fight fire with fire. Sue the TSA and all its agents who performed the perceived insanity. A thousand (or million) court proceedings speaking against this would surely give the TSA a lot of headaches, that they would actually think of implementing something better in providing security for air travel.

I feel sorry for the Mom, who had to go through the ordeal and have to live with it everyday from this day forward. Though I feel more sorry for the kids who have been and who would be subjected to such grave abuse of authority.
I think they covered the basics of it - malemployment is employment that's not paying the expected ROI on someone's education level.
Thanks for that. I've been following them via RSS for a while now, but didn't even know that I could subscribe directly in stanza.
Oh, good point :-)

I thought the way spoon worked was similar to those services that give you snapshots of your site in different browsers.
I'm surprised they launched it right before Facebook's big email announcement. Seems like that announcement may overshadow anything else "social" that comes out today.
Unrelated to the article, but I'm impressed with Incanto's clean and readable layout. Most restaurant sites are an ugly mess of flash.
There is one major flaw in the presented approach. The base of any hearing aid is frequency compression (in each frequency band), as the hearing impairment induce, that a patient loss the ability to hear the soft sounds, but the loud sound cannot be amplified, as the threshold of pain remains the same. Usually, the gain curve resembles two linear lines. Feel free to reach out https://www.linkedin.com/in/vbouse if you wanna discuss the topic in more depth (i designed some algorithms for hearing aids)
> The license granted hereunder will terminate, automatically and without notice, for anyone that makes any claim ... by ... assertion or other action ... alleging .. that any right in any patent claim of Facebook is invalid or unenforceable.

That sounds pretty chilling considering that could mean that anything any of your employees say about any other Facebook patent could wreck your business, if you choose to use Facebook code from Github.
I cut all refined sugars out of my diet about a month ago, with a few rare exceptions (the occasional meal out with friends, for instance, which may happen once a month). Basically, it has been life-changing. I have more energy, I sleep better, I don't have the stomach/digestive problems I used to, I don't get the daily headaches, my blood pressure is lower, I don't get as hungry, and I've lost 12lbs (with exercise, too).
Bell shut the program down.

An institution only needs a handful of actual leaders. But it needs thousands of middle managers. This program undermines that goal, so they shut it down.

/me gets depressed and goes off to read Brave New World again.
You mean like the ctrl, alt, shift, & windows keys on a Windows keyboard? Add in the lack of a separate F-key row, similar to many laptops, and you effectively need the fn key.

So we're back to 5. Shift can't be killed for obvious reasons, it's main use is for inputting text, not commands. Fn can't be killed due to reduced keyspace while needing to remain compatible with full 101(+)-key keyboards. So all that really exists are 3: ctrl, alt, and command / win.
I don't know about useless, but yeah, it will force you to work at a less desirable job. Nerds will judge you on language skills the way sales people will judge you on clothing.
I wish they would offer a "Linode 256" VPS for $10 a month, but I doubt that they will. Guess that would make them look cheap, which they're trying to avoid.
I know, I´m an idiot. :P

There´s an easy backup option now. A year ago, when I first signed up, the only things I could see were the options to use some of my storage space to make a backup image -- which you have to think of at the get-go, and make your image half or less the size of your storage.

I think all my monit and nginx stuff -- the per-project stuff -- is fine, as I keep in in the project repo. It´s just ... other stuff. Lots and lots of other stuff.
Are you sure it's gone? I had a similar situation but when I asked their support they pulled my image from backup. You might want to ask them.
" 99.9% uptime, or your lost time is refunded back to your account" - unless my math is wrong that's 7.2 hours a month (for a 30 day month). Most SLA's are terrifying if you do the math.