skysight-inc/HackerNews huggingface dataset:
> modern C++

> pleasant

Nice joke. Hour-long compilations, type-unsafe templates with unreadable errors, and circular references are considered pleasant now?
Rust is younger than Go (released in 2015 vs 2012) and way more ambitious, especially Rust 1.0 was released as kind of an MVP and many things have changed since then, which made the maintenance of such a reference an issue. The pace of change is slowing nowadays (that's especially visible if you look new and accepted RFCs), so I hope the reference will catch up eventually.
I don't think Rust is even defined by a reference implementation, given that they release a new compiler every six weeks.

For many practical purposes I think the closest thing to a language definition is the set of testsuites visible to Crater.

(That is: when the compiler people are considering a change, they don't say "we can't change this because we're past 1.0 and the change is technically backwards-incompatible", or "we can't change this because the Reference specifies the current behaviour"; they say "let's do a Crater run and see if anything breaks".)
It's worth noting that steel core bullets are often banned as "armor piercing" rounds, despite that fact that most worthwhile hunting cartridges can pierce body armor.
Have you tried Ueli? Has been working great for me: https://ueli.oliverschwendener.ch/
You can use syntax of the form vec1.add(vec2), which is still better than add(vec1, vec2)
In my experience, judges will themselves excuse jurors who have family in law enforcement (parent, spouse, sibling), which means the lawyers don't have to bother using a challenge on it. I would expect the same will happen with many/most criminal convictions, especially when they are related to the crime that is alleged.

That's not been my experience, and I've sat through the process in San Francisco 3-4 times so far.

note: my experience is in San Mateo county jury selection as a private citizen. I am also a former lawyer, and almost all of my lawyer friends have never made it past jury selection. I served once, only because I emphasized that I practiced tax law, which is very different from criminal law.

Yep, voir dire is designed to weed out anyone with knowledge of the legal system or knowledge relevant to the case at hand. Then those people are expected to make decisions based on legal standards they've no familiarity with.

It's the best system in the world.
LLVM IR is called “LLVM assembly language” in the documentation.
Ask HN: Just survived cancer, but now disabled, need advice
Hello guys,
I in my early 30s, spent 10 years building a career around my small video production company. Just found out I had cancer in May, and spent the whole summer in hospital, went through 2 surgeries and radiotherapy. Luckily I'm fine now, but due to the surgery my right hand is now disabled. I can't work in video production anymore, and frankly I'm depressed and feeling useless.
I just want to ask what I should do now. I'm weaker now but I can still use computer with my left hand. I'm not asking for a money making method to get rich, just something to make me feel useful and help pay the bills. (All my savings are spent on the surgeries).
Thanks.
The (games) in the title pretty much limits the article to C / C++
Reminds me of the good ol' days of Litestep. Before I discovered Linux I customized my windows shell to the max on XP
> Just that a bunch of game devs were somewhat lazy.

That's not called for. You don't know those developers, you don't know what work was on their plate or what constraints they were toiling under.
Ask HN: Gifts you recommend to make infants curious about cs and tech?
Hey HN,

christmas is coming and I am searching for gifts to make an infant (3 years) curious about cs or tech in general.

I think it is more important to develop a rough understanding of how things work, I do not think that a computer has to be involved.

I am looking for a similar present for a 15 year old teenager, too. Similar in terms of developing curiousity in cs. This teen is generally interested in tech and cs but I feel like she does not know how to get started (I think she's missing a cool project as a push).

Any advice? I am curios about your answers!
Whereas what teller did you Oppenheimer...
Wow! This is awesome! I really did think Windows 10 removed most customization capabilities. Glad I thought wrong.

This seems like WindowBlinds [https://en.wikipedia.org/wiki/WindowBlinds] for 2020. Ah, XP with transparency... memories :)
Especially with this expanded commentary, you do show some advantages of C++ over C, but you have only addressed the advice for how to proceed once you’ve chosen C and not the author’s reasons for preferring C to C++ (or any other language):

— Every language out there has a way to call into C

— If your code is slower than C, someone will rewrite it in C.

— If your library is written in C it means it can be used on any OS, console or mobile device and even on the web.

— Not everyone wants to use C++ (some prefer C).

— It is easier in general for a C++ user to use a C library than it is for a C user to use a C++ library.

— C++ is not as easy to write wrappers for in other languages.

— Unless you limit which C++ features you use (to the point where you are pretty much left with C) a lot of people won’t be able to use your library.

PS. If your original comment had been phrased the way you put it here I might have made the same comment, but I would not have downvoted it. Here, you’re at least providing some supporting evidence for your assertions which makes it a much more valuable contribution to the conversation.
If you’re trying to solve malware at the DNS level, you’ve already lost. In this particular case, it’s far more likely that keeping the state out of DNS management is a good idea. A stronger argument is trademark infringement and consumer protection, but even this does not seem worth dealing with a human arbiter.
The jury system seems completely corrupt to me. I am glad we do not use this method in criminal trials here in Germany where I live.
Alzur's Legacy – Witcher Fan Film
You can build ADD and INC from NAND.
Vanity domain. https://en.wikipedia.org/wiki/Vanity_domain

edit: It's a domain hack actually. https://en.wikipedia.org/wiki/Domain_hack
You are right. And I apologized in my comment. It is simply the desperation to help the friend that's all. For me it was worth a shot for even tiny help to get closer to the goal.

I also like the hacker news community, who help not to let spamming go around. I would have asked the same question which you have if I were you.
C++ is not being used by all indie game developers so I imagine the article was written with that in mind, that the library needs to work with C code as well.
Weird Named Japanese Foods
Site didn't load in 10 seconds. Sorry, you should've at least heavily cached the frontend.
I suggest you familiarize yourself with the Socratic Method.
So my “moral choice” was that I found it grim and unfun, lost interest and played something else.

Which I guess constitutes its own answer to the question posed.

(Also, consider there are plenty of engaging narratives that don’t attempt anything like this level of immersion.)
> This is effectively equivalent to "trickle down economics." Ie, if we give money to the rich, they will use it to buy things or to invest, thereby growing the pie for everyone.

Trickle down economics is a theory about who benefits from giving money to the wealthy. I'm not making any statements about who benefits. What I am saying is that when some companies return cash to shareholders, other companies receive that cash in the form of either revenue or investment. This is how the economy works. It is, more or less, a closed system.
Find the average string length by statistical sampling of the string population, model the distribution, and you'll have a useful estimate of the probability that your string is of any specific length.

If you discover length clustering you may need to apply a separate classifier.
Intel is planning for PCIe5 in 2021 (skipping on PCIe4), so AMD having gen 5 support in that generation would not be too unexpected. Though with the seperation of IO/compute dies I would not be suprised if PCIe5 would only appear in EPYC/Threadripper components.

I expect that the upcoming Ryzen socket refresh (AM5, which is expected to come with Zen 4/Ryzen 5xxx) to have support for (or even require) DDR5, as by then DDR5 will already be available for a year.
How is that related to what I said?
> If you served your time, you served your time.

Seriously, so much this. The thing should be stateless. You made a mistake, there were consequences - but once that's over, you ought to be good as new.

Eternal punishment only ought to have a place in dumb mythology.
Because C++ is one of the most complex languages in the world, hence a pain to interop with. C FFIs, on the other hand, are ubiquitous.
In the server market where the extra bandwidth is actually useful, the transition from PCIe 3 to PCIe 4 is pretty far along. Switches, NICs, SSDs and FPGAs supporting PCIe 4 are all either available or announced, and server-class GPUs should also show up next year. Most of those products have good reason to continue on to PCIe 5 as soon as suitable hosts are on the way.
There is also the concept of lay judges, people who are non educated in law but are paid a small sum.

https://en.m.wikipedia.org/wiki/Lay_judge
Was Cairo not a Linux Desktop at some point?
Very interesting, especially the video :pray:

(actual game does not look at all like the screenshot on mac/chrome)
So people built a large Peltier element that radiates a bit of heat on one side and powers a LED.

That's a cool experiment, but comparing it to solar power and saying "it literally is generating visible light out of the darkness of the sky" goes a bit far imho.

The headline implies energy out of nothing, while in truth it's more like "small thermoelectric experiments also work without a candle".
I agree that they seem to have problems more frequently than AWS. I've been told it is frequently due to their network, which is incredibly advanced and efficient but also incredibly complex and therefore more easily broken.
Just by my understanding after reading the front page, it means I can ssh into my Android phone (on LTE) from a desktop computer from another location.

Since most mobile network providers block listening to sockets on the phone, server applications (to the internet) cannot be hosted on mobile phones. Does it mean Tailscale app always run in the background and keeps an active connection to Tailscale servers? Wouldnt it negatively impact the battery of the phone?
Pixelfed, a decentralized alternative.
No exceptions. No exceptions.
To do it yourself, no. It costs your time and whatever you might have made doing something else with that time.

To pay someone else to do it, yes. The cost generally scales with the complexity of the app.

However.. I suspect the 'native' in the question means you're asking if native development costs more than hybrid development using Electron (or something similar). In that case the answer is that it's more expensive to write natively, but not by as much as you'd think. A lot of the work on an app is actually very reusable between platforms (art assets, sounds, business logic, algorithms, project management, etc). The code itself isn't very reusable, but that's usually only around 30% of the total budget, so writing a native app for two platforms ends up being about 30% more than one platform because that's the bit you end up doing twice.
My Next Plan Now Is to Meet Chris Brown and Give Him a Big Kiss-Juliet Ibrahim
Looks good, I'll try it, thank you!
This debt will all be paid by the US dollar falling dramatically. Many assets will keep their inflated prices in nominal terms though still good buys out there.
The point of all of this intervention is to increase the well being of the individual through higher wages (specifically, purchasing power) relative to our global peers. The same sort of wage growth that happened organically in the US for most of the 19th and 20th century.
The idea (and one that worked well in several projects I've worked on) is that you use C++ as main language of the library and make outside bindings C.

It does require some discipline, but C++ has many portable constructs that make life significantly easier when writing business logic.
One word, lego.
IMHO the best Far Cry is the one they did pretty much for fun, Far Cry 3: Blood Dragon. Great soundtrack and just pure fun. There are parts where they just gave up on any sort of realism and you just blast everything with a cool soundtrack, riding a dragon equipped with lasers.
Wait what? I remember seeing this around 2010 - 2012, eagerly following it because it looked pretty good, and it turning out to bee mostly vaporware at some point. Did not expect this to make a comeback!
> the UB minefield

While UB quirks exist, they are WAY off the beaten path and it takes an effort to run into them. Doubly so if you are just starting with the language.

Just treat C as a thin convenient layer over the hardware that expects you to think and act responsibly in exchange for this nearly raw access.
Threads can infect each other with their low priority
I agree that that is one of the points of it, sure. I think that's compatible with what I said.
This (educational) ISA has just NAND and ADD: https://user.eng.umd.edu/~blj/RiSC/RiSC-isa.pdf
Indeed, and Leopold Kohr explained it clearly. Is is also related to velocity.

Modern education also enforces 'scale': "We have been educated in the worship of the bulk, of the large, of the universal, of the colossal, and have come away from the minuscule, the completeness and universality on the smallest scale ­ the individual, which is the protoplasm of all social life."
I maintain an IBAN library.[0] There is actually a lot that is interesting about account numbers. Really well designed account number systems do not include similar glyphs, for example both '1' and 'L' or both '0' and 'O' should not both be present. I have compiled a retroactive list of probable transposition errors in my library, which can recommend checksum-correct potential input intent through brute force search.[1]

While many countries and specific banks had or have alternate checksum systems that pre-date IBAN, not all of them actually cover the whole account number (eg. may only cover the account number itself, not the sort code / branch code / bank code / whatever else). These are also falling out of use at an unreported rate so it is often difficult to determine whether or not they are now significant. Often a bank just starts ignoring its previous rules without telling anyone, leading to popular confusion.

IBAN is a pretty well designed system, possibly excepting the mistranscription issues which it probably considered out of scope but could have seriously helped to avoid with recommendations / best practices. The point of all this is that you shouldn't reinvent the wheel... and that goes for digital banking and digital currency systems as well as any other system with identifiers that may need to be manually analyzed, compared, reported or transcribed.

[0] https://github.com/globalcitizen/php-iban [1] https://raw.githubusercontent.com/globalcitizen/php-iban/mas...
What's about homeopathy? It is advertised to have medical benefits, presumably has none, and is a multi-billion business, with many companies which exist for decades and decades.

For any non-trivial product there's information asymmetry problem, so pretty much everything is hackable, but to different extents.
> You feel bad at first for your bug, but then realize, that no users even noticed the feature gone. Your suspicions that you were building something that didn't even matter are confirmed.

Having been in a position where I was talking a lot to users, I can assure you that they do notice. But they won't report it, just shrug and have a slightly decreasing opinion of your software.
https://archive.org/details/in.ernet.dli.2015.222966/page/n3

Has it for download
Sega genesis development
Arm Server CPUs: You Can Now Buy Ampere’s EMAG in a Workstation
I don’t know why you are being down voted. Fed policies since 2008 clearly benefitted the wealthy class almost exclusively.
I've had this happen to me and seen it happen as a third party. It's a cultural issue and whilst I can see that difficult to change in large companies, startups with this mentality often demoralise developers quickly IME.

This is often how waterfall projects are/were run in large companies historically but now companies want agile everywhere but they don't implement the right processes to facilitate it. You end up with behind closed door decisions, promises made by PO that it will be done in the next sprint, and at no point has anyone with either the courage or technical know-how stepped in to point out that it's not feasible.
I can try to answer from my position.

1. As a contractor, you can work on shorter term projects, so within couple of years you will be get familiar with a number of problems and situations,

2. If you are an engineer who cultivates business mindset and focus on understanding and solving clients’ problems, you will ask right questions, and be able to communicate to them how you see their situation and how you can help. Potentially, they will see you not like a coder, but like a problem solver, they will trust you more, will be more confident in your decisions, tell you more about their business, give you more work.

If you focus on being a business oriented, learn a bit of marketing, product management, speak their language and terminology - in couple years, you will accumulate good understanding of problems and solutions, have connections and ideas.
Beats the shortest one I've ever 'read', though this is pretty sad too

https://theoatmeal.com/static/oracle.html
Intel Starts Shipping Initial Nervana NNP Lineup – WikiChip Fuse
Probably just the same but a bit slower. People have been compiling to Javascript (and asm.js) for many years.
Two questions:

With the advent of capable editors like Visual Studio Code, is Vim still a relevant skill to have?

Is SLIME still the state of the art for Lisp development environment? Is there no way to get started with Lisp programming without having to learn Emacs or Vim?
Stoicism 1: Focusing on what's in our control
K'nex is a great one!
It always baffles me when a library comes with its own arcane build code. Instructions like "Requires Python" invariably turn out to actually mean "Requires hours of debugging".
Protect Yourself from Getting Cheated
A few examples: top-rank dev preserving power by slowing down growth for everyone, designer pairing with executive to sidestep decision-making - and destroy previous work by the team in the process, new people looking solely for promotions, new managers caring more about looking good than helping the product stay on track (i.e. replacing a very well-planned roadmap with vanity or metrics-hacking features). Most of these result in developers now working on things that have no real impact or don’t make sense for the product, and it hurts.

You might be right, and it’s not fair of me to expect everyone to have the same driving goals, but I simply miss the ability to focus on building something good (for customers and the business) and everyone being in tune, instead of catering to an endless stream of personal needs. Worse, in order to “perform well” it forces you to prioritize saving face and pleasing people over actual product/design/engineering, since half of your peers don’t care, or will be gone by next cycle.
I had great fun in Far Cry 2 for about 30 mins. Then I realised everything respawned as soon as I turned my back, then I got run over by a jeep that spawned out of thin air.

And then I never played it again.
I use Listary exactly for that. However I do keep the Windows key for programs, it seems to work well enough albeit not as fluid as Windows 7.
Why should people not run their own email server? It's not like email is moving fast, so it's mostly set and forget. Automatic security updates are a thing, so it really is a non-issue.

There sure are things that require quite a bit of maintenance, but personal e-mail servers is definitely in the other end of that spectrum.
Facebook Looses Patent Law Suite Against Blackberry in Germany
This was my experience too, and after speaking with recruiter friends, often the company doesn't know where this person would sit. The title is still quite new and whilst the job spec may imply technical, the reality often is that they still just want a full on Product person who happens to know some coding (as opposed to a full on coder who happens to be involved in product). I've generally just had to go in as an engineer and be promoted by showing them what TPM's value is first hand.
> In the 90s, before the web really took off, stuff like this was hen's teeth. Anything you found, via BBS, Usenet, or the nascent web, you'd pore over in detail and make sure to fastidiously back up in case you never found it again.

To be honest, backing up stuff makes sense even today. Websites do disappear. You never know when your favorite blog may disappear. There is the internet archive machine that fights link rot quite well. But it wouldn't hurt to take back ups of your favorite online articles.
While this looks cool, I learned over time that basic Windows shell works just fine for productivity purposes: https://i.imgur.com/HC4evaK.jpg, and this would just add another layer on top which potentially requires maintenance, troubleshooting or debugging.

The only additional customization I have is a little utility I wrote in C++ that runs in background and provides hotkeys to launch Chrome, Sublime Text, Total Commander and Cmder via Win+1, Win+2, etc hotkeys.

And to run any other program, it is enough to hit Win key and start typing that programs name.
I have talked to GCC developers about integrating a Rust frontend and they said, the main blocker is the fact that the language specification isn't stable and a fast moving target.

As long as the Rust language specification isn't stable, GCC's Rust implementation would just fall behind all the time.

As an alternative, it has been suggested providing a GCC frontend for the LLVM-IR language which is generated by the Rust compiler since that specification is stable.

If Rust's specification becomes stable at some point, it would probably a good idea to start a Bountysource campaign (like we recently did for the m68k [1] and AVR backends [2]) to help the Rust frontend brushed up and ready for being merged into the GCC source tree.

> [1] https://www.bountysource.com/issues/80706251-m68k-convert-th...

> [2] https://www.bountysource.com/issues/84630749-avr-convert-the...
Y CombinatorffBookmarkletgjaeqjgghh
Would you say the same thing if a former convict of child abuse wanted to work closely with your kinds in school, sports or other arenas? I for sure would not be happy with it.

Certain things are not a right to have, e.g. driving license or be working in a specific profession. Firearms in the US is special but the use of firearm in the US is a topic for itself.
He’s chairman, I’m not sure if it’s “by” him exactly. He seems to be describing Hash as “they” rather than “we”.[1]

1: https://www.joelonsoftware.com/2019/12/05/so-hows-that-retir...
Hempcrete – eco-friendly material in Australian homes
> many people in tech confuse arrogance and confidence with being super skilled.

They will initially, but they'll recognize the crap code after a while and won't trust them anymore. The converse is true, too. In my jobs, initially I was not trusted until I developed a track record of getting good results.

> have strong tendency to take texts literally and at face value

People "on the spectrum" tend to do that. Most STEM people are not on the spectrum.

However, a rhetorical device a lot of people use is to take what one writes excessively literally in order to refute it. They know perfectly well what they are doing, and I take it as a sign that they lost the point :-) I wouldn't confuse them with people on the spectrum.