skysight-inc/HackerNews huggingface dataset:
> What sort of optimizations does this assumption enable? Does it allow the compiler to freely reorder or parallelize the code?

Consider this code:

void foo(int* data, const int& count)
{
for (int i = 0; i < count; ++i)
data[i]++;
}

The compiler has to account for the possibility of `count` being inside of `data`. It has to reload `count` from memory at every iteration. This also prevents e.g. auto-vecorization:

Compare https://godbolt.org/z/sNRKv4 vs https://godbolt.org/z/iJq5yn.

Similar story if you manipulate data with multiple arrays in play: Unless the compiler knows (via `restrict`, type-based alias analysis or just seeing the definition) that two objects are non-overlapping, it has to correctly handle the worst case. See also this related discussion: https://news.ycombinator.com/item?id=20800076
Delaying the Insect Apocalypse
You seem to be waxing lyrical about bad UX, but the UX for a webcomic just needs to be "show me the comic". And that satisfies it.
I don't think its bad. Bad is obtuse or confusing navigation, small text, links that don't look like links, and pages that take too long to load.
In fact the only bad ux i can see is the archive, which opens up an image in the same window, forcing you to use the back button, where all other navigation was via the menu.
Only to the suburbs. The rural areas are looking worse off, due to underbuilt infrastructure.
We work on a product where we must deploy different Linux distributions for customers but it’s imperative they’re stable and we’ve tested the image at an exact point in time.

Snap is an extremely big pain when it comes to this. We have to workaround for forceful updates by telling it to use a non-existent proxy, it’s very dumb.
LockBit, the new ransomware for hire: A sad and cautionary tale
Ah, but who defines what needs to be red-flagged or not?

"One man's 'freedom-fighter' is another man's 'terrorist'."

It isn't going to work.
Ask HN: Please tell us about effective pipeline you built with Airflow/Beam
Seeking inspiration. Thank you.
Zero (“without”) money - zero learning.
They will surely not be borderline rich in India. I think you should correct your facts and not be so proud about your country.
Interesting point. However, Alphabet is probably not the best example, Unicode perhaps? The upper bound in Unicode is ~ 1.1 Million, but still fixed
Thread reader scrapes and combines the Twitter thread. It's not different content than the article link.
Ghost kitchen means
a real kitchen with a fake brand-only "restaurant". It's more akin to "white labeling".
Of course one could argue the Chili's and Applebee's are just "white label" brands for Sysco food.

Parent was referring to DoorDash pretending to be affiliated with the real restaurant you but from. That's not really dropshipping.

Dropshipping would be setting up a ghost kitchen storefront but not even having a kitchen, just redirecting orders to Chile's or whatever.
You can note the version everyone is complaining about here _is_ the LTS.
Corporate WiFi networks should be untrusted. Once a device is connected to the WiFi users should then be required to connect via VPN before internal network access is granted.
The thought of realising that mistake makes me feel sick to the stomach
They talk about how Lua was too slow on mobile and how it was one of the main reasons they started the project.
Neither, it’s a question of inside, or semi-inside information.
Wikipedia entry:

JED is a text editor that makes extensive use of the S-Lang library. It is highly cross-platform compatible; JED runs on Windows and all flavors on Linux and Unix. Older versions are available for DOS. It is also very lightweight (meaning very parsimonious in its use of system resources), which makes it an ideal editor for older systems, embedded systems, etc. JED's Emacs mode is one of the most faithful emulations available.

https://en.wikipedia.org/wiki/JED_(text_editor)
For the other reasons besides the bugs. I have used the text mode IDE a lot to write smaller programs and it is always a PITA (just not enough of a PITA to open Lazarus, create a brand new project, etc). And some of that is outside FP's control, like Linux terminal emulators being universally broken when it comes to complex shortcut keys that involve function keys and modifiers. Add to that the the Windows console window now also tries to behave more like a Linux terminal (though even before you still had to manually modify the shortcut to not create a 200 line buffer or whatever that causes the IDE to try and use all those lines as its 'screen' - which is especially annoying when it also decides to display a dialog, which is centered at that 'screen' and you have to scroll to see it, usually after pressing a few keys like Alt+F to open the menu and noticing that nothing happens) and you get even more issues.

Honestly the only environments where the FP seems to work (outside other bugs not related to the UI) is DOS and Linux's own console/terminal when running by itself without a window system.

In any case i submitted that message too quickly, that "either" part should have been followed with the alternative to keep it around as a fallback for the platforms where a GUI isn't available or in case someone wants it (though considering how broken it is, i doubt anyone is actually seriously using it).
"Wanna know the secret of making [X] fast? [...] Use a profiler."

Still really valuable advice. We know it, but do we do it?
A reason for simple parsing is to make the toolchain for the language easier. And in particular, you don't want a preprocessor. Try to parse your program into an AST? You can't in C/C++ in general -- you can only parse it for a particular set of preprocessor defines, which will leave out large chunks that were deleted during preprocessing.
A Few Billion Lines of Code Later: Using Static Analysis to Find Bugs in the Re
Which optimizations are enabled by immutable data?

If nothing else, deep immutability means you can pass around a reference to data instead of the data itself but still treat it as having value semantics. This can be a huge saving with large data structures, sharing data across threads, etc.

C++ programs are full of functions taking const references to things instead of the things themselves because C++ programmers have to do this optimisation (or some equivalent) manually to get the same performance boost, because the language doesn't prevent all possible cases of aliasing that would make automatically applying that transformation safe.
Warren Buffett: Berkshire sold all its airline stocks because of the coronavirus
I'm noticing that you didn't really address the meat of the parent comment, about the requisite complexity in documenting even a straightforward physics experiment.
This wasn’t a vote. There’s no constitutional protection of “secret comments”
Algorithmic trading does not equal high frequency trading, most of your post implies the opposite to justify your conclusion of folly.

An algorithm can swing trade at the same time frames a human is interested in, it can create complex order types faster than humans can, it can adjust chains or orders triggered by one order being filled or canceled, it can adjust which exchanges an order can go to....

Order and position management is a more important piece of algorithms than actually getting filled faster and analyzing data faster.
Why _not_ React?
Don't start a sentence with a conjunction.
Ubuntu (and GNOME, who seem to have the same mindset) have no clue in hell how to actually get the billions of proverbial grandmothers to use their software. All they seem to manage is to poorly ape Microsoft and Apple, which will never get them what they want.
I’m not sure I would call 65,000+ dead from coronavirus “waiting for something to happen”.
This kind of mental gymnastics just muddies the waters. My original point was that hospitalization (and/or ICU) rates are contingent on infection rates and that no one has reliable (and/or accurate) infection rates. Exactly how you calculate infection rates (testing, contact tracing, self-reporting) is immaterial.
They had a PowerPC emulator on the switch to Intel too.
For anyone actually serious about prototyping a SaaS, getting MVP out the door, try firebase. It solves a lot of the problems in the article for you. It’s flawed and annoying but I believe indie hackers still runs on it.

It’s relatively expensive, but if you consider productivity gains it’s basically free for a long time.
Life Sciences Observations #8
US only knowledge but in the US...

This is (possibly depending on use) a biomedical device. These are regulated such that we pull separate cat5/6 and put up chain link in network closets. The Cisco switch in one side of that fence just vanilla corporate IT with email, EHR, Netflix etc; the same switch on the other side and all the stuff connected to it - from the bedside monitor out through the central alarm station - is a medical device.

That isolation is the presumption referenced in the recent GE vulnerability [0] and the challenges of getting bio med chocolate in the corporate (ehr) peanut butter presents significant challenges [1].

[0] https://www.fda.gov/medical-devices/safety-communications/cy...

[1] https://www.accessdata.fda.gov/scripts/cdrh/cfdocs/cfStandar...
Right, it's a false economy. Though, to be fair, the Java/C# ecosystem has the same problem to an even greater degree. Not to mention popular "dynamic" languages such as Python, Ruby etc.
Snap is really terrible. Flatpaks and AppImages are the way to go. I wish they are supported more (especially AppImage)
Please suck Uncle Chang's dick deeper my friend. It needs all the attention it can get.
You can set Snapd to use a proxy and just turn the proxy off until you want to update (lol)
Also, I think the set of people who proclaim that has a strong overlap with people who believe that transgender people going into the bathrooms of their choice is extremely alarming due to privacy concerns.
Ask HN: How does mind-reading in the lizard mode work?
How is it possible that one is able to read the thoughts of other people in the lizard mode?
I can't believe such a simple site somehow ended up with node and markdown thrown in. Why would PHP or even plain HTML not be sufficient?
Georgia the US State or the country?

Personal opinion: never use a personal address for a business. PO Box, UPS mailbox, coworking space, sure.
Location: Jakarta, Indonesia

Remote: yes

Willing to relocate: Yes

Technologies: Java, MongoDB, Terraform, AWS, PHP

Résumé/CV: https://www.linkedin.com/in/willy-s-0147561a6

Email: willy.setiawan@protonmail.com

---

Software engineer with 7+ years experience developing mostly backend services in Java ecosystem. Have experience with managing cloud infrastructure.
Ease of replication makes things like music, movies, and software worthless.
What's wrong with Hacker News?
The article doesn't seem to be promoting using the Swift protocol approach to composition — at least, that's not what it uses the "Value-Oriented Programming" name to refer to. Instead, it's saying that instead of using the Swift protocol approach to composition, you should return a complicated value of some concrete data type from your function.
An adequate editor with autoindent and paren matching solves those problems completely.
Using generic methods in lisp worth eql keyword for state change is a natural way of doing this.
It looks like AlGalCo makes an aluminum-gallium alloy that produces hydrogen + aluminum oxide when mixed with water. This seems like it would be useless in space, because the oxygen is locked away until you run the waste through an aluminum smelter.
What about client's valuable and private data? I've always thought it'd be a big problem for freelancing as an AI engineer.
Unfortunately, I observe that SF typically does it backwards. They (the peculiar political process there) identifies the business or person they like, and puts up rules to protect that specific thing. Rather than create the broader incentives and guidelines that lead to that business being made possible. It produces a lot of bad side effects.
It also seems likely to serve as clicking another step down the slippery /Big Brother surveillance now using your own property to surveil you/ slope.

Establishing this precedent, helping condition people to cooperate with such unnecessary invasions, under the guise of a big doomy crisis, seems like it could serve a variety of erosive purposes.
Even accounting for what you say, it's a short learning curve compared to most languages. It's not like there's any programming language in the world where you just read the manual through once and, boom, instantly you know exactly how to architect a multi-person-century project right out of the gate or something.
Is it only for US citizens?
Well, that's the current state of Go if the half dozen blessed versions don't fit your use case. Everyone just writes their own slightly incompatible versions.
That’s not true. High frequency trading is the reason why the spread between buying and selling is so low. They compete to get your order. But you do loose money to these traders each trade you do. Even if that’s actually play in your favor.
So...I guess we are done with Ubuntu then.

This is terrible. We use Ubuntu on systems where bad things can happen if software becomes unstable due to an unwanted update. In other words, nobody, nobody would ever even dream of installing any software of updating the OS without authorization. And this authorization would require regression testing in order to verify the changes would not compromise the system.

I don't understand how anyone working on Ubuntu could think this is a good idea.

To be clear, if Linux (let's say Ubuntu) is going to become a viable OS for the masses it probably needs something like this. I get it. However, there is no reason to break the traditional stability of Linux and even risk creating danger.

Disabling this mode should be as simple as one setting. In fact, it should be offered as a choice during installation with a full explanation. This is where they could make a pitch for the functionality. Those of us who don't need it (or can't use it for other reasons) can opt out and move on. Consumers, sure, I don't care.
Thanks for sharing!

As you work between Japan and the US, I'm curious about the rate difference. Are you able to charge the same?
Ask HN: What are your favorite hacker tips?
Here is mine. To backup my work, I've created a bitbucket account with a mercurial(hg) repo for the root work folder (with many projects inside it).

So now my backup is 100% free, very fast and it follows the `.hgignore` file (like '.gitignore') which allows me to exclude folders like `node_modules/`, 'vendor/', '.git', etc.

This way I'm using git for my projects and mercurial for the backup (git doesn't work on the root folder because it thinks my projects are git sub-modules). This is just as good as using Dropbox or rsync or anything else for backup:

cd /home/mike/projects && hg add && hg commit -m "backup `date`" && hg push && hg status --rev -2:-1`

Now please share your tip!
With all due respect, bullshit. Preface: I go back to the 70s in programming. I've done 8-bit on 8080/Z80, 68xx/68hc11, 8051, SMT8, 6502 and 2650. I've taught programming. Let's ignore the challenge of finding an assembler running on a common 8-bit home computer and getting it running and how much the early ones sucked. Let's ignore how little doco there was for those early 8-bits (no internet, remember). Let's ignore how user-hostile the debugging and error messages were. Was it easier to explain to a kid "repeat 4 [forward 50 right 50]" or a bunch of memory pokes and all the boilerplate required to get an assembly language program to do anything.

You're special, of course...I get it...superior in your own mind. But based on my own experience, for the vast majority of lesser humans by your measure, Logo is a lot easier than asm as an intro to programming.
> snaps are compressed to save disk space

The list of dumb decisions that Ubuntu has been making recently just keeps increasing.
> Mixtures of the two tend to have syntax problems.

My gripe isn’t the syntax, it’s the lack of guarantees/constraints.

When I’m working in a language with immutable data structures, I know what to expect. A language like Python with some added functional sugar is much harder for me because I make stupid assumptions. Spent a half hour once chasing down a bug just because I was carelessly assuming list.pop() didn’t alter the list.

Now I keep a Python shell running all the time so I can see whether various functions have side effects.
Great, thanks for writing this up. I agree with all of these points, these are the trade-offs, I end up preferring Wikis, but I can certainly see how someone can prefer other formats for these reasons.

Two more quick questions if you get a chance: Which document format do you prefer? It sounds like you like to mix different document types, but I'm curious what your bread-and-butter/default choice is? I'm also curious what you mean by "complicated stuff" (in "for something trivial they are great, for complicated stuff they become a hindrance"). I'm assuming you mean things like inline graphs and diagrams? But then this ties into my first question, I'd be really curious to hear what tool you think does do things like that really well? (I've always just exported from other tools.)
The US needs to improve its immigration system so that it can hire these smart engineers, from places like Europe in particular.

Right now, the current H1B system is totally dominated by Indians, who make up 70% of the intake. The scheme seems designed to undercut American salaries, rather than enhance American companies with highly skilled workers.

The scheme should be redesigned with a higher minimum salary, and a maximum of 10% of the intake from any one country.

And yes, the education system needs to change. Education should not be an 'export' - knowledge should be retained inside the nation, not sold off to foreign competitors. International students should only be accepted from America's closest allies.

Heck, education and immigration could just be overhauled to be NATO-only, with selected highly developed NATO partner countries as well.
This comment is not nearly as dramatic as the situation is in practice. Here is how to connect to Cornell WiFi as a student:

https://it.cornell.edu/wifi/connect-eduroam-android

Notice this does not setup certificate validation (and therefore does not authenticate the AP is actually from Cornell). It also tells you to use the completely broken MSCHAPV2 and login with credentials that allow access to a number of other university services.
So in this setup, not only can you still trivially impersonate a Cornell AP, all clients also give you their specific login credentials in a way that allows you to recover their passphrase.
Oh, my apologies. I read a few paragraphs and it looked like a basic tutorial about Swift protocols and inheritance vs composite, so I stopped. I'll read the whole thing.

Edit: Yeah, you're right. I read to the end and that's pretty much functional programming as you suggested. I'm not convinced it's always better than using interfaces. Like most things, I think it depends. For example, particularly when programming "in-the-large", I think being able to package up different contexts (like a TestRenderer) into different protocol implementations is often an advantage of that approach, not a weakness, as he seems to imply.
Of course - I was comparing SQL to loading all the data in memory and then using one's programming language of choice to do the hard work. Even a poor schema in a row-based database will outperform what I described after a certain number of records.
True for inflation, but what we're more accustomed to seeing lately is stagflation.
Levels.fyi is way outside of the HN-bubble... Ever heard of blind? Levels.fyi is their holy Grail.
That sounds…potentially confusing? Correct me if I'm wrong, but it just continues to run the last version of the program without errors, but it won't tell you if the current version is syntactically invalid?
Plus your share of the HR and internal IT teams, and any other part of the company that doesn't exist to service end users/external customers.

It's only a rule of thumb, it doesn't need to be exact, and the more you earn the less accurate it gets.
If you have a spare raspberry pi laying around, give dosbian a try. A custom raspbian that drops to a fullscreen dosbox in seconds. Drop qbasic on there and some example code from the sites out there, and let them have at it.
I think your third point kind of supports the idea that banks are concerned about future property values. HELOCs are typically junior liens, and in the case of a property that loses its equity, essentially unsecured debt. If they aren’t concerned about property values decreasing, then presumably they would be confident they’d recuperate the lended amount through the foreclosure. If the property is underwater that is unlikely to be the case.
I love this kind of web design. So much more authentic and creative than "professional" design. It's a timeless design while the industry's trends for boring cookie cutter websites change constantly and nobody will remember them.
For someone who has been out of the loop on the whole Snap vs Flatpak situation, could anyone give (or point to) a comparison on their technical merits, and why would one be better than the other?
So functional programming + type classes?
- no social signaling value

- knowing that there is an easily obtainable alternative (piracy) makes buying feel like being cheated/ripped off. people don't like feeling like fools, they like to think they re on top of things

- copies are free to make, so nobody is being deprived or damaged by them obtaining a copy

- programmers are generally invisible, so no emotional guilt unless the programmer themselves makes a personal plea/fundraiser

- probably no emotional value before buying. after buying, perhaps there is a certain emotional commitment to the software/game and so they are willing to spend more .

- Apple is the exception. It has social signaling value and also emotional affect, so users are primed to and willing to pay no matter what
This is worth watching even if you hate Excel and FP. It's a view of a different way of thinking. Good stuff.
Understanding the JDK's New Superfast Garbage Collectors (2019)
Salmonella
I like how the point of the article boils down to ‘anything goes’.

Not quite sure why it was necessary to make an article for that.
It sounds like the trademarks in https://blog.acolyer.org/2016/10/19/protection-in-programmin... -- is that right?
I would have agreed with you until about a year ago, which was when my browser somehow broke crucial PDF features like search in their already plainly-legacy PDF renderer…
You aren't the only person I've met who can draw a line from Logo through Lisp to a successful career.
it doesn't respect iOS font size, and you can't alter the zoom to make the text actually bigger. It zooms the entire page rather than just the text, so the text doesn't re-flow. It's pretty much equivalent to just pinching to zoom, when it should be adjusting the font size.
The gaming has really made it harder to work with the Agency because you can't just call up or stop by and ask a question any more -- your interactions are more structured and formal.

I agree that the shift to biomarker endpoints has made the process a bit more aggressive (in probably a good way) but has also lead to all sorts of opportunities for gaming you way to pointless success...but then you have something in the market with something you can talk about!