skysight-inc/HackerNews huggingface dataset:
many cultures have these types of differences.

in Japan beans are a sweet dish (sugar added). Many other places they are savory (Mexico)

In South East Asia avocados are a sweat dish (avocado smoothies/ice cream) where as many other places they are used in savory dishes
Many others exist. Leaded gasoline is a big one.
Ok I see where the problem is. I read through your code and didn't think "BFS", I just thought "knows how to nest for and while loops". I suppose you could consider this "knowing BFS", but I would consider this table stakes. I would never ask about something like this in an interview.

I thought you were talking about actually using BFS on a data structure, in which case I'd use a library to do it so I don't have to reimplement all the loops and because there are modern libraries that would take care of the parallelization (like this one[0])

[0] https://github.com/arjun-menon/Distributed-Graph-Algorithms/...
If you lose wifi will you be unable to take your shoe off ?
My response was to your sarcastic mini dialog above my reply. Do not try to read other peoples minds - it is impossible, and if you really want to, you can simply ask.

>> It does the job Linus designed it to do, but that job is not most software engineers across the world need it to do.

Speak for yourself, you are not most software engineeers.

>>In smaller or in corporate shops, Subversion was almost adequate ...

I have administered SVN profesionally for several years (2005-2007), and was paid to unfuck screwups made by other developers using it (which many times involved restoring from incremental hourly backups done on the SVN server side). Dealing and helping others with their git problems is many times easier.

The FAANG world (which I had to google just now) I imagine has unique requirements (many teams that must coordinate, super gigantic legacy source code base), and the resources to do whatever they want (money, humans to develop and maintain tools and do research). For them, the integration pain from managing multiple smaller repos may be significant. Outside this world however, teams are more independant and the source code size is much much smaller (even for legacy projects).

>> Git won because tech is a popularity contest

You have a point here, but this factor (and network effects in general) is just inertia, and does not explain why git won, given that for example SVN or Perforce had such a head start (in tooling, and in mindshare), and there were other distributed contenders like mercurial and darcs and BitKeeper developed at aproximately the same time, and even earlier. It won in my opinion because it was simply superior tech - faster, good enough and very very easy to get started.

(edited to clean up formatting)
Elon Musk: Moving to Mars would cost about $200,000
I don't think it is a separate discussion. King County's transportation district is extremely poorly run and cost overages are in the billions. The governing body is appointed and accountable to no one.

If people were given a realistic estimate of the costs, both financial and quality of life, I think there would have been a drastically different outcome.
AWS, Digital Ocean

Sublime Text (But I changed to use Visual Code last year)

MacOS

IntelliJ

Oxford Dictionary (English to Chinese, mobile app)

Daijirin (Japanese dictionary, mobile app)
It's an interesting direction to go in. I like the proliferation of toy machines that the Pico-8 has spawned.

I'm making one going in almost the polar opposite direction to this. I 8-bit avr based with asm (and C,pascal and anything else the avr ecosystem supports)

It's slow going (current work in progress in-broswer emulator+assembler at http://fingswotidun.com/avr/AvrAsm/Testbed/ ) Still have to make a website for sharing cartridge images.

Also this caught my eye in the linked article.

"TypeScript is compiled directly to machine code - there is no interpreter or JIT-compiler involved." There's a Typescript to native compiler about? Where?
So, ah, who decides how to "make people live not too far from their workplaces, schools, shopping, and recreational facilities.", who enforces the law, and does anyone get grandfathered in?
You believe in type safety yet refuse to let an IDL dictate a type at compile time?
Also, I might be alone in this, but I think the lower-fat FAGE yogurts (specifically the 2%) taste better than the full-fat one. They have a certain "tang" to them that isn't present in their whole milk yogurt, which I absolutely love for making sauces, dips, etc.
Phlegm is mucous of the respiratory system, by definition.

Vaginal anything can't be phlegm for that reason.

Not to take anything away from the rest of your post; dealing with an idiopathic condition that your doctors don't understand must be very frustrating. Best of luck.
> But why do that when I can google it, and get 3 blog posts and 2 stack overflow answers detailing the different options and the trade offs between them, most likely even with an implementation I can base mine off of?

A lot of resources out there are wrong, inaccurate, or not reasonable for your particular context, and it requires a reasonable amount of algorithmic intelligence to be able to sniff out what's appropriate.

If I had a dollar for every high-upvoted SO post that misstates a problem or doesn't offer proper caveats... but I can make that judgment because I've already thought about a related problem in the past.

It's like asking why one should learn how to write properly when Grammarly and spell checkers exist, or why mental arithmetic is useful when we have calculators—at some point those your tools will be inappropriate or unavailable. Search tools are force multipliers, not replacements for personal knowledge and intuition.
The task thing is questionable, because that way you just create incentives for the people involved to introduce more (most of them un-needed) tasks into the system, tasks which will show up on the performance reviews as being completed. A lot of the senior guys solve un-created tasks, so to speak, by saying stuff like YAGNI or KISS or by eliminating potential bugs (future tasks) by pointing out that going a certain development route will create those bugs.
Can you explain what that means? Can you explain what that means? Can you explain what that means?
Thanks for confirming it wasnt a Riak issue. SAN disk really? As an architect i can tell you that SANs are almost always are antipattern for building reliable and scalable distributed systems.
You should try to inspect how many files they've stored on your SD card. I recently checked with my friend who says he barely use it and it was over 35.000.
Yes, I understand how this would be done. It's a design philosophy. If you'd like Gunk to support "oneof", we're open to Pull Requests!
> is there any similar profession where interviews like these take place?

Based on some conversations with friends it sounds like Big 4 consulting is similar. The behavioral questions are the same, and instead of coding they have "case questions".

>No consulting interview would be complete without case interview questions that test a candidate's ability to think strategically about problems...make it a conversation, and explain every step of your thinking/process along the way. Again: showing that you can arrive at a solution after thoughtful questioning and analysis is far more important in these questions than being able to throw out a brilliant new strategy on the fly, so focus on the process, and allow it to lead you to a solution.

[1] http://www.vault.com/blog/interviewing/26-interview-question...
> I think you mean inversely.

No.

> But if you try to use age a simplistic predictive proxy...

Well, that is obviously the wrong thing to do, but I am not sure how that relates to my question.
There is, just the error rate is different between a SAN backed openstack cluster vs AWS for example. EC2 is reliable compare to what hw just described above.
You're better suited for research which is about working long term on open problems.
Before Einstein died he called his live-in nurse over to hear his last words. Unfortunately she didn't speak German. So we don't know if he uttered a breakthrough physics formula or just complimented her on a nice set of cans.

Anyway, fascinating article even though we all seem to want to talk about famous last words instead.
Even though I want to continue to code, I always worry whether company can still hire me when I become older. If I can't get hired around 50 as a software engineer, I should rather earn lots of money to support my remaining life.
Suicides in Japan down for 9th straight year to 37-year low in 2018
I thought you were being obtuse when you used the phrase "a couple of weeks" but you read the article correctly:

> In a few weeks, much of this capacity will be replaced by a new 3 billion dollar highway tunnel under downtown Seattle

It's worded wrong. That tunnel won't be functional for years.
What I'm saying is that I'm against the alternative which is to prepare for death like it's this big day or something.
I've been porting over a bunch of my old academic Matlab to Julia. It's obviously nowhere as close to Matlab syntax as Octave is, but it's a lot closer than Python. YMMV of course, but there are enough similarities that a decent proportion of my code has worked after pretty easy find/replace changes like switching array indexing from parentheses to square brackets. And I usually end up with something that runs about 2x faster than the original Matlab, which is always nice.
Also a DNews video : https://www.youtube.com/watch?v=C8ialLlcdcw
Low fat french kwark is what you want. It has like 20g of protein per 100g and is very low in calories. It taste great too (at least once you've added honey or a bit of jam).
not sure this is relevant but my grandmother's last words to me...

she was the always happy type of person. super socialite knows everyone and everyone loves her always a kind word for everyone.

The last time I saw her was the only time I ever heard her have a negative attitude about anything.

She said "getting old sucks!"
Every nation that switches to a western (American) diet gets fat.
International Cooperation in Introducing Standardized ICO Regulations
It's interesting to me that this gets lampooned, but the autolacing shoes in Back to the Future[1] (and the release of actual shoes a few years back[2]) was greeted with awe and cheers. Different crowds, maybe?

[1] https://www.youtube.com/watch?v=28Wa5L-fkkM

[2] https://www.engadget.com/2016/10/05/nike-mag-first-look/
My collection of usefull links about recommender systems (dirty) https://gist.github.com/tandav/a2f87e91cb5c441c57657cceb788c...
1) They use bluetooth, not wifi.

2) They're actually designed to work in situations where you don't even have your phone as a primary use case.

So no, of course not. That was actually a major point made early on in the article. If you'd even skimmed the article, you'd have seen the answer to your question. :)
I guess the StackOverflow salary data would be pretty extensive.
lol. I rolled something that was patentworthy by a researcher at one of the FANG-sized corps (from scratch). Corrected a theoretical flaw that rendered the algorithm request impossible mathematically. Detected and solved a much larger semantic problem (which fixed permanently the problem they were trying to solve). And the "coder" was only concerned about "why I chose to log" -- "so I can break the job down, pause and resume - since you didn't include ms timestamps I had to come up with a way to partition the log into parallelizable, resumable chunks".

--

They were extremely upset about the flawed spec. They couldn't understand either the patentworthy algo; or most of the programs actual key details.

--

Also, they lied about being a coder.

-

Now what, a I supposed to do with that. You asked, for a professional. You got one. Not my problem if you only hire hacks.

--

Even worse on the devops side.
Corruption at DJI may cost the company $150M
An anaechoic chamber is not a good place for human mental health. I believe no one has ever been able to stay for more that 40 minutes in the worlds quietest anechoic chamber in the US. Recording sound samples can take hours upon hours.

And even in an anechoic chamber, the best of IEMs would still 'leak' a little.
In the USA, we decided that we're willing to make that trade off.

We have 'protected characteristics' and we don't hire and fire people based on those characteristics, or proxies of those characteristics.

It might be less efficient for businesses, in some cases, but through the courts and our legislature, and within the bounds of our constitution we've decided it's a good trade-off for society.
my understanding is with the migration to thousands of "pizza" developer teams doing self-service, that "no one person understand the entire codebase" i.e. software architecting is dead.

Am I in error to hold this belief?
That was humanity's doing, not his music.
Your comment above would make more sense had you said inversely.
The violins are not omnidirectional point sources. They have complex, frequency-dependent energy radation. A regular impulse response isnt going to cut it.

There are ways to capture non-point-source IRs, but none are the same as playing the instrument in the space.

Additionally, and perhaps more open to argument, the movement of the performer is part of the sound of an instrument. If the violin is locked in place, with a fixed IR applied, that's not really "what a strad sounds like" when its played for real.

I would suggest that having many more microphones would be a nice idea though.
They are possibly not going for the individual tones, but rather taking a range of impulse responses (IRs) plus the original timbre. From that, they may be able to digitally reproduce the sound - or else use an ordinary violin, and colour the sound with the Strad's IR to recreate similar waveforms.
Thats a bit of a myth. They kick you out of the guided tour after 40 minutes.
I can't edit my post anymore, but I should apologize for implying that gnicholas made that argument. As others have pointed out, they were just making a point above effective rates versus nominal rates. My mistake.
A very cool project, kudos to the developers. I don’t want to take anything away from it, but I did stop noticing the graphics pretty quickly and just started watching the gameplay. Maybe it’s the nostalgia of remembering the original overriding the cool-factor of ray tracing.
Having more difficulties conceiving is also consistent with uncomfortable sex.

I found this article [1] that seems pretty consistent with the dehydrated mucus hypothesis. I don't know if it's reputable, and I only read the summary, because it quickly got over my head.

[1] https://insight.jci.org/articles/view/89752
I'm aware that the vagina does not produce phlegm, which is why I added the word pus -- which someone else felt the need to correct and inform me phlegm and pus are not the same thing.

Both replies appear to assume that I don't know what I'm talking about. This is the norm: I'm a former homemaker, so I must not know anything medical.

I'm human. I make mistakes. I'm not a doctor and I don't speak like one.

However, I also have a certificate for "Certified life and health insurance specialist" that I got as part of my job at Aflac where I read medical records all day as part of my job. Among other things, the certificate program covered medical terminology and some basics of health and biology. For example, I had to know the different bones in the body because I paid accident claims and a broken hip paid different from a broken arm, etc.

I'm not a medical professional. But I did have a job for over five years that required me to be able to comprehend medical records and surgical reports well enough to decide how much money to pay people for their medical treatments for covered health events.

The rumors that I'm merely an uneducated former homemaker are a tad exaggerated.

I'm not trying to give you a hard time. This is just a long-standing pattern of how people reply to my comments.

Phlegm is mucous of the respiratory system, by definition.

Also, while we are all being pedantic here:

Mucus vs mucous

https://grammarist.com/spelling/mucous-mucus

Mucus is a noun.

Mucous is an adjective.

And I'm adding that because both you and the other person "correcting" me used mucous when you meant mucus:

https://news.ycombinator.com/item?id=18945575
How is this relevant? The recordings only need to be good enough that a (trained) human cannot tell the difference.
Then don't eat factory farmed meat, and don't eat lab grown fake meat. There are more than two options.
I think the opposite would be true; research might benefit from puzzle solving, and software engineering is precisely the discipline of building up and reasoning about layers of abstraction and components of a system.
# z for quickly switching between commonly used dirs eg. `z ex` -> cd /mnt/c/dev/api.extensions

# https://github.com/rupa/z
source ~/z.sh

git helpers

# update all git repos in subdirs
alias gitp="ls -d */ | xargs -P10 -I{} git -C {} pull"
# fetch updates for git repos in subdirs
alias gitf="ls -d */ | xargs -P10 -I{} git -C {} fetch --all"

selection of most commonly used git aliases

ci = commit -m
cf = clean -fxd
cl = clone
co = checkout
cm = commit --amend --no-edit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all -n 25
pf = push -f --follow-tags
rb = rebase master
st = status -sb
How to Build a Photography Business from Scratch
Here’s why Trump may not be wrong on H-1B visas
There's a lot to be said for having a cobbler make custom shoes for you, if one is available.

Also, your mileage may vary, but my ankle instability was greatly improved by a basic "Starting Strength" style workout routine. I went from tripping over my own wobbly feet to lifting 300+ lbs on my back in just over a year. I've never had any notable ankle instability since.
Read again.

"This includes cell tower and cell sector location, assisted GPS and cell tower trilateration."
You need a disk for that as in CD-DA, unless that was patched to use files.
Whenever you read a Forbes article, check if it’s by a “contributor” if it is, that means they payed Forbes to publish the article. Generally anytime I see a contributor article I get ready for a good laugh
> I am often difficult, I often don’t know computer science, but. BUT. I make really good things

Having worked with people who are dicks but make really good things...I wouldn't want him on my team either. There are plenty of people who make really good things and aren't dicks.
Any thoughts on the feasibility of vertical farming in the future?
> This is a great way to detect non-tail losses, and should definitely be a part of TCP implementations.

Imagine implementing that on a microcontroller. Per packet timestamping on an MCU will stand in the way of having NIC poll in same loop as the program code.
The thing with Matlab is that, just as software, it's "great-terrible". It has an amazing number of cool little tweaks that allow quick development and it has umpteen convenient algorithms and allows one to work with matrices in a very self-contained way.

But all this niceness means really that the software is more in the realm of spreadsheets than standard programming languages. Maintenance is guaranteed to be a nightmare and conversion to an actual programming language similarly.

The problem is that there can't be any small way to get off the beast. Because Matlab isn't a language but a rag-bag of features, nothing can be compatible with it. Indeed, you could be 100% compatible today and wake up incompatible tomorrow. It's position is like that of the monster desktop applications like Excel, Adobe Creative Suit and other nightmare abominations.

"You may think you're being productive but really, you are just feeling a rush from the grade cocaine of technical dept"
Yes. The idea is it's day trading, except you hold for a couple days, not a couple of hours, and you focus 100% on trying to figure out patterns in the stock and ignore all fundamentals. So you completely ignore like, whether the stock is cheap, or whether the company is doing well, and instead try and look for patterns in the stock price.

One he mentioned in particular was cup-and-handle; you can see a description here: https://www.investopedia.com/terms/c/cupandhandle.asp

The idea is, if you see a stock that slowly declines for a bit, it's possible that at some point it might start to slowly increase for a bit. And further, if it does, it might STOP increasing at the price level it originally started decreasing at. and then decrease for a bit instead.

Could this happen? Sure.

And if it did happen, and I bought at the bottom of the cup, and then sold at the top of the handle, I'd make money right? Yep.

But tons of patterns start by "slowly declining for a bit", how do I know this is a "cup-and-handle" pattern, meaning I should buy, and not one of the ones where it just, you know, keeps declining? You don't.

And if the company announced some really bad results, or loses or lawsuit, or something, halfway through the second half of the cup, right after I'd bought, I'd lose a fuck-ton of money? You sure would!

And I have no idea which one is which until it's too late? Yep.

So if I go around trying to recognise these patterns, will I make money? Oh hell no. It's like coming out ahead playing video poker at a casino; you might win once, but the odds are heavily stacked against you if you keep playing.
Realize though, the unfortunate result of the way this is implemented results in an interview process that ends up being perceived as quite coarse and unfeeling, and seems to filter on often capricious tests of algorithmic knowledge; Some highlights in my personal experience, writing an RB tree, and "write a regex to capture the comments in code;" simply put I never felt that my experience was even slightly under consideration. I realize the typical response from a Googler (including my friends there now) is that these things specific instances are disallowed/not recommended, and I trust they're not lying with those statements, but for whatever reason _those did happen some years back_, and I continue to hear similar attestations both here and at work.

Feel free to write off all of my frustration as a selfish fear that I won't be able to pass these gates in N years with the heavy focus on algorithms-under-pressure; it's certainly hit and miss now, and I'm open that I've been both accepted and rejected at all the places I've worked to call out how much of a crapshoot this process seems to be.

I fully acknowledge that an org of G's size has needed to make certain tradeoffs/processes, but that has tradeoffs for candidates, which can be hair-pulling when we do/have done isomorphic work at a high level.

(I should probably disclaimer that MSFTie, I have nothing particularly against G in this and all opinions are my own, but highly algorithmic interviews are a topic I've always been selfishly unsettled about)
true dat.
>Clark Squire is now known as Sundiata Acoli. He’s still in prison, on a different charge.

That charge is for killing a state trooper for which he got a life sentence.
https://en.wikipedia.org/wiki/Assata_Shakur#New_Jersey_Turnp...
UNICEF Organization Funding 6 Blockchain Startups
If someone love LevelDB/RocksDB but want to use a pure-Go implementation, I have good thing about this library:

https://github.com/syndtr/goleveldb
No, typescript adds as little as possible to support its language features. You'll need to rely on js libraries or browser features for the API.
Thanks. And yes, Burroughs didn't bother much with attribution.
Indian state plans universal basic income for ALL of its 610,577 citizens
Even Just One Joint Can Affect Teen Brain Volume, Say Marijuana Researchers
What made you change your mind?
"Having more difficulties conceiving is also consistent with uncomfortable sex." - Difficulties exist in women with CF who don't report pain during sex.