skysight-inc/HackerNews huggingface dataset:
maybe

if (x < 10) {

becomes

if (

x < 10 )

{

I mean yes, in many languages you can write all your code in one line or split it up in all sorts of ways if you prefer, but there is sort of a natural line and an unnatural line for any particular language that is an attribute of its commonly preferred formatting.

on edit: reformatted
Perhaps you are thinking of Old English, which really is different beyond comprehension. Here's a bit of Beowulf:

Hwæt. We Gardena in geardagum,

þeodcyninga, þrym gefrunon,

hu ða æþelingas ellen fremedon.

Oft Scyld Scefing sceaþena þreatum,

monegum mægþum, meodosetla ofteah,

egsode eorlas. Syððan ærest wearð

feasceaft funden, he þæs frofre gebad,

weox under wolcnum, weorðmyndum þah,

oðþæt him æghwylc þara ymbsittendra

ofer hronrade hyran scolde,

gomban gyldan. þæt wæs god cyning.
FTA:

> Because of the Gregorian Calendar Reform of 1582, the numbers of days after 1001-01-01 are fictitious, strictly spoken. They are valid only then, if we adopt the reform for dates before 1582, subsequently.

The explanation is muddled. This concept has a name, the definition at WP is succinct and clear: http://enwp.org/Proleptic_calendar
Cool. I love Delphi to this day. Nothing beats that for Windows native apps IMHO.

Any interesting stories to share? I read somewhere that now the compile is a million lines of undocumented code.
For me the “10x” meme was never about 10x vs the average (which is a unicorn) but rather 10x variation where there are 10x variation within a group of developers. This is very much a thing in my experience, but it’s because you can have a 1/5x average developer and a 2x average developer. That’s a 10x difference. There is simply no limit to how unproductive you can be, but there is a limit to how much you can produce.

If you have a group with a very low productivity as average, then a single very good developer can be a 10x developer compared to that group. From the perspective of one of the 1/5 developers this senior “2x average” dev will look like the unicorn 10x dev. Perhaps this is where the myth comes from?
There's an emerging trend of service providers trying to virtualize their core network. Rakuten in Japan is a leading example.

"They have assembled a small army of suppliers to build a virtualized network built on x86 hardware.
...
Rakuten has no dedicated hardware except in its antennas, ensuring the upgrade to 5G will be straightforward.
...
Chief Architecture Officer Tareq Amin said the network has "virtualized everything," including radio access, core, transport, IP, billing and operational support systems."

I'm not sure who this army of suppliers is though.
For some time, (mostly pirated copies of) Delphi were extremely popular
in Russia. The fact that it's (Object) Pascal allowed lots of
graduates, whose courses were probably mostly taught in Pascal, to get
to work fairly quickly. With that said, Delphi also had a reputation of
a language with lots of bad code written in it, for the very same
reason. People fresh from college or high school rarely write good code
without mentors to point them in the right direction.

I personally think that Object Pascal is deeply underappreciated. It's
a simple but powerful language.
In school I was drastically more productive than my peers. In my final course where we made a 3D game, I relied on some asian kid with aspergers who was drastically more productive than me. Seems like if there's two instances of drastically than the distance between my peers and the asian kid is probably easily 10x.
What's so crazy about the German notation? Seems to make perfect sense, as it goes line-by-line from the smallest to the largest sorting unit:

1. Exact street location (street + house)

2. District (postal code)

3. City

4. Country

Also I prefer this order over the Chinese, because I assume most people handling mail will need to smallest details and it would just be very annoying if local mailmen had to skip over country and city names every time before reaching the bit they actually need.
The von Neumann story is apocryphal. I've read it before but it was Nikola Tesla instead of von Neumann in that version.

https://www.snopes.com/fact-check/know-where-man/
Delphi is still the best thing for Windows app programming. It is so unfortunate what happen to it business wise.
Mathematicians Solve an Enduring '42' Problem
A soundcha ?
It totally was so fast!

I remember using it when I got my first digital cameras :-)
Dragon Age creator Mike Laidlaw departs Ubisoft after just a year
I loved Delphi and created countless of apps with it in the 90's and early 2000's. I heard that Embarcadero, the new owner of Delphi, released a free "Community Edition", so I decided to download it to see if it could compile my old apps, and my experience after that has been nothing but terrible. That ended my yearning for Delphi completely. The details: https://twitter.com/esesci/status/1222311006635872256
> would a FAANG company hire someone who doesn't actively tweet?

I have friends who work at Google who have never tweeted in their life.
I’d like a card that is a 2080 but instead used all the extra transistors compared to a 1080 for traditional rendering, not raytracing. Raytracing might be a thing in the future but now it’s just a gimmick that uses silicon that could have churned out more frames instead.
I believe that it's your comment which is arrogant, not the 10x-er concept.

Have some humility and accept that there are people out there who are immensely more gifted than you are.

Aggressive mediocrity is distasteful.
> in fact a lot of what he wrote was very simple when you looked at it (and I think that's part of what made him so good

Genius is when you write a piece of code that's so simple everyone else thinks they could have done it. And yet they didn't.
As someone who has spent 10 years working with Delphi (from 2008 - 2019), it lacks far behind compared to other modern IDEs. In 1995, Delphi was definitely ahead of its time, but has been unable to pick up. Each new release of the suite contains some new unusual bugs, while avoiding fixing some long standing issues.

That might be harsh, since each new release does contain improvements of some kind, but they feel incremental, and not at a pace where Delphi would ever catch up with other modern systems. It also stems from change in focus over the last ten years over making Delphi relevant again.

They wasted several years in the early 2010s by making Delphi a platform for mobile app development. The selling argument being that you could use Pascal to develop both for iOS and Android. Unfortunately, it never really matured enough to be useable. And so after several years of that misadventure, they finally went back to improving the core product.

Frankly, the only reason people still use Delphi today is if they have a large legacy codebase written in Object Pascal. Embarcadero took too long to realise this. They can charge a huge licence fee for the product, because their customers are basically stuck with it.

There are many things I like about Delphi and Object Pascal, mind you, but there are also many things I find too frustrating about it. Particularly because I know other IDEs and languages have already solved those problems. That, and the small community means its ecosystem is tiny and not frequently updated.
One of them does rather dishonest marketing, the other is upfront about capabilities and defaults.

Telegram: we do E2E!* That makes us MORE SECURE than other messengers!

Matrix: you can enable E2E if you want.

* just not by default†

† unless you count "E2E" security between your client and our servers,‡ which we'll confusingly highlight in our security documentation as if it were special††

‡ you don't really need E2E anyway because we store your data in shell companies across the world

†† I guess it is "special" because Telegram invented its own crypto algorithms?

I'd like Telegram a lot more if they would stop with their bullshit claims, because it's actually a good service for some usecases. While reading the article I was hoping it was just written by a clueless Telegram fanboy, but reality is disappointing…
I was pretty surprised, looking at Object Pascal, from the perspective of C++ development. Modern Delphi even offers generics and powerful macros, alongside the VCL. If Delphi had a better focus on cross-platform development I’d wager it’d probably be a lot more relevant today.

FreePascal and Lazarus are also worth checking out, as they offer a similar UI library (LCL in Lazarus) and pretty good Object Pascal support (with minimal tweaks a lot of Delphi code works - I took a medium size program written for XE8 and had it working just fine with a little rejiggering.)
It seems to me that many programmers suffer from some privacy blind spot where their brain literally freezes when they have to think about the negative consequences of their latest software gizmo.

It was decided in a court of law that employers can't spy on their employees.
It's good that companies are being cautious. Not everything in this world revolves around efficiency and tracking everything.
Don't forget Bob, by Weird Al Yankovic:

https://www.youtube.com/watch?v=gAfIikFnvuI
How likely is an 'apocalyptic' nuclear winter as a result of nuclear war anyway? Most modern cities don't burn very well and even the largest volcanic explosions we've recorded have only dropped temperatures by an estimated few degrees. That would absolutely kill a lot of people, but humanity will survive.
Software is one of those things where the right small changes can easily produce a 10x difference in value.

For example, not having an overflow bug can save your company $millions. Or avoiding a deadlock. Or speeding up your datacenter software by 1%. Or picking the right architecture at the beginning.
They are not universally palindromic.

For example, 2030-03-02 (yyyy-mm-dd) when written as 02-03-2030 (dd-mm-yyyy) is not a palindrome.

All dates in the list I have provided are universally palandromic, i.e., they are palindromes irrespective of the endianness (big, little, or middle) used to represent them.
The Tragedy and Mystery of the ‘Best Game of the Decade’
yes, an almost universal specs. still I felt curious about how people manage them at scale.
Half of the problem is the USB implementers forum seems to be disconnected from reality and the other half is manufacturers not wanting to use standards

P20 Pro: Uses "Huawei Supercharge" which is not Huawei Fastcharge or VOOC, nor is it compatible with USB PD or Qualcomm QuickCharge. Jesus. I'll cross that brand off my list completely

re: Android Auto - I have no idea, sorry. Double check the cable works correctly to transfer data to a PC (or for tethering etc) - the last time I looked, AA was VNC over IP over USB.
This was the only company with worker codetermination that I've ever worked at, so I don't have anything to compare it to. Part of the reason is that, as the article says, companies will try at all costs to avoid it when there is legally a way it can be avoided, and I'm guessing that this in and of itself speaks to the fact that there's a problem there. Otherwise you might expect companies to volunteer into it for reasons of improving their employer brand and so forth. But the opposite is the case, with many large companies going as far as incorporating in other European jurisdictions and using European freedom-of-movement rules for legal entities to operate out of Germany. N.b.: This confers no tax advantages. It is done solely for the purposes of escaping Germany's companies' law. (Examples: The German department store "Müller" with over 700 retail locations in Germany and "Air Berlin", a major airline out of Germany, were incorporated in Britain).
Sen's work is closely associated with philosophical and economic concerns about exploitation, not just poverty, and I think it's a shame that's missed out on. J.E. Roemer was the main theorist of post-Marxian theories of exploitation, but I've observed that when the discussion centers around poverty rather than exploitation, the resulting theory is much more tame. Also related is capability theory and the various objections to purely negative liberty (something I've also noticed many people miss out on - to speak of liberty as if it is strictly a concept that belongs to the liberal tradition and no other tradition may use it, and to then claim that the only real kind of liberty is negative liberty).

Poverty is the kind of thing you can fix within the current system, or at least make attempts to alleviate. Exploitation and domination are not, which is why you will never hear an elected official talk about it as a systematic issue inherent to the current system - if they knew about the literature on the topic, they'd know they're powerless to do anything about it.
Exactly. I talk about this at https://riskfirst.org/Estimates

Knowing the way is 10x over finding the way.

But I think this is still an interesting piece of research, backing up a lot of what we expect empirically.
Quote: "The main thing is that the command line (or batch) compiler is primarily optimized for throughput (compiling N thousands lines of code per second), while an IDE compiler is optimized for latency (showing correct completion variants in M milliseconds after user typed new fragment of code)"

And then there's Delphi, doing both.
Quick question, why simple box for packages on the porch isn't used as a solution against pirates? Delivery people won't put it there? Or it's considered ugly? Or something else? Seems like a quick and effective solution - if pirates can't see that you have a package waiting on a porch, they won't steal it.
The main reason for Object Pascal's downfall is the mismanagement by Borland and subsequently Embarcadero. It did not give a lot of people confidence when Borland sold it to a relatively unknown entity in 2008. And Embarcadero's immediately handling of Delphi did not help concerns either.

But at that point, interest in Delphi was already declining, and neither Borland nor Embarcadero has figured out to bring back excitement. Delphi news occasionally appear on Hacker News, and people talk enthusiastically about it, but no one actually starts a new major product in Delphi following that.
From a consumer perspective Ryzen certainly feels like a steep discount. Was there a comparable price/perf to 3900X/3950X in the Intel world? Last I looked it seemed like you had to hop ship to Xeon with more expensive boards and really expensive CPUs to get something similar on paper.

It looks like the 10980XE is the best answer. But in fairness, I believe it and its pricing was exactly an answer to Ryzen 9.
Just learning about DxO for the first time. I purchased another app called Luminar that I tried once and wasn't totally blown away by. What I'm looking for is a sane workflow and lightning quick navigation, hopefully with some basic edits and tight photoshop integration.

One of my favourite things about Aperture+PS was being able to spawn an edit process that, when you save the file in PS, created a duplicate version with the changes back in Aperture. The more I think about it, this was the secret sauce. Is this replicated in DxO?
It's legally their job to represent only the workers. And they legally have no way of knowing, what's really going on economically. They may be informed about the financial status, if the company is big enough for a economic sub-committee. But they can't make any decisions on that. They aare there solely to represent the interests of the workers. See paragraph 80 Betriebsverfassungsgesetz.

Your example only shows, that your workers council is unhappy with the provision based system, because it's unfair. Regional targetting would make it even unfairer. The solution is easy: abandaon the provisions and let the people do their jobs.
Programming Language Implementation Summer School (2019)
Tinygo is now officially a Google sponsored project
Your 10x developer is still only 2x the average. That's exactly my point.
I like the idea but I do not understand why someone would want something self-managed/hosted and then use AMZN SES to send/receive mail and S3 to save mail/attachments.

1. AMZN has access to your mail (inc. your contacts) so you could just use any other service you do not trust.
2. Why would I process mail just so save it on another machine and not do both on the same server?

Probably it has to do with "serverless" (you have to use at least 2 "servers" now, don't you?) but maybe I am just missing the point.
Feels like the wrong tool for the job with the whole virtual environment that has to be brought up.

Performance for shell scripts isn't super critical in my eyes but the startup time of python feels too much for something you might want to run in an inner-loop from find or something. Not sure if python IO performance is suitable for shell scripts either.

Also isn't nearly as universal as shell-scripts nor something you necessarily have/want on small systems.

But I will admit that I'm channeling prejudices and don't feel I have enough of a complete picture to say anything definite about it. Others in this thread touch upon it though.
The World’s Biggest Turbines and No Subsidies (2019)
Very impressive, in that it is not mere transcription of terms used by Shakespeare into keywords, but it organizes the whole program as a drama.
The USB data lines D+ and D- are a differential pair [1], cables should definitely be twisted. On PCBs they need to be length-matchef, too.

[1]: http://www.usbmadesimple.co.uk/ums_2.htm
No one other than you has brought that up.

It’s perfectly possible to have sensible hardware standards where doing so will not impede the market without insisting that all software be also standardised.

For the record I think it would be useful for Apple to have the built in Facetime client be able to communicate with other phone platforms. I don’t think Apple should be compelled to offer that currently.
> Since quality can be taught and benefits apply to the total lifecycle cost, emphasize quality rather than speed.

I have seen, that this is actually challenging to teach... obviously my sample size is small.

How about you guys, in your experience, were you able to teach quality / lifecycle costs ?
From my personal experience as illustrator, I found the Apple pencil design and weight is much better for drawing than the surface pen with the tip, and yes, what I hold in my hand effect how I draw significantly.

Also, I found that iOS is just built for touch from the group up, unlike Windows, and when combined with well-designed app like Procreate, it just made every interaction with the screen with your hand and Pencil when you drawing so smooth and natural. It's just mind blown for us who draw for living. It just do one thing we want really, really well. Before iPad and Apple Pencil comes, the closest thing to draw directly on screen is the uber-expensive Wacom Cintiq, which mostly used by studio and serious professional rather than individual.

Windows and Photoshop on touch device is quite usable for drawing. I'd say, it is much better than in the past. But once in a while you'll end up running into some software quirk and lagging experience, miniscule menu to click on, some part of software that didn't design for touch, etc., not to mention that Photoshop is ultra-ultra bloated software. It never natural to work on it.

Anyway, I understand why people that's not into the art field didn't see the use of iPad much. It's still a big iPhone to many people, and yes, its file manager and multitasking is garbage.
Mining coronavirus genomes for clues to the outbreak’s origins
JSON to Kotlin Data Class
I can't speak for other countries, but Germany's unions are very closely tied to the social democratic party. So much so, that there's a ~70% overlap in membership at the functionary level, while the average worker is somewhat further removed from the party (they're currently polling at ~15%).

While not as extreme, the result is similar as well over here: knowledge workers make a lot of money, blue collar workers cannot afford to live in the large cities. The elite consists primarily of lawyers, political scientists and teachers, and the mocking of the lower class (with a hint of paternalist "we cannot let them be free, they don't know what to do with freedom") is palpable.
I certainly do not suffer from "privacy blind spots". As a matter of fact, I've worked for one company in the telco space doing industry-leading work on setting standards about how to properly anonymize call detail records. And then, in this German telco that I mentioned, we were doing groundbreaking work setting up our data engineering in such a way as to comply with Germany's stringent privacy protections where consumers are concerned. I now work in another privacy-focused company.

But this one story I was telling:

Management: Please make a mathematical model that will predict if a radio unit has repeated and prolonged outages, using well over a hundred independent variables, ranging from technical information, to network topology, to information from the ticket system.

Me: Done. Mathematical model says: Radio units have problems if the people servicing them are lazy bums. Here is a system, based on natural language processing, that will predict people being lazy bums with huge accuracy.

Management: So who are the lazy bums?

Me: Can't tell you that. Because privacy.

I mean. Come on...
As someone who's about to graduate with an MEng degree: No, I haven't done real work yet, and I hope that most employers don't share this attitude which gets me in a catch-22. I need to have worked to find work, but to work I need to have found work. The only option seems to be these "graduate jobs", a large percentage of which demand arcane tests modelled after IQ tests and tedious timed calculator tests in order to even consider me.

Graduated with 70%+ with the title "Master of Engineering"? Not good enough, do an IQ test to get the job. Write a compiler for a self-designed embedded language for your final project? Not good enough, you forgot how to concatenate lists in MATLAB. Oh, and you don't get to find out your prospective salary until you have an offer; until then, you'll be happy to know it's "competitive", whatever that means.

At this point, I'm not sure if I'd recommend anyone go to university unless they want to stay in academia or something. I'm not convinced it's worth the hassle if this kind of job search is the end result, and if you're going there for knowledge, you're better off not getting yourself into debt with a 4% interest rate.