skysight-inc/HackerNews huggingface dataset:
It's a choice you need to make when developing.

I had to build a one-time export yesterday. Am I gonna spend a lot of time optimizing the speed of it? Or am I going to make it work and get the export to the client faster?

It would've wasted my time and the clients money if I optimized the queries. Sure, the export itself took longer. But overall, the task was done quicker.

If the client wanted this export to run on their server frequently, I would've spend the time making sure the export itself runs faster.
For the curious: this search _will_ be NSFW
To comment further, I believe you take offense at the snarkiness of my original comment. That's fair. I think I could have phrased it in a more respectful way. I'm sorry.
Pascal also was originally designed for easy parsing and compilation - single pass compiler with simple recursive-descent parser.

Maybe Delphi compiler works the same way.
I never said trickle-down economics work. I just found it ironic that the sort of group would would normally claim it doesn't work completely ignored that with. Basically, if trick-down economics doesn't work, why would you expect productivity gains to trickle down?
Uhhh.... C doesn't just compile to x86?
I'm pretty sure most of there work is US military work. Whether its putting up GPS or other sats
DevOps I would say, mostly lots of kubernetes work, and building various services to help us maintain them.
There used to be a Borland Museum that had free copies of Turbo Pascal and Turbo C, but it is down now as every link I have for it doesn't work. I was hoping they'd release Delphi 2.0 or 1.0 because it is 16 bit Windows.
We are using this approach to scrape the COVID-19 data in Switzerland.

https://github.com/openZH/covid_19

There is a common runner script and a matrix configuration to run this script for each Swiss canton (see https://github.com/openZH/covid_19/blob/master/.github/workf...).

The scrapers report errors to our slack channel and we even have workflows to deactivate/re-activate a single scraper, since it's common that one fails and we need to fix it (to stop spamming the slack channel with error messages).
I worked on a Haskell code base that had Unicode enabled. It rendered GitLab’s search useless, and vim/emacs had different key combos to enter them. We eventually worked them out of our code due to the hassle.
Yeah, it's pretty interesting as somewhat of a "bottoms up" approach vs the Salesforce approach.

I swear there's some law for these sorts of things where they inevitably end up as a marketing automation platform.
Real time event orchestration, eventual consistency in complex systems
The Pull Request Hack (2013)
RDF triples turn out to be a crucial part of the architecture as they make describing deltas really straightforward. It is just these triples were added and these triples were taken away. Performance is good - you get a degradation in query time as you build more appended layers, but you can squash these to a single plane to speed up. Often we have a query branch where the layers are optimized for query and another branch with all the commit history in place. We are working on something we call Delta roll ups at the moment - these are like squashes that keep the history. Hopefully you'll soon be able to automate the roll ups to keep query performance at a specified level (something like the vacuum cleaner in postgres).
It is in-memory, so you are limited to what's in RAM for querying, but it persists to disk, and we are betting that memory is going to get bigger and cheaper over the next while.
Extensive previous discussion: https://news.ycombinator.com/item?id=24728887
It was recently pointed out to me that health insurance costs roughly the same to purchase for each employee, so with wildly different wages, the percentage that health insurance makes up of the total cost associated with an employee also differs wildly. So while health insurance might make up e.g. 5% of what is paid for a software engineer, it could make up 80% of what is paid for a janitor. This puts a big incentive on companies to get rid of their lowest paid employees (or wiggle their way out of providing benefits), since there is essentially a fixed price income tax that always needs to be paid on any salary regardless of it's size otherwise.
Feels like the descenders are just a bit lower than normal, I like the contrast that brings with the parens and brackets. It looks clean.

I'm excited to spend some time trying this out.
FAT32 is not a very fast filesystem. Things like caching are necessary to make it performant. Also, the IO subsystems in Win98 sometimes chose slow paths or interfaces.
Very often you will read science journalists butcher an explanation, or read way too much into something because they don't know what they are talking about. The part in this article about the fungus "solving" the maze has to be one of my all time favorites. If you take every path in a maze simultaneously at the same rate, the first path to the exit you find will be the shortest one. Its simple geometry. And that means mushrooms are magic (or something). When you have a very simple thing to say (or nothing at all) and like hearing yourself talk, you will write articles like this one.
> Isn't the correct analogue to the API code the instruction book rather than the resulting ledger templates?

I would say it's the latter and not the former. APIs aren't instructions in and of themselves, they are instruction identifiers. And the instructions they identify correspond to interactions in a working system. If one wanted to recreate the working system, they'd be hard pressed to do so without recreating instruction identifiers. This isn't just an interoperability issue, but also because experienced practitioners have certain expectations re instructions semantics. Those semantics are often unexpressed directly and come from for example their organization into a given module.

> But here they're alleging something further: that the API (instruction book) itself has been copied.

This is where I'm really puzzled. The API is not the instruction book. The API is a method of interacting with an invented system. You cannot use the API in isolation from the system, by itself it's largely useless. You can't take the API, read it, and then be able to use the system. You need the API to use the system as well, by definition it cannot be used without an API. You could say that the instructions and the ledger templates are fused and inseparable here, but that's only in cases where no other documentation exists which is not the case for the majority of system on the level of Java.
For C compilers like gcc and clang it's comparing against -O0. Anyway, there are two issues with that long-term trend in compiler design from my perspective. The first is that the optimizing path is too slow and they don't offer an intermediate point on the Pareto frontier that reflects my trade-off preferences because too much of the slowness is architectural in origin. But the second and much worse problem is that the non-optimizing path is barely any faster. You can't make a fast non-optimizing or somewhat-optimizing compiler by taking the architecture of a heavyweight optimizing compiler and setting some internal flags and skipping a few passes. You need the fast compilation path to completely dictate the architecture from end to end, with the constraint of still supporting optimizing backends, and you need a development culture that treats the fast path's performance as inviolate and sacrosanct.
The SEC trusts them to regulate themselves with the understanding that they had better run a tight ship, or the heavy hand of government will come down.
Rich people can buy things with their money, that’s sorta the point. One of those things is a college admission. Whose integrity is compromised when a college trades an admission slot for a building?
If that were true there would be no resistance to raising the minimum wage. The truth is that it redistributes wealth.
Vit B12 LXX kg fiat bolus sumendum ab alta oculus uterque hora somni ought to do the trick.

Determining LD50 is left as an exercise for the reader.
Makes sense. Basically their point-to-point cargo delivery use case, but to war zones. The military and intelligence agencies undoubtedly have need for quick delivery of assets to remote areas, and the money to pay.
Wetlands: Interactive ecosystem, visualising living data and user interactions
I can't say I really like the idea of a "magic" import, but I'm sure some people might find it handy. It just sounds like a recipe for having things break later in mysterious ways but if it's just a one-time use sort of thing I can see the appeal.

Personally I've been really happy with with pyenv[0].You can install multiple different versions of Python side-by-side and it does a great job managing virtualenvs.

pipx[1] is also pretty good for managing virtualenvs to install applications in but IMHO less so for doing actual development. You can use it to seamlessly install venv'd Python apps or spin up apps in ephemeral environments.

[0]: https://github.com/pyenv/pyenv
[1]: https://github.com/pipxproject/pipx
Smoke particles from California reached Switzerland
A variant of this is to mandate that every header #define a documented symbol, and then have a #ifndef guard for this around the inclusion of the header.
That is a major usability setback. It gets worse when headers A and B both require header C. Let's say your source already includes A and C and you want to add B. Now you need to manually read through the comments to understand where exactly in the include list you need to plug it.

This will become completely unmanageable once your include count surpasses 20-something, which is normal for large projects.
It doesn't matter. Most of the time now is spent on code optimization. And it's becoming more significant everyday
Judge rules Apple cannot take action against Epic Games dev accounts
> The real Orwellian phenomenon is not some kind of scary gatekeeper separating truth from fiction, which is actually a productive use of authority and necessary in any civilisation that doesn't want to turn into a clowncar...

From this sentence, I assume that Stalinist Russia's approach to the subject of 'truth' would constitute a 'productive use of authority'?

Do you think that the reporting in the early 2000s mainstream media regarding Saddam Hussein's supposed stockpile of chemical weapons constitutes a good example of the establishment media being good stewards of the truth? This propagation of blatantly false information by the establishment led all the way up to the invasion of Iraq. A war that is these days generally seen as a regime change for the benefit of interested parties, established under false pretenses.

Or is all of this just 'not true communism' to you? Do you support the ways that governments, intelligence agencies and the media have been proven to have colluded to invert our reality? Or would you support some other, idealised government doing it? I have no idea what world your head lives in.
Don't be fatuous, @viraptor.

</j>
>Screwing around with world interest rates that affect billions of people in exchange for day-old sushi – it’s hard to imagine an image that better captures the moral insanity of the modern financial-services sector.

"...an image that captures..."

I think it's you who misread Taibi's meaning rather than him having missed something there, fwiw.
An IDE like PyCharm should be able to suggest the import for you.
Wouldn't it be great if you let in a million people from countries where people make lot less than $20. It would be fastest way to raise standard for those people
> A fork() call can be relatively cheap, but is rarely as cheap as an accept().

Agreed, obviously. While I personally am not that concerned with the cost of connection establishment, and much more concerned with the context switches in a threaded / process model, the fix for the latter would also likely fix the former. I think there's a few higher priority issues in PG (some are prerequisites too), but it's somewhere in the top 5 issues

> The biggest limiting factor in my experience is actually Work Mem.

For me it hasn't been that big an issue in practice. It's transient memory usage, i.e. it's only used in the backends processing queries, not idle ones. And many - but not all! - cases where you have a huge number of connections most queries are simple, and use a good bit less than 2MB.

There are a fair number of issues with work_mem, don't get me wrong. But more around it being used several times in more complex queries, than the simple fact of using some memory for query execution. And it being hard to limit the number of concurrent queries rather than the number of connections.
Can anecdotally confirm this when I've been on the interviewer side, alongside coworkers who I am/was also close friends with. I'd agree with you on the traits.

I always felt really gross afterwards because I felt like the interviewee was wronged, but it just wasn't worth the potential conflict with my coworkers/friends if I did anything about it, either during or after. Walking on eggshells and all that.
can i ask how you got into the field? Not op, but I too am stuck in this web (pun intended lol) about frameworks, and REST and only have a high level understanding of software
I really want to dig deeper, do DS/Algo and get better at the basics (usually C/C++)
GhostDNSbusters (Part 2)
I refuse to turn myself into a computer. Thus, I continue to recommend this proportional coding font: Input Sans.

Check it out here: https://input.fontbureau.com
From wikipedia (deleted?)

> Segment is an American customer data infrastructure company based in San Francisco, California. Its software allows enterprises to combine the collection of data from their customers, whether through a mobile app, by e-mail or in a store. Segment was founded in 2011 and accepted into Y Combinator in the same year.

So nobody feels comfortable talking about what they do.

> Segment | Customer Data Platform (CDP)

> segment.com

> Segment collects user events from your web & mobile apps and provides a complete data toolkit to every team in your company. Marketing Single view of the customer.
Czech Republic here. We are somewhere between France and the US when it comes to hardness of firing people.

Agency work is extremely common here, especially on the lower level of the job ladder. Gig economy and contractors are common even in higher settings, such as software development.
Sounds like WSB.
Oh mate - definitely something that the dopamine dealers need to confront at some point. ‘Want’ vs actual material benefit to life
https://cr.yp.to/daemontools.html
Can anybody help this guy?
Hi, I was browsing HackerNews for Self Hosted software, where I saw that one of the links was broken and pointed to a very depressing page. I thought it would be immoral of me not to share it here. Maybe somebody can help him? Sorry to bother you all but I think this is important.
So where has the surplus gone? Does the disproportionate growth jn wealth at the top roughly equal this surplus?
There's a repo dedicated for such snippets: https://github.com/satwikkansal/wtfpython
I'd definitely consider Stripe in the running.
This is exactly what I'm concerned about. Do we really want anyone launching ICBMs? I doubt any adversary would take too kindly to these types of launches- and considering their trajectories, they may appear to be attacks.
That doesn't require a politicized workplace. Only a mission-focused one. One of Twitter's mission could very conceivably be to attach warnings to misinformation, irrespective of what political agenda it is intended to advance.
Etrade has fees on options. I assume others do too.
Most is commercial. Even if you count NRO and GPS as military, most launches are for commercial customers or themselves (Starlink).

They do get paid a heck of a lot more for the “military” launches though, so I don’t know how it plays out if you calculate revenue.
>How can _any_ language compile a unit passing a struct Foo on the stack without knowing the size of Foo.

The idea is not to compile a unit without knowing the size of Foo. It's about making sure you figure out sizeof(Foo) in near constant time.

With C#/Pascal, it means:

* For each referenced module load its symbol table into RAM. If implemented cleverly, this is literally one read() call.

* For each referenced symbol, search each hash table until you find it. Since the hash tables are only built during compilation, you can auto-size them so that an average lookup takes just 1-2 steps.

* Bonus point: for libraries, you can merge the hash tables. So n is now a number of libraries, not number of files.

With C++ you are stuck reparsing megabytes of code at the beginning of each translation unit. It's millions of times slower than reading a couple of pages from disk to RAM.
SpaceX operates entirely at the behest of the US government and military. Elon has lofty goals and speaks aspirationally, but they are a defense contractor no different than Lockheed or Boeing.
SEIR Model
California's Vanishing Lakes and the Hunger of the Mines (2015)
It’s funny reading all the anecdotes on how handwriting notes help with programming. Because for me it is the complete opposite.

I think the part that helps so many here is the taking your time to think about the problem. That is the important part.

When I work on geometric or algorithmic problems, hand drawn sketches help a lot. But writing by hand is just so slow for me, compared to typing, that I can’t get all my thoughts out fast enough.

That’s why I usually write long bullet outlines in Evernote or some other tool when thinking about a problem. It lets me capture any thought quickly while also letting me organize them on the fly, by reordering, creating hierarchies, adding links or images, even hand drawn sketches.

Seeing the structure further helps thinking about the problem. In the end i have a relatively exhaustive, structured note informing me of pitfalls, requirements etc.

Compare that to writing by hand, not being able to read parts, constantly erasing, not being able to rearrange my notes anywhere as quickly... I hate it tbh. And i don’t even think that training to write nicer and faster would help that much. Thinking about where to write what in advance, to me, is restricting my flow of thoughts and gets completely in the way. If I knew what I will be writing down in advance, I wouldn’t have to do the exercise to begin with.
This was the link: https://news.ycombinator.com/item?id=10558436

which goes to 404 now and going to the TLD redirects to that page.
As other said, competition, Look at web hosting, how many choices you have with different prices, features and support.

My main point about he number x% tax is that the number itself is irrelevant, a judge should not decide that if the number is 30 then Apple is fine but if is 31 or 29 then is not fine, so people looking at the number are looking at the wrong thing.
How much of a speed difference is there for iterating over the rows of a data frame in Julia vs pandas itertuples with index false and name none? Any ballpark figure will do, I’m curious.
It was the entire portion, was not through an employer.
YES! Me too, I'm developing in Go now and their Goland IDE really reminds me of some of the best of the old days @ Borland.
Google to stop supporting noindex directive in robots.txt (2019)
https://www.fastcompany.com/90550015/we-were-shocked-rand-st...

What do you think about that? Did they make any errors?
>The pragma once solution works, but it is hard to implement it for every system (what happens when a file has different names but same content)?

I would say, that qualifies as "good enough". The amount of headache saved from accidentally having 2 guards with the same name it way more than the requirement to NOT have multiple symbolic paths to the same file used at the same time.

That said, modern compilers just use inode number (and a similar thing on Windows), that covers about 99.9% of real-world systems where you want to build.
The standard practice of putting the ifndef guard inside each header is specifically optimized by compilers, though I don't recall where I read that.
I have taken 4000 IU for two months or so. My diet probably contains enough Vitamin D otherwise.

Anyway. I started to have heart palpitations / arrythmia. Stopped taking Vitamine D for other reasons (basically I forgot to buy more), heart issues went away.
This was an immediate reaction, I went from being able to afford healthcare to not affording it.
I won't claim the system isn't corrupt at all... but if you were taking a job where the expectations were ridiculously high and there was a pretty chance you'd get fired possibly for things outside of your control, and in a way that would end your career because your failure would be so public if you screwed up, wouldn't you demand the golden parachute as insurance?

True often the golden parachutes are way too high compared to realistic performance bonuses. But if you think of that as insurance - the board and the CEO both know this is risky, so they negotiate a fixed golden parachute just in case it doesn't work out - otherwise why would someone who wouldn't get fired take the job, since they wouldn't want to risk the downside?
huh, i could be remembering it wrong, the yoyo was fast but you might be right about the dude being slow. definitely very smooth though.
Marine posts video threatening to shoot Chinese people over Covid-19
Really happy for the team and especially for the founders. They proved to be very technical and assembled a truly impressive engineering team, culminating in a huge exit.

The founders deserve every penny of that $3.2b and deserve the very nice lifestyle that will afford them. A great story that will inspire others including myself.
The downside of such an approach is that it hides the inevitable complexity of dependency management. Things like version constraints, licensing and platform specifica are important. If developers don't see them, they won't learn about them.

For instance I encountered a python wheel lately that "conveniently" shipped a precompiled .so file. Not only was that a security problem but also did that file not work properly under Ubuntu 18.04.
Gentle reminder that architect of C# was snatched by Microsoft from Borland. Before that he was main guy at Borland for Pascal/Delphi. So I'm not so sure he simply copied from Java anything.

https://en.wikipedia.org/wiki/Anders_Hejlsberg
There's much more to "How computers work" than just assembly. Where are networks, operating systems, databases, compilers, architecture, etc?
I haven’t one time in my 20 years of development had a time where that readability mattered tho. SQL very quickly becomes too complex for people who don’t intimately understand the language to make any sense out of it. Show a layman an INNER JOIN and see if they can make any sense out of what’s happening...they’ll just do what they do in real life: ask an engineer.
Artificial Intelligence and the Common Sense of Animals
>Today, they’re almost all indirect hires, employees of random, anonymous contracting companies: Laundry Inc., Rent-A-Guard Inc.

That should be made illegal to do...
Yep, it's typical clickbaity fake news from Vice

https://www.academia.edu/39234303/Old_Texts_New_Masks_A_Crit...
I think the whole point of orders of magnitude is to be a back-of-the-napkin estimation of what's what.

"a new car is an order of magnitude difference in price compared to a used car" is appropriate even if a new car is 40k and a used car is 5k

Electric cars have two orders of magnitude less energy storage than gasoline cars, but newer ones are only one order of magnitude.
Coinbase says they want to be political insofar as it relates to and advances their mission. But political activism that is outside this scope is a distraction and what they are barring from company premises. I assume they also oppose political initiatives being taken without the approval of management.

Their position is pretty straightforward and sensible, even if it is not entirely straightforward to implement in an even handed way.