skysight-inc/HackerNews huggingface dataset:
>I've done a full time start up with a day job, quite literally coding every waking hour of my life(like 2 - 4 hours sleep a day) for years

I am much more productive coding than 99% of the people around me. One of my secrets is I sleep well. Probably your definition of coding is different from mine because of your working area. People make stupid mistakes when they are sleepy, including me, and it is way more expensive to fix(finding bugs in a big codebase) than not making then in the first place.

I have met lots of Chinese people working and had the opposite experience. China is so big that outliers that represent one in a thousand are more common but most people are that, average at most, way worse than European trained workers.

The fact that they sleep on their shops and workshops does not make them super human. Quite the opposite, they are human and working more hours make them work less intense.

I don't believe the Story that Chinese can run at Marathon pace all day, because they are similar mental limits for humans as they are physical ones. And Chinese people get burnout like everybody else or worse. Apathy on workers is the normal state.
I learned to program before Google and Stack Overflow, but we had no idea those were gonna be created. It's way easier to learn how to program these days and the field is better for it. Fewer fiefdoms run by toxic little people, and more actual engineering of a quality product, consisting of code reviews. That doesn't mean things are perfect today, far from it, but there's far less YOLO.
I think NNs are going to be a challenge as complexity grows.

I'm trying to make mobs behave autonomously in my 3D action MMO.

The memory (depth) I would need for that to succeed and the processing power to do it in real-time is making my head spin.

Let's hope Raspberry 5 has some hardware to help with this.

At this point I'm probably going to have some state machine AI (think mobs in Minecraft; basically check range / view then target and loop) but instead of deterministic or purely random I'm going to add some NN randomness to the behaviour so that it can be interesting without just adding quantity (more mobs).

So the inputs would be the map topography and entities (mobs and players) and the output whether to engage or not, the backpropagation would be success rate I guess? Or am I thinking about this the wrong way?

I wonder what adding a _how_ to the same network after the _what_ would look like, probably a direction as output instead of just an entity id?
> Indoor masking is here to stay wherever there are humans.

Huh? Indoor mask usage is low to zero in many parts of the US (and I assume the rest of the world too).
Framework is remarkable. Intel MacBook Pro power in MacBook Air footprint.

The build quality is far better than first gen devices, if not second.

Given enough time, it might be able to get many people off macOS.

The screen is amazingly crisp if you can overlook the fun resolution. Hard to look past 3x2.

Why did I return it?

I realized I needed to begin with a retail and turnkey Ubuntu experience where everything just worked and the things that mattered to me worked out of the box.

Framework is not quite an optimized retail Ubuntu experience yet like a Dell XPS with mature drivers largely ready to go.

- Battery life isn’t optimized and maximized out of the box, you will have to tpm. I have limited time for this at present. I’m sure there’s lots of interpretations that is not a a big deal. I’d rather be solving problems with the laptop than be solving problems in the laptop. I want max battery life without investing hours up front.

- Fingerprint reader required manual setup

- Wifi can have hiccups on the latest Ubuntu, and without trying into optimizing battery and kernels upset instead of getting things done.

- Touchpad is so so. Good hardware, maybe more tweaking in Linux needed. Very used to macOS too.

- HDMI port draws extra battery life when not in use so you have to to keep it removed.

The components otherwise seem high quality and well put together.

Again it’s not that these issues can’t be overcome, or that they won’t be out of the box in the future, I simply don’t have the time for either at present.

It was a joy to use for browsing in Ubuntu 21.04 as stuff is broken in 21.10.
But most of these are meaningless if you don't work full days on the run. Most of us sits in an office with a big monitor and a mouse and keyboard most of the time.

And I don't get the "better productivity" talk either. During the most productive period of my life (by a huge margin, now I understand) I only had a $200 laptop. It was literally sold as "the cheapest laptop you will ever find".

(I give you the noise though, I hate fan noise)

Edit: do hinges ever break? Unless you sit on it, I have never seen this happen even with the cheapest laptops.
With tech Taiwan, Japan, South Korea, China
https://www.youtube.com/watch?v=xb5zYKYF3Xo
Sony explores launch of electric vehicles
The Russian Hackers Wanted by the West Channel
Any good terminal emulator offers a way to Ctrl+v, e.g. in Konsole I paste by Ctrl+Shift+v. You could remap it to Ctrl+v if you so prefer.
Like a dream laptop, the only things I could wish for is an AMD option, Dvorak keyboard option and a matte screen option.
ok the discussion is about if Apple is a monopoly by the legal definition, if we followed your prescription it would mean we would be unable to have this discussion.

One of the most important discussions in tech has to do with what companies are monopolies, in essence you are saying Hacker News cannot have this important discussion!

I can't really comment more on this idea as I feel I would be compelled to violate HN guidelines.
Why is the plaintiff, California Crane School, suing Apple and Google?

As far as I see, the plaintiff is not in the tech business, as they're a school that teaches how to operate cranes[1]

[1] https://www.californiacraneschool.com/
It works with ECC RAM.
> Some days you are on fire solving issues with the tools and some days there is almost nothing to do

Being programmer/sysadmin, I've never ever encountered such a day. A day with very low productivity? Yes. But not that the task list is short. Are there really days when you have nothing to do within any engineering job? Ofcourse, different jobs etc, but I suspect when everything is working, you still have to do maintenance. If not, you may fill your time by learning new/effective ways of doing your work, etc.

> Better to hire one PhD... rather than 2-4 bachelors...

Speculation? Having PhD in title really makes you more effective? For sure, it's a proof you had research in some niche topic. Good if they can utilize that at work and be more effective. Non-PhDs can also do research that brings fruits to your labor.
I don't see this mentioned by other commenters so let me provide another perspective. Namely, I think OP is doing it wrong.

OP claims to have done 400+ LC problems over a couple of months. Let me say it out loud here: this is simply crazy. It strikes me as an attempt to not learn how to tackle these challenges, but to actually brute-force through them. To anyone preparing for an interview: don't do this! Grab a book like Elements of Programming Interviews (EPI), maybe follow some online courses on programming puzzle patterns, and then start grinding LC. Maybe interleave grinding with learning? Your end goal should be to develop deep understanding of what you are doing, not memorise the solutions.

Also, while going through LeetCode, it is very important to realise that the problem classification there is a bit wild at times. Don't stress that you cannot solve a medium sometimes as they are mislabeled. I did mediums that could be hards, hards that could be mediums, and hards that were just impossibly hard. Typically a very hard problem is not something you should expect in an interview setting as most interviers* don't expect you to implement KMP on the spot. Doesn't hurt to know it and impress the interviewer with knowledge, but if you think memorising KMP is the way, you're mistaken.

* - there is still luck involved and you can have a crazy interviewer. It can happen, so just accept it and move on. Don't treat it as a personal defeat.

Source: I grinded and I had offers from most of FAANG letters.
Is this really common? I mean using a laptop for such compute intensive tasks? I mostly use my macbook air m1 as a client to more powerful machines. I always have a few ssh sessions opened, a few tramp emacs buffers, some browser tab to jupyter notebooks running elsewhere...
Top Countries By GDP (1600-2019) [video]
The fact is, that the vast majority of people who refuse to get the vaccine, are also the same people not taking enough precautions to avoid contracting COVID.

If you want the absolute safest option, then don't get the vaccine and take extreme precautions to avoid catching COVID. But that is unrealistic for the vast majority.
'Brains are designed to work in a narrow corridor of environmental states and any shift away from it is likely causing a malfunction.'

This runs completely contrary to everything we know about the structure and function of the brain. The brain's function is in no way similar to that of a motor engine.
> Why? And “strategic”? I thought this book was about being pragmatic (foot on the ground, present) not “strategic” (heads in the cloud, future)

It's a good summary of the article. All of the time is spent trying to frame the book in a way (non pragmatic) and the author of the article in another (pragmatic). Articles like that usually have little to no value. At most, 5% of the book has been covered in the article, and that seems to be enough to reject everything.
I paid $500 for each laptop my kids needed at beginning of pandemic in March 2020 (so $1000 in total). Each is a Ryzen 7, 16 GB RAM and 1 TB SSD (one of them is actually NVMe). Both laptops are still performing greatly without hiccups and they saw 2 vacations on the other side of the country during the 2 summers. And one of them (the NVMe one) I used it to do my work during the 2 weeks vacation last summer (virtualization and virtual machines for all my projects, though I had to get an external USB SSD for the virtual machines to fit with me).

All in all if you take care of them it can be used as work horse during vacations. Only thing I can't do on them is last generation gaming, for that I need my usual work horse which is a $2500 desktop gaming rig.
And Perl's first release was in... 1987.
Fair point, those things are expensive when new.

But then again, I would never buy those when just released.
> Downtime in one of these EUV fabs is going to cost in excess of ~$1m worth of product per hour.

Looks like there is a lot of budget flexibility to properly pay their staff then.
It's come up more than a few times on the svelte discord - you should join and check out the projects that've been posted in the past. I don't think anybody ran into any major issues with Tauri + Svelte yet.
The pandemic is also affecting kids from poorest backgrounds. They are the most likely to loose caregiver due to it. They are more likely to be cared for by grandparents too. 1 in 500 kids lost caregiver overall. That affects them too.
This is one of those things where Linux is a decade behind everything else because nobody has bothered to solve this problem yet. Yes, most laptops require DSP for the speakers to sound the way they're supposed to, and Linux has no way of handling this. The Windows driver provided by the OEM would normally do this, AIUI.

While you can certainly manually add DSP to your system (PulseEffects, some random JACK or PipeWire flow, etc. - I do exactly this for headphone calibration on my desktop), what we need is a standardized mechanism for storing speaker profiles and having the audio subsystem seamlessly and transparently apply the right EQ and crossover profile for your device (there are usually more than 2 speakers). This is already a thing on e.g. Android, but not desktop Linux.

This is required for MacBooks too. For Asahi Linux, once the underlying sound hardware works, we'll be spending some time working out a sane way to do this; I consider it a mandatory feature in this day and age. And once that's all done, everyone will be able to use it to get proper sound on any laptop as long as they can obtain or make an EQ profile.

For the Macs, our plan is to measure impulse responses of what macOS does (we have the ability to snoop on its hardware accesses, so we can just play a test sound and capture the raw samples going to the speakers) and use them on Linux. This should give identical audio at moderate volumes. I'll have to check whether it also does some kind of compression or volume-dependent EQ worth replicating or emulating too, at higher volumes.
Being overly aggressive as a form of humor doesn't translate well to text.
I live in a country where the average salary is $20k and the M1 MacBook Air STARTS at $1330. Devs here still often use MacBooks or similarly priced higher-end machines. So yeah, good laptops are worth it even in much poorer countries.
How the New Brianlovin.com Works
Also, as characterisations of 'strategic' go, that's... not one.
This better be compatible with PCs and the existing PC VR games.
For legal process we need to have Apple, Google and others provide us with their documents and arguments - which is not happening. We can't even have well educated guess as these things need cooperating parties or enforcement power to obtain.

On the other hand, when discussing vaccines and viruses there are numerous research in the open that we can use to build on. Any use of correct medical jargon or methods is fine as it is not a protected information. Of course you can misunderstand it but you can also understand it properly since the research and data is in the open.

Discussing what's just based on information and observations we have is like discussing vaccines and viruses based on the research and observations we have access to.

Discussing the legal process is like discussing the FDA application of a drug. It can happen only if you are part of the process or after it comes to a conclusion and information used in the ruling is made public.
1) There are 64Gb M1 MacBooks.

2) If you need 64Gb just sometimes, swapping on M1 MBP is insanely fast.
There's actual research in this space, and it found that for every 10% increase in minimum wage, some restaurant prices rose by 0.36% and others decreased[1]. Price increases are negligible at best.

[1] https://www.upjohn.org/research-highlights/does-increasing-m...
Very interesting presentation. Horde is a wonderful tool.
In the late 70s the Apple ][ came with a manual with a terse but just good enough description of the 6502 and its opcodes, especially when combined with the source code for the machine's ROM. At least it was good enough for 17 year old me, who had never seen a computer before, to write some useful programs in 6502 machine code. One of the first was something that replaced ("shimmed") the standard keyboard input function with code that fed text to the printer from a file on floppy disk whenever the computer was waiting for user input. Given the usual small buffer in the printer that meant the printer hardly ever stopped.
Just to think that people who do good in leetcode alike tasks will not get things wrong is funny to say the least.

When I was young I also was pretty good at these interviews and loved doing coding contests and such for fun. However when I joined a big company I learned what really is hard about software "engineering".

It's dealing with legacy code, finding and fixing bugs in highly distributed systems, understanding tickets from customers, managing integration of different components, balancing tests to be enough but not to be too much.

In general the hard tasks are very rarely one specific well determined problem such as finding a node in a tree in the most performant way.
Had the similar experience, and as it happens, I was also looking to build something with Elixir/Phoenix backend..

Its nice that it comes with a proxy `fetch` implementation that you can use to make requests to your API backend from the svelekit "backend", but there are many leaky API surfaces around it, esp when dealing with cookies.

The docs is also rather lacking regarding the many callbacks that can run on both server/client, though it is somewhat understandable given everything is still very much in flux...
Despite many obvious flaws, maintenance issues and production defects, I have found a Small Child to be an absolute joy to use.
Your profile page is nice and notiony. I'm kinda new to Notion and curious if that custom desing / layout is defined within notion?
I learned to code in the early 90's.

On the one hand it was more difficult because of the lack of sources.

On the other hand you had one or two sources and you had to spend a great deal of your time to actually understand things and not copy paste with fingers crossed.

The frameworks were easier (there were none :)) and everyone was using the same thing.

The community you find on SO today is sometimes vastly more toxic that back then (especially in Go). I felt the toxicity only maybe 8 years ago, before that the interactions were normal.

So it probably depends on your language, need for speedy learning, etc.

I am an amateur so I love the fact that there are opiniated frameworks, IoTs you just use without the need to build them first, etc. It is just that the amount of information and possibilities can be overwhelming
Let's ban CSS?
TIS-1000 is brilliant, but it comes very, very close to actual work!
Orca Scan | Multiple Roles | Full-time | REMOTE | https://orcascan.com/

Orca Scan lets companies build a barcode system without code. You can read a bit about our journey at https://orcascan.com/about-us

We have two roles: Customer Success Manager (ideally US timezones) and Junior Web Developer.

For more info and to apply, please visit https://orcascan.com/jobs
Haha sure! What I implied is: There are many things we need to learn about life in public spaces, including trivial things such as: What is a stall, where is the toilet paper, how do other people behave, what's the etiquette etc etc.

Much of this is completely non-evident to small kids, because behavior at home is (naturally) so different.
Congratulations Trung, awesome progress!
If the author is here, please add to your review: trackpad; fans noise; heating; Bluetooth stability.
> It sounds like your company has a shitty culture.

People say this a lot then I look at their code reviews and their code reviews are basically the same. As I said in another comment the root cause of this crappyness is the fact that the majority of people can't code review for crap and they're rushing it.

> Any issues of style should be in the style guide. Anything not in the style guide can be ignored. Or the style guide should be updated.

This doesn't stop people asking. I have a default comment "This is a code style change and as a rule I don't do code style changes unless it's required by the code style guidelines because everyone has their own preferences for code style. If I was to do this change then I would have to do other change and that would result in lots of pull requests being updated just because the specific reviewer wanted it one way and then another reviewer on another pull request wanted it another way." Sometimes then go and have the code style changed stating "Iain won't do code style changes unless they're in the guidelines" which I personally feel is a bitchy comment about the fact they just bikeshedded on my pull request and I wouldn't the change.

> If the person doesn't want to make the change for the technical problem, then that's a culture problem in the team or company.

Here comes the crux, what if the other person just disagress with your assessment and decides the technical problem doesn't exist or business value of changing it makes it a bad idea to change? For example, in code review I create a table and someone comes a long and says that tables with a large number of columns is a performance issue. I disagree and point out that splitting it out and having multiple tables with joins is a performance issue. Now we have a whole confrontation. Someone points out a valid issue that would affect 1 out of 1 million users and would take 3 days to fix. Again confrontation. Sure you can say with the right culture these issues are easy to work around but the fact is office politics is such a big thing we have a phrase for it which everyone understands. So many people are trying to advance their careers that they all want to be seen as really good. And for most people the way they look good is by making someone else not look good.
This is being pitched like it's a DC issue, but any one who lives in the area can tell you that the stretch of road they're talking about - Fredericksburg to Aquia, from what I can tell - is god awful, has been god awful, and from what I can see will continue to be God awful for the foreseeable future.

As for the plowing and salting - in general it's pretty bad, and this year has been no exception. Fairfax County was, as of the day before this storm, putting up flyers in 24 hour laundromats and outside of grocery stores looking for anyone who had a license to drive a plow truck. The problem is that, while we get hit with bad snow once every 2-3 years, that's not often enough for the local governments to need to do something about it. They don't want to spend the money, only to not need it until the next big storm, which might not come until someone else is in office.
Maybe the problem is there are too many restaurants and too many people who think they want/need to eat at a restaurant. In Switzerland, restaurants pay a living wage, and sandwiches cost $15. If you can't afford to eat out, you don't. There are plenty of low cost grocery stores like Aldi and Lidl. One even has an advertisement showing how a grandma can serve 5 grandkids a homemade spaghetti lunch for.... wait for it... $15.
Suicides went down during Covid.
You can use iCloud to sync everything - your actual notes and the workspace files. Easy, free, works great.
This is my motive behind grinding LC to get into a FAANG as well: inflation is out of control, housing in my locale has tripled in price in the past decade, uncertainty regarding climate change and the energy crisis, my lack of faith in social retirement programs.

Many people would kill to have the opportunity to study for 100 hours in order to secure a 2-3x increase in pay. That is only 2 hours a week for a year. If a SWE is making $150k and they can spend 100 hours grinding LC to get a job which pays $400k they are going to make $250k extra in their first year of the new job or $2500/hour spent grinding LC. The present value of an extra $250k/year for the next 20 years of your career at 3% interest is roughly 3.7 million dollars. So over the period of a 20 year career you will net $37k/hour spent grinding LC.

The fact is that so many SWEs — as seen in this thread — outright refuse to grind LC to get into a FAANG which is why not everyone is making boat loads of money at a FAANG. The process to get there is well known but many are not willing to put in the work to get through the process.

I do believe that LC filters don’t reflect a SWEs ability to develop software, but it is a reflection of their commitment to do what it takes over long periods of time to complete an objective, regardless of whether or not that objective has merit.
IoT, of course there's a lot of indoor development, but for example most LoRa/LoRaWAN use cases would require field tests.
I definitely don't know for sure. But one thing I do know for sure, is that a lot of official building code is not necessarily based on careful scientific study but rather on "that's the way we've always done it".
I think there would be some swe that would occasionally need to go to timber mills, mines, sea ports, air ports, oil rigs , farms etc… prob to install or troubleshoot critical systems. I doubt it would be often though.
I did a search for it, and apparently the only way to add other search engines are through extensions. I haven't tested it though.