skysight-inc/HackerNews huggingface dataset:
> Setters and getters are only popular in Java EE/Spring based environments (and it can be easily useful).

I'd love to see stats on how common this stuff is amongst java programmers. I think its more popular than you think.

I agree that modern java has lots of modern tools to write reasonable code - like closures and functional primitives. But its very normal amongst java programmers to never use that stuff.

I worked as a professional interviewer for a year or so recently and interviewed 400+ programming candidates. One of the tasks was a 30 minute coding challenge - using the candidate's own computer and preferred language. A huge percentage of the java programmers, even under explicit time pressure, wasted time adding needless junk (like getters and setters or extraneous, pointless classes) to their code. Out of maybe 50 java programmers I think I only saw 1 or 2 java candidates use any of java's functional programming primitives (like map) to keep their code terse and clean. Most typed everything manually, and didn't know or didn't use their IDE's codegen features.

Is that the fault of java, the language? I don't know. As I said in another comment I think the problem is cultural. I don't really have a problem with java-the-language. But a large part of java-the-community seems blissfully content with mediocrity. I took java off my resume years ago because I don't want that kind of coworker.

> How do you write code, are you copying something by typing?

In the languages I use, copy+paste is never needed. Thats what the compiler is for, and things like rust's derive(Eq) macros.

> I’m sorry to assume it, but I think you only know about java development from third-hand infos and it has nothing to do with reality.

Nope. Eg:

https://github.com/apache/incubator-retired-wave/search?q=ge...
> Question is, is it necessary for programming?

Why, yes?

> Not useful, but necessary for a beginner to touch the command line?

Do you understand that you're asking if a beginner needs to run or pass a setting or even automate any operation that's relevant to programming?

I repeat, a CLI is an interface. It's an interface to perform an action and/or pass a setting. That's it. What warrants this irrational opposition to an interface?
Thank you for elaborating! I remember I was really curious when they introduced them, since there had been a lot of focus in the community on stateless functional components before, and the benefits of their purity. Now suddenly they were renamed to function components instead, and as you say, are no longer guaranteed to simply be a function of their props.

I guess what we disagree on is whether that is an issue or not. What problems do you feel the current hooks API is causing, that could be solved with a different API?
> They're running on AWS

The client entry point (api.directory.signal.org) seems to be pointing exclusively to Azure and IBM Cloud depending on geography. It looks like just DNS, the website, and maybe some backend stuff are on AWS.

> should be able to throw more hardware at it in a matter of minutes, hours tops

Who exactly is going to pay for the hundreds of thousands of dollars in cloud spend you propose they turn up?
Not to invalidate anything you said, but I think Rust is still too immature yet for a full evaluation.

It needs another lifecycle of the language ("Rust 2") and the same for the wide used libraries before it can be compared to languages like C++, Java in a more meaningful way.
> Languages themselves don't need to be completely reinvented like things in the real world

Why not? And why things do "in the real world"?

The fact that languages should evolve (and that they do) is not in opposition to a need or desire for new languages.
Rust is a good language for low level systems programming, like C++ is being used in mobile OSes.

For anything else, just use a language with automatic memory management and tooling capable of doing AOT/JIT compilation.

Doing it in Rust while doable, feels more like trying to prove a point than doing any kind of usable work at scale.
On the website I see there are ways to lose points for bad behavior “Broken build on master
-200pts”, etc. It seems like a social score to me. Perhaps you can just reward good behavior?

So based on what you said, why would I just not message a coworker?: “Hey Dan thanks for pushing that bug fix so fast!” Personal acknowledgment and appreciation goes a long way. I’m not sure this score board really adds much more to that dynamic.

Another thing I’m thinking is...this is a “vitamin” idea, not a “pain killer” idea. Meaning it’s not solving a pain point so you have an uphill battle to convince folks to even spend billable engineering hours to try it out.

Sales advice: Seek to understand, respond less. Try to ask calibrated questions to learn why someone came to their conclusion/objection, over responding directly to it. This is where you learn the stuff that helps you iterate. I know it’s hard, it probably feels like you have to “defend” because it’s an “attack on you”— but it’s not.

Actually.. this same advice applies to people leadership too.

Also...it helps to thank people for their feedback. They took time out of their lives to help. :-)
Ask HN: How much does it cost to make a job analysis and who makes those?
Not only Go, any language with automatic memory management and AOT/JIT capable toolchain.
A inventory app with additional fields for manuals/pics. I have many small electronic parts from China that I need to keep track of the documentation and the stock. The documentation is particular hard to find online if you don't download it when buying.

The app is designed as a PWA and runs completely offline. Everything is stored in cache. You can connect a ChouchDB to sync across devices and have a backup.

Nothing to demo yet but I plan to host the app for free and take some small amount for the database connection if the user does not want to host/connect to their own.
"Popular apps like Netflix, Hulu, Instagram, and others have opted not to make their iOS apps available on M1 Macs".

What are the reasons that app developers would choose to not allow this? It seems like a really good feature, some apps seem to work better than their website counterparts.
Svelte is pretty cool. I‘ve only used it for a small app so far but it was very easy and quick to work with. I don‘t know how well it will scale for larger and more complex apps though.
Some courses can be of amazing quality, like 6.824
I think that a more correct title would be the chapter title "There ain't no such Thing as the fastest code (1997)", or "Optimizing word counting" or such, as it's a chapter rather than being about the whole book.
The students by going into debt?
If this is a language for people that didn’t managed to learn C++, D or Rust... lots of questions quite unfavorable for Zig pop up. I’d just remove that sentence.

even if the language is great, if all the ecosystem is written by people that didn’t manage to learn C++ in 25 years, I can’t really trust any library there
Awesome to see you answering here! It's obvious that your little experiment has had the honour to be hammered many times by thousands of people, so I'm curious to hear your experience.

Has it been running on a single node all these times? What are the hardware specs? How many requests per second did it handle? Has it gone down because of the load? What was the bottleneck (network, cpu io)? How did it fail (crash, slowness, fire ;-)? Do you have monitoring data to show? How many twitter-like active users would it be able to serve from that single node?

Thanks, and Blërg! :-)
Playing an RPG for the First Time
WontFix: Chromium forcing its own title bar and borders on Linux
Envelope Filter VST Plugins Explained in Three Minutes with Audio Examples
Agreed. In my comment, I mentioned this was similar to a social score like China.
Laboratory Escapes and “Self-fulfilling prophecy” Epidemics (2014) [pdf]
Besides using your own break time to go, they are absolutely metered for many direct roles in the exact sense that using the restroom can decrease your speed performance metrics which can lead to progressive coaching or other negative consequences.

It literally is considered time off task (TOT) when you stop for a restroom break outside of your scheduled break times.

There is always the option for people with increased medical restroom needs to seek specific accommodations to essentially excuse the TOT for their needs.
This entire thread seems a bit silly.

1) Average comp for a senior (not principal) engineer at FAANG is 350-400k, not 200k.

2) It's much easier to get a job at FAANG and get promoted to senior (or get a job elsewhere and hop to FAANG later) than it is to start a comparably successful startup. Google alone employs 30k+ engineers, most of them in the US, which means they employee ~1% of the software engineers in the country. It wouldn't be unreasonable to say that 8-10% of all SWEs in the US work for a company where standard career progression will get them to that level of comp in 10 years or less.

3) Starting and growing a startup to the point where it can provide an exit event that translates to financial independence (in a comparable time frame) is much harder than getting a job at one of those tech companies, and much less likely to succeed.

4) You don't need to earn 350k/yr to become financially independent much earlier than the typical retirement age, even if you live in the Bay and suffer with the rent. You need to save 25x your future annual outlay. This is trivially achievable by age 50 with most work/life/family configurations that include at least one software engineer (single earners, 2-income couples, 1-income couples w/1-stay-at-home, etc) earning half that (i.e. your 180k), if you don't insist on retiring as a property owner in the single most expensive city in the US. If you are in FAANG/comparable, getting there by 40 is a no-brainer if you aren't really awful at managing your money. A couple working at FAANG can easily manage by 35. This isn't "eat rice and beans, then retire in a tiny shack in the middle of nowhere" independence, either, this is "hit 5m+ net worth". 5m is "fuck you" money by any reasonable metric.
The same is true for C++, Rust, etc.

Obviously, you can’t expect people that didn’t managed to learn these languages to know that.

But if that’s your killer Zig feature, lots of languages have it.
OMSCS has a similar course, https://omscs.gatech.edu/cs-6457-video-game-design. It's a semester long project based class where you build a game in Unreal Engine with a small team. It's a pretty awesome class.
Facial Recognition becoming more prevalent
Last time I flew I put a surgical mask over my valved N95 that I had sealed with tape - no one asked any questions or asked me to wear anything different.
> but massive vdoms (many tens of thousands of vnodes) are slow to even rebuild and compare

Sounds like a terrible user experiance? Would you mind educating me on an appropriate scenario where you may need tens of thousands of vnodes?

Maybe large unpaginated tables? A chat panel where you have scrolled through a large history?

Even if a framework like React can handle that many nodes, surely there must be better ways of handling the requirement. I'm not sure a user can actually consume tens of thousands of dom nodes.
Are all people's desks conveniently placed for cable management?
Very nice. I found some excitement in the topic of game programming patterns after learning about Entity Component Systems. For me it was a huge, well, game changer. I tried for years to build games but always gut stuck and/or lost interest. ECS allowed me to do finally get somewhere. I'm working on a small 2d action rpg [1] and a lot of the requirements can neatly be expressed as entities and components. Even something like a save/load system should fit into this by serializing all entities at once.

[1] https://github.com/pb82/zwei
I saw this project a few months ago and I'm really surprised how fast they've been adding new connectors [1]. I was initially a little doubtful about them implementing their own protocol [2] instead of using Singer [3], already OOS, but it looks like it panned out for them. In fact I've been using Stitch Data for a couple of years and I've find myself "fighting" with their support team about bugs I think we're Singer related, mainly with DDL commands.

[1] https://docs.airbyte.io/changelog/connectors
[2] https://airbyte.io/articles/data-engineering-thoughts/why-yo...
[3] https://www.singer.io/
Hate to break it to you but... $40k a year in extra income is a lot of money. Taking your numbers, 147k is 37% higher than 107k. That money has higher order effects more than just the 40k the employee gets, since all else equal higher salaries attract better talent and winner take all market dynamics mean only the best companies make a lot of money. You might note that Silicon Valley salaries are much higher now than in the 1990s and early 2000s, and this kind of snowball effect is a partial contributor to that. Also, 37% is a LOT and even if you add healthcare and miscellaneous costs that gap is still massive. I would consider anything more than 10% a big difference.

Your own numbers show taxes are absolutely one cause of lower salaries in the U.K., although certainly I don’t claim they’re the only cause.
Did anyone else notice that there is no software engineering management involved in the "ideal" picture? In this ideology, every developer acts autonomously, even by deploying to production. This removed all technical responsibilities from the well-payed management people. Conflicts? Resource management? Scheduling? Happens to other people. At the core of this ideology lies the principle that every software is just a bag of fully orthogonal features that can be implemented completely independent of each other and will play nicely together. If this assumption does not hold, it's the developer's fault (aka "ownership").

Dear developer colleagues, do not fall for this trap. Hold your managers responsible. Let them make the difficult decisions. Real leadership should lift some burden from the people being lead.
Editions only support syntactic changes, so what you are afraid of cannot happen.

We mix editions in >1000 crate projects every day just fine, and we are sure it will work with all future editions.
List of escapes:

#1: British smallpox escapes, 1966, 1972, 1978

#2: The “re-emergence” of H1N1 human influenza in 1977

#3: Venezuelan Equine Encephalitis in 1995

#4: Six SARS laboratory escapes outbreaks after the SARS epidemic

#5: Foot and Mouth Disease (FMD) from Pirbright 2007
My parents didn't want to make the jump to ubuntu, even though I would have supported them all the way, remotely even. I don't use win10 myself, and I'm not supporting it for their sake either. So I left them on win7 and cut the support myself. They are on their own.
Here you go -

lenovo ideapad 540 - on sale, in Australia https://www.ozbargain.com.au/node/598337

Matches everything you mentioned, and has some other good points as well

> 4800u (not h, but 4800u is within 10% and this laptop you can put to use 25w power mode closer to 4800h)

> 2560x1600 - so good res, and also tall aspect ratio (16:10 not 3:2 but still tall), also checkout reviews, this is a very good quality screen, beautiful vivid and crisp

> no nvidia gpu - 4800u has 8 graphics cores of amd navi internal graphics, perfectly powerful for general use

It's a good laptop with good build quality (aluminium body, great screen) and I'm debating whether to buy one, but I'm actually waiting as I don't need a laptop now.

There's a few shortcomings from my ideal, which is only 13.3", and the usb-c is only ver 1 5Gbs, also I heard the keyboard is average where I like an exceptional keyboard. But basically this is an awesome little workstation. And if you can get that sale price I posted, it's exceptional value.

You're welcome!
I guess paying for Go development resources is cheaper than having bought Sun when given the opportunity.

However, Koltin and Android depend heavily on the JVM eco-system, and Google is certainly not going to rewrite everything in Koltin/Native or start using ART outside Android.
> Explicit is better than implicit

Which just demonstrates why slogans are not a good substitute for thought.

They're good for programming a community though.
I would realy love to know what problems you faced?

Maybe they've been fixed, or are there are genuine scalability problems?
And how do you resolve this contradiction? Teach your employees that if you don’t want to be interrupted you better write good documentation. And have one dedicated team member each day responsible for supporting other teams. I think both of those are mentioned in the article, but it was a little a while since I read it.
What warrants this fanatical devotion to command line iterfaces while people have been happily coding without them for decades?
I told you so, 2021 edition
Yeah, I like data integrity and failsafe setups, so your solution feels to me like standing on 3 stacked chairs while fixing something with live wire.
This is just something that I read somewhere so don't take it at face value, maybe someone who knows the issue better can confirm or deny it. But I remember reading that in Asian countries like China and Japan, they tend to base the selection of translators on knowledge of the source language, not the target. That is, they get the translator with the best knowledge of Chinese even if their English is broken.
How to Buy Bitcoin (The CO₂-Friendly Way) – In 1-2-3-4-5 Easy Steps
I tried doing that ten times in a succession and it’s hard. Can someone please explain shortly the essence of this method? Or what’s the joke is, at least.
You need at least one person with at least basic English knowledge to know that the Chinese translation service is bad. (Google is blocked, remember.)
Why do so many languages restrict arrays to 0 or 1 based indexing? I much prefer the way it is done in Basic where you can choose what you like for each array or even better Pascal where you can use any ordinal type (including boolean) as the index and you can define subtypes of the ordinal types to use as index types.
By readable, I think you mean you get to read some whole words thereby get the impression of better readability, but in actuality it doesn't not necessarily aid comprehension if you don't know anything about taylor series, or maths in general.

I'm not saying more descriptive variable names doesn't help, but saying that you are not into mathematics makes your point moot.
we get no respect, I tell ya, no respect
Russia made a TV show set in the 80s in Italy, and it's the best thing ever
> If you chose Rust instead, you're going to have a bad time.

Naw.

/* main.c */
#include <stdio.h>
#include <stdint.h>
uint8_t answer();
int main(int argc, char** argv) {
printf("%d\n", answer());
return 0;
}

// example.rs
#[no_mangle] extern "C" fn answer() -> u8 {
println!("The answer is:");
42
}

# test.sh
rustc --crate-type staticlib -o example.a example.rs
gcc main.c example.a -lpthread -ldl
./a.out

$ ./test.sh
The answer is:
42

Workflows using `cargo` instead of `rustc` are also sane and easy.
There are couple factors:

1. fast hardware, ie. SSD and a lot of RAM allow nowdays to run classic SQL engines without understanding much how to make them perform. All these "millions" or records fit in RAM these days.

2. availability of SQL[-like to various degree] frontends to NoSQL engines.
Oh, strange. I'm also on Firefox (84 on Ubuntu, 85 on Arch and Nix) and works fine here. Hunch says it can have something to do with how I redirect port 80 to the port the application is running, something like "iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3825"
Currently: initialization of multi-dimensional arrays, and partial initialization of arrays, this whole area isn't as convenient as C (yet, I hope).

Also, currently it's possible to return a pointer/slice to a stack-allocated array from a function without a warning or error resulting in a dangling pointer. But this too will hopefully be fixed (because even C compilers warn about this these days).

But I think all those points can be considered bugs / todos.
Acquire a spouse with a stable income.
On the .NET side our JEE mess is called SharePoint and DCOM.

Also regarding XML, Biztalk anyone?
They were selling it in Australia via ebay from the official store, but all stock disappeared shortly before Black Friday. The 4800h was 1750 aud.

I found a video review showing a great screen, and the machine is overall pretty good. One strange shortcoming is the use of 2666 Mhz RAM instead of 3200, and for Ryzen of that generation the RAM speed is important to overall performance, and also the RAM is used for graphics memory for the iGPU. Very strange to use that slow RAM but benchmarks still seemed reasonable.

I looked at the matebook pro in jbhifi with the 3000x2000 screen, best screen of any laptop there. Unfortunately no AMD option for that one.
It was mostly tounge in cheek.

That's a bad comparison. The people storming the capitol didn't have any real reason to. Look at the actions of John Brown during the 1800s for a mostly positive example! The roots of the modern NRA were actually founded by Black Panthers attempting to defend their communities.

If the insurrectionists used a fire extinguisher it probably doesn't matter if they had guns or not, since you can create mayham in other ways esp en masse. Maybe American gun culture isn't to blame for our current crisis, if guns weren't involved? I'd think their mass delusion would be a bigger issue.

> the national security
apparatuss is slowly trying to
figureee out how to do an
inaugurationn without it
becomingg a mass shooting.

You can't legally carry a gun into DC in the first place, I highly doubt even before now that they didn't screen for them at the inauguration.
This is the biggest problem I have with being paid for front end development. In the corporate world the only focus is on the tools and how to write code. Thoughts of product development and product quality are almost exclusively absent.

That is so incredibly frustrating. As a paid professional you would hope your people know how to write code (do their jobs) and churn out original solutions to new problems. Instead it feels like being in a preschool learning to read and being ecstatic that anything gets released.
I found it very difficult to deal with C macros, though. That said, I have no idea how zig deals with that problem either.
Laser Harp Live Performance
> a single line change in the application

That's if you only have one application accessing your data.

Once you get multiple apps adding and retrieving data from the same data store, having the database do some work starts to make more sense.
Twitter’s Decision to Cut Off Trump
Thanks for having posted it!
Although not perfect, assuming all source code is available, clang and visual c++ checkers can do similar checks.

So it is always a matter of equating the value of a full rewrite and how well the checkers are able to provide valuable feedback.

Which I concede Rust will be much better, however then there is the whole loss of ecosystem to also consider.
If swap can reduce the overall amount of disk I/O through more effective use of memory for disk caching, then it might actually increase longevity of SSD drives.
I keep seeing this argument, and we all know it's bs. 20 years ago there were many email providers, people simply picked one, or hired someone to set it up and run it for them.

The same principles should and could apply for decentralized one; pick conversations.im for XMPP, pick matrix.org for Matrix, pick Mastodon.social for fediverse - or something smaller. Or ask someone to do it for you. Or run your own.