jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
These are two manifestations of the same feature: function arguments's default values are evaluated when the function is defined.

In one case, the value is a non-mutable int, while in the other it's a mutable list, but in both cases each call to those functions will share the same value for that argument (unless overriden).
> You can have a website that takes payments without putting the infrastructure online. Take what you get from the human meter reader, put it in a database.

This has been done since the dawn of water management. Manual meter reading is the source of most errors in a system. SCADA systems generally don't get directly tied in with meter management and billing, but they are required somewhere in many processes. Sorry if I didn't make that clear.

> I don’t believe the two are actually related but if I believed that setting up a payment website required introducing huge security vulnerabilities, I’d rather mail a check. And I hate mailing checks.

It doesn't. What I said is about how these things happen. It doesn't mean the only way to achieve a "smart city" is via TeamViewer. Outfitting your system with devices designed with the SCADA security model in mind has proven to work.

> But the water companies are public utilities and if they’re putting their own convenience over the safety of residents, it should be addressed with regulation.

I'd caution you against routinely arriving at maximalist interpretations. This has very little to do with convenience and more to do with efficiency, safety, and resource management which makes your water cheaper, safer, and less likely to be lost.
Would be interesting to see a Go or Rust version not it.
Basically, you want the cuts to only happen where they should. Without so-called "off target" edits, undesirable changes elsewhere.

We are becoming better with the molecular scissors, but 100 percent accuracy is AFAIK not there yet.
And that revenue is large enough to justify the investment?
I have been using it for a while, loving it!
Right now, I'm Programming iOS app with Facebook ComponentKit.http://componentkit.org/docs/component-api.html
>> I also learned that most professional mathematicians

>> consider it uncool to get really good at doing integrals:

>> it's just one step up from memorizing digits of pi.

I consider it cool to get really good at anything.
I read through some github discussions in the tox github page, and I can't really shake the feeling that they don't know much security. Someone had a question about the protocol design and about how secure it was, and the dev just linked to NaCl and said "read the source here and you will see that tox is secure".

It didn't really boost my confidence in their protocol design...
Help me with a thought experiment. What do you think the result would be if a target, heated by the National Ignition Facility were to encounter a partical stream from 2 sides such as provided by the LHC.
Since, as the blogger put it, "The former communists running Russia apparently understand tax policy better than the buffoons in charge of U.S. tax policy.", he must be in favor of the US having a VAT, like Russia does.
While most smartphones have their specifications disclosed before even the first pre-order is taken, the iPhone 4 has managed to secure 600,000 pre-orders without disclosing all its specs for consumers to use in unbiased comparison with other handsets.

What CPU is in my Mazda 3? What about my Microwave? How about the CPU in my Garmin GPS watch? or my washing machine? How many Gigahertz? Megabytes? Level whatchamacallit of RAM?

Why would a phone or tablet or even a laptop be any different? The critical factor is that yes, it will have enough of whatever it needs to multi-task in iOS 4.0.

The times they are a changing. Phones and tablets and netbooks and laptops are becoming consumer appliances.
In my case, I...
a) never really think about these things until it comes to my attention that they need to be done. This tends to be well after other people (my girlfriend, for example) notice that they need to be done. It just doesn't really bother me.
b) don't really care about most of that stuff anyway - productivity with regards to things that have an effect outside my little habitat matter to me a lot more than these trivialities. As long as I know where things are, cleaning (except where unsanitary) mostly just wastes time for very little real benefit.
Personally I find studies like this a bit meaningless. I'd prefer to see something along the lines of: "Food Item A was discovered to contain Chemical X which softens artery walls allowing the body to remove fat deposits leading to a reduction of the risk of heart disease"
It is not about 50% of future earnings; it is about providing stability.

If you have a relationship with traditional gender roles (maybe outdated, but some couples prefer it), then it is the man's job to provide stability.

So, what if you are a man who wants to do a startup, but also wants a marriage with traditional gender roles? It is a quandary.
This is an admirable question, although the answer is that there's really nothing you can do. ISPs and many content providers are planning to enable IPv6 at the last minute (there is some debate about when that actually is, but that's not relevant here) and no sooner.

You can use IPv6 today by using either 6to4 on your router or Teredo on your hosts. This is probably a good idea if you're a developer so you can test your software over IPv6.
"Wow, Apple is being secretive; how weird. Since this is the only reason I can think of, this must be it."

Logic is outside, beating it's head on the sidewalk.
A "Tim Ferris" style business also might not work out in five years.

I love mostly-passive income (it is the bulk of my current income), but that doesn't mean that the income source needs to start out passive. Just have a plan for stepping away since freedom is really the only thing worth buying with money.
This reminds me of another article I read about "just in time" learning VS "Just in case" learning. The first is the kind of on the job training we all do to get up to speed on projects etc. The second is academic or recreational learning, that is learning without an immediate application in mind.

The author seems to think that one kind of learning is more valuable than the other. This is not the case. All jobs require a certain degree of "just in time" learning and almost all "just in case" learning can be done in a "just in time" manner.

The real question for employers should not be what kind of knowledge does this person have but rather am I willing to pay for this person to learn what they need to to do this job.
That's what email, phone or support tickets are for...

My experience with this kind of services has always been lame and I strongly believe only bad businesses use them

For example the two larger e-commerce sites in the world,Amazon and Alibaba don't use them

If they were a major improvement, they would.
> Also, the US does not allow exports of the vaccines produced in the US.

Can you cite this?
Really the "reason why computers suck in 2021" is that user-interfaces are fundamentally single threaded, and that every time you see a spinning circle or beach ball on your computer, some application dropped the ball and none of the UI will render ever again until some function returns.

Maybe that function is waiting for a signal from Mars or a DNS lookup, or a 3GB file download, or for an O(N^2) algorithm to finish (e.g. does your "no code" tool know when to say "no"?,) but it hangs up everything else.

Web browsers are huge programs written in C++ by the greatest software development organizations and they block the render thread as little as possible, Javascript inherits this property as embedded in the browser and that is why it is so dominant on the front end.

Perhaps some more radical idea like breaking the application up into tasks that are killed in (say) 50ms and can be individually crashed (like Erlang) but going from that idea to conception is a lot of work -- one thing to do for a very simple mobile app, another to do write a framework you could write an IDE like VS Code in.

And that is what I find so irksome about the hand-wringing behind "Why isn't language X so popular?" is that if you really want to be doing something harder than what most people are doing you will need to thread a path from beginning to end and you're going to do that first through mastery of computer science (general) and second doing it through mastering your tools (specific).

There is so much path-dependence everywhere. I have gotten into the Arduino hobby lately. A 1970s computer scientist would think it was insane that it uses C instead of something more like Pascal or PL/I, that it should have a language that respects the Harvard architecture, etc.

They'd be right. C's a terrible language to use for that purpose, except that (1) the developers of Arduino could get a good C compiler and toolset off the shelf, (2) many people know how to program C, (3) you aren't wasting your time learning C, and (4) C isn't that bad, and (5) you can't write that big of a program for an Arduino anyway so you can only get into so much trouble with a "buffer overflows included" language.
The Apollo site is created by people outside NASA, right? Is that possible for ISS and Artemis?
> The worst that can happen to you is that you'll be deported

This is demonstrably not true.
Your models don’t agree with experimental data.
While the article does mention non-"binarizing" (I prefer "non-discretizing" as the more common parlance) in the sense of treating the 4 dimensions as axes not buckets, the article does not mention context sensitivity like church-home, buddies, babysitting, same/opposite sex, older/younger, etc., etc.
Yeah, I retract my statement. It was my error there, and I apologize.

Not going into too much detail, but was following a lot of the drama going on for the past two years and found it odd there wasn't a release in all that time.

That said, I shouldn't get worked up or argue about things that aren't my business. I apologize.
NEC’s are expensive so it’ll be tougher passing approval at the expense department.

This smart TV business has to end, I have a Samsung “The Frame” and it looks a lot like those NEC’s you’re mentioning. In fact, it’s the perfect conference TV. The problem is that when I keep it disconnected from the Internet, I get a message on screen every time I power it off. I’m going to try changing the region to a more internet-sparse region to see if that helps.
The dream of "Write Once, Debug Everywhere" will never die
Okay then we have no problem :) But he is also not saying what you are asking if he is saying.
If they were allowed to.

It's no coincidence that founders who get bought by BigCo's end up looking miserable 12 months down the line, after being demoted to an employee, who doesn't have full control of their baby any more.
Maybe, but that's not quite what their survey showed:

The four strongest correlations with our crunch-related questions were:
+0.51: “There was a lot of turnover on this project.”
+0.50: “Team members would often work for weeks at a time without receiving feedback from project leads or managers.”
+0.49: “The team’s leads and managers did not have a respectful relationship with the team’s developers.”
-0.49: “The development plan for the game was clear and well-communicated to the team.”

(+ = this response was positively correlated with crunch)
Having a friend bid up your items is a well-known (eBay) scam. There's also just 24 hours before the game, so some people will already have found something, and this kind of "side deal" means that the buyer loses all protection.

In short, I can imagine the redditor having trouble selling these tickets.
I have a similar association, but use "Commas" in place of "Columns".
The OP gets into that -- the main secondary point of the article is that when these things go wrong (as they sometimes do), a "crunch" approach actually decreases the likelihood that the project will succeed. It just makes things worse.

In other words, the medicine has awful side-effects, and it doesn't even treat the illness.
> It's calling python code behind the scene anyway

It doesn't even really do that. It sets up a rube goldberg mechanism to push a python program containing a base64 encoded zip file containing the module it wants to execute it. Then it runs a shell to run python to run that module. This is why ansible is 2000x slower than it should be.

see https://github.com/ansible/ansible/issues/36275
I think I have a similar preference, but lazy and good are not mutually exclusive
The best option would be to pick a framework and learn to use it. I may get flamed for this view, but I don't really think it matters as much which framework you choose, just choose one and learn to use it well. Invest time in to learning with it on a throwaway project.

You will not be as productive end-to-end on day 1 as you are with your current tools - that's OK, because after learning a framework, you will be more productive than pure hand-coding for any web-app of any complexity. You'll likely be safer, because there's been more effort put in to most frameworks to help protect against web attacks (SQL injection in most cases).

Learning a framework will teach you to think differently about your development process, as well as introduce you to a community of like-minded developers all using the same tool. It will help you develop a development process.

You'll get to the point where you're comfortable and productive, and then you'll start noticing limitations in whatever framework you're using. That's the time to start looking for another one, and either jumping over to using that, or more ideally, looking at what ideas and components you can reincorporate in to your current tech stack.

I love Grails (Java) because, while it's niche, it makes model-drive development a snap. I create classes, identify relationships, and the system can generate the db layer (tables, etc) for me automatically. There are ways to do some of this in PHP, but the language itself makes this extremely verbose. However... I still use PHP (now using zfkit as a basis) for some projects, and have done some .Net work where it made sense (on an MS-only project, to be precise).

It's easier to jump around now because I've spent time understanding not just the particular languages involved, but thinking about how web apps are commonly abstracted (MVC, service layers, db layers, etc). Understanding those common patterns makes it easier to swap between frameworks and platforms as needed.

Gentle plug - I'm working on a starter kit for zend framework - zfkit.com - which aims to bring a somewhat better 'out of the box' experience to ZF (at least from my perspective). You can download and it's bundled and preconfigured to use the Doctrine ORM tool. That said, if ZF and Doctrine rather make you say "huh?" it may not be for you just yet. :)
Subscriptions made buying papers more convenient and often cheaper (though not always, weirdly!). No more trips to newsagent in the rain to find they have sold out etc etc. The net has more or less trounced them in the convenience stakes. Now arranging a sub and waiting for the postman to arrive is more of a hassle than firing up a browser whenever I want to catch up.

I still buy newspapers - maybe more than I used to, but a subscription these days just seems a bit pointless far as I'm concerned. Not only that, but the quality of free gifts for signing up has fallen to a shocking, almost insulting, level!

Sent from my iDevice so please forgive the fresh he'll that is my auto-spelling.
Literally? I don't think so.

CSS has very weak layout capabilities.

CSS has weak typography.

CSS has weak colour system support.

In each case, this is partly due to limitations in the underlying model, but also partly due to having limited syntax.

In each case CSS3 modules may improve things somewhat if and when they are widely supported, but even the best proposals there aren't even close to the power of a good DTP tool or the control of a native application. When the web is trying to take over from both, CSS isn't a good tool, it's just the best we've got right now.
Obsolete is a verb, but it is a poor choice. A better choice would be obsolesce, as in: "LESS.js will obsolesce CSS". This is because LESS.js won't obsolete CSS, but it may well start the industry on the path. Obsolete has a feeling of immediacy to it, and obsolesce has a feeling of lethargy or a gradual process which is why it's the better choice.

It's an opinion, take it with a grain of salt.

(BTW, I dislike MW because it takes all nuance out of the language and dumbs it down to an inexpressive mess.)
Here's a plan on the Rakudo GitHub wiki for what's going into the release: http://wiki.github.com/rakudo/rakudo/whats-going-into-rakudo

And here's the number of tests it's passing now: http://rakudo.org/status

Rakudo's still slow and doesn't have a lot of modules written for it, but this release is meant to address that by getting more users. It's considered good enough at this point to write normal programs in it.
Surely being a patent troll is the ideal business model for a time traveler? No need to go to the bother of actually selling any products, just patent things you know will be wildly successful, wait until the right time and then unleash your lawyers.
Apple's IDE user interface design continues to take inspiration from the best -- Microsoft Visual Studio. And it's all good.
Figured node.js would become node.elm too right?
This is really a problem, watering the plants is strange to me. Of course, I try to make a schedule and water the plants for example once a week, or depending on what the flower looks like. But since all flowers need a different amount of water, the schedule changes and I start to forget to do it.
That is interesting, we are not their customers but their resource. Their real customers are the companies that they sell our data to.
My wife has caused every vacuum we’ve ever owned to literally catch fire. Ranging from cheap Bissell to expensive Dyson. It’s quite impressive, actually. The cheap ones usually last <1 year while the Dysons last ~2 years. So now we just buy the cheapest one and run it into the ground. It probably doesn’t help that we have 5 animals + 1 husband in the house.
Can you share what kind of businesses you run now?
From the last quarter's numbers the overall headcount is up, they added the talent from the metaweb, on2, slide (Levchin and co.) and ITA when that passes through, and the other 36 talent acquisition they did this year.
If some long time employee wants to try something new or join a pre-IPO startup that is normal, but since the Lars departure everyone got ultra-hyperbolic about the whole thing, casting every bounce or raise as some sort of desperation rather than an award after a decent financial year.

My point being that departures are normal, but as Google is a high-profile company, and a great link bait, people start reading too much into these stories.
This is awesome. Seriously. I think you just sealed up my Saturday morning.
Just because the core business is stable, doesn't mean there aren't projects on the fringes that aren't interesting and unstable. Even Microsoft comes up with cool things from their R&D labs. Just because the company is stable doesn't mean there aren't interesting things going on.
USPS has become irrelevant
>That said the study is highly biased. The "native" people are always laughing in the photos and the "modernized" people are looking sad.

But this doesn't explain away the order-of-magnitude differences in dental health Price found everywhere he went between people living on traditional diets (who typically didn't have toothbrushes, either) and those living on processed diets.
Quick! Let start a subversive private mail company, like Lysander Spooner's American Letter Mail Company. His company literally compete with the USPS for business until it was shut down by the governmenet's lawyering.

He succeeded in driving down the cost of government mail.
So? The argument logic is still valid.
I'm not surprised that demos lower sales, since in my personal experience, most games are just terrible and demos don't change that, they only remind me of that fact before I buy a game. (And I don't even buy games anymore because I've learned my lesson. Now I'll just make any game I want to play.)
Your chances of seeing multi-ethnic couples, kids and neighborhoods is 10X in the Bay Area than Chicago. (And yes, I've lived in both)
Agreed. I guess I just never clicked anything so didn't notice.
This could be really useful, but seems it's not actually returning JSON, e.g. https://coronavirus.projectpage.app/.json?period=0
The Fed is also buying corporate bonds as of today: https://www.federalreserve.gov/newsevents/pressreleases/file...
It is very weird that nobody cares. I work a decent tech job in the Bay Area so I’m nowhere near the bottom, but housing costs are a massive barrier in my life. I can pay my rent, but ever buying a home to start a family feels like an impossibility.

But no one really seems to care. It’s completely fixable, but even most people I know don’t really care about it or connect that it’s the politicians making shitty zoning and local control laws that drives up the prices so high. Or they buy into the virtue signaling propaganda about affordable housing for those at the very bottom being the only thing we should care about, even though they and everyone they know live in market rate housing and are struggling with the cost.
For someone unfamiliar with machine learning literature, can you please briefly explain how it helps here?
> If less than 30% of the additional deaths this year were attributed to corona virus and 30% lies within a reasonable variance of this number over the years, then we wouldn't have noticed, or not?

You seem to be misinterpreting the statement, which says that even though "only" 30% of additional deaths are proven to be caused by the virus, the real number is likely higher.

It should be obvious that the situation in northern Italy is far beyond "reasonable variance". Google is your friend.
> I also wonder if millions will die around the world because nobody wants to admit that a thing Donald Trump tweeted about is the solution

I'm sorry, but why the hell would that happen? That's gotta be the most insane premise I've ever read on HN.
If you want to quickly check out on a new machine, you have to rebuild it all, and all will be synced.

If you want to edit it online and use CI, you would maybe need to cache megabytes of state between runs.

And that's for media files. For renderd HTML files, the smallest change could require rebuilding most of the pages.

Unless I missed something obvious, that's quite a trade-off.

It's not a criticism per se, just something from my experience which contradicts the orginal post.
For those looking for never ending talks and debates about what is true or not, we still have philosophy, religion, and of course politics. Moreover, there's a lot of room the "The Fine Art of Bullshit" there.
The socially-constructed age-cohort you go into is huge too. Want better grades and performance at sports? Be months older than your classmates.
It's common at Google to have a few projects cooking that you move between. One reason for this (though I doubt it's the sole reason) probably has to do with the mandatory peer review process for all code, which can cause delays in getting your code submitted if your reviewer's schedule doesn't line up well with your own. Instead of introducing a bubble into your pipeline when that happens, it's nice to have a side project you can hack on for a little while until you get your code review feedback.
I think it starts to look like HAML / Slim / Jade once you use CoffeeScript. Understandably not for everyone, but I quite like it, and it doesn't mess with your syntax highlighting like JSX does.

m "body",
m "input"
m "button", "Add"
m "table",
m "tr",
m "td",
m "input[type=checkbox]"
m "td", "task description"