Hacker Newsnew | past | comments | ask | show | jobs | submit | pro14's commentslogin

is the job market for C++ developers still good?


Depends. For certain fields the pay is great and there’s a dearth of candidates.

For other fields there is also a dearth of candidates but the pay falls short and you’ll be leaving tens of thousands of dollars on the table compared to what you could get with other languages.


what is the job market like now for C++ programmers? I'm looking for a job.


> "Defendants’ tools undermine and damage The Times’s relationship with its readers and deprive The Times of subscription, licensing, advertising, and affiliate revenue."

News flash: you can read newspaper articles at the library.


Yes, and libraries pay for that access. They also don't obfuscate the origin or remove the advertising. Don't equate libraries with what OpenAI does.


> News flash: you can read newspaper articles at the library.

Reading an article != selling a product that redistributes the article.


And its no coincidence that the NYTimes isn't suing OpenAI for reading newspaper articles at the library...


> Quick, think of a thing... Now I’ll guess that thing by asking you yes/no questions.”

Every time I play this game, I can only think of one thing: https://t3.ftcdn.net/jpg/02/07/37/42/500_F_207374213_kNgoMel...

So I guess that means I can only think at 1 bit per second.


If there there is only one answer it is zero bits.


I was working on an app using ImGui. Eventually, I noticed that my MacBook battery was draining whenever my app was running. Is this because immediate mode GUI rendering is inefficient?


You probably had your render loop set to poll rather than wait for events. If you don't configure wait events you'd be re-rendering your UI as fast as your monitor refreshes.


When you click the battery icon in the macOS menu bar you can see which apps are using significant energy, and in the 'Activity Monitor' tool you can also sort by energy usage.

I would be surprised if a typical ImGui app shows up there though (unless your renderer isn't vsync-throttled), on my laptop it's usually Chrome which is at the top of the list.

You can also write ImGui applications so that they only 'wake up' on user input.


Immediate mode here is relevant in terms of the api style, not the rendering strategy. From the README:

> A common misunderstanding is to mistake immediate mode GUI for immediate mode rendering, which usually implies hammering your driver/GPU with a bunch of inefficient draw calls and state changes as the GUI functions are called. This is NOT what Dear ImGui does. Dear ImGui outputs vertex buffers and a small list of draw calls batches. It never touches your GPU directly. The draw call batches are decently optimal and you can render them later, in your app or even remotely.


> Is this because immediate mode GUI rendering is inefficient?

No.

https://www.forrestthewoods.com/blog/proving-immediate-mode-...


Section 1. Definitions (a) "Pedestrian" shall mean any natural person afoot or using a means of conveyance propelled by human power other than a bicycle, including but not limited to rollerskates, skateboards, or similar devices, or who is operating a wheelchair or other mobility device. (b) "Roadway" shall mean that portion of any street, highway, or other public thoroughfare improved, designed, or ordinarily used for vehicular travel. (c) "Crosswalk" shall mean: (1) That portion of a roadway distinctly indicated for pedestrian crossing by lines or other markings on the surface; or (2) In the absence of such markings, that portion of a roadway included within the prolongation or connection of the boundary lines of the adjacent sidewalk at intersections. (d) "Jaywalking" shall mean any unauthorized crossing of a roadway by a pedestrian, including but not limited to crossing at a location other than a crosswalk where such a crosswalk is provided, or crossing at a time or in a manner contrary to posted traffic control signals or lawful instructions of a peace officer or traffic control device. Section 2. Prohibition (a) It shall be unlawful for any pedestrian to enter or cross any roadway at any point other than within a marked or unmarked crosswalk at an intersection, except as otherwise expressly authorized by law. (b) Where traffic control signals are in operation, it shall be unlawful for any pedestrian to enter or cross a roadway against such signals or contrary to the instructions of any authorized traffic control device or peace officer. Section 3. Exceptions Notwithstanding Section 2, the prohibitions set forth herein shall not apply to: (a) Any pedestrian acting in compliance with the lawful order, signal, or direction of a peace officer or other authorized official. (b) Any pedestrian who, due to an emergency or hazard, must cross at a point other than a designated crosswalk to avoid imminent harm, provided such crossing is effected with reasonable care and caution. Section 4. Penalties Any person found to be in violation of this ordinance shall be subject to a civil penalty of not more than [Amount] per offense, as determined by a court of competent jurisdiction. Nothing herein shall preclude the imposition of additional sanctions as provided by law or the exercise of discretion by the issuing authority in accordance with applicable statutes and regulations. Section 5. Severability If any provision of this ordinance, or the application thereof to any person or circumstance, shall be deemed invalid by a court of competent jurisdiction, such invalidity shall not affect other provisions or applications of this ordinance, which can be given effect without the invalid provision or application, and to this end the provisions of this ordinance are hereby declared severable. Section 6. Effective Date This ordinance shall take effect on [Effective Date], and all acts or omissions occurring on or after such date shall be subject to its terms.

-----------------------------------------------------------------------------

SECTION 1. DEFINISHUNS ‘N DAT (a) "Pedestrian" be meanin’ any geezer on foot or rollin’ on them mad skates, blades, boards, or in a chair what goes slow, innit. (b) "Roadway" be that big bit o’ street where dem cars be cruisin’, not the sidewalk where you can chill wit’ your crew. (c) "Crosswalk" be them stripey bits what you see painted on da road, so peeps know where to cross like good boys ‘n girls. SECTION 2. NO DODGY CROSSIN’ (a) Hear dis: You is well not allowed to stroll, swagger, or roll across da street anywhere except those official crossin’ zones, ya get me? Don’t be thinkin’ you can just hop in front of them ridez wherever you want, aight? (b) If there’s lights flashin’ “Don’t Walk,” or a copper tellin’ you “Oi, stay put,” you best do what they say, ‘cos you ain’t special. Ignore ‘em, and you is well outta order. SECTION 3. EXCEPTIONS N’ STUFF (a) If a proper rozzer or traffic geezer says “Go,” then you can go, blud. Proper authoritay, innit. (b) If da place is on fire, zombies is about, or summin’ else mad dangerous is goin’ down, you can cross outside da lines if dat’s the only way to save ya pretty face. Use your noggin, yeah? SECTION 4. PUNISHMENT, BLUD If we catch you playin’ chicken with da traffic and doin’ da jaywalk bizness, you gonna get slapped wiv a fine (cash money, innit). How much dough you owe depends on what da big men in robes say, so don’t get cheecky. You pay up, show respeck, and walk off like a proper geezer next time. SECTION 5. SEVERABILITEY (BIG WORD, INNIT) If da judge says some bit of dis law is off its rocker, da rest still stands tall, bruv. No wigglin’ out just ‘cos one bit is messed up. SECTION 6. WHEN IT KICKS IN When we say so, you better watch dem feet. No mo’ crossin’ streets all willy-nilly. Safe? Safe.


*WITCHES’ DECREE AGAINST UNLAWFUL ROADWAY PASSAGE (AS HEREINAFTER SET FORTH)*

First Witch (intoning): Thrice the blind crow caws at night, Thrice the lantern’s waning light, Thrice again, and so we say, A binding writ we cast this day.

Second Witch (proclaiming): By yew and ash, and roadside charm, By wheel of cart and horse’s alarm, No mortal foot shall traverse the thoroughfare Except at Proper Pedestrian Passages, duly designated therein and thereto, Whereat painted lines, or lawful signals, Shall serve as solemn guide and direction.

Third Witch (forewarning): Should any soul, notwithstanding these provisions, Cross the roadway other than as herein provided, Or disregard such authorized signals or official commands, Said soul shall be subject to assessment of a pecuniary forfeiture, Herewith imposed and enforceable by the sovereign’s agents, Until due satisfaction of all fines and penalties be rendered.

All Witches (in chorus, concluding): Double, double, heed and trouble; Behold this decree that none shall rebuttle. In witness whereof, we sisters three, Have set our seal upon this fee: Any who transgress this law be warned, Within these words their fates be formed.

-----------------------------------------------------------------------------

*Avast! The Anti-Jaywalkin’ Articles*

*Article the First (Definitions):* (a) “Pedestrian,” says ye, be any swabbie wanderin’ on foot or rollin’ along in some contraption not be driven by the wind nor the fire in the belly of a mighty engine. (b) “Roadway,” ye scurvy knaves, be that stretch o’ land claimed by wagons, coaches, and other wheeled beasts o’ burden, not meant fer yer careless trot about. (c) “Crosswalk,” be them stripes on the deck of the street, showin’ where honest folk cross without fear o’ keelhaul or lash.

*Article the Second (Prohibitions):* (a) Let it be known to all ye landlubbers: ‘Tis forbidden to cross the roadway at any point save that which be designated by the stripes or markers. Ye do not scurry before the carriages and coaches like a rat on a spar! (b) Should there be signals or lights givin’ order to halt or proceed, ye must heed ‘em like the captain’s command. Defy ‘em, and ye be walkin’ the plank into the arms o’ the law!

*Article the Third (Exceptions and Pardons):* (a) If an officer o’ the King or a lawful master-at-arms waves ye across, then by the beard of Blackbeard, ye may cross forthwith, no penalty clingin’ to yer breeches. (b) If a dire emergency forces yer hand—fire upon the docks, or beasts run amok—ye may cross where ye must, provided ye don’t toss caution to the wind, lest ye be crushed under wheel or hoof.

*Article the Fourth (Penalties and Booty):* Any scallywag who dares cross outside them stripes or disobeys them signals shall face a fine, a forfeit o’ coin, set by the courts of the Crown. Pay ye must, or swing in the rigging of the king’s justice! Yarr!

*Article the Fifth (Severability):* If some learned barrister finds a hitch in one line o’ this here law, fear not. The rest of the Articles stand as tall as a mainsail in a gale, remainin’ firm and unbroken.

*Article the Sixth (When the Edict Takes Hold):* From the day the Crown’s seal is fixed, this law be in full force. So mind yer step, ye scurvy dogs, and cross at the proper marks lest ye taste the lash of justice!


> The collaborative energy of hundreds of tightly-packed people trying to focus in different things together is amazing.

Imagine this. You are trying to write a Python script to produce another report for your manager. You can sit anywhere in the amazing open office. You accidentally sit next to the Anti-Money Laundering team, and have to listen to that.

The next day you choose a different floor. Your manager shows up wearing a mask and says she has a flu. The rest of the day, you listen to small talk, while trying to focus on implementing the report.

Whenever you walk to the coffee machine, people stare at you and wonder who you're sleeping with.

Finally, you revolt and refuse to come in to the office. Then you don't have a job.


But how is your manager going to get the immense health benefits he gets from constantly making your life hell?

Be considerate of his feelings, you selfish child.


The rest of the day, you listen to small talk

The office where I work we have a whole section of one floor that is strictly no talking and phones must be on mute. If you want silence you can sit there. I cannot imagine that we are the only company that has come up with this idea.

That being said, I still work from home when I feel like it.


But what's the point of being at the office? I can get the same at home


I can get the same at home

Personally I find home more distracting than the office. The office is a clean work space with a desk with only my work computer and work stuff and everybody around me is also working.

Home has chores and errands and 'fun' and all kinds of other Not Work stuff to tempt me away from working. Plus once my kids come home from school, quiet concentration time is effectively over.

But as I said, I'm not advocating for mandatory return to office, and I do work at home 1-2 days a week.


> Home has chores and errands and 'fun' and all kinds of other Not Work stuff to tempt me away from working. Plus once my kids come home from school, quiet concentration time is effectively over.

It's funny how serving one's employer has become the highest duty.

Work not done? After-hours issue? Then work overtime. Kids are home? Go to the office to avoid being distracted from work.


Or, I go to the office, focus for 6 hours uninterrupted, get done what needs to be done, and then go home and not think about work at all for the rest of the day.


After a day of work at the office I would never have left the kitchen as dirty as a day of work from home.


> I cannot imagine that we are the only company that has come up with this idea.

In a company I used to work for, 2 floors were (completely) unoccupied but some were insufferable. 2 floors worth tens of thousands of dollars monthly were just completely unused whatsoever.


I can top that with 11 floors in one building by one company unused.


have you noticed that the quality of movies has been progressively declining? i think it's because the pirated movie boom ended. there was a theory that DVD movie piracy increases the box office revenue. bring back movie piracy?


I think with the success of streaming series have become more interesting to streaming platforms as their addictive nature can lock people more easily into a platform for a specific period of time.

For this reason budget and revenues of series have increased dramatically and series are more and more produced like movies. This probably created an artistic and talent shift from movies to series.

There were a lot of shitty movies too back in the days but some never even reached the theaters and were only sold on VHS and DVDs.


Movies have historically been stand alone - if you didn't see [random movie]-1 when it was out but now your friends want to go to [random movie]-2 the movie better make sense. However it can still clearly be a follow on. As such movies tend to focus on a plot within the movie.

TV shows have been more a case of you may have missed yesterdays show, but want to see today's show. The format doesn't lend to complex plots because of the limited time to resolve them, and anything long term means people are seeing spoilers. Thus they tend to focus on characters, so you can watch in more or less any order.


I think it's because there's more movies made today than in the past. The streaming boom has lowered the barrier to entry.

Also: There's always been bad movies, we just tend to forget them.


This is not correct.

The loss of DVD sales has changed the type of movies that are being created.

Matt Damon himself has explained how Good Will Hunting would not get made today because of this.

It is really simple too if you think of yourself as the investor in the film getting pitched. "Will Hunting, a genius-level IQ but chooses to work as a janitor at MIT. When he solves a difficult graduate-level math problem, his talents are discovered by a professor"

Only an idiot would invest in that in 2024 but we are way past that. I imagine no one would even bother pitching that at all in 2024. Certainly wouldn't get a meeting with anyone.

There was a golden era of film not long ago and that era is gone forever. The Fountain might be the best example though. I love that movie but it lost millions of dollars even at the height of the golden era.

The future is going to be AI Batman vs Superman part 276.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: