skysight-inc/HackerNews huggingface dataset:
> Can you tell which is which? In use, ARC and MRC are mostly indistinguishable, as long as you use accessors/properties for all instance variable access.

Well, that's the beauty of upgrading to ARC: your declaration syntax doesn't need to change; usually it just means that you can drop a bunch of autoreleases in your codebase.

I read your blog post, where you mention this snippet of code being optimized in an odd way, printing "1 2" in Clang:

int main() {
int *p = (int*)malloc(sizeof(int));
int *q = (int*)realloc(p, sizeof(int));
*p = 1;
*q = 2;
if (p == q)
printf("%d %d\n", *p, *q);
}

Of course, when you have odd things like this happen you're reaching down into undefined behavior, and then all bets are off.

Really, I you're just focusing on performance too much and neglecting the fact that ARC isn't there for increasing the performance of your code: it's there so that you can program in a manner that's more safe. Sure, it's easy to manage memory manually, until that one time you double free and SIGSEGV.
Can Obsession with Data Make Your Company Go to Pot?
Indeed, but even these texts take into account that it's not always "binary":

https://judaism.stackexchange.com/questions/34058/how-is-gen...
Coining a new term is the right approach if you want to draw that distinction. "Java is call by sharing" would be fine. "Java is call by value" is more wrong than "Java is call by reference".
Hospital rather than doc rates are far more useful here.

Look to c-sec vs. vag deliveries.
I have no idea. We more or less took one look at all the crazy sh*t they were doing with pixels, trackers, inbound marketing, outbound marketing, SEO, sitemaps, special codes for FB, GA, dynamic landing pages...

You know it's all trivial garbage...except if you want to replace it you need to support it, train them to use these tools and at every point you're going to encounter this resistance about WHY you're doing it and you say well security and speed and they're like it's fast enough and we've never been hacked.

So until the site grinds to a halt and they get also get hacked they basically view you as a blocker.
DuckDuckGo about 60% of the time, followed by StartPage and Google. The main reason for choosing DDG is privacy. And it's the same for StartPage too. I never search on Google when logged in, and I try to isolate browser activities in different ways (on Firefox, I clear cookies with Cookie AutoDelete, use Containers, etc.).

I usually start my searches on DDG, and move on by modifying the same search query with a !s prefix (for StartPage) or a !g prefix (for Google). DuckDuckGo's date search is comparatively limited. DDG still isn't adequate for me for tech related searches, though it's gotten better over time (StartPage, which is a proxy for Google, and Google itself, are much better). Image search also has more refinement options on Google than on the other two.

I also use DDG to search Wikipedia (!w prefix) and IMDB (!imdb prefix, which is a bit long to type though).

DDG has a bang search keyword for almost every site you may want to search on. [1]

[1]: https://duckduckgo.com/bang
It depends on the state, but at least in California there is "no recourse", which means that if you default on the loan, the bank cannot come after your other assets.
Or they could have started with an MVP without thumbnails and html and improved it over time, would have been more valuable then having no preview at all.
> Apple are treating it like ARC

That's because Swift uses ARC instead of traditional tracing garbage collection.
The only subjective element is ruling "ordinary effort" by an infielder. As for fair or foul, the rule is automatically void on a foul ball, although the umpire should explicitly call "infield fly if fair" on a fly that may land foul.

I literally saved my team's season one year when I wrote an upheld protest of a misapplication of the IFR. We won the replay, that got us into the playoffs, and we won the championship.
How often does that work? It's like a lottery (quite possibly with the odds being just as bad). Some few, very very few times this works. Does that really change anything significantly in the grand scheme of things? Without having any numbers either I suspect overall impact is negligible. It's just enough for feel-good headlines. If it had an impact things should actually improve on a larger scale, I don't see any of that. From problems with government and/or police to corporate behavior, I don't see the positive trend (neither a negative one, it's just that things keep chugging along on a random walk as they always have, and whether you are optimistic or pessimistic depends on what selective information makes it into your brain).
TL;DR: they had to choose a thumbnail and summary. I have been using WikiWand for years, which not only did that but also makes reading Wikipedia much better. Maybe I'm the only one but I have the hardest time reading paragraphs with lots of words per line. Previously I had to resize the browser each time I had to read something in Wikipedia :|
I'll grant "unique" is not an ideal world choice. I meant it not as much as "you literally can't find this anywhere else" so much as "it's something you don't find much these days."

And I think it's a little uncharitable to think I was claiming that wholesale, since I explicitly reference other implementations of the same idea at the end.
They both have after-the fact specifications that (try to) codify various flavours that had already been released into the wild. (I assume you mean Wavefront Obj). It's a pity that they aren't better specified. The same holds for ini. Maybe that's just the curse of good engineering: If it's simple, it's easy to make a mess out of it.
> I hate 3D movies, my eyes feel very tired from the constant refocusing.

Does anyone here actually prefer 3D over 2D movies? I go out of my way to attend 2D screenings, even though my local cinema only offers these at very inconvenient times (starting after 22:00), probably to skew the numbers in favor of the (more expensive) 3D tickets.
> isOdd(2)` is a lot easier to understand than `value % 2`

Isn't modulo something basic every programmer should know about?
The upside is the 8% return on the stock market that he gets from that 100K that he DIDN'T have to put on the down payment t.
> Correct indentation when pasting is a pain in my opinion.

:set paste

:)
I'll bet they found they got 10 times more applicants for a data scientist role as opposed to a dba/sql/data engineer.
Show HN: DCDR – A risk management app for the enterprise
That's easy to do. After having the fix, go from the beginning and see if it still happens. Of course, this flow does not apply to all kinds of bugs, but I'm willing to bet that at least 90% of them can be fixed like this.
This is the right answer. It's frustrating that folks can't see it.
Companies are also looking for "blockchain developers to fulfill their business needs" :)
Glad to hear it! I'm looking forward to giving it a try, but right now I'm hooked on Lua and Corona! Ha! :)
Without reflection, you cannot create a nib system (or any general purpose archiving solution). For Encodable, they used hacks that were tantamount to macros in C, but that requires compile-time knowledge of the class/struct structure. That's not how nibs work.
No, that’s completely separate.

What I mean is, ignore the specific technologies: Apple is treating Swift like an ideal incremental improvement (like ARC was) whereas it’s really a major change in direction that may or may not prove to be a good idea (like GC was).
JSON parsers all agree what JSON actually is (except for the brown colored fields in the compat matrix, which are actual JSON compat bugs).

JSON parsers may also permit various additional variations which are very explicitly not JSON. This means that they may accept a handcrafted, technically invalid JSON document. However, a JSON encoder may never generate a document containing such "extensions", as this would not be JSON.

This concept of having parsers accept more than necessary follows best practices of robustness. As the robustness principle goes: "Be conservative in what you do, be liberal in what you accept from others".
Those round the corners too I'm afraid.
GDPR is just a first step and obviously is not the whole solution to this problem. But I believe it's a necessary step, even if not perfect.
Please don't do this. It really drives down the quality of conversation if you engage in ad hominem attacks of the poster. This is especially true in this case because one of the arguments brought up was "rabid fanboyism", which your comment clearly isn't helping disprove.
There were nine different and incompatible versions.

http://web.archive.org/web/2004/http://diveintomark.org/arch...
One downside is that when I move the cursor along while reading an article all sorts of links now pop up at me. What I mean is using the mouse or trackpad to keep my place in the article; sometimes I drag the cursor to highlight the text, especially when skimming. Surely I'm not the only one who does this?
The 60kWh models with 75kWh battery packs were only sold for a brief period of time, I think their logic was that it cost less to produce a single battery pack for both the 60 and 75. They were identical with the exception of the software limit.
We've been living in an era of low inflation for quite some time. When inflation becomes more of a real issue again, renting is really going to look like a poor decision next to buying as rents skyrocket. What if this happens as you're getting ready to retire?

The calculations in the article assume PMI (not putting 20% down) and making minimum payments. Purchasing a dwelling this way adds risk and expense. It's better to wait until you have at least 20% to put down (AND 6 months of living expenses saved up), as you then avoid PMI and prove to yourself that you actually have the means to take on the purchase of a dwelling. Get the 30 year mortgage, but plan on paying it off in 10 - 15 years. Its also better to wait until the market is a buyers market.

Since purchasing a home, I've always paid less than I would have if I rented. Its now paid off and I don't have to worry about it. Freedom feels really good.
> My bet is that the whole thing ends up being a tax on people who've forgotten their 17th century Dutch history.

Tulip Mania lasted 6 months
Who really audits every single dependency in their dependency tree? not so much a rogue developer, but most.
> npm has problems, I won't deny it... but its not unique to javascript developers (which your comments about come off as extremely offensive), and its difficult to take seriously given the lack of any meaningful alternative offered.

But it's not about npm as a technology, but about the mentality around how it's used. It enables laziness.
Are You Abusing Excel? You Need Something Different
Can I access this API externally, e.g. by sending a http get request to some endpoint, to get the summary content in JSON format?
"Small package" culture is Code Reuse writ large.

Maybe Code Reuse is not the paradise the software industry has for so long thought it was?
In this case, You could argue that it's not the lack of standard library but the lack of language features (and thus the ECMA committee). Because in the meantime left-pad has been added as a language feature on the String prototype.
The Japanese Software Industry: What Went Wrong and What Can We Learn from It?
Come to think of it, garbage collection was an obvious “me too!” feature to catch up with Java and C#, but proved misguided because it didn’t fit well with Objective-C.

ARC was less obvious, but quickly proved to be a much better approach (edit to add: for the typical use cases of Obj-C )

It makes me wonder whether Swift’s vtables and generics are just “me too!” features, this time chasing after C++ fans... Maybe not a great idea, as they’ve also picked up some of the bad stuff like exploding compile times.
> Apple used to have a highly automated factory in Fremont.

> This gets you a tidy plant, but not necessarily a productive one.

Just build a 2nd plant. Then you'll get twice the productivity.

Or a 3rd plant, for 3 times the productivity.

The factory appears to be a very impressive semi-automated factory for 1980s to 1990s technology.
They do say they needed html to provide even a non-broken preview, and I expect the text summary was the most tricky thing to do in any case, just guessing a good picture can't have been too hard.

In any case, they had something 2 years ago but it was blocked by the community for not being good enough.
"Never getting runtime errors" is as far fetched as it can be. Consider Xcode suggesting developers use force unwrap ("!"), that leads to many more crashes with unexperienced developers than the ObjC message to nil paradigm.

Subjectively, I have seen much more crashes in third-party software written in Swift than in ObjC (usually unwrapping or casting incorrectly), including in Apple's software. I cannot say if this is down to more inexperienced developers, less time allotted to experienced developers or a worse development model. I'd say a combination of the three.
Those possibilities are the reason why I started my terminal project, Extraterm. You can get an idea of its unique features here: http://extraterm.org/features.html. The advantage that Electron has over the alternatives is access to a massive ecosystem of libraries and components which can be reused. For example, if I want to add support for showing tabular data directly, I can grab an existing JS component, maybe a spreadsheet component even, and integrate it.

I've done a little bit of experimenting with "alternate UX and display paradigms" shall we say, and that is a long term goal of the project too. Right now the current implementation focus is on filling out the list of standard boring terminal features which everyone needs and expects, plus some more performance work.

The comparison with jupityr notebooks is a good one and it would be nice to support a richer experience while still being keyboard and command line focused.
A good but disturbing read. This just stopped me in my (white, European) tracks:

"When he dropped me off and I thanked him for his help, he said, “It’s because you were polite that we let you go. If you were acting up it would have been different.” I nodded and said nothing."

Even the officer who made the effort to be fair, still expected submission.
> but they [sic] are way more simple, efficient and straightforward technologies

can you give examples? where all stakeholders have the same immutable "ledger"?
The plastic Futuro “ufo house” was the 1960's vision of the future of living
Could you provide a documentation on the compiler model of Swift, and why it would be slower? How can that model be compared to clang's c++ compiler model?
> People seem to like it — we are seeing 5,000 hits to our API a minute to serve those cards that show when you hover over any link.

Uhm, no. It just means that people are hovering over links with their mouse. It does not imply any opinion about the previews.

> The original idea was conceived four years ago

When I was active at Wikipedia/Wikibooks 12 years ago, there was a user script floating around that did the same thing, except I'm not sure if it included an image. (Mediawiki allows a user to define custom CSS and JS that get embedded in every page of their user session.)

I don't mean to express dislike or downplay the hard work that went into this feature, just to add some context.
I am continually impressed by the markup Wikipedia generates.

They've managed to pull in pretty link previews, scientific notation and a grid layout, whilst building a highly nested markup structure?

The remarkable part? Wikipedia works great inside a text browser like elinks. It works great in a modern browser. Without sacrificing the interactivity people have grown to expect.
You're very much not alone, this comes up frequently here at hn, because other sites also frustratingly block this behaviour often by popping up "tweet this" links after highlighting.
True, but the average term of a lease is only 24-36 months while the length of term for financing a car is 60-84 months. (I had a 72 month plan). So you can get out of a lease much earlier, and if you do exit early, you typically only have to make the next 6 months of payments.
Not saying it's impossible - or even unlikely - but has anyone actually done a tear-down confirming there are identical batteries in cars sold as having different batteries?

The reason I ask is a lot of lithium cell suppliers say "This is an x kWh battery... but don't charge above 90% or discharge below 20%" so the usable capacity is 70% of the advertised capacity. Could be that Tesla just advertises the usable capacity.
Yes, I really wish trailing commas were standard.

But they’re not, so we have to resist the temptation to use them!
Not just that, the initial Flow example can actually be translated 1-to-1 to TypeScript (without using enums at all):

https://www.typescriptlang.org/play/index.html#src=type%20Ap...
No they don't. JS running on a modern engine like V8 are easily 10x faster than CPython which PyQt uses.

If you think Python and JS are about the same speed then it is because of Qt itself, but certainly not because of CPython.
(For ^ read *, thanks HN)

The difference is that in C you can talk about x being a char^^ value "pointer to address 54fc892d" because you can also talk about ^x being a char^ value "foo". In Java there is no ^x, so the only thing you can talk about when you want to talk about "foo" is "the value of x", and you want to talk about "foo" far more often than you want to talk about "pointer to address 54fc892d".
Most people don't know that there are other options. Even among those, most people choose Google because they believe it's good and because they're are used to it. Google being the default search engine in many browser deployments across platforms and countries also cements its position further among the common crowd.
> They're looking for secret sauce, barriers, friction. Something patentable.

While that may be true, I'd suggest the VC's are just looking for a later exit when a greater fool buys them out. They're betting on the ML investment market getting hotter, and providing you meet the criteria of being a growing startup (by some metric) nominally in the ML field and that field attracts more investment dollars later - even whether or not you succeed as a bottom line business, or whether your business success comes from ML or not - doesn't necessarily matter.
So?

Why do we feel the need to hard-code educational paths? If someone coming out of high school would like to pursue a startup idea now and attend university after that, I don't see a problem with that.

Saying that we need to "cope with quite a few 29 year olds with zero higher education" is like saying we need to cope with a ton of 18 year olds with no higher education. "Coping with people with no higher education" is precisely what higher education is for.
fman, dual-pane file manager, turns two
But the house usually does not go up 3% if you take inflation into account
That preview window has been a lifesaver. Honestly, as someone with ADD (or ADHD or whatever it's called these days), Wikipedia is a fucking minefield. I regularly have many Wikipedia articles open in sometimes ten or twenty different windows, each with anywhere from twenty to fifty tabs (I open a new window to delineate a completely new tangent, or if opening a new tab will cause the tab icons to disappear, otherwise I open a new tab in the current window -- I like tabs and make heavy use of Session Buddy and The Great Suspender). The preview window has really cut a lot of the extraneous BS out of my evening-destroying rabbit holes. I figured it was probably a difficult thing to develop, but if anyone involved with its creation passes by this lowly post, please know that you have my sincerest gratitude for making such a meaningful, useful tool.
What time would be better?
There's a large constituency that doesn't like games that end in a tie.

The downside is that teams that feel confident in their penalty shooting play not-to-lose for the last 10 minutes.

It's like using free throws instead of sudden death OT in basketball.

A better solution would be 4-point game scoring. 4 points for a regulation win, 3 for OT win, 2 each for ties, 1 for OT loss. Teams are incented to play hard all the way, and you don't get that mixup of games being 2 or 3 points.

I like rule changes that limit sleaziness, like no change or TV timeouts for icing, no-touch icing, limiting mound visits and batter delays in baseball. Teams like the Dodgers and Astros had turned mound visits into an art form.
You apparently either have zero bees, or only have twice as many bees as the others.

Is this what you meant to say?
> I'm not sure what is stopping NPM or Yarn from doing this at least in the packaging step

You had already answered that on your previous sentence :)

> go can do tree shaking and will not include packages in the binary that aren't used

Again, different languages, different trade-offs. JS isn't statically compiled. This is a much harder problem to solve for JS. I'm talking from personal experience when I say that it still isn't completely solved (requires ES2015 module syntax and has many assumptions). Even Go has hard-time optimizing-away some code because of its limited type system.
Unicode and floating point misparsing are not even remotely JSON related, but are simply bugs that can occur in any parser that handles unicode or floating point. Thus, complaining about it in a "JSON is a minefield" thread is a bit silly.

If you put out JSON that gets misparsed, you either generated invalid JSON, or the parser is faulty. Nothing around that.

This has nothing to do with whether parsers have flexibility to accept additional constructs, which is extremely common for a parser to do.
At the bottom of every popup there is a cog icon. Clicking the cog icon gives a popup where you can choose to Disable and Enable the feature.
Robots to outnumber humans by 2048, reckons Westworld research
There should really be some "hover intent" going on if there isn't already and it just needs tweaking maybe?
Screen lock bypass vulnerability in Signal app for iOS
And even if a competitor had one bee, it only means they have two bees.
'I love tech boys': Chinese job ads mirror sexist attitudes to women
I agree in that I don't like weak typing discipline, but Lisp was pretty much always strongly typed.
Certified hacking skills
Hire a professional hacker that can help you with all your hacking problems.Clear criminal records, university upgrade, Facebook hack, instagram hack, WhatsApp hack, bank transfer,credit card top etc
Contact us via geraldhacks30@gmail.com or ICQ: 703132619 or WhatsApp +14696660879
I understand "their" as a plural, so for lack of it, there are no good gender-neutral singular third person pronouns. In my writing I've quite often used "he" in the past, so I try to keep it balanced. I don't consider this deliberately obtuse, since I find it just as disorienting to see "their" used in a singular context.
Yes, that's what I meant, some groundwork in the compiler internals. As I said, I could be misremembering.

That's an interesting thread, thanks!
I had no idea what this was talking about, and it appears to be because they've defaulted it to off for existing logged-in users. Maybe that's a way of reducing pushback.

In case you want to turn it on (or off), it's under Preferences->Appearance->Page previews. I think I'll probably leave it off personally. I like the previews that have already existed for a while in the mobile app, but on desktop not so sure.
I agree with the comment above. I wanted to ask you what your product does, then I thought "why should I ask you when I can check the website out". Then I checked the website and I didn't find a description.

I think it will be very helpful to have a simple description in your site. First impression matters.

p.s. I like the idea of your product.
This article actually made me think quite a bit! I'll read it again an do the math when I'll search for a new place to live, and when I'll have some cash to invest.