jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
That image isn't really a fair comparison (in that C++ / Java aren't the only statically typed languages.)

I imagine a statically typed Python dialect would only have an extra 15 or so lines, and the benefits would be numerous.

I love python as much as anyone, but having to keep a reference manual handy just to use someone's library because they had the audacity to use a variable is not my idea of a fun time.

EDIT: I'm probably exaggerating too much.

Would I use Python in a large, complicated, multi-developer project? Yes, I would. And my only real complaint would probably be that I like static typing so much that I'd miss it.
See http://bazel.io/docs/FAQ.html, "Will Bazel make my builds reproducible automatically?

For Java and C++ binaries, yes, assuming you do not change the toolchain. If you have build steps that involve custom recipes (eg. executing binaries through a shell script inside a rule), you will need to take some extra care:

Do not use dependencies that were not declared. Sandboxed execution (–spawn_strategy=sandboxed, only on Linux) can help find undeclared dependencies.

Avoid storing timestamps in generated files. ZIP files and other archives are especially prone to this.

Avoid connecting to the network. Sandboxed execution can help here too.

Avoid processes that use random numbers, in particular, dictionary traversal is randomized in many programming languages."
He stated he was using a temperature of 340F, which is roughly 170C. Would that temperature also be harmful to SMD components when exposed for several minutes?
You can't guarantee 100% expense coverage during random events. Not everybody has thousands of dollars laying around in emergency fund for 12+ months. Committing to an insurance policy is simply a semi-guaranteed safety net.

Have tons of cash? You should still probably look at a cheaper plan with a super high deductible.
I didn't took it that way. It is just systematic risk of outsourcing. If a person is not in the same building with you, you are making a leap of faith (or sometimes even for a team in the same building).

I am sure that if we make an "Poll HN: At what distance away from you was the team/person that turned your project into nightmare?" we will find pretty even distribution in the brackets.
> Ok, what does it takes to enable op code cache? It is not only about software, it is about many no brainers.

From having worked on timelines like this, it was probably less about the time to enable it vs. "If we turn on op code cache and that breaks part of our code, we don't have time to fix it."

Solution w/ nebulous oversight and looming deadlines? Punt it to the ops team.
"The whole point of insurance is collective risk-spreading"

If you can afford to replace the item yourself you can instead spread that risk over time (and multiple items) by essentially self-insuring.

I absolutely agree you should buy insurance for "large, uncertain costs", but a smartphone or laptop is not that for a lot of people.

Healthcare and liability (auto, homeowners/renters, etc) are two examples of actually "large, uncertain costs" for most people.
Charles Stross's Scratch Monkey and Accelerando.

Both are not necessarily cyberpunk (at least not through and through), but they both give off that same raw vibe that I get from Neuromancer.
I think they mean "I've always got something to do"

> One of the biggest benefits of the Internet, workers said, was the expanded network of contacts outside their company that they had built up.

“These are the new leads. These are the Glengarry leads. And to you they're gold, and you don't get them. Why? Because to give them to you would be throwing them away. They're for closers.”
I can't believe they rolled over like that. They were all talk.

What little respect I had for FB just fizzled away.
That assumption is incorrect. They already pay taxes, both directly and indirectly (collected from people as GST).
$200 is nothing compared to the $4000 Happy Hacking Keyboard By PFU Ltd of Japan
Around 10 years ago, I did a bunch of research into battery banks for an off-grid solar installation. I looked at probably a dozen very different battery types (some of which were 'coming to market soon', boy were all those a dead end). The option that seemed to be the best choice overall was flooded lead acid, which surprised me.

It's very interesting that even after all the improvements in battery tech since then, this still appears to be the case. I wonder how much longer it will hold true?
https://nicolasbouliane.com/recipes
The article lists 5 problems:

> Inconsistent Duplicate Key Precedence

Ok this could still be a problem, though I doubt it would be in practice and the article states "some serializers refused to create binary representations of multiple keys".

> Key Collision: Character truncation and Comments

Not possible with binary formats.

> JSON Serialization Quirks

N/A

> Float and Integer Representation

Not an issue with binary formats.

> Permissive Parsing and Other Bugs

Mostly not an issue with binary formats.

Unfortunately they said they tested some binary formats but didn't present the results!
love it! this is the straw that finally got me to read up on Matrix. Will definitely start running my own server this year.
Every month a cool shell is posted on HN and I get all excited.

Then I remember I need to work on hundreds of corporate servers, half of which I cannot install anything on. So the only common denominator shell is bash.

So bash it is.
> Calling a country "Middle Eastern North Korea" in the first sentence isn't really conducive to a nice intellectual discussion on the merits of taking Saudi investment though.

The description is accurate and not incendiary at all.
As we're offering alternatives. Either `shopt autocd` in bash or `setopt auto_cd` in zsh, then ~ changes to home by simply being a path.
This is a rather frightening article. Why is it considered a good thing to not know anything about the components that make up your program? This seems like blackbox abstraction taken to its absurd conclusion, where programmers simply wire together type compatible components without any idea of what they're actually doing.

What does the example program even do?

I think this article is one of the best explanations of the visceral reaction some programmers have to Haskell. There's a lot of theory behind Haskell's semantics and libraries, and some people just do not enjoy using something without having any clue of how it works or how it's implemented. Even a hand-wavy naturalistic explanation is better than a dismissive "you don't have to worry about that".
N = 2 ^ 18 = 262144 queens in less than 6 seconds in a VM on a laptop

its in ~210 lines of C++:

https://bitbucket.org/rfc/dopt_nqueen/src/3e812164d97a8e91d4...

uses random local search approach, as described in russell and norvig (http://aima.cs.berkeley.edu/).

wrote this code during https://www.coursera.org/course/optimization
I used to love Ars, but I deleted the bookmark some time ago.

I loved articles like the lengthy description of Homeopathy. It helped me avoid accidentally buying a $5 bottle of water eye drops that may or may not have once contained something derived from bees. They hid this fact in tiny print which is quite hard to read when your eyes are watery and put the bottle in the pharmacy, adjacent to actual medicine.
I went from being an avid Delicious user to using Pinboard instead. I'm really looking forward to seeing what happens now, and hopefully there are so cool stuff coming that I'll go back to being a fanboy again. This is (hopefully) amazing news!
I've switched to Pinboard.in, and couldn't be happier. Still, great news for Delicious users!
The device ID is not necessary for such a query to be successful, though. If you as the device programmer were interested in getting the subset of the cache for your location, the method signature would need be nothing more complicated than:

+(DBConsolidated) subsetForDevice:(NSArray *)visibleTowers:(NSArray *)visibleHotSpots

So even in the "worst" case described by you no identifying data is sent. This could possibly be statistically analyzed, but given Apple's flat denials, a plausible technical reason, and the public attention this has received, I doubt they are lying here. A whistleblower providing evidence contradicting their "we don't track" claims would be devastating, and possibly open them up to legal action. I don't think they are quite that careless, although it is certainly possible.
I hear there will be beer, pizza, and zombie whales!
> free trade, free markets" - doesn't sound left leaning

The Economist is proudly liberal: for free trade. Parent post is reacting from a narrow USA partisan perspective: "liberal" as code word for the left.
"Why Sap green?"

What the he'll does that even mean?
Interestingly, the number of sites affected might have been a revelation to Wall Street on the importance of Amazon cloud services.
Square isn't disruptive to VISA. It's disruptive to credit card processors (i.e. Authorize.net).
Oops, sorry - I meant to say I'm 'NOT' in the US, but I couldn't edit the post by the time I noticed.
I didn't. I've never actually had to file a FOIA request before - is this something that would be available through one?
That's partially the result of the chosen scale. Run a set of "up" arrows from the top left to the lower right and it will play the scale. Then go back to just playing around, and you'll hear how that choice colors the results. A different scale choice would have different results. This would combine well with bajsejohannes's idea; you could exert some control over the scale while letting the automata run free.
You can also purchase the device in black or white (previously the Square devices were only sold in White).
I wouldn't be OK with you sharing with other people the fact that I interviewed with you, especially if it was on a formalized routinized basis and most especially if it was to drive some service that computed my value as a candidate.

Things - 'tptacek - is - OK - with is a very poor measurement of how good an idea is or isn't (unless it involves Javascript crypto in which case I am right), but I thought you might want the data point. I like to think of myself as an A-player (or at least an A- player), and I'd skip talking to your company if I knew it did something like this.

For what it's worth, I think a better way to supply talent to your team is not to depend on a steady inflow of resumes to begin with, but to actively recruit. We do classes, we give talks, and I yell at people on Hacker News; all of these things have outperformed job reqs for us on recruiting.
I've been working on a site for the better part of the past year that I made to try to address a lot of the issues that caused me to leave Digg and to a lesser extent Reddit called http://chirplinks.com and Digg 4.0 is getting dangerously close to some of the ideas I had when I first started building it.

As the OP mentions, as the Digg community grew larger the frontpage stories became less and less relevant to me and frankly, pretty crappy, and I found myself pining for the days of old when Digg was largely a tech-geek community. The big reason I spend most of my time on HN is because the demographic is a lot more focused.

The light bulb moment for me came from my time playing with the Twitter API and getting more into Twitter in general. I had spent all this time cultivating my friends list on Twitter and I was getting a lot of great links from them, but not enough to where it would replace a good bookmarking site like HN or Reddit. It then occurred to me if there was a system that would intelligently start adding my friend's most trusted friends to my social graph based on the links I click on, save, hide, dislike, etc. I could build out my own social bookmarking community that was highly focused in on the things I am personally interested in.

So a friend of mine and I built it and actually just recently (quietly) took it out of closed beta to get some feedback. If anybody is interested in trying it out, feel free, although to get the full effect you need a Twitter account with a decent amount of friends. We plan on removing this restriction though so that anybody can jump in, pick a few topics of interest, and start growing their mini-Digg so to speak.

The problem I see with Digg is that they're trying to become yet another social network (YASN as I call it). I honestly can't see myself going through the process of finding friends all over again - I barely put in the effort to manage Twitter and Facebook. We built Chirplinks to work perfectly well without a full network effect. We figure why force users to build another circle of friends when they've already done that on other sites.

Anyways, I'd love to hear some fellow HNer's opinions on it, even if you don't want to try it out just feedback on the general concept would be awesome.
MySQL for day to day stuff/existing software, Postgres for a new project, and Sqlite for unit testing (since it has an in memory database, which is awesome).

Playing around with the document/NoSQL databases, but nothing in production yet.
ahh, ok, didn't see that, apologies! Good news, then! :)
That's a great point. It's similar to why people often set up their problems as 3SAT or convex optimizations--you get to benefit from all future improvements to 3SAT solvers or optimizers.
The original iPhone had a competitive advantage
based on a "real" webkit-based browser,
visual voicemail, a large multitouch display,
on-screen keyboard with good auto-correction...etc, etc

Funny, but most of those were dismissed by naysayers when iPhone was introduced. The capabilities of Mobile Safari were mostly ignored ("I've my Opera Mini/Mobile"), multitouch ("Apple did not invent multitouch!" — and conveniently not mentioning that iPhone had capacitive multitouch), and no physical keyboard was presented as a huge flaw.
At Mugasha we are musing MySQL and Redis. We recently started using redis to store a lot data related to our social features (activity stream, user suggestions, dashboard views). It also acts as a caching layer since data is stored in memory. I plan on developing many of our new features on top of redis as data store. We'll continue to use MYSQL as our db for persistence and manageability (backup/durability) sake.
Nothing prevents it - true, but the normal method of installing packages is not like this. i.e. where every single file on the entire system is cataloged, and the exact program that installed it is known. Windows has nothing like this.

It has a unified place where programs can list themself, but the actual un-installation is up to the program. And it has no unified method of checking if programs are up to date.
Thanks this is a much more mathematically reasonable analysis. I especially like the idea of using the #fumbles made by Pats' opponents as a control for the weather (although that confounds the Pats' defense's ability to generate fumbles).

The OP gets credit for noticing an unusual trend in the data, but does all kinds of weird seat-of-the-pants analysis that I found pretty hard to even look at.

E.g. Sorting the teams by fumble frequency, and then running a regression on the ranked list (!!?); using plays/fumble instead of fumbles/play; reporting stats with the null hypothesis that the Pats fumble rate is drawn randomly from other teams (instead of asking what the likelihood is of an extreme value at least that high).
Mostly it's just an argument over whether it's a rocket to the moon or a ponzi scheme. This seemed like it could foster a more interesting discussion than the usual stuff.

Maybe even some interesting comments on Taler? A kid can hope...
So why won't they complain about the fonts being broken and being replaced by bars?
https://www.f-secure.com/en/web/home_global/freedome
This seems similar, but possibly more useful as it won't distract the reader with large geometric blocks of uniform color.

http://notionparallax.co.uk/wordpress/?p=1491
1. Basic misconception - being JS developer doesn't make you a node.js developer.
2. Blogpost makes an assumption than node.js could be used for enterprise software development and shows page serving metrics as a proof. Actually IMO most of the enterprise apps are not about page serving - there are a lot of them used only by few hundreds of people in 9-17 daily basis. Backend business logic is a lot more important and the post doesn't proof in any way, that using node would be proficient in that matter.
That statement is so general that it's meaningless. It's like saying you don't like the weather in America.

The US has enormous variations in zoning regulations.
It was my impression that Tags were just Apple's last attempt to avoid having "Folders" in iCloud. Wisdom on the internet is that the file system is bad and must be hidden from users. But if you add folders to iCloud, then what is it, if not a file system?
Then iCloud Drive introduced Folders one version later, and now Tags is kind of a legacy feature.

I don't think anyone but management ever really wanted tags.
What are the costs associated with that?
As I see it there is no test suite? Is it planned? What is the roadmap for the project? The support section in the README only tells us to buy you a coffee, not how to reach out and support you.
I've been really enjoying SpreeCommerce (based on Rails). You can get away with very little coding if you're happy with the current feature set (which really covers all the basics and then some) and your Payment Gateway of choice is supported by them already or within the ActiveMerchant Payment Gateway options. And then writing your own Payment Gateway integration (like for offsite payments) is really easy too.
I would be curious to hear more about how these scientists, or other teams, might improve the energy efficiency of this nickel-iron battery.

I found the reference links on the wikipedia page for Nickel-iron batteries are yielding interesting information for a first look. https://en.wikipedia.org/wiki/Nickel%E2%80%93iron_battery

For example the article below, where the use of graphene and carbon nanotubes is described as improving the speed of charge and discharge by several orders of magnitude (though graphene production is still an area of research rather than a mature industrial process from what I understand). https://news.stanford.edu/pr/2012/pr-ultrafast-edison-batter...

A simple search also yielded this patent, assigned to the US department of energy in 2016, but I am not sure how relevant it is. https://patents.google.com/patent/US20150086884A1/en
> If you believe that, then why ratchet them up just because the property is sold?

An argument here is that it's about budgeting and predictability.

If I choose to buy a $1M property today, I need to consider and budget for the $10K+/yr in taxes on it because I know full well that's what I'll have to pay. If that doesn't work for me, I don't have to buy it.

But someone who bought a $50K property and responsibly budgeted for the $500 in taxes on it will be severely punished through no fault of their own if that $500 becomes $10K.
I use `noti` for this:

`some_task && noti`

`noti some_task`

both work.

https://github.com/variadico/noti
Yup, I'm waiting for that one as well. Open/save/print dialogs seem to be using native components, but I'm guessing they link to old versions of AppKit because they don't respect the system setting for dark mode either.

But all in all, I'm pretty happy with Firefox. This is a very minor thing for me.
IMHO innovation isn't linear: when you discover something new (say the combustion engine for example) you make great progresses at first but then you spend decades or even centuries refining these progresses.

Add to this the office politics, corruption and big players crushing any hint of competition and you have general stagnation.

I have read about the eventual failure of the F35 for years now. The naysayers had solid arguments but were ostracized by people with conflict of interest.
>Simple biology is a ludicrously heavy lever on human behavior.

Seemingly small biological factors can have huge social consequences.

For example not having clean water and getting parasites can mean a lower IQ for children and hindered development.
http://www.economist.com/node/16479286
In the UK and France, the +1 was available for use by traffic travelling in either direction. It sounds like in this case, they're talking about one side being allowed to use it for a spell, and then the other. Similar to the overtaking lanes provided here in NZ.
It is actually correlated. But not miles, but rather hours.

To the point that people joke that the best way to reduce traffic deaths is to increase the speed limit, since that means people will be on the road for less time.
By that definition Russia is a giant terrorist organization, seeing as they're pointing nuclear missiles at a lot of cities in North America and Europe.
The best thing you can do is be happy with where you are in your life right now. It wont matter what other people are doing.

If you arent,

working on personal fulfillment should be your priority going into 2015.

*spelling
Not even remotely likely.
And, to add on to this, when I think about it a bit more, I usually realize that I'm jealous not of the thing the person has, but of the feelings that I believe that thing will bring (happiness and fulfillment). And the truth is that perception is often wrong - success can bring unhappiness, while it is possible to be happy and fulfilled without conforming to anyone else's perception of "success."
> no matter how much we have been trained not to like NK.

I get that you're skeptical of the U.S. government. For good reason. But nobody needs to be trained to dislike NK (except, perhaps, North Koreans). Is your implication that NK isn't really so bad, and it's only a brainwashed reflex to think that it is? I, personally, really wish that were the case, for the sake of everyone who lives in NK. But it isn't.

There are things much worse than the U.S. government.

http://www.hrw.org/world-report/2014/country-chapters/north-...

Edit: You might also want to reflect on why it is that you're so willing to doubt NK's responsibility for the attack on Sony, but apparently pretty eager to believe that the U.S. is behind the attack on NK. Is the evidence for the latter claim somehow stronger than the evidence for the former? I would have thought the opposite was true.
Who said this? You?
Man, I should be working on something I can actually put somewhere, but I just don't have the energy for it after work these days.

Instead, I assembled a modest new desktop and put Arch Linux on it. It's been _years_ since I used Linux (even more since I assembled a computer instead of just buying one from Apple) and it's really been a lot of fun. I've gone totally all-in-crazy with it to. I use this obscure tiling window manager called Sway, and built the whole machine into a tiny little small-form-factor case. It's been a LOT of fun and I've learned a hell of a lot.

My only issue is cooling this little bugger. I've got a fan in there now that _just_ fits, but it creates a crazy amount of turbulence noise if I put the side panel on. I've given up on air cooling and ordered a water all-in-one cooler instead. We'll see how that goes. But either way, it's a blast to try all this stuff out.

Once I get everything perfect with this new rig... I'll go back to trying to get comfortable with Rust. :D
I am working on social media marketing and trying to get user feedback for my IOS App. Keyword plus, which is an alternative to Google Trend and SEMRush but for Iphone.

https://apps.apple.com/us/app/keyword-plus-seo-research/id14...
what is the use case for this tool? how does it work? which OS does it run atop? am intrigued but cannot find answers on website or github
Nitpick: this isn't really about persistent state specifically, but any shared (and especially mutable) state, including but not limited to state shared across multiple temporally-nonoverlapping instances of the same program. Eg, compare when 'foo' is provided as input or fetched across a network.