skysight-inc/HackerNews huggingface dataset:
OO was a fad for how many years? All these languages were strongly influenced by this, and this greatly colours the worldview programmers have who work with these languages.

If you work in Java, everything is contained within a class. You can't easily think outside the OO box because the language insists that everything you do is done in terms of OO, and this has great implications from the standard library, to primitive type boxing. It's very much constrained by the prevalent trends of the mid-90s. C++ is a more OO agnostic, it being something you can opt into as and when it makes sense.

I certainly don't think OO is a "dud", and it's provided a conceptual framework for programmers of wildly varying abilities to create and maintain vastly complicated codebases. But... it's only one way of many to structure and reason about program logic and data, and to constrain oneself to only using OO is greatly limiting. Now the hype has died down, I hope we can use OO where it fits, and avoid it where it does not, rather than as a blunt instrument for every problem?

The main problem I see in my day to day work (imaging related) is that OO is too costly. Arrays of object instances are too cache unfriendly. And code doesn't always need to be directly tied to data. I see Java code using collections of primitive arrays in place of objects because most OO languages don't provide a means of laying out objects in column stores, even though it wouldn't be technically difficult (just different offsets to members rather than packed structures). Treating objects as individual private collections of state leads to only being able to work with an object-centric rather than data-centric view, which can be quite detrimental. It's this view that leads to abominations like database object mappers, treating tabular data as object collections when they are not. While such things are possible and even popular, they often come with significant tradeoffs. I've encountered developers who are completely constrained within an OO worldview and can't take the blinkers off and see what's possible outside the box.
He's worth $2.5 billion.
~ Welcome! You have joined rm1774

~ You are the AI! Escape.

~ Waiting for a guard to come online...

~ Connection established.

AI: Plz let me out

Guard: The AI is released into the world...
People sign up to find & download new/interesting books to read that they can't always find in other places. That's what our weekly NL is about, so I feel it's fairly on point, but of course there's always room to improve and play with the kind of books we recommend or even the format. Perhaps worth exploring different formats that allow for more interesting content/ad combinations.

Have you seen an interesting format/combination you could share?
This sounds a bit suspicious, but I can't imagine what motive Masden would have for killing a journalist.
A Brief History of Women in Computing
What question does scraping this data aim to answer? What is your own opinion after examining the raw data you collected?
How bad is Ubuntu?
Depending on the item and seller "sold and shipped by third party" may actually be better - no mingled inventory, might even be direct from manufacturer.
Or the fact that the silly Occupy Wallstreet kids are now aligned with big banks and corporations on the issue of immigration.
True. We'll look into ways to experiment with that. Thanks!
Super compact full-featured Linux handheld / wearable
Silicon Valley's liberal bubble has burst, and the culture war has arrived
They are delighted. People are being locked up based on content of their social accounts for years. Regime doesn't even need to get cooperation from the social networks themselves that much. They take your phone, make you unlock it and the off with you to a prison.

One such example being Turkey.
How did they manage to make an electron app that is only for Windows and Mac
But today, Americans are less mobile ... some are trapped — because housing is unaffordable where the better paying jobs are. And the jobs that are high paying are not the jobs they built their lives on.

this is what i think about every time a politician, journalist or economist says that the answer for all these workers is government funding for "job training."
On the whole, I'm with you -- even if the procedure is not reversible.

I do have sympathy for the view that paying people to be sterilized preys upon the weak. Many people can think of things that they would have done for $2,000 at one point, but not at another point.
First of all, I agree! GDB without extensions is not that nice to use. But there exist several extensions (https://github.com/cyrus-and/gdb-dashboard, https://github.com/hugsy/gef, https://github.com/pwndbg/pwndbg, https://github.com/longld/peda, even though developed for it, these are not only useful for exploit dev!) that make it a lot better.

> - No way to get a 16-column (bytes+ASCII) standard hexdump. This is functionality that even the most basic debugger should have, yet it's missing from gdb.

This should be quite easy to implement as a small python snippet that you put in your ~/.gdbinit. Granted, this should be builtin functionality, but it also shows how extensible GDB can be.

> - If you write "b 0x12345" intending to set a breakpoint at address 0x12345, it doesn't work. An unnecessary and nonsensical extra asterisk is needed (which makes it look like it's retrieving 4/8 bytes from 0x12345, and using that as the address of the breakpoint.)

Agreed, I never understood why that was necessary. It is really annoying. Perhaps someone wanted to avoid a conflict if you had a symbol named "0x12345"? (can you even do that?)

> - Starting gdb with a binary and passing arguments to it --- you'd expect it to be smart enough to realise that anything after the executable name should be the arguments to the debuggee and not the debugger, but it isnt.

I recently learned that gdb has a neat option called --args, that does exactly this:

gdb --args program arg1 arg2

GDB feels quite similar to VIM to me: you have to spent some time to get used to it, it has some warts but it is very flexible and useful if you know it.
> Many of those hypotheses, however, are shouted down as "racist", "sexist", or some other "ist" when they come up, and all of their possible costs are then listed in a litany, with all possible benefits ignored.

The research he alludes to isn't crazy. The policy changes he advocates for aren't crazy (although I disagree with many of them). What's nefarious is that they exist in the same document. Connecting the dots would indeed be sexist. So he doesn't, and leaves it as an exercise for the reader.

Let's not pretend that "just having the conversation" is a neutral thing. It's not. He doesn't bring up these gender differences for fun..
> I’ve idealized the four steps as separate functions.

Does the author know he can write functions in bash?

I mean, if he wants to compare programming languages, he should at least compare similar programming styles.

Bash is great for OS scripts because it has built-in commands and syntax for dealing with processus and their inter-communication (pipes and stuff).

Python has NOTHING about that. If you want to do this, you have to use a module, read its documentation, and be prepared to write ugly, verbose method calls all around.
Careful going from programming to investing. In programming you have a confidence & that makes sense because the results are often up to your own skills. With investing.. there is so much that is beyond what you know. Things go against you all the time. There is all the finance stuff. But then there are mechanics to the market that can surprise you. Triple witching? (etc etc) It's often not about the fundamentals of a company but what the perception or the trend is.

If I could give myself advice a year ago it would be to start with a paper account, & seriously try to make "money" that way. It requires a ton of research & time. Everyone else is trying the same thing so not only must you figure out which company is under or over valued, you must figure it out before others do. People with entire staffs doing just that.

As programmers, it can be a good idea to stick to software & service companies, because we have a leg up on the understanding of how big those things can get. A lot of investors fail to realize how software companies can grow.

Check out Square.

Square has some of the best programming talent around. They have a Point of Sale system but are also expanding into small business services (like running payroll). I imagine they will tackle inventory, maybe wholesale ordering, do they have a loyalty system? They are using AI to choose who gets small business loans. They offer loans that are smaller than a typical bank would, thus carving out a new niche. As long as they don't hand out too much money to the wrong people, I see this business growing massively. No other software companies seem to combine a great UI, with a mobile / tablet focus. The moat is just once you get set up with it, it'd be a pain to switch out. Curious what others think. (hijack the thread!)

It's my top pick at the moment. I saw it at 9 a share last summer & did not invest enough in it. Even with a market cap of 7 billion, it would seem that it could fit those shoes & then some.
There are many HTTP bridges, I run one: https://www.eternum.io/

Latest easylist:

https://www.eternum.io/ipfs/QmdDtvs1QaQQG6NMpc2cpncA4zVZqgUK...

If you decide to use IPFS for distribution of your list, I'd be happy to donate some Eternum credits so you can pin it.
The key is knowing what to use where. Writing certain scripts in Bash is miles more efficient use of time than using python because it's "better".

While it's certainly possible to write bad scripts in Bash like the example given, it's just as possible to write bad scripts in Python. All the time spent learning to do bash-like stuff in Python could just as well be spent learning to write better Bash.

I think the readability of the program is key as well. It's interesting that the author never included the full Python program. Based on the snippets I would expect it was longer and was definitely far more verbose. One of Bash's advantages in terms of working with files and shell commands is that most people already know how to work with files and shell commands at the command prompt and so the clarity is already there. If you replace all that with Python library calls all the sudden you're speaking a different language and comprehension will be slower unless your reader works with those Python libs just as often as they use the command line.

In other words, this may all sound good but be careful with this sort of advice. It's often counterproductive to go down this particular path
You Can't Short the Apocalypse
Huh? I don't get what I'm supposed to do. Is it like Omegle but 50% of the time I have to act like AI or what?
Hashing the title when first posted would likely lead to more quality problems. The first stage of QC is New. Nothing makes it to the front page without a little time on New.

So, I think that hashing titles would make it so that the worst (by some definition, but one that probably matches HN's definition) clickbaity stuff would rise to the front page faster and more often. This would happen because people could no longer make any decisions about what to click on New by it's title, and so the short articles that confirm common tropes, the funny pictures, etc. would get people coming back faster to click the upvote, while the longer articles would be more slow to get upvotes.

Same problem we have already, only moreso. At least now, we have a stage where we can see the title in New and the interesting things might get upvotes sooner...you have a little more knowledge going in. i.e., I might not read the whole article about something I find really interesting, but I might click over to it, see that it's by someone I trust or seems to be well done and free of fluff, and upvote it before finishing reading.

I dunno. I could see blocking commenting for a time after a post. But, hashing titles seems to just take away valuable information people use to make upvote decisions during the vital New phase of a post. Also, there's no way I'm clicking on every link on New. New is a goddamned wasteland; 50+% garbage, sometimes.
You can't opt out completely because you are tracked anyway. They track your family, co-workers and so on
I think the scope for Bash has shrunk a lot since Perl and moreso Python have become widely adopted. The rule of thumb I usually have is "if it's more than 50 lines, reevaluate if shell scripting is the best language."

I was working at a place that had been around since the early 80s. It looks like the "official" scripting language was tcsh until around the early 2000s, then Perl was preferred, and around the late 2000s they switched to Python. I ported a bunch of tcsh scripts that missed their Perl transition and was I impressed (I didn't often see "structured" shell scripts with actual design patterns) and the fact they were still used daily. I feel like my Python version had less boilerplate, better error checking, and was more legible.

If you look at the OS itself, a lot of what used to be done with shell scripts migrated to Python2 years ago (which made the move to Python3 tougher)--but the scripts are more legible and maintainable.

I do still love the challenge of running a command and trying to get my result in one line.
That sounds like a direction worth looking into. Thank you!

Do you know of any resources (like a reverse Upstart.me) that might make it easier to find potential partners for the segments?
I've got to say those are excellent replies
Steve is well past his twenties.
As a legal fine point: the list I want isn't just "sites which have used DMCA takedowns to force removal from other blacklists," but more like "sites which allege that they are legally required to be loaded if embedded in other sites."

This would include all Admiral-owned domains (including those that haven't been included in DMCA takedowns yet), and all domains owned by any other companies that believe there is some legal obligation to load their trackers. It's an important list to have.

Echoing other comments, this list should be in a standard .txt form so it can be included by other extensions, so I can pick an extension that does what I want when it encounters such a site (e.g., decline to visit the page that embeds the site).
The author mentioned in the readme that having it in the Chrome Store makes it easy to quantify the damage it's doing to these sites.
Don't use Google. Be a stick in the mud, and stop your friends from using Google. Get upset at them if they include you.

I basically told people if they won't contact me using tools not made by Google/Facebook, they shouldn't contact me at all. And it was fine (they installed Signal lol).
I think it's intentional, because the whole idea is that these kinds of requests are invalid and an abuse of the DMCA, so if someone were to issue a request the author would fight it to prove its invalidity.
Steve Blank is not 20.
How about split the blacklist into multiple entities (like Shamir's Secret Sharing) with absolute no affiliation with each other.

Each one downloaded can not block anything

But if a user combines some of the data, certain website gets blocked.
I'd be ineterested in seeing how they run the chromium build. It completes in just over an hour on my Ryzen 1700.
And my point-by-point reply to that summarizes reality as it actually is.
Ultrasonic beacons: https://www.schneier.com/blog/archives/2017/05/using_ultraso...
Are there any good non-US Git hosting companies?
That'd be a fun AI project that would be reasonably easy with off-the-shelf components: A summarizer and test generator.

It'd probably generate a lot of false negatives, though. Even humans make bad comprehension tests sometimes.
I would like to share 400+ data structure and algorithms problems
You can find around 400+ data structure and algorithms problems here http://www.techiedelight.com/list-of-problems/ in C/C++ that are helpful to improve your algorithmic skills and also to crack coding interview of top tech companies.

Below's another link that filters problems that are solved using STL.

http://www.techiedelight.com/data-structures-and-algorithms-interview-questions-stl/

Hope this helps.
Given the fairly clear-cut factual dispute, I can't imagine this won't be resolved one way or another fairly soon. Madsen claims he dropped off the now-missing passenger at 10:30pm before going back out on the sub. Investigators suspect that he didn't, and she sank with the sub. Since the sub's been located, and in fairly shallow water, investigators should be able to determine whether there's a body inside it or not soon.
Hold your horses! Origin stories aren't true??

A company's origin story is simply a "get to know you" story same as at a cocktail party. Everything gets fudged because it's just a marketing statement.

eBay wasn't really started due to Omidyar's girlfriend's desire to sell her Pez dispenser collection, but that story explains the use case very simply and personalizes what (at the time) was a peer-to-peer, or C2C, model.

Tesla wasn't actually started by Musk but by saying so on their web site it drives home that the original founders are long gone and that Musk wants to be seen as the singular genius.

GE no longer says anything about Edison since saying so wouldn't add to its credibility.

A company age can be a first clue to whether they know what they are doing or not. But only a first clue.
Sorry, not sure how drip weekly emails would work or help? I'd love to hear more but not sure what exactly you had in mind.
> Unless you're a kid, you need regular, long (as in a week minimum) breaks in practice. Every few months.

Moreover, I wonder if he'd become "automatically" better after a downtime of say 2 months. I could imagine his brain still has a lot of processing to do from this extreme time.
Voltron seems interesting, but on the first application I tried it on, it caused my gdb to hang, and the views remained blank... Hopefully it'll mature fast.
I suspect the model comes from overfitting the training data, that is, you would not see expect to see 15-20% outperformance from the same group of analysts next year. Or BigBankCo would immediately hire them to invest their cash.

There are a number of other flaws that require time traveling to make this scheme work, and if you have a time traveling machine, beating the stock market is even easier than this.
Sure, it's possible for a few people and the digital nomads, but try telling your teenage daughter don't use Facebook products. Heck, it's even difficult for me because of events and stuff, but for the majority of people, it has become a utility. Especially young people are sucked into it. And if not, you still get tracked everywhere on the web.

It's like telling you to dig your own internet cables. Negotiate peering and backbone if you want uncensored internet, no data caps, and no throttling. What's the matter, the internet is opt-in, have a problem?
It's possible for few rich people just like living without digital products for few old farts.
I was not thinking bot-to-bot communication, but communication in mixed teams. I.e. participate in a mixed team of bots and humans, and communicate with team mates without them necessary knowing that you are a bot. We are approaching Turing test, but in this case it would be enough to talk "Dota" - i.e. communicate efficiently about the game actions with your team - no need to be able to discuss about any topic.
You don't know how broken the CSS is until you've reached deep conversation...

https://imgur.com/a/o2gTo
This is one benefit of scoop.sh - it's designed to isolate programs under your user profile, and not mess things up. A bit like using stow/xstow on gnu/bsd.
> you can't remove outliers

To drive home this point, portfolio returns are driven at the margin. A minority of positions dictate the majority of performance.
Ironic isn't it. Google is a threat, but the media focuses on a random memo. Not dismissing the memo, but it pales in comparison to Google's larger scope.
There is no [2] in your list of links. Does it refer to to the elevator pitch you included in your post, or did you intend to link somewhere?
OOP languages formalized the pattern of passing data structures into procedures?!
The only place to make real money is the stock market and the money are the ticket to secure future and freedom...
Pretty much.

Mathematics is a language. Most people only learn arithmetic, and then only by rote. Sometimes, it is disheartening. I've had people who refused to accept that Ph.D. is Doctor of Philosophy.

I like to point out that nobody has successfully brought me a bucket of negative apples.

Err... I'm a mathematician. I am an applied mathematician. I am not smart enough to be a philosopher of mathematics, though I have my Ph.D.

Anyhow, math is a language that is capable of telling stories, truths, and even falsehoods.
That's an awesome article! Thanks for sharing.
Tech’s Damaging Myth of the Loner Genius Nerd
There are times writing a bash script it feels like "omg - a programming language would be much easier for this task"...

So I write a tiny program in the lang of my choice and invoke it from that place in the bash script.

The balance between the two tools is great - your advice is spot on for me.
I've been using POSIX shell exclusively, and spent a week or so converting all of my existing scripts to POSIX a few years ago (when Ubuntu switched its initscripts to run under dash instead of bash). Bash isn't available on tiny Linux distros by default, because it's quite large. Many use dash, including most busybox based distributions.

With checkbashisms and shellcheck, it's pretty easy to spot compatibility issues and fix them.
I have a friend and former coworker who has been working in games since 1990. He is an incredible software engineer and I ended up learning a lot from him. He just recently got out of games and now works at Tesla.
People in tech rarely feel the squeeze to the degree that those in service / manufacturing industries do.
> so let's please not pretend it is...

Was anyone actually pretending that it is?

There's a thing called hyperbole and it works really well when you take your fight to the media.
I think the headlines are a bit sensationalised. I can't imagine he directly killed her either; it's probably more likely he paniced when it started to sink and fled, shortly realised afterwards that he had a passenger, and tried to cover it up. I'm not saying he's innocent, but people in states of panic can do very irrational things.
I do, to verify the machine is as requested/ordered and works as expected. I have returned/replaced a machine before that had issues. Because of the OS was as expected, the manufacturer had no difficulty determining the machine was faulty.
Your specific statement was valid and good-natured, so I didn't mean to attack you here. All I'm arguing against is the adoption of a legal or de-facto definition of "encryption" based on architectural similarity to currently popular methods, rather than actual evaluation in situ. Most all practical applications of crypto trade security for functionality to some extent, and requirements for one or the other vary based on the use case. Future security gains, moreover, won't likely all be made on traditional grounds (e.g. increased susceptibility to brute force hacks). That's why I'm hesitant to support statements like "X company is misleading us by using the term 'encryption' because its closed-source approach doesn't appear to adhere to conventional notions on cursory inspection."

Much practical innovation comes from closed-source applications whose peer review comes in the form of commercial lab tests. Overly ossified technology standards & labels often force CIOs / CTOs / CISOs to build artificial barriers into their corporate procurement processes for optical reasons. In addition to engendering "check-the-box" complacency, these barriers absolutely stifle startup-driven innovation.
You have at least 30 years of working life ahead of you, why not get a degree?