skysight-inc/HackerNews huggingface dataset:
Anecdotal, but some of the 20-somethings I work with exhibit a kind of helplessness or fatalism about finances. These are smart, well-educated people who still haven't signed up for the company's 401k program, and don't invest in the stock market because they "don't know how to buy stocks", even though I tell them they should be doing this at least once a month. These aren't people who are living paycheck to paycheck or spending profligately as far as I can tell.
never knew svg could be so beneficial. It can literally optimize your image processing requirements.
DevOps’ish 051: Highs and Lows, Thankfulness, Kubernetes, Tmux, and More
The typical argument for getters/setters is that there is some logic that should be performed and that's why the fields should not be public. If there's logic, they should be tested. If there's no logic, they should be public fields.
Would it really be so hard to do this exact same thing in a memory safe language? Would that stifle the author's creativity in any way?
If anyone doesn't know, always avoid Motorola/Arris Modems. I remember a few years ago Arris tried to update my modem to add ipv6 support. Ended up having 2 months of constant issues where incoming connections to ports forwarded would cause the router to drop all outgoing packets until the incoming connection closed... 2 months later Comcast rolled back the update.
How to earn money by listing your car on GetAround
So it goes nowhere and has a bunch of pedestrians. But god forbid average speed in the commuting ratrace goes from 15 mph to 13 mph.
In C# I use callbacks where I find appropriate (logging, also some rare events). Under the hood, the runtime marshals delegates (most languages would call them lambdas) into unmanaged C function pointers.

Ease of use is the same when I consuming the C API from e.g. C++. No disadvantage for C#.
For community members, sure.
I think it would be interesting if online personas worked a little bit like video game characters. For instance, in an RPG, no one would believe a character could be equally effective at wielding heavy weapons and casting spells, or other tasks: you generally have to pick one or two key areas of expertise and be “OK at best” when anything else comes along.

Yet somehow, in the world of online discourse, everyone’s an equal expert on everything? What are the odds that a person really has good knowledge of both nuclear physics and farming?

If you could only post or upvote things that were considered relevant to a few limited areas of expertise in your profile, we would see a very different online world. Suddenly, seeing an article on the front page on a certain topic might actually mean that it got there due to “likes” from people with relevant experience, and not just whatever random definitely-not-statistically-valid sample of “friends” put it there.
Could you elaborate? It's very easy for a startup, or even a single person to get a CDN distribution up and running with global points of presence, though I don't have much knowledge of the private networks you refer to.
Something I was wondering about lately: how can we back-propagate through a max-pooling layer in a neural network?

https://datascience.stackexchange.com/questions/11699/backpr...
Do you mean something like this? https://mbebenita.github.io/WasmExplorer/
At the time that I wrote that this was an empty discussion too. You should bear in mind when things are written.
Fool.com , https://www.fool.com/retirement/2016/12/19/the-perfect-retir...
No, I'm arguing that trying to micro-manage Internet with local laws is just not gonna work, and will hurt small companies in the process, because they don't have the resources to come up with a legal workarounds and political pressure like the big guys.
What other kind of explanation do you expect? People have tested it by playing a Spanish soap opera on their TV for a few hours, leaving their phone in front of it to listen. They then started getting Spanish advertisements. I realize that there is a confirmation bias in that they are then actively looking for Spanish-language ads (to test their theory) but don't you think they would have noticed them at other times? They explicitly ran an experiment and got the verification.

In fact, some people were incredulous and re-ran the experiment thinking there's no way they would start getting Spanish ads: they did too. That's all it takes to convince me. I mean what other mechanism would get back to Facebook? As far as I know TV's don't report back which specific channel they're tuning into (all channels are streamed concurrently.)

I'm all for a more scientific test but at the moment I find the anecdotal evidence quite convincing. I just outlined how a scientific test might work here:

https://news.ycombinator.com/item?id=15782323
Where would one look for such a service? What are the magic words?
And as far as I know they will only notify you as you use the specific credentials that have been breached, in which case you should always care about it regardless of how long ago the breach was.
Real time? Not really. There's no time bound of any sort offered by any part of the Erlang ecosystem. What they mean is "quick enough", for some definition of quick and enough.
Back when this was first posted, the headline on HN from an article was “Secure Enclave decrypted”, which couldn’t be further from the truth. The more nuanced “Secure Enclave firmware decrypted” replaced it, and is vastly more accurate. Both headlines fail a general public test IMO, but at least the “firmware” is factually true!
Have you really looked into this? How much would it cost Tesla in the long term to let someone else manufacture their cars? How would this impact their long term profitability? Would their competitors even be willing to do this? What kind of terms could they manage to negotiate? How much of a risk is it to let someone else have a stranglehold on your manufacturing?

I don't understand sweeping opinions like this when you have no idea what you're talking about.
The consistent bump in the 0% bucket suggests that there is a significant measurement error going on here.

The author acknowledges this:

> So if any of these codebases are using a different framework, they’ll be counted as non-test codebases (which I recognize as a threat to validity).

I'm inclined to say the 0% bucket should be thrown out, since it's impossible to disambiguate between "no tests" and "tests I can't detect". All of the other buckets are quite likely to be correctly classified.
If you believe owning rental units is "(mis?)appropriating" wealth, I dearly hope you are divested from the stock market and avoid keeping your money in banks. The former is exactly the same thing, and the latter is contributory to it.
Per function, not overall. A function with more lines of code is doing more, and so is harder to test
This looks like a band-aid solution on problems we created ourselves. I was reading quite a bit on this subject and it looks like humans were much more at peace with death a century or two ago. Without using LSDs or whatever.

We as a society have changed so much since then. We either need to undo some changes or work out new ways to get along with death. On the other hand, band-aids may be good as temporary solution. But it's definitely not "the right prescription"...
>And now the Western free world is starting to see these problems and impose regulations.

This has not happened in the US, and it is only the authoritarian types that you are hearing from even discussing the idea. In fact, the current administration is dismantling the somewhat light-handed regulation imposed by the previous admin.
LA has been suffering from traffic, car crash deaths, and car air pollution for decades. Having each individual person travel to and from their job every day for 30+ minutes each way riding on a fire-propelled 2-ton metal block is incredibly inefficient and damaging. If they can start to push back on that it would be great. It’s a pretty uphill battle though.

> about one percent of Los Angeles' commuters bike to work. Sixty-seven percent drive.

Yeah, because the way the city has been configured, it’s incredibly inconvenient to make trips any other way. The only way to improve that is by adding transit (which they have been trying to do) and reconfiguring roads to be more pedestrian/cyclist friendly (which this article is complaining about). If these experiments which have been successful in other countries turn out to not work in LA, they can try something else next time.
There were a lot more EV1s than Concordes, which is surely the relevant comparison here.
If you use Pry with Rails, you can also call binding.pry before the method in question, then type show-method [methodname] in the Pry console.
You're getting downvoted but when I do psychedelics I take a small dose of opiates to ensure it doesn't spiral into fear and paranoia. If the goal of theraputic use of psychedelics is to create a deeply seated positive experience, I don't see why mixing a little bit of warm fuzzies into it would be determental.
Change your name to something unique.
http://www.word-detective.com/2009/08/guy/
This is probably an unpopular opinion here, but I think the FBI cybercrime division should be completely defunded and shutdown.

A new federal agency with the sole focus of combating cybercrime should be created operating outside the DoJ.

The FBI treats cybercrime too much like a janitorial service. The special agents involved in cybercrime have only some general cybercrime training; their training is still overly broad, including firearms and combat training.

Part of the problem is that the FBI is also an intelligence organization, so information that feeds into the FBI is almost never disseminated outside the agency, and when it does it is almost always too late. Their reasoning is "sources and methods".

What the Russians taught us in the 2016 Election is that it's no longer enough to just _have_ information. You must act on it in innovative new ways. This disruptive behavior (a la Wikileaks) has turned the US IC on it's head. If we had an agency with a sole focus on cybercrime investigation and prevention prior to the 2016 Election, we would probably have a different President right now.
0.9 years

2.6 years

7 years

2 years

Current job is 3 months. The 7 year stint was at a friendly agency, paying reasonably for the area with good perks, friends with the directors, short commute etc. What I wasn’t doing though was evaluating whether I was still learning. Turned out I wasn’t, and if I’m being honest with myself I should have left 18-24 months earlier. The last 2 year stint was the most instructive of my whole career, and I left mostly due to moving country rather than a problem with the post.
If you like short interpreter implementations, you might like this: http://code.jsoftware.com/wiki/Essays/Incunabulum
Hex (the package manager) is pretty great along with the rest of Elixir's core ecosystem (ExUnit, hexdocs, Mix, etc).

In Ruby-land I use RSpec almost exclusively but in Elixir I stick to ExUnit and it's great. I feel like there's not as much of a need for something RSpec like in Elixir-land due it being functional.
https://mail.google.com/
Good point. The idea would be to avoid loss on the way down, and repurchase when the numbers go up again, but that would of course be very difficult to know when that is.
If you really think about it game reviews are outdated. This isn't the 90s anymore.

Go to YouTube and search for the title of the game followed by gameplay. Example: "cold steel gameplay". Now go to page 3 of the search results to make sure you're NOT getting advertising or ecelebs. You're looking for that random guy who is just recording the game. And doesn't talk. Very important detail. You want that video with sub 100k views. And now you can see for yourself exactly what you will get and can make an informed purchase.

But I suppose its just one of those things people want to do that has nothing to do with practicality.
I wouldn't trade Windows for Linux for development and everyday computing, even gaming.

Microsoft and Apple both have slow and clunky UIs. I am actually more efficient on Gnome with extensions than either of the two.

Only use Mac OS and Windows for their compilers and application packaging with cross-platform code bases.

"Masses of, 1st world, people" are also the ones that don't understand or care about concepts such as security, privacy and true right to own. Never found the masses argument that supportive to a valid argument since group-think doesn't actually prevent problems but increases them.
The best of Rosamund Pike sex and hot scenes from 'Gone Girl' movie ~*SPOILERS*~
It is quite unique. Almost all of the results in the first three Google result pages are legitimate, mostly pointing to a plethora of social networks profiles.

edit: put original edit in sub-comment.
> We suggest that our personal awareness does not create, cause or choose our beliefs, feelings or perceptions. Instead, the contents of consciousness are generated “behind the scenes” by fast, efficient, non-conscious systems in our brains.

My consciousness prefers to think that it is the one in control, and any suggestion to the contrary makes my consciousness uncomfortable.
Your site is all but completely devoid of content, no wonder Google isn't ranking it as relevant. Try writing some content first.
This is going in the complete opposite direction than what's needed. You definately don't want a single ISP especially if it's run by the government.

You need more ISPs. A lot more. But for that to happen you need to make the last mile neutral and preferably run by an independent third party.

The next best thing would be for the last mile ISPs being required to lease the last mile to other ISPs at a fixed rate. This still has problems as the last mile ISP can pull some shenanigans like prioritizing their own customers for repairs, messing with the other ISPs traffic, etc.
Like this:
https://www.google.com/search?q=ron+ilan

(Best is to get a dot com domain a decade ago and add some links. Works for every name noun and adjective.)
Or as one evil genius observed:

When groups of small men attempt great enterprises they always end by reducing them to the level of their own mediocrity (Napoleon)

Or as one modern creative genius put it:

What do you care what other people think? (Feynman)
What do you think schizophrenia is?
That was my preferred way of commuting as well, coming from the South Bay going to Playa.

Sadly it did not only change from 15mph to 13mph, more like 30mph to 5mph in addition to creating a really dangerous merger on a downhill turn. In the 1-2 months they had this "improvement" 9 accidents occurred.
Content and links. If there are lots of competing search results for the same query, one of the factors that Google uses to rank them is the number and quality of the sources of incoming links.

How do you get links? You put something on the site that's worth linking to and promote it. There isn't really a shortcut here.
Groupthink is the loss of critical thinking as a consequence of cohesion and conflict avoidance.

Groupthink can be avoided if the culture rewards critical thinking. That includes:

- team members should be free to dissent from the majority if there's a reason.

- team members should keep a reasonable level of skepticism when it comes to other members' claims. if someone shows high confidence, that confidence should be also be subject to skepticism.

- if someone wishes to communicate their opinion, it needs to be done explicitly. e.g: in my opinion, <opinion here>. Interleaving opinions and facts creates unnecessary noise and bias. Usage of superlatives should be kept to a minimum as well.
Writing Lisp in 200 lines of Haskell wouldn’t be nearly as interesting. The whole point is (presumably) that it’s fun to code golf in C because it’s not very expressive. Relax, no one is going to use the OP’s code to run a pacemaker.
One of the journalists of this AP piece (Satter) also wrote a medium post containing a short Q&A about the "notification gap... between what’s known privately about cyberespionage and what’s said publicly"

https://medium.com/@rsatter/the-notification-gap-69895c93b05...
Books appear to still be popular in software development
I wonder why we evolved with that feeling
Yes, that kind of scam can suck some in but it's up to management to educate employees on what to be aware of and how to detect and react to it.

The threat is so constant and pervasive though that it's hard for me to imagine that management in any government agency hasn't educated employees about how to deal with these kinds of threats, but not impossible because I don't have to imagine someone did bite.

I just can't make the leap that the FBI is to blame though. That's just a leap too far.
Make your Google Plus Profile.
No, renewables are not taking over the world anytime soon
Is It Time to Bring Back the Boarding House? (2013)
I have very little experience with OpenOffice. If I remember correctly, OO was bought by Oracle after which the community forked LibreOffice, and that is now installed by default in many GNU/Linux distributions. I think I haven't used OO in at least five years, so I can't really say anything about it.
Your full name does not appear at all in the human readable text of your website...
Seconded!

Recently swapped to sparkling water myself, realized that I was just in pursuit of something to sip on while staring at computers during the evenings when my frontal lobe was exhausted. I even wield various sparkling waters with soda (3/4ths sparkling water, 1/4th coke) to swap up the flavors a bit.
The usual problem in C is ambiguity over "how big is it", the cause of most buffer overflows. Rust tries to contain that, but doesn't solve the problem at the language level. Part of the trouble is that there's no way to talk about uninitialized memory in Rust. If you implement something like a growable array (rust calls this a "Vector", a poorly chosen name), it has space in use and space that's uninitialized and unused. There's no way to express that concept within the language. If you had a way in Rust to say that only elements 0..N are initialized, and only they can be accessed, you could express that situation. Initializing another slot means more elements are now initialized. This is run-time checkable with some overhead.

Once you can say that, you can prove it. The proof techniques are well known. The first step is to be able to talk about it within the language. A predicate like

initialized(A,i,j)

meaning that array A is initialized from elements i to j inclusive is all that's needed.
Then, when you write

assert(initialized(A,i,j));
A[j+1] = 0;
assert(initialized(A,i,j+1);

you've expressed how much of the array is now initialized. Then automatic theorem proving takes over and proves that if the first assert is true, so is the second.

This eliminates the need for "unsafe" in many places. A fancier type system is not needed.

It only takes one wrong piece of unsafe code to enable a buffer overflow attack.
In philosophy of mind this view is broadly construed as 'Epiphenomenalism'. The idea being that consciousness (any mental activity that shows up for us) is like the steam coming off of a locomotive, just a by product of underlying physical events. Our thoughts have no real impact on the underlying operation of the train (brain).

Though this view is certainly odd, I've always struggled to see how it isn't true. How could our behavior not be entirely determined by the physical state of our brain? In some ways this strikes me as obviously true, if unintuitive at first.
How do you know if it hit their bottom line or not, until their earnings report comes out?
Introducing a new website, new plans, and new plugins
Ask HN: What Ops/DevOps lessons have you learned this Thanksgiving weekend?
Did you have an operational emergency over the Big Weekend – infrastructure outage, user problems, service outage, etc.?

If so, what was it and what could your organization have done differently to avoid it?

Disclaimer: I’m a long-time DevOps guy starting up a side-project – NonStopOPS.io – designed to handle OPS data edge cases, i.e. times where you need a way to quickly process operational data for quick answers. I’m looking to understand what sort of issues people face on a day-to-day basis … ESPECIALLY those things that interfere with holiday weekends! (NB: We need beta testers!)

Fortunately for me, we had no emergencies where I worked … unfortunately for me, I live outside the US and so had no four-day weekend!
No thanks. This is not the way to correct for the problems we now face.

Now Firefox will ping a third party with the user's identity, to validate the user's currently level of safety, based on what other people know about the user ID. Dialing out to this third party will show externally observable traffic indicating authentication whenever threat validation traffic occurs.

Maybe I don't share the same idea about what represents safety.

An investigator found a photocopy of my driver's license in a file cabinet at a super villain's hide out.

So now I legally change my name, and apply for a new license under that name, yes? Well, great,
this is the new normal.
Ruby Memory Issues and Where to Find Them
Caller ID was around for quite a while before 2002. It looks like the first companies rolled it out in the late 80's. But, it's funny that you chose 2002 because that's the year when phreakers learned how to spoof the system. It was always theoretically possible because phone companies would make test calls to customers with information like "BENJAMIN FRANKLIN (123)456-7890". In other words, it was obvious that the Caller ID system was trivial to manipulate.

https://en.wikipedia.org/wiki/Caller_ID_spoofing
Awesome article, so interesting. I wonder how language design affects this, I write much better code in Elixir than I do in Node for example.

Maybe though the solution is simple; if you value having low cyclometric complexity/method length/etc. don’t let people commit stuff unless it passes the required level. This is certainly working well for me with prettier+eslint... I’ll look into other tools based on the code smells in this article I think!
Quite unique? There is one other internet user with my first name and I once accidentally got signed up to a social network account meant for him.

Your name is either unique or it isn't...
Dude, if you used Rust, you wouldn’t have that problem.
Video game reviews usually have opposing goals: journalists want to elevate video games to an art and to elevate their criticism to art criticism, but users want them to quickly provide a helpful recommendation (which is represented by a number score).

Steam reviews are concise by design and give you a better idea of whether you'll have the same kind of positive opinion (for example, if all the positive reviews are memey, that says something significant). So I'd say they're definitely better.

I think some people who were video game reviewers will go on to become popular youtube "video essay" producers like this guy: https://www.youtube.com/user/Matthewmatosis and the rest will get new jobs.
Microsoft doubles down on Kubernetes for Azure
10 Issues of Compelling Science Fiction: A Retrospective
19 years

3 years (company went in to administration)

8 years

6.5 years - current job