skysight-inc/HackerNews huggingface dataset:
Widely generalizing, because it obviously depends on the specific field/university/...:

Academia typically doesn't care about code: sure, you can hack on your open source code, but don't count on funding for that or it being recognized as something as "worthy" as a paper. In extremes: "Why would a Postdoc in a computing related field need to be able to write big code projects, isn't that what students are for?".

Given that, there typically isn't a "programmer" role in academia (although there are exceptions): You're expected to follow the academic path, which involves publishing etc. If your contribution is "I write great code for projects happening here", that's not something that allows you to progress, if it results in a long-term role at all, even if it actually makes others a lot more productive. There's mostly only space for academics who happen to also code, and I've seen a few people crash out due to judging that wrong.

If you want to do research in an academic environment as a job, that's great (although depending on what it is, an industry research lab can also be an option). For people that are more about "making things with code" and don't need to environment, it's probably not the right place. For those that are happy at slowly chipping away at a problem, without pressure, a day job in industry and doing the development on their thing in their free time is also an option that avoids all the problems of an academic career.

E.g. for me personally, I decided to not go for a PhD because I didn't have a burning question I really wanted to solve that a PhD would give me the opportunity to figure out, and without that as a motivation it felt like all the things coming with it wouldn't be worth it (for me, having to do lots of academic writing was the main sticking point. Can't do that well, could probably force me to learn it, but would be unhappy with it). On the other hand, I know lots of people for which that worked out differently, but programming typically isn't the main aspect of what they're doing.
> mini hotel does not benefit the people that live there at all.

Become their drug dealer!
Thanks for the colour selector tip; not doing a search, I would have missed that it updates all pictures instantly. A very nice feature.
I disagree. 15k lines of code is a lot of code to keep entirely in your head all at once, which is basically what you have to do if you're using a language as dynamic as Python. In static languages like Java you can easily use tools to check types are correct, find usages of variables, jump to definitions and so on. And you get compile time errors if you screw up, rather than runtime errors.
Easy Recovery Essentials
Hold on. The setting is called “keep local data only until you quit your browser”. Not “local cookies”. And that’s always how I expected it to work. If it preserves data from web storage or others than this is either a massive fuck up or a disingenuous placebo setting.
I largely agree with what you said but

> there's nothing lingual about python that stops it from being compiled

Are you sure? Python is a very dynamic language. Some of the most dynamic parts of python might not be possible to compile fully ahead of time and might need to be JITed, because the behavior of the code will only be possible to determine at runtime.
My anecdotal data is I am able to focus better after riding a bike to work. I may not be any smarter but I can still get useful work done for longer.
Heheh, I ended up in the same boat. Enamoured with tile based rendering (and the lower price) I bought the PowerVR based Apocalypse 3dx which also had a shortage of supported titles.

All my school friends had 3dfx cards. Didn’t get to do 3D gaming until I bought a Radeon 8500 many years later!

Still have my 3dx actually...it was a very interesting card:

https://en.wikipedia.org/wiki/PowerVR#Series1_(NEC)

https://videocardz.net/videologic-apocalypse-3dx-4mb/
It is worth pointing out that an AOA sensor should not be critical for normal flight. If a sensor is faulty then why not simply stop using angle of attack as a data point. It should still be perfectly possible to fly safely and using a configuration that will avoid a stall. Pilots should be able to fly on a minimum set of instruments.
Maybe I'm picking nits, but the author is comparing programming experiences in each of those languages, which is perfectly valid. For example, last year I was part of a team that rewrote a very large Node.js program (several hundred thousand lines of code) in Go. The differences in following control flow and in the edit-build-test loop are like night and day.

We've found Go meets our needs better than Node.js for writing and debugging large programs. The languages are very different. Both are used for small and large programs. The experience in using them is what makes us choose one over the other.
It's a reason to fire that manager. I would report it higher up. If you hear it one time he does it probably all the time.
Given that the US now produces less emissions than in 2007, it would be more productive to aim your campaign at China producing twice as much. Inevitably, standard of living is linked to energy consumption and Chinese per capita emissions are one third as much as in the US, so their emissions are bound in increase if their general prosperity is headed upwards, which it is. Renewables aren't going to provide a magic solution. We know that now.
Could you post those links?
Indeed, there is some health tourism, but much less than I would expect given the prices.

I can't imagine that setting up a "Department Of Prosecuting New Parents" would go down well. Or even be possible. For example, most first-world countries today have millions of residents with no legal right to be there, most of whom the state does not prosecute/deport/fine. I think both for the lack of capacity to do so, and for lack of popular support for doing this at full scale. And deciding where someone was born (and who their parents are) is much much easier than deciding whether they got 100% of their DNA the old-fashioned way.
It's high by any standards. A 60 MB webpage would take 5 seconds to load on a 100 Mbps home broadband connection, which is well above the median in the United States. On most mobile connections a 60 MB webpage is going to be borderline unusable.
That's the second voting. I wrote

> In the preliminary voting

As for the second voting still most europarliament members from Poland voted against.

And it wasn't the final voting, just choosing the version of the VOSS report for further work.
Supermarkets have had No Frills brands forever but tended to be inferior (bottom of barrel beer, cling wrap that doesn’t cling, salt that clumps). Kirkland departs from that.

What is a little surprising is thd success despite the uninspiring design (unlike While Foods which prettifies it’s own line with modern color schemes, design and logos).
Why are cookies even persisted on disk in the first place when such an option is enabled?
Turkish Government Probes JPMorgan After Recommendation to Go Short on Lira
And the engine stats should be a good source of data.
https://www.reuters.com/article/us-turkey-banks/turkish-watc...
Most of the above is due to a proper IDE. Python, too, has one: PyCharm. Comes with 'find usage of variables', 'jump to definition', types checking, syntax correction, import optimization and much much more. 15k with pycharm is a walk in a park

\*More than one, of course. But I use only PyCharm :)
I’m guessing here, but maybe it’s in case of a crash, it can reload them back when you reopen the browser?
It is interesting and a bit disconcerting to see how a question like this one for some quickly turns into the the same type of partisan quibble as an Android-vs-Apple or Emacs-vs-vi or Linux-vs-Windows question would. If there were ways to map answers onto a globe I expect the 'pro-Boeing' answers to mostly come from the north-American continent and the 'pro-Airbus' mostly from the Eurasian and south-American continent with more diverse answers from the other continents.
15K LOC in Python. Be prepared to increase your LOCs to at least 33-100% when writing in Rust or Go, hopefully your error rate by line of code will decrease more than your overall LOC.
There are not only benefits.
People can offer bets, those with differing views can take the bets. You can even make a market with floating odds like BetFair used to.
Do all countries have telecom companies that are jerks ? I thought it was limited to Germany and US.
The article mentions gives an example of why it’s difficult to improve TCP further.

TCP Fast Open was standardized 8 years ago and is barely used. This is because updating TCP requires kernel updates, which just isn’t going to happen on most mobile devices.

Thus, moving the protocol to userspace makes a lot of sense.
i really think hacker news should put a small icons for paid links and also a fact checker
I predict this will be difficult.
I’ve never seen two languages so similar there was no didactic value to learning both. Hell I’ve never seen any language that offered nothing unique.

Except perhaps Java and early C#. before Linq.
these are all forms of 'intelligence' in a piece of life. I say if our body has transformed its blood vessels into a more 'healthier' state then the overall organism is operating more intelligently. Just not the type of intelligence associated with analyzing our external environment.
That maybe your personal opinion is not an objective fact?
That has nothing to do with why Google+ failed. Or Allo. It's because everyone was already using Facebook and WhatsApp and those have extreme network effects, and Google+/Allo were basically the same thing just owned by a different company. You don't need to invoke autism to explain it.
:%s/Asbergers/Aspergers/g
Keep passwords out of your ZSH history
Thank you.

Also for those who don't know already, unDraw [1] offers a similar collection.

[1]: https://undraw.co/
My friend had someone sleep on his floor after mistaking his door for the apartment above.

Before that, I was pretty lax with locking the door at night.
Not quite. Being able to test different paradigms is one reason why we protect liberty, but its not the only one. We also do it because people simply value their autonomy and consider it their right.

While the state taking away parents control over their children is bad policy when taken too far, IMHO it doesnt infringe on their rights. That would imply that one could have the right to control another person, which is not a thought Im comfortable with.
Given you could mass produce these for close to nothing I have to assume they don't actually work in RL?

I get all they do is light up a small led light at night ( 45-Watt(sic) light bulb for about 4 hours)

But still there must be a reason every house in a village doesn't have one in villages across the world? Is the battery the killer?
Line of code is a relative measure. If you leverage package like numpy/pandas, asyncio and co, you could easily write python code that are ten fold shorter than their C/rust/go equivalent. And improving speed when you make a good use of numpy requires quite an amount of time and skills.
Searched "vicarious tithing" to try understand what you were referring to, top result is this HN thread..
This is a timely post, since IETF 104 is happening this week in Prague[1]. The QUIC working group will be meeting on Tuesday and Wednesday to make progress on standardization[2].

[1] https://datatracker.ietf.org/meeting/104/agenda.html

[2] https://datatracker.ietf.org/doc/draft-ietf-quic-transport/
Note: right turn on red is illegal in all examples.

Like this:

https://goo.gl/maps/HJnyxbs1hnJ2

https://goo.gl/maps/VatZztEiXTJ2

https://goo.gl/maps/PpSaGeChwS12 Note the advanced bike stop line.

https://goo.gl/maps/zJZNRTYQ5ZL2 Note the bike-only tunnel.

https://goo.gl/maps/CWLmL1DTsBs

https://goo.gl/maps/dGJSZnQVfw82

https://goo.gl/maps/rvf9hP3DvV62

https://goo.gl/maps/sYNKHgEBsZk Note the two-way left turn for cyclists.

https://goo.gl/maps/63YCi5hzz6M2 There is a X-crossing right of this, but cyclists vastly outnumber cars here, and it's being removed.

In virtually all examples it is physically impossible for right-turning cars and cyclists to conflict, unless the driver is grossly negligent. There is no conflict due to phasing: one phase for straight-through cars and cyclists, one for right-turning traffic.
Academia requires more than being just a hacker/programmer and the money is not as good.

I share your experience with hacking in academia. It's amazing how much almost every scientific field has demand for academic programmers. Its not restricted to computer science. There is computational- subfield for everything: computational biology, chemistry, physics, brain science, economics. Almost all research requires some programming and tool development these days.

There exist similar positions in industry research labs with better pay. If somebody really wants to spend most of their career as a hacker–and not just writing bean counting apps for business–getting degree in some other field and then finding a job where they can program a lot is a good choice. Petrochemical research engineer who is a good programmer and knows computer science can have really fun problems to work with.
You can take a look on http://matt.might.net/articles/ He wrote quite some blog posts on the academic life of CS-related fields.
How is the pay? Bad compared to something like London for example.
It depends on the language. The more metaprogramming is used the harder to automatically refactor.

While you can do reflection/code generation even in Java, for the non-framework code almost nobody does it.

That's why I feel lot safer with large codebases in Java, even though I love some dynamic languages too. I don't think they're as scalable for big programs though.
If both mathjax and katex are open source, what is it that makes katex so much faster? Is there a hidden tradeoff?
The presigned requests are great, you can also use multi-part presigned URL to upload a large file in multiple chunks and resume the upload if it's interrupted.

Just one precision, you don't need to contact S3 to get a presigned URL, it's a cryptographic operation most libs do on your server. This means that if your key is invalid for any reason, the URL will be signed but the error will only be raised when the client starts the upload. You need to check for this in your code.
I wonder if that scrumlord is even capable of writing useful code anymore.

At my old school, the worst of managers had just no clue how to dive in and help. Sometimes they'd try and it would make things worse. Their mortgage payments and continued relevance began relying on control, not capability.

This would have been okay of we were the appropriate size for so many manager types but we really needed engineers who could lead.
I imagine that's only because FB/Google want to protect their distribution, and users run ads directly with them. Smaller publishers have no choice but to give it all up to the ad networks
Buckaroo Concepts for NPM Users
I was speaking of repressive cultures, especially those with far less choices available to women.
It’s not just about code organisation though. Both Rust and Go have fantastic compilers which catch a great many dumb but common user errors before you even get to the stage of testing.

Obviously this doesn’t replace the need for functional tests but writing those tests is as much prone to user error as writing the code itself. So having a compiler check for stupidity up front is always going to be a bonus.

Also the static type system helps a lot too. Having dynamic types can be awfully convenient at times and I completely relate to why some people like them but static types means your structures and classes effectively have written specifications defined in the code itself which the compiler verifies the rest of your program against. So if you’re accidentally trying to write text to a numeric type, your compiler will catch that.

In my experience the extra up front overhead (in terms of development time) of static typed AOT compiled languages end up saving you development time in the long run when working against larger projects.
Going on roads is dangerous and longer than using bike paths
DreamHost’s main business seems to be shared hosting for Shitpress sites (and the security issues that involves).

Based on that alone I’d recommend staying away.
Honestly, at an early stage startup, especially if your target audience isn't developers, it's pretty safe to only do checks on the front end. Just add them later, once you have enough volume that it's a problem.
I found Google+ to be great, but not nearly as many people used it. I'm not on any social network anymore though.
Wrist watches are marvels of compact engineering. Wrist watches are also repairable. These ear buds are, well, ear buds with integrated batteries. Batteries are known to wear out, this goes double for the smaller versions which are used in this type of application as those don't have much of a power reserve to account for normal wear.

If you ask me what a true 'marvel of engineering' in ear bud land would look like it would most certainly not be a glued-together throw-away product like Apple produces. It would have replaceable batteries, most likely screwed to the device with small screws (viz. the aforementioned wrist watches) or using an integral thread. The price Apple asks for these things gives more than enough room for this extra bit of engineering and hardware.

The fact that Apple offers a replacement for ~$60 does not change this, the devices will still end up on the scrap heap.
I can imagine that multiple tabs/windows don't share the same address space, so in case of opening the same website on another browser instance, saving to disk would make sure that the cookie is exposed to other running processes as well.
From glancing at the obnam code it looks relatively okay: https://github.com/lukipuki/obnam/tree/master/obnamlib

The one thing that stands out to me is that it's heavy on the unit tests and light on integration tests which would make an application like this (at least for me) more difficult to handle. I'd go heavier on integration testing and lighter on unit testing.
Mypy and type hints does catch that.
The US certainly hides debt well. The reserve status of the currency keeps money out of circulation, keeping inflation at bay, and we “borrowed” trillions of dollars by overcollecting payroll taxes in exchange for future social security payments.

Hopefully things play out well.
What do you expect it to do differently in that case?
I am personally investing heavily in Rust. I hope to bear some fruit
Not trying to dismiss this person's work in any way, but is there any reason why this blog post should be considered notable? They clearly say at the end that they've yet to write any real-world code in either Rust or Go, and so far have just been learning about either language - so how come that this shoots up to the top of HN? Is it just the magic keywords "Rust" and "Go" that do that?
This is not as surprising as it sounds to a web developer. For high quality photography purposes jpeg is bordering on useless, even more so if one isn't using Mozjpeg or guetzli to get images with reduced artifacts. Even for the most basic uses like sharing a photo with friends and family this can be a problem. For example I sent out an album of travel photos and a family member bought me a poster size print of one of them for Christmas ... using the 3200x2400 jpeg photo I had posted to Google Photos. So while if you're a web designer using stuff like big hero or background images jpeg makes sense, there are a lot of ways in which it simply doesn't cut it for most of us.

Fortunately, and _I can't emphasize this enough_, we're now in a situation where the major browsers support Webp or can have fast decoding support easily added. Webp is based on the I-frame encoder of VP8, and for lossy encoding represents a several-generations improvement over Jpeg. And it's here today. Sure, we'll all be using Avif in a HEIF container one of these days, but that isn't relevant to people building systems today.

Use WebP! For everything! Check out some comparisons between WebP and MozJPEG here: https://xooyoozoo.github.io/yolo-octo-bugfixes/#buenos-aires...

I now upload WebP and HEIC images to Google Photos, where they are both supported.
I do something similar at http://www.rodrigofranco.com/ — all using Orgmode exports.
That client offload bit is awesome. Thanks for a great writeup
Like someone with keys to the world should spend time living in both Scotland and England to absorb the vast cultural differences?
I share the author's sentiment, and it's what lead me to Haskell. It's faster and cheaper for me to write prototypes in Haskell than it ever was in Ruby.

And at least in startup-world which is the bulk of my career, the speed at which you can build a reasonably robust prototype can be the life or death of a business, and this prototype usually ends up being the production product anyway. Prototypes are seldom rewritten "properly".
Oh well, there's a lot of things you could do to speed up 'large volume' uploads S3 (server side):

1. Faster crypto impls for the platform (this will likely be the biggest win in terms of cpu usage per upload, if you're doing client side enc).

1a. Use Google ConScript as your JVM SecurityProvider, for instance.

2. Attach S3 Gateway to your VPC to avoid having to traverse through the internet to hit S3 front-ends.

3. Force resolve DNS per S3 upload request at request time. S3 vends different answers depending on the load at the front-ends.

3b. Assumption is that the cost of just-in-time name resolution + creating new connections would be offset by higher throughput due to connecting to S3 frontends with lower load on them.

4. Pre-warm your S3 bucket(s) to achieve higher throughput (Number of S3 partitions allowed per bucket is essentially infinity but carry a cap of 3000 write IOPS per partition, iirc).

5. Avoid tiny files like plague. You could try to zlib them up, but then retrieval isn't trivial anymore, and requires compute.

6. Use EC2 with enhanced networking that has dedicated 25GbE/40GbE links going out to S3, if you must use EC2.

7. Stream/Batch APIs wherever you can use them (delete, multi-part upload).

8. Latest AWS SDK.

Of course, there are new tools and services in town: S3 SDK TransactionManager API, S3 Accelerated Buckets, S3 DataSync, S3 SFTP, and S3 BatchOps that are much more hands-off and preferable to hand rolling your own highway.
The strengths of Go become apparent when working in teams and when deploying, not when reading blogs about the language before trying to write code in it.
Do you have any citations as to how old the issue is?
It’s been over 30 years and I can still hear the M.U.L.E. theme, so I guess it did the job of video game score very well.
https://hireautism.org/resource-center/interviewing-your-app...

I like the "supply questions ahead of time" - everyone should do this!
you've got to think outside the box. with fpga, we can get into new algs like variable-sized lattice gas synthesis.
I went and did a PhD in software engineering after a couple of decades working in industry and now back working in industry. Thus, I offer my comments in hindsight.

The primary focus of academic research is to extend the knowledge and disseminate that knowledge in the form of papers. Researchers are assessed on the basis of the number of papers they write and grants that they procure. The evaluation of the work is very much a result of the peer review process based on those papers and not the programs that might have been written in support of the core research.

The general observation is that most programs written as part of some research project are a hack written to address a very specific need and fast. A common gripe is that much research is difficult to reproduce because the programs are not freely shared and/or written for non-portable environments.