skysight-inc/HackerNews huggingface dataset:
I was hired in at a company a couple years ago. My soon-to-be manager asked, "What should I order you for a computer?"

I responded with, "Whatever you guys buy - Dell, Lenovo. A 14" laptop and an external monitor would be fine."

He torted, "I've never seen anyone be productive on a laptop. Nobody here uses laptops. I'll get you a desktop with 2 monitors."

After I started, I notice he did almost all of his work from a conference room, using a Surface Book remoted into a desktop in his office.
This was later but there was an entire server-side JS stack called Helma back in 2008: https://blog.astithas.com/2008/04/javascript-on-server-with-...
"and I'm on the older side (mid forties)"

Thank you very much for listing this. I wonder how life is for older candidates in these jobs.
The Upside of Adversity
Guy Made a Smartwatch from Scratch
They didn’t have to be slow and you can communicate between the two with a parameter in the applet tag “ mayscript” with that methods in the applet could be called from JavaScript. I used that for an invisible applet that would handle communication and drawing HTML to the browser.. kind. Spa like way back in the Wild West days when applets could nearly do anything.
Every regulation like this is a band-aid, and more band-aids will just make the EU even more quintessentially the EU.

If the governance focused on restoring negotiating power to workers, you wouldn't need to write to your MP to go to the toilet.
It's called "Worker's Rights" after all:

https://globalnaps.org/issue/workers-rights/

I'd put that under "Safe and healthy working conditions" and "reasonable limitation of working hours".
Billionaires Build
Can you explain why 888 will be n-times slower? Assuming, with n greater than 1.

I just looked up the Snapdragon performance vs Apple A14, and it is within ~10% [1]. I have also compared it to an intel processor, and it also ahead [2].

From a quick search, it looks like Qualcomm is a competitive contender, if we're going to ARM. If true, that would be a pretty exciting new world of ARM PCs :)

[1] https://nanoreview.net/en/soc-compare/qualcomm-snapdragon-86...

[2] https://gadgetversus.com/processor/qualcomm-sm8250-snapdrago....
I also see the opposite impact both for me and my staff. It's very difficult to say no to the constant demands of children at home and the lack of physical distance makes it hard for me to concentrate on my work during regular work hours.
Paris to ‘get rid of 70k parking spaces’
You're right that "endgame" is different from person to person, and also in the same person's lifetime.

My current company was something I would have considered endgame at the start of my career. Now it's not.

A company I'd consider to be currently endgame (say, FAANG), may not be 10 years later.

For the sake of discussion, as I mentioned in my original comment, I would simply define an endgame company as one where I'd be satisfied staying for a while without further ambition about finding the next great thing. Where I'd be content doing a helluva great job and not even think about leetcode.

My best friend ended up at one of the FAANGs a few years ago and is doing exactly that. Although he is now afraid that his leetcode skills have atrophied and he'd fail interviews horribly if for whatever (involuntary) reason he ends up having to look for another job. But he has no short term intention of leaving and thus hasn't been grinding leetcode for a while.
I've been working from home for 15 years and such articles make me laughing. Media simply try to fill the vacuum they are in and their efforts are simply ridiculous.
TSBS did batch 100 metrics at a time, the max per request that Timestream allows. As we (and others) have suggested, this could easily be one of the reasons it's harder to ingest more quickly without significantly more threads. TimescaleDB (and other TSDB's) allow much higher batching values.
Th right to breathe seems like something worth dying for.
Just chill man. Read whatever the way interests you. You will enjoy the process, or even learn a thing or two as a bonus.
Laptop speakers get a lot of use for most people with remote work. It doesn't make any sense from the manufacturer's perspective to sell a laptop with no speakers—the market for such a thing is small and the extra manufacturing variant would add cost.
Microsoft has an okay Finnish spellchecker. It's really a shame no Finnish university has developed an acceptable open source Finnish spellchecker though AFAIK.

Word-list based checkers actually work for English, which gives an impression that they would work for all types of languages. For agglutinative languages (which I think is about 50% of world languages) not so much, since the list of valid words is basically infinite.

But combined with a high-quality root word list it's possible to write a computer program that returns if a given input word is a valid form of some known root word, i.e. a spellchecker.

In English, you can think the problem same as writing a spellchecker that can tell if an input word is a valid chemical name for a molecule, like 1,3,7-trimethylxanthine (caffeine) or adenosine-5'-triphosphate (ATP). Clearly, we can not write an exhaustive list of valid words here. But it's pretty easy to write a computer program that can tell if the input word at least seems like a valid chemical name devoid of typos.
I am not sure what your concern ab ou it uniqueness is: encrypti on has to be invertible, therefore if each non encrypted integer is unique, it means that each encrypted representation is also unique.

w.r.t encryption cost, I think AES is very cheap on modern hardware compared to the cost of SQL or the overhead of writing your app in an interpreted language.
On the other hand these people can sometimes lead you to some more serious material if they share their sources.
Seems to be the case here with this link in the post : https://maartenvandoorn.nl/reading-guide/ (changed to the direct link to the author site to avoid medium.com)
Yes, some people's work conditions are very bad and something needs to be done about that. That's beside the point.

If you need to ask the government to give you the right to use the bathroom, or to give you the right to not check your email, you've already lost.
Along the same lines on sick days, I think it should be forbidden for employers to merge vacation days and sick days into "PTO". Merging the pools gives an incentive for people to come to work while ill. For example, suppose somebody has 3 PTO days remaining for the year, and they are all earmarked for Christmas vacation with family. If that person catches the flu in early December, their options are (a) cancel Christmas plans with family or (b) go to the office anyways.

The two pools must be kept separate as a public health measure. To do anything else gives a massive incentive to be a vector for illness.
> Microsoft's current strategy on ARM seems pretty unlikely to succeed though

I'm not familiar with Microsoft's current ARM strategy, but they can always pivot of it turns out it's really the future. I must reluctantly admit Microsoft has been capable of some pretty surprising and welcome changes in its history.
Greylock Data Visualization Library
US doctors have a strong political presence through the AMA and maintain a monopoly on nearly every medical procedure, test, and many drugs. It's impossible to get anything without a doctor's prescription and it's usually impossible to get that prescription without a (paid) visit to their office.
Yes, and even on a per-thread basis.
If, for example, I start scraping all the articles on a newspaper’s web site, publish them on a web site, adding my own ads, most people would think that shouldn’t be legal.

Publishing? Ads?
We have travel compensation 0.19eur/km but got a question from HR how many days were we actually at the office this year since march. 0 for me. So there would be a lot of budget for covering heating, electricity and the wear and tear on my PJs and slippers
Rights aren't a thing until done by law.

Otherwise you are at mercy of company policy or whims of your employer.
$100k in debt may be typical for the US. In several countries in the EU, you'd pay much, much less.
> Apparently its Mulan release (which required a premium subscription) didn't do so well, but seems risky for Disney to sit on its hands while WB goes all in.

Part of that might have been that the Mulan movie just wasn't good and didn't look that good even from the jump in the trailers. Word got out pretty fast before the release about it having no songs, no Mushu, etc which was so much of the charm of the original.
Agile/Scrum was the biggest bait-and-switch con out there - developers thinking the methodologies would empower them while in fact being a vector for the worst excesses of micromanagement. I feel less empowered now than I did in my earliest days as a junior dev.
The right to not work all the time is most definitely an innate freedom of utmost importance, sitting directly on a line throughout history in the fight for worker's rights.
Not a book. But if you are .NET / Azure centric I have found the team at MS Paterns and Practices to be very accessible ;)

http://aka.ms/mspnp

Game Programming Patterns is another resource that is quite clear

https://gameprogrammingpatterns.com/
Yearly increase in what? Salaries? This would be something that gets written off from the taxes that your employer pays directly to the state for you.

Plus if my getting money for the amount of kilometers I drive between my home and the workplace is scalable and working fine, why wouldn't this be?
Maybe I just don't know enough about this field, but I didn't actually understand the objections in that post. They were either orthogonal to UUID use (don't store them as string, don't share them publicly) or seemed to not actually come to a conclusion. The "UUIDs are a pain" point makes sense as does the "Primary keys get around" section. But the section "Planning for real scale" seems to stop short of saying anything against UUIDs (it only talks about ints versus bigints?).

The author even concludes (confusingly) with:

> So, in reality, the right solution is probably: use UUIDs for keys, and don’t ever expose them.

Can someone shed light on this?
This sounds like a good idea if you are on top of things. I was going to push back by saying it almost sounds like a chore, but a lot of the reason notes are jotted down is in fact to learn. So this process makes a lot of sense in retrospect.
No.

I had to quit coffee earlier this year because a single cup in the morning was keeping me up at night.

But, let's be honest: One of the questions that I solved was basically "detect if a string is an anagram of another string."

So cat -> act: true, cat -> dog: false.

This was just a matter of treating the string as a series of characters, sorting them, and putting them back into a string. Then, if it's an anagram, the two sorted strings match.

Can you solve that in under an hour? Specifically, can you solve that in under an hour when you can choose from 20 popular programming languages and unit tests are provided?

More specifically, if you've been professionally programming every day for ~20 years, can you solve that in an hour?
That's exactly what youtube originally did - video id is just an encrypted (3DES, iirc) 64-bit sequential primary key straight from mysql database. You can convert it back and forth. Problem: if you know the encryption key (it was sitting right there in the code for all devs to see, easy to steal) you could enumerate all the YT videos, including all unlisted videos. At least until a few years ago - they've since switched to random database keys instead of autoincrement to fix this exact hole.

Source: worked there.
It seems like the biggest arguments against UUIDs in that post don't apply here, and the other arguments are explicitly acknowledged in the "caveats" section of OP.

Also half the things in that post seem like they have nothing to do specifically with UUIDs at all (scaling, foreign keys, exposing primary keys)
> I've seen this exact text in at least five responses to this and similar articles, all without any substantive information. Sad and embarrassing, HN.

She is giving bits and pieces as information. With already available information, she asked Google to reveal the name of internal reviewers. If not she threatened to quit, Google said bye to her.
It means that if your contract is for 37.5 hours per week, you don't need to do email and be available on im outside of your daily 7.5 work hours. Being on call needs to be negotiated separately.
Hmm, those are probably small and not true roundabouts. More like intersections with a corner radius IMO.
> As it is a balance, they will give you this but will take out somewhere else (less yearly increase and so on).

It's taken off your taxes, not payed directly by your employer
To me, Google Fonts means "A repository of free fonts you can download".

To the author, Google Fonts means "A CDN for fonts".

The article obviously talks about his definition, which may be confusing to people who use my definition.
> Silicon Valley's fault

Personally, I'd lay this at the "copy & paste, boot camp-trained" webdevs community's feet, along with their customers.

Js has an unfortunate ecosystem dynamic where its primary customers (I want to X on the web) don't understand it, so its primary developers don't have any standardization pressure (fragmentation / spaghetti at the wall), browsers are forced to enable this behavior via monkey patching standardization in presentation, so its end users (browser users) are oblivious to everything under the hood.

It's like the perfect storm of hidden sausage-making.
> Tolkien-inspired Dungeons & Dragons

Not really. D&D was inspired by Vance and Howard for the most part.
You not agreeing with my statement, is only because you decided for yourself what you see as a minor or a major inconvenience. But you cannot project your belief system onto others. People should always have the choice to decide what works for them or not. Political or social pressure in any way is unhealthy. Period.

At this point saying that there is zero doubt at this is 100% untrue. To put it mildly, the scientific community is divided on this topic.

Till now hacker news has been my safe haven from politics and propaganda. I am sorry to see that going away also.
https://en.wikipedia.org/wiki/Analog_computer

> An analog computer or analogue computer is a type of computer that uses the continuously changeable aspects of physical phenomena such as electrical, mechanical, or hydraulic quantities to model the problem being solved. In contrast, digital computers represent varying quantities symbolically and by discrete values of both time and amplitude.
Submitting for an internal review a day before the deadline is not a common thing in Google Research at all. I worked there and actually was not able to submit a paper to an external conference because the internal deadline was only 3 days away and it was likely we wouldn't be able to get the internal approval ahead of time. The rules were clear and as far as I understood it, people did follow them. If there was any selective enforcement, it would be in her favor if she expected a single day to be enough.
Those fonts are never simply "sold".

The most usual is that you'll have to pay a certain price up-front (or monthly), and some more for each access. The odds are also good that you won't be able to host the font yourself, because well, the foundry has to count those access, doesn't it? And if you want the foundry to respond any quickly, you better pay some extra.
Sure, but that really has nothing to do with the topic at hand.

The point is, just because you are working from home (and have access to 100% of what you 'need' for work since you are always working from home) doesn't mean you should be expected to be on call at any time just because "you can".
You and I could decide right now to switch them around. Or even assign totally different colors. It might have a slight impact though on our ability to be understood by the the rest of the world.

PS. I haven’t verified this but I’ve heard that the current colors were assigned in the year 2000.
No, it's totally feasible. In 2019, businesses had expenses related to keeping offices habitable, that reduced their taxable income. Those offices are now closed, so they will have higher taxable incomes than they otherwise would. This will offset the lowered taxable incomes of from-home workers.
It also poses a major problem for advanced usage (templates, math, citations, etc.)

Markdown is a decent language for basic stuff like Reddit, Stack Overflow, GitHub READMEs, etc. Stuff where the most important feature is making it easy for people to make content.

Places like Wikipedia or blogs are where Markdown doesn’t work so well. Sure, you want it to be relatively easy for people to edit Wikipedia pages, but it’s worth sacrificing ease of editing because you want to improve the reading experience.
But how can that be a surprise to anyone who has been following the development of the iPhone/iPad CPUs? The M1 is exactly what you would expect it to be by extrapolating from the performance of recent iOS chips.
H3Uni
This stackoverflow answer to a related question gives a better suggestion https://stackoverflow.com/a/6955055/3403369:

Create a separate table mapping integers to unique IDs, and join with this. You can generate that in advance, so can avoid gradually building the index.
The magic of M1 is its x86 emulation speed with it's memory flag which I'm guessing is not something that has been on the roadmap for Qualcomm until recently. Even then you need integrate all the hardware/software partners instead of Apple's vertical integration.

Even if they have M1 level performance without the good emulation, what's the point if it's stuck with windows RT?
It's been this way in the UK for a long time, though it's set at £1.20 no-questions-asked via the basic PAYE portal and any amount you want to claim over the £6/week threshold on the self-assessment if you can evidence it (with receipts) and prove it was necessary for the remote work.
> Is the EU also going to come out with the "Right to breathe" and the "Right to go to the bathroom when you need to"?

Yes, when it becomes a practically accepted norm to violate that right. Is your point that government is overstepping the bounds, or that this type of right does not deserve protection? Or is it just about the semantics and definition of the word "right"?

> Rights are no longer something innate to all humans, they are something that the government gives to you when it wants.

I always thought that the humanity creates communities, countries and their governments to protect those rights, among other things.
Link to the second and current edition: https://htdp.org/2018-01-06/Book/
> I think of web scraping as nothing less than automation of human work.

I agree that scraping should be allowed. We wouldn't have Google otherwise.

However, there's something to be said for the fact that some activities are okay at a small scale but become problematic at a large scale—particularly the scale which becomes possible when a task is automated.

For instance, I recently bought an expensive camera and have been having fun walking around the city and taking interesting photos. Many of the photos have people in them. I don't think there's any harm in this.

I store my photos in Aperture, which automatically performs facial recognition on everything in my library. Perhaps some day, if I take enough pictures, Aperture will notice that the same stranger is present in two completely different images. That might be kind of cool—I can see myself fancifully trying to imagine this person's life story. I don't think there would be any harm in that, either.

However, if I aggregated millions of photos from different sources, and used them to track people's movements across the city, that would clearly be a huge problem! Sure, it would be merely automating the work a human could do, but the scale just changes everything!
Note that this legislation has been in preparation before the pandemic. It is not a response to working from home increasing in 2020.
> Imagine a world without Javascript?

That would've been a better world. Imagine the web that isn't an application platform. (it still isn't, but it's being actively shoehorned into becoming one)
Show HN: Odiolab – SaaS for generating audio transcription
Agreed. In Joplin internal linking is a pain and that makes it a bad Zettelkasten. However, Joplin is not meant to be that, Joplin is more of an Evernote alternative, which is made for collecting information rather then connecting it. For that Joplin is awesome.

For my Zettelkasten and writing I use Obsidian. They are fantastic in tandem.
I bought a book, when I was about 12-15 years old, called DHTML (Dynamic HTML). It blew my mind to see things moving across the screen with just code.

Keep in mind that I learned pure html when I was 10, my websites were all very static (apart from a animated GIF here and there). The only way you could do a cool menu, effect or animation, was with Java Applet (which I learned after purchasing a online Java course that was taught over ICQ - it doesn't get more 90's than that).

I have this love relationship with javascript ever since I wrote my first "alert('hello')" and I wish it a happy birthday with many more years to come.
I presume that is the US, in which case the US has a hell of a lot of catching up to do in terms of workers rights, and work ethic in general.

Not to say we are perfect in the EU (and the UK, how I wish I didn't have to specify that separately now :(), but it's leaps and bounds ahead.
What? That makes no sense.

This is the exact reason you even have a government, to protect your rights.
So, your proposal is? Leave everything as is and change nothing?
Are you saying I should have to negotiate the number of toilet breaks I get?
> 4k is 2160 vertical, so that's about the limit of human vision.

This is false. Misalignment of borders can be detected with a precision up to 10 times better than visual acuity [0], therefore your numbers should be multiplied by 10, meaning 40K is the optimal screen resolution, or 80K for people with particularly good vision.

[0] https://en.wikipedia.org/wiki/Hyperacuity_(scientific_term)
What if you don't want to work at Microsoft or Microsoft doesn't want you? Then you've just wasted a lot of time.
Web analytics should at least meet the standards of informed consent
What about the employees who are happy to stay ready 'on-call', in a position where they are payed more then they've ever made?

Could the employee make an agreement with his/her employer, or would such an agreement be deemed 'unlawful' under the new law?
Luxembourg has some laws like this already, or so I've been told.

I worked for a little while on a project with a team based out of the Luxembourg office (Amazon). They mentioned casually that it's illegal for them to be paged from like 10pm to 6am. Not that the company policy forbids it, that the LAW forbids it and the company would be in serious trouble.

If the company needs an overnight on-call operator, they have to hire one (or, in Amazon's case, just have a team in Seattle, 9 hours offset, handle night on-call).
Flash is better than JS to be honest. JS still hasn't caught up with ActionScript. The only bad part about Flash is that it's proprietary.
But that does not hold for everyone. If you have an office room in your house you can keep children at bay. Lots of parents are fine with working from home.
If you don't mind sharing, where do you learn/read-up about the system design questions? I am not a software architect although I designed and built small modules/libraries of my own, but I don't think it's sufficient to learn about system design questions found in interviews (not just FAANG's).
Mannequin.js: An Articulated Mannequin Figure Library