skysight-inc/HackerNews huggingface dataset:
>For the vast majority of memory allocation in any GC'd language I can think of, you spend zero time thinking about memory management 98% of the time.

>whereas in a manual language, you must consider it every time you allocate memory.

This is like bizarro world to me. I genuinely can't comprehend that.

Here's how memory management looks like to me, using concrete examples in languages featuring RAII like C++ or Rust:

- I have a function that needs to compute a hash so I need to allocate a hash context for it. If it's small I'll put it on the stack, otherwise it'll go on the heap. In either case when the function returns the destructor is automatically called.

- I have a function that takes the name of a file as parameter and returns its contents in a buffer. Clearly the buffer needs to be allocated on the heap, so I allocate a large enough vector or string read into it and return that. The caller will then either use it and drop it immediately or store it somewhere to be dropped later, either on its own or as part of the structure it belongs to. In either case the destructor will be called automatically and the memory will be freed.

That's easily 99.9% of what memory management looks like in the programs that I write. I have absolutely no idea what using a GC would change at any point here. Note that while this is technically "manual" memory management I never have to explicitly free anything and in the vast majority of cases I don't even have to bother implementing the destructor myself (I basically only need to implement them if I need to release external resources like, for instance, raw OpenGL handles, file descriptors and the like. The GC wouldn't help either here).

It's genuinely a non-issue as far as I'm concerned. I literally never think "uh, I have no idea when this object won't be used anymore, I wish I had a GC to figure it out". I can't even imagine when such a scenario would crop up.
Interesting. All of the above rebuttals are basically: ignore this because it's context and should be obvious.

Well, that's the problem. It might seem obvious to you now, but it is not obvious to everyone all the time, which is what makes any statement ambiguous.

Additionally, I don't know the purpose of what you are saying. For example, you might say you ran a mile because you wanted to express you were tired, or because you wanted to imply you are healthy, or who knows why, it is definitely not clear from the statement alone what you wanted to convey, which is the main problem.

We feel something internally and then we try to express that in words, hoping that those words will mean the same to the person perceiving them. That process is highly suceptible to noise in many forms, like the other person not hearing you correctly, being distracted, being stressed out, or maybe they speak a slightly different version of your language and some of the words or expressions mean something a bit different to them than to you.

In the end, any statement doesn't have meaning by itself, it only acquires meaning when someone interprets it and understands it in a certain way. That is always a subjective process.
Nice, women won't be the only one able to fuck up their hormones now.

It seems that STDs are on the rise since AIDS became "just another std" and lost its fear factor. Let's see how the male "pill" will affect these stats.

http://www.ashasexualhealth.org/cdc-data-shows-std-rates-con...
It's slowly getting there with Snap.
Your parents are so awesome.
There is lots of discussion to be had here, including that analog signal degradation is linear while a digital signal simply 'vanishes' if the SNR gets below a threshold.

I suppose you could alternatively keep the existing analog infrastructure and apply an ECC to the analog signal too.
The least expensive Model 3 in Germany is 57.900 EUR with 540km (wltp cycle) of range – part of this is that they've only been exporting the high margin long-range AWD models. The more expensive "First Edition" id.3 will have approx 425km of range for 35.000 > x < 40.000EUR. Even taking the top end of that range, it seems the $:km ratio is in favour of the VW. If the First Edition battery is equal in size to the yet-to-be-released 58kWh battery, it seems the efficiency is at least comparable to the M3 as well.

Plus, you probably get a better interior. Certainly a better built one…
> Also: You will not get agreement on what the GAAP practices of software are. This industry isn't that mature.

Hear, hear.

This point cannot be overstated enough. People have been building bridges for thousands of years. Software Engineering has only really been a thing for a few dozen years. We do not know what we're doing yet and it's going to be a very long time before we do.

Different domains almost definitely need different guidelines. Different ways of thinking might even need different guidelines. Anything we try to enforce now will be seen as embarrassingly dangerous in the future on the order of using radium for wrist watches.
Yes. You should have more then one bank in case they lock your account for some random reason.
Their equivalent of vmware fusion is hyperv.
The Primal Pleasure and Brutal History of Sugar
uBlock Origin catches keepass.com correctly with the default filters.

Reaffirming my decision for the n-th time to never browse the modern web without adblock.
Management tools oriented toward enterprise and other organizations.
Good to know! Can you give an example? When I google "SQL Server" it seems like most results are related to MS SQL Server
This is Chris Hughes trading on the only credibility he has left, which is that he participated in Facebook as an undergad and Harvard (but never quit school to pursue it full-time), amd by virtue of luck and his early contributions gets the status as "Facebook cofounder." His real ambition has been to become a figure in liberal politics. He bought The New Republic as a vanity project and drove it into the ground in two years. He and his husband moved to NY so that his husband could run for office in a purple district, he lost in a landslide (in a winnable district, too).

It's popular in liberal circles to blame Facebook for Trump, and so punishing them has become a cause celebre, but it will pass.
Question from a Python web developer. (Django mainly, exploring Flask presently)

For a complex web-app, would you suggest an ORM (looking at SQLAlchemy) or a custom module with hand written queries and custom methods for conversion to python objects?

My app has a lot of complex queries, joins, etc. and the data-model is most likely to change quite a bit as the app nears production. I feel using an ORM is an unnecessary layer of abstraction in the thinking process. I feel comfortable with direct SQL queries, and in some cases, want to directly get JSON results from PGSQL itself.

Would that be a good idea, and more importantly, scalable?

Note : My app will be solely developed by me, not expecting to have a team or even another developer work on it.
Just in case you don't know I'm almost certain jedburg is the person in the profile here https://www.meetup.com/devops/events/191408942/.
That's certainly a problem, too. I'm suggesting that it's useful to really kindle an interest before starting in on the harder parts of studying it, not that the harder parts should be put off indefinitely.

In particular, learning the hard parts early may make a person dislike them more than they should, e.g. biologist's might see p-values as some annoying hurdle to clear rather than a useful tool for finding real conclusions.
Damn. That’s tough. I’m sorry that happened, but almost no third graders would be able to successfully deal with such a classic “prisoner’s dilemma.”

All I’m saying is, try not to blame yourself, anyone would have acted the same in that situation. The system is to blame, not you. :/
No local state. You can do a full wipe then login and all your settings, apps, data are there (because they are in the cloud, not the device). Wipe your Linux partition and tell me how long until you have your computer back to how you had it.

Also, I love Chrome OS for my kids laptops because I don't have to worry about viruses or malware. In the case, I purposefully want a less feature rich OS.
My mom wakes up on Facebook and goes to sleep on Facebook. She's spending hours a day there and it dominates her entire worldview of current events and politics. That level of engagement blows away Google/Twitter/Amazon/etc. FB is responsible for elections of right-wing dictators around the world, the rise of white nationalism, the jailing and killing of dissidents, climate change denial. In no way does any other company achieve that level of poisonous influence.
The procedure to get around the locked bootloader is documented.

For the vast majority of users, a secure by default laptop is a win.
are there any dense urban areas designed to coexist with healthy forests?
This comment is pretty ironic in the context of a discussion on internet privacy.
Tips for Effectively Manage Your Marketing Budget with Ease
It is important to learn from history, but assigning blame on the living -- yourself or others -- for what dead people did is a certain path for repeating many of those same historical mistakes.
I agree that they need more than just a CEO. IBM's problems are very serious:

1. mid-level staff that's not technical, unable to get results quickly (one tends to get that mentality from massive open-ended consulting engagements w/o clear success metrics in place)

2. surreal TV ads aside, their brand is not visible on a daily basis, there's no consumer offering with IBM logo on it

3. there is no modern cloud offering (Softlayer ain't one)

4. their marketing of Watson has been so extreme, and so out of touch with technical realities, it's becoming a liability
And it has been in production for years. I think they sold only 1400 of them in 2018.
Totally agree. I don't think that tradeoff is particularly out-balanced by the time it takes to do manual memory management.
The NYT writes not only to attract readers, but also to defend its business model and push the politics of its employees. Attacking Silicon Valley startups accomplishes both of those goals.

I didn't find the article interesting at all. In addition to being naked propaganda the content itself was insight free as it's just a couple of anecdotes about moderately successful people moving to a new city.
This is insane. No, you don't have to use it. You can reset cookies and device identifiers whenever you want if you don't want "phantom profiles."
Maybe Pinterest is a poor example, but there are Android apps that offer functionality unavailable in Linux and Chrome. For example I used Word for Android to edit a Word document with suggestions and comments (could not do that in Office 365 apparently).

Actually I'm pretty sure there are many Android apps that offer functionality unavailable on Windows and OS X.

Also, it's nice to have the possibility to mess around with Debian in the VM, yet always have a browser available and with the best security.
Ever app used uploaded photos to develop facial recognition tools
Interesting! I'll be reading that today.
Good question, and the answer is a resounding "consider more attributes".

You should take into consideration the (sustained) top speed, and acceleration (for electrics, that tends to range from great to decent for 0...60, but fall off rather quickly beyond that). Those two are limited by on-board power electronics, by battery & engine cooling capacity (which is the main limiting factor in all electrics I've seen so far), and by the motor power rating.

Unlike the typical ICEs, for a short while you can over-load electric motors by quite a bit beyond the continuous rated power - say, for quick & safe over-taking - but the sustained top speed of electric vehicles isn't all that great.

The other important factors are: how quickly you can re-charge the vehicle, and how long will the battery pack last (or conversely, how quickly will it degrade), including the manufaturer's warranty, if any.

As the electric motors are also used for regenerative braking, the efficiency of energy recovery is a moderately important consideration, especially for start-stop city style traffic. Sadly I haven't yet seen that information published for any car.

Charging plug compatibility and charging station availability - for fastest charging you want to be able to use the car's native standard.

Lastly, as with any car, safety ratings (battery pack protection is a big item here) and towing capacity.
> indistinguishable genetically and culturally from the average Han, but have the right to represent and speak for their minority group

but if you aren't elevating yourself as the unilateral sole spokesperson for your minority group and subculture while ensuring that nobody else can question this without consequence, then WHAT.ARE.YOU.DOING

that's learn2minority 101

source: me
They might not. Then again, aren't Twitter and Facebook essentially company towns in the online world? If they are so ubiquitous that you must join these platforms to participate in modern political debate, that seems pretty darn close to qualifying.
> b) Mark does care about privacy, but if he doesn't grow the company, he'll be forced out and someone less good will take the helm. (good)

Can he be? He owns twice as many shares as the next largest holder (Accel I think). I seem to recall reading that he had various governance structures in place that guaranteed him control, but idk exactly what that referred to.
>But there is no constitutional right to harass others or live-stream violence.

Pretty sure the Supreme Court would disagree with you on that one, bud. They aren't fond of adding new categories of unprotected speech. See Trope #3 in this article: https://www.popehat.com/2015/05/19/how-to-spot-and-critique-...
clipboard and selection buffer are separate, though I think there is a situation that co-mingles them.
With new Fit technology, Nike calls itself a tech company
I can't seem to find anything on the Vega processor other than "874 cores"... any links?
"...plenty of episodes of Mayday/Air Crash Investigation available on Youtube too. (Be warned though, all doomed flights take off from one of the busiest airports in the world .)" Great show. Comment is spot on, and don't forget "investigators were under extreme pressure".
Oasis Open Projects Program to Bridge Open Source and Standards Development
5 Coworking Amenities That No One Told Apu About
>he caller will then either use it and drop it immediately or store it somewhere to be dropped later, either on its own or as part of the structure it belongs to.

You're glossing over a lot of complexity there. That's the entire point of GC, you don't have to think about when it's dropped.

Also, I wasn't arguing for the blanket necessity of GC in all contexts and for all problems.
> the semiretired tech millennial who left California after getting rich

Anecdotal story, without any actual numbers. So some left and some did not. Maybe most of them stay ?
I'm pretty sure it's a fork of PG based on my experience.
Git reportedly[1] doesn't much bother with free()

[1] https://www.youtube.com/watch?v=dBSHLb1B8sw&t=115
> I'm more making the point that tech used to pay middlingly compared to other professional jobs (doctor/lawyer etc.)

Outside of SV, how is it not "middlingly"? Where can you make $500k+/year in tech working at some corporation??
Isn't the reason obvious? They don't want to give you a good look at the car just yet, and would much rather make your eyes bleed till proper PR shots are done and dusted.

Plus it looks cool as, when you spot the most jarring car on the road!
Battery, browsers are a huge power hog and ChromeOS is basically just Chrome as an OS ui, so it's heavily optimized and running a browser tab doesn't effect battery as much as it would on a Mac, for example.

I use a Pixelbook now as my primary dev machine and compile a decently heavy Rust codebase in the linux env all day long and the battery doesn't die. If I move compilation to a cloud-based IDE, it'll last even longer.
If you have a couple million and want a home in SF you're not going to be able to retire. I'd personally stay in my rent controlled apartment and not buy a home until I was ready. Something else to worry about and take care of.
Let's say you make users responsible for the content they create; how do you intend to enforce that?

Country A's User B uploads Content C that User D in Country E find's objectionable, or in Country E is illegal to view or possess, while in Country A is perfectly legal.

How do you enforce that? Labels or tags aren't the answer, because Content C could be labeled/tagged as X,Y,Z where X,Y,Z are orthogonal to the content, and bear no relation to it.

Do you allow it to be viewed by User D, and if it isn't legal, then put that on User D to be responsible to...what? Unview it?

More than a few of these problems are all because we humans have decided without consensus or agreement that some information is "bad" while other information is "good", and even that "good" information is only viewable by certain people of that group who meet a certain age requirement.

All of it is very arbitrary, and at odds with itself on the world stage.

This issue won't be solved easily, if at all. Instead, we'll likely just continue to make more convoluted laws that can't be followed and/or all descend into totalitarian walled garden states isolated from each other while atrocities continue behind those walls, telling each other within that "we're the free and prosperous ones; those over there are not".

Why does this narrative seem so damn familiar...?
Benchmarking Edge Computing
If the interior is anything like my Tiguan... I would greatly prefer my Model 3 any day. I don't think the ID3 is going to come with a premium interior... haven't seen any photos of it so I could be wrong.
I guessed it was something like this.
That Monteiro piece seems to come from a good place, and start with the right broad idea.

However, for general audiences, two examples it picks (guns and trans rights) are some of the most controversial in the US right now (where they're famously used as political wedges, to divide and carve out support, in an attempt to grab and retain power), and perhaps also controversial among US "tech" people. Though perhaps less controversial among the designers who were the intended audience.

The piece then veers into a kind of guild-like professional solidarity, which I suppose might be relevant to the profession supporting individuals taking responsibility (e.g., no race-to-the-bottom, no infighting).
Mike: "Hey, boss. I think this stuff we're doing might be dangerous. I could even lose my license over it."

Boss: "You know Mike, I think you might be right. We'll get Ken and Joe to take a look at it and see if they can't figure out a way to make it safe. After all, they saved the day with the last big project."

Ken and Joe proceed to hack something together that's super dangerous. Mike is isolated such that he won't notice what's actually going on with his previous project and then never given another raise again.

For bonus points make sure to put your engineers on projects that you don't mind cancelling and then asking them to do something dangerous. Isolate the ones that seem nervous or raise objection and give bonuses to the ones that are fine with being reckless.
>The NYT writes not only to attract readers, but also to defend its business model and push the politics of its employees. Attacking Silicon Valley startups accomplishes both of those goals.

I definitely missed the 'attacking' portion of the article.
> It kinda bugs me that people say "SQL Server" to mean "Microsoft SQL Server". I mean there are other sql servers.

I don't mind that; sure, there are other RDBMS servers that support SQL as their main or exclusive language, but unless you are talking about ancient Sybase products (for which there is a very good reason for the shared branding) “SQL Server” is a clear, exclusive Microsoft product identity and not any worse of a label, say, FTP (yes, there are other file transfer protocols).

OTOH,what does bug me is when people say “SQL” to mean “Microsoft SQL Server”.
Journalists and the press has their self interest to protect too. That is why it is hard to take criticism of Facebook, Google, etc from them, because their criticism is tainted by conflict of interest. One does not go to the Pope to get an impartial view about atheism.
I do not say that what Atlantic/NY times/etc says on this topic is without value. Only that what they say should not be regarded as final or defenitive word, rather only as claims in argument.
>It doesn't matter. I don't need all those features. The product is commodified.

I've encountered a case when it does matter. I tried applying for a bank online through multiple browsers, OSes, VMs, but never managed to get the form to work. Eventually I called them to apply - there was a valuable perk for me - but most customers just won't bother. A good software team would have spotted the drop in conversions instantly.

I told them about it, using the terrible online form. They weren't interested.
I think the change will have two effects. The first is the cynical one, where tons of unqualified people come into the field just for the money, write poor software, and probably don't actually enjoy their lives that much because they're not good at what they do and lack that internal satisfaction.

But, a more positive change is that there will be some high-impact multitalented genius individuals that choose to pursue tech instead of high finance or politics or something like that. Jeff Bezos left a hedge fund to start Amazon. Now he may be a ruthless son-of-a-bitch when it comes to competing, but for consumers the positive impact has been enormous. He's likely done far more good than he would have being a lifer at D.E. Shaw.
That's a good idea; it probably wouldn't matter for me since my phone is muted all day long and I only use my phone if I'm on a coffee quest, but most people are a lot more attached to their phones than I am
The buyer can use their credit card, but the seller must use PayPal.

https://get.bandcamp.help/hc/en-us/articles/360007902213-How...
The first paragraph sounds like you are describing using Firefox sync or chrome with a Google login.
If you hadn't pointed out the difference, not only would I have not noticed the difference in spelling, I'd have also presumed it to be a typo, and not a pun.
Cygwin Xorg does this.
Citus extension:

https://github.com/citusdata/citus
Battery life, convenience of being able to wipe the whole thing and having your settings restored completely (if you're ok with storing everything with Google, of course)
It's all sandboxed and I'm sure they can disable the feature being there to increase security
How to write proofs: a quick guide (2004) [pdf]
I mostly agree with your point on RAII.

But I don't think OP was advocating RAII.

The typical argument for GC is that it is less error-prone than even RAII. And I agree with that point. It's a trade-off on which you have to decide on. I think the tiny perf penalty is often worth it.

You can still retain stale data under a GC, but real leaks (unreachable allocated memory) are precluded — which is usually considered (not unreasonably) to be the more common and serious problem.

I think GC is a sane default because it's less error prone, and god knows the average developer will make enough errors as it is. I'd trust myself with manual memory management, but not a random group of developers I don't know. What about you?
That just lets it release earlier, not retain/release less often.

ARC can't do anything magic here vs. something like really careful use of std::move & const references.
>There's no evidence that rich are leaving CA in droves. If you like to show off your fancy stuff, there's more people to show it to in CA than TX

I think a lot of people would rather be the bigger fish in the pond though. Also, if you moved to SF specifically to make money you're going to want to protect that payout more so than stay in the city.