skysight-inc/HackerNews huggingface dataset:
Yes, there are laws that govern this. My point is that the person I was responding to was implying that only he, as the owner, and the customer were affected by his choice to be open. The effects are much larger than just him and the customer. So it is not a ridiculous argument as such. What works in practice will vary quite considerably to your idealised view. I have worked for such owners and was glad to see the last of them.

Irrespective of any laws that are in place, there are still many owners who will threaten sackings if people do not obey the owner's whim and decisions as to the hours the employee is to work. If that means that the employees are expected to be there 7 days a week then there are many owners who will sack their staff for only wanting to work 5 or 6 days a week. There are many employees who do not feel that they have any control over this and simply comply because they feel powerless and locked in. But that is a side issue here.
Tf-idf for Chinese novel/documents implemented in python
If it's an emergency you call an ambulance, if it's not an emergency you take a taxi.
FWIW, it looks like the Kinesis boards, at least, hold their value well... There's only one used Advantage 2 board available on Amazon, at practically the price of a new one.

(The used market might be a reasonable stand-in for rental, too, once enough of these keyboards get into circulation.)
"Digital Nomadism" is a pretty vague term, most people stop the "nomadic" part of it within a year or two. The need for stability is a realization that everyone must discover themselves. Then the label turns from "Digital Nomad" to "Location Independent".

It's great to be able to choose where you live, what your routine will be, and who you surround yourself with. As a remote worker, you are in charge of all these things which would normally be decided by your company. You'd live near the office, your routine would be determined by your work hours, and you'd be surrounded by your colleagues at the office. All pre-determined.

However, sometimes when we have so much choice, and we must make these choices ourselves, we can get a bit lost. Without concrete requirements, it's easy to get yourself into the wrong routines and forget to properly plan out what you want to do each day, where you want to go, and who you want to see. It's easy to spend a few days in a row without even leaving your house or apartment. You can end up ordering all your food from delivery apps and doing your shopping online.

So it takes a conscious effort to remain happy. It's really a day to day endeavor. You cannot just put in a bunch of effort for a few days in a row and then just veg out for the rest of the week. The brain needs to be constantly stimulated by changing environments and real face to face social engagement.
> I will never understand how "start killing people" becomes a valid solution.

If another group of people decides to start a genocide on your people (IE, kill you and all of your people), what would you do?

Edit: I'm not familiar with the vietnam war, I am just responding to the claim for why "killing people is a valid solution".
As someone once said very eloquently on this forum: Apple is a consumer product company and makes money selling you products, while others (Google, Facebook, etc) are ad platforms companies making money selling you as a product.
It's in Apple's best interest to keep your data safe and confidential, unlike other internet giants.
When i had to chose a online photos storage provider, the choice was clear, for that very reason.
Same here. Spark is an excellent mail client for Mac. But I do not like Spark mobile app's UI. It is not as clean as the Mac App.
Almost half of US cellphone calls will be scams by next year, says report
And you chose to live in the most expensive area in the USA, while your father did not correct? If you are earning in the top 10% and can barely eke out a living, you either need to re-align your priorities, accept your lot, or move.
My experience hiring lots of engineers is that people with comp-sci or other stem degrees are on average much more successful at software engineering. Yes, there are great self-taught and code-schooled engineers, but on average they are less successful. Plus even the great ones seem to get started later with their careers instead of getting hired straight out of college like comp-sci majors.

I imagine it will also be difficult to network and build relationships in the industry without attending a 4 year school unless you are very outgoing. Who you know is often more important than what you know.
PBS (US) had a show covering this the other night. The tattoo locations corresponded to areas of arthritis. Also carried different fungi, one for fire starter, another for antisceptic.

Interesting that the tattoos, tools, and medicine pointed to a level of specialization that would have been supported by agricultural civilization, not by hunter gathers.
Facebook has had a privacy policy requirement for all Facebook apps since they started their app platform.

It's quite amazing that Apple has not added this simple requirement to their app store until now.
This is great! I'm not actually sure how prominent the CAGED sequence is in guitarist circles, but I was thinking it might be helpful to indicate the chord shapes.

Hope you can continue hosting it - I might use this to practice my scale visualization.
I still remember the first Windows programming book I read. It's Charles Petzold's Programming Windows. It was amazing. Really showed how Windows work.
Could sonic booms stop hurricanes? (2008)
Android !== OnePlus
People play a "role" in society, they put on their masks and costumes, and quit being human. They become the role.

No. People are human at all times. They are not machines. Yours is not a view taught in management. I think you need to put more effort into understanding where/why/how decisions are being made.

"whether a business can be ethical" ... I tend to think not, at least if they're publicly traded.

You've taken a very closed minded approach to business operations, and somehow elevated it to a responsibility to act unethically.

All decisions have trade offs and consequences. For example, if you pay someone minimum wage, the consequences might be higher turn over, higher training costs, lower ability to recruit workers, higher rate of theft, lower customer satisfaction, boycotts by outside groups, etc.

If you pay people more, you may lessen these consequences, but then you'll be paying more money in wages.

Is management acting in the company's best interest by paying minimum wage and ignoring these risks? No one with any sort of management training would agree with you that there is a duty to pay minimum wage and risk incurring consequences that may out weigh the costs of increased wages.

Why do you imagine that companies are duty bound to hurt themselves, and judged solely on wage expenses?
That never happened to me, and I have been living there for 8 years now.

But I would agree that Japan is generally racist, as in most Japanese believe there are fundamental differences between people due to what they call race. I am not sure whether most Japanese would consider Korean a different race, but I would not be surprised either.
I've just about used up my huge cache of frequent-flyer miles. I still have a credit card that generates points I can transfer into a few airlines or hotels if I want, but I'm glad to be done with the amount of time I spent at airports, on planes and in hotels.
Recent advice on alcohol is to avoid it completely: https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
Benefits of DevOps – Do All Businesses Need DevOps?
How many Chrome tabs? Which Electron Apps?

I don't use Chrome, and I specifically avoid Electron apps. My daily machine is a 2011 (YES, 7 years old) MBP 17". It has a quad core i7 @ 2.4GHz and 16GB RAM. My regular work environment is IDEA Ultimate, a Java IDE which uses a good chunk of memory and taxes the CPU quite heavily when indexing source files and Vagrant, so at least one and often multiple Linux VMs, with anywhere from 1 to 2 GB of memory dedicated to each.

Even with that, the OS doesn't really freeze.
You're grasping for excuses. There are security issues with running any app on your phone. A maps app could do nefarious things with your location. A browser app could do nefarious things with your browse history. That doesn't mean Apple blocks all third party apps.

If I trust a phone app enough to use its dialer, I should be able to route all calls through it. If I trust a maps app enough to use it manually, I should be able to set it to open for all address links. It really is that simple.
I really enjoyed that. Thanks for finding it.
I think this is quite similar to how music fingerprinting (Shazam, etc.) works, except it deals with multiple channels.

EDIT: Their paper confirms it: "FAST adapts a data mining algorithm, originally designed to identify similar audio clips within large databases"
I use zsh daily but type `xonsh` any time I do something in the shell that would normally require a google.

“Uh ok so I have this JSON file. When I pipe this to `jq` I forget: to pivot an array of objects to an object keyed by array[x].id is it like `to_entries` then chain it to `map`? Uhh let’s look at the docs...”

However in Python I can write that function at the speed of thought. It may be a couple more lines of code but I’m also 100% confident in the output.

Like I understand some people can legitimately program in bash [0]. But I just can’t bring myself to practice. Why would anyone inflict this language on themselves?

[0] https://github.com/docker-library/python/blob/master/update....
> This mythical device does not exist. USB-C PD includes 5 different power profiles[1]

It does exist. Yes, there are issues like the ones your colleague experience but most of the time you can charge your phone, MacBook, or Windows laptop with the same USB C charger.

> USB-C also brings back the problem of tripping over the power cord and sending your $3000 laptop careening towards a wall or the floor.

You can buy an adapter for this if it's really something you're worried about [1].

It should also be pretty clear by now that Apple expects most of their users to not be using their MacBook while it's plugged in. The majority of MacBook owners will rarely need to thanks to the improvements in battery life over the past five years or so.

> What if I want to charge my phone and listen to music and own really nice headphones that don't need to be upgraded every year?

You can't. Again, most people never use this functionality. It is unfortunate for those that do but that's why the adapters exist. Much like the lightning to USB 3 adapter I have for my iPad. It would be convenient for me if I didn't need that adapter to plug a midi keyboard in, but the amount of people actually plugging midi keyboards in doesn't merit including a USB port on the iPad.

All of your complaints about bluetooth headphones are perfectly valid. Some people like them, some people don't. Lucky for you, a $9 dollar adapter for your wired headphones will solve all of your problems. Hardly even worth complaining about, especially if you were willing to spend ~$100 on a set of bluetooth headphones.

[1] https://www.snapnator.com/
I think about how we could continuously offer services to the bottom portions of society. We would know who might benefit from education, and who might benefit from immediate cash, and even who might be extracting wealth from our society in an inappropriate way. Along those same lines, I'm always amazed by how much is spent by companies like WalMart to quietly deploy facial recognition and associated data collection on every customer, monitoring all of us, while the wealthy can offshore their money and avoid taxes without any paper trail or any real reporting about their hidden wealth (the Walton family being one example - I've heard estimates of tens of billions hidden offshore in order to loan themselves money from offshore to run Walmart and avoid taxes.)
That people are choosing js for drones boggles the mind.
LessPhone Launcher- Less Phone More Life
Even just using dates can be a mess. At midday UTC everyone experiences the same date. The other 23 hours of the day, a varying proportion of people are experiencing a different date.

"using dates" therefore works out to "not caring about the time of day" and that reduces to "not caring about the time of day in the same timezone" since the same time of day in two timezones have a ~50% chance of being in different dates.

It really comes down to "does your application need to worry about time zones?" If so, then you probably need to treat this seriously, and getting help with that is good. If not, not.
I feel like people say they want to work from home until they do. Then they never want to do it again.
Show HN: Lyric Bird – Karaoke App for Learning Chinese
Google Links Searches to Phone Numbers in Chinese Prototype
I like browns because I can feel the actuation. That bump is an assurance that I can proceed with the next key. And if you bottom out your keys you can always add o rings.
EDIT: Actually, in retrospect, this is not quite right. It maps every tree to a natural number, but not every natural number to a tree. Regardless, it can be handy in certain circumstances.

Another simpler way of doing this is to encode a tree with n levels as 2^n - 1 bits. The first bit is 1 if and only if this tree has a root. The next 2^(n-1) - 1 bits represent the left tree. The following 2^(n-1) - 1 bits represent the right tree. Recurse as needed until you get to a tree with only one level (which is either a single node when the bit is 1, or is nothing when the bit is 0).

I'm fairly sure this is not optimal, but it is much simpler.
At the end of the day, a lot of what NIH ends up being is employees extracting experience and resume value at the expense of business goals. It's kind of funny, then, that the JS ecosystem gives you a better resume if you have keyword soup with trendy frameworks.
This isn't about low skill value.

It is all about labor being performed at a loss.

People cost money to just exist. Showing up for work is not free.

What happens when business operates at a loss, ignoring investment plays?

It runs dry and then dies.

People laboring and not making enough to fund their labor do the same thing. They die. Really.

Since we do not generally look at people tipping over as being acceptable, especially ones who are employed, others step in, or are forced to step in and subsidize the business.

It is one thing to suggest doing that for a small business makes sense. Fine.

It is quite another to suggest large, very profitable ones need us to do that.

They don't, and that is what this is about.
I didn't see that mentioned the number of binary trees with n nodes -- T(n) -- is precisely the Catalan numbers

These can also be interpreted as the number of strings of parentheses with n matching pairs

So P(2) would be (()) and ()()

Surely there is a bijective map between P and T somewhere in there
I love and support libraries, but what people really need are skills of the type where interviewers are not concerned about whether or not the applicant is wearing a necktie. Or maybe I’m just out of touch with East Coast culture but a necktie requirement seems unfortunate.
Airwalkaway
Did you read the linked material?

Did you read my comment that specifically mentions it?

Looking at instruction encoding through an octal lens makes a lot of sense.

Sure. But it doesn't make it an 'octal machine', let alone fundamentally so. Lots of binary things exhibit easier-to-see patterns when presented as octal, that's why octal is around. But it's a bit of convenient numerology not some intrinsic aspect of the (very binary) machine.
I wish they did a smaller engine and a larger battery. I suspect the battery just can't deliver enough amperage for full acceleration.

Frankly, I wish it was completely electric... Also, I hate to say this... The minivan is just overpowered. I hardly press the accelerator and it's like driving a rocket. At least when I drove a Leaf I had to push down a bit when I wanted to go fast
Ask HN: Is it normal to have to build an app for the interviewing process?
I recently applied to a startup for an internship, and they responded by asking for a "work sample" For this work sample, the company has provided specifications as well as required technologies for a web app I am supposed to build.

I have never done an internship before so I don't know if this is unusual, but it feels like a bit of a red flag...
It's surprising that people don't rely more on automatic arrival time picking + simple outlier rejection. It's so much more efficient than these waveform correlation approaches while being much simpler.
There isn't a way to vet that software by using it, but there are other problems which are easily solved with software freedom (the freedom to run, inspect, share, and modify published computer software for which complete source code and build instructions are a prerequisite): the ballot layout could require changes that were unanticipated by the program's developer. A new ballot layout could require changes in every computer that deals with the ballot in any capacity (producing the page description for printing, scanning ballots for voter verification and over/under counts for example).

We can't predict all of the problems that come up and that alone tells us we need to be in the best position to anticipate changes, hence respecting software freedom for all computer owners. Therefore not being able to inspect that the running voting machine is running trusted software is no reason to deny any computer own their software freedom. That's no justification for pushing voting districts into buying new voting equipment which ostensibly supports the needed change.

So in the end the solution remains the same: anyone who cares about software freedom (as we all should) would care that their voting machines run on free software.
One more that I use:

Emacs Lisp: https://github.com/ch11ng/xelb
Paying labor at "work at net loss rates" creates more need for charity, which is not up to the task anyway.

Those people have to show up for work and doing that costs them more than they make doing said work.

So, they either die for lack of resources, and that is not civilized

, or

someone else has to pay.

I value and support public assistance. Could be any of us who needs help.

I do not support assistance being necessary when it is clear the enterprise can fund it's own labor.

Market dynamics do not tell the whole story here.

If we were to actually watch people die, no assistance at all, those wages would come right up.
Any other disgruntled investors, I'd recommend ShareSight (not my company). Generous free service.
I have ridden the Paris Metro, London Underground, and NYC Subway.

Never have I had to hold a cell phone to do so.
One of the World’s Biggest YouTube Channels Just Got Sold
That refactor would be really nice.

Maybe I'll send a PR this weekend :)
I'm not sure how the "Top News" section is curated, but along with financial news I see:

- "'No hablo Ingles!' Video shows Taco Bell employee in Hialeah denying service - Local10.com"

- "Guac fans, rejoice! Chipotle is now selling large sides of guacamole"
Messianic Jewish are generally not considered Jewish by the community, as their beliefs violate basic tenets of the religion. There is a lot of evidence towards these sects being used to manipulate non-religious Jews into conversion to Christianity. They are still welcome, but considered Christians.
This is quite like the trick for flattening binary trees into an array.
Wired seems to have an obnoxious popup telling me to subscribe with no way of closing it. Combined with the browser url bar only 30% of my phone screen has content.

https://web.archive.org/web/20180914151314/https://www.wired...
Arcade Portal
It's not (just?) the typing speed though - for many it's the ability to limit hand and arm movement, and alleviate the effects of many types of RSI. I just ordered one, and as I type this through noticeable pain in my right wrist, I eagerly anticipate this keyboard helping me continue a healthy career.
Have you chased the birds?
I'm an atheist living in Israel. There is nothing more annoying to daily life then the Sabbath.

If you embrace it, then you must accept that no one works on saturday. You can't go to the store. There are no kids entertainment. Restaurants. Theaters. There is no public transportation because drivers need their rest too.
I would love to know internal story behind the disaster that Google Finance has become. I'm not against new designs and evolving but the new website misses out on one simple thing: People using this site loves numbers, they want numbers! "Minimal & dumbed down" doesn't work with investor types. My guess is that they got new VP and the moron decided to wield his steve-jobs-me-too minimal everything stick. The guy has to be wearing turtleneck every day in the office and probably got big bonus for driving this trainwreck to its conclusion.
discussion of source this article reports about

https://news.ycombinator.com/item?id=17977897
Sure, but I was referring more to the times you actually do just want a date. It's perfect for a birthday, or "this day in history", or any number of other things. Nobody really cares that while it was Tuesday where you were born, it was Wednesday for them.

In some instances, if you really only care about the day something happened, adding a time is just extra details to screw up. But if you do need need a a time, you very well may also need a timezone.
Good, maintainable code has it's place in the engineering cycle.

But so does quick, slapped-together code from late last night.

Depending on the complexity and impact of either, you can progress in your career.

College won't teach you either, but it gives you an (otherwise very difficult to obtain/justify) opportunity to study full-time for four years on complex subjects and a foot in the door.
I wonder if one can use a USB OTG adapter to make it work on a phone? I will certainly try once I get mine. Thanks for the idea!
You're not safe plugging a random USB into your computer. It can pretend to be a keyboard and install malware.
Whatever category reading tarot cards and tea leaves falls under...
Well obviously there are a lot of smart people using iPhones and even more smart people using Android phones.

Anyway in my opinion the biggest problem of smartphones by far is that we use them too much and mindlessly. The brand of the smartphone is mostly irrelevant, it's using it smartly that counts
"continuously modifying" code, yes.

But do something like modify a constant used in a tight loop once before it, and you will likely get better performance, especially since you now don't have to use a register or an extra memory access to load that constant.

That is, after all, how JITs work.

One of the best examples is something like an image codec --- input images have diferent widths, heights, bits per channel, channels, coding modes, etc. but they are constants throughout the same image. You can essentially "compile" a decoder specialised to the exact image you're decoding, with all the loop counters replaced with constants and the branches eliminated to directly execute the code they would otherwise jump to.
what stack did you use to build bravos?
Thank you, that was a detailed answer that gave me a lot of new things and I have a new question and some old questions-

You are saying there are 8 notes in an octave, but we only selected 7 notes after selecting 7th semi tone 7 times. I think you said the 8 note is 2x the original. Is that correct understanding?

So I got the point about 2^(1/12), what I didn't get is the staring point for A major and the jump structure. I thought all jumps are selecting 7th semi tone. So what is meant by "jump down one 7-semitone step and up 5"?

You partially answered my second question I think- saying that for chords it's okay to go from n <-> 2n scale to 2n <-> 4n scale. My question is for non chord music is this a common occurrence?

Thank you again!