skysight-inc/HackerNews huggingface dataset:
> But you haven't refuted (or even engaged with) my main point at all.

OK. Your main point (now that you have shifted the goalposts) seems to be that argument passing induces a binding of the parameter name to the argument value, yes?

In the abstract, this point is meaningless since it applies equally to every other programming language. In this C function:

void foo(int x, float y, char *z) { ... }

the C compiler also has to manage bindings from variable names to the locations where their values are stored. It needs that information to find the correct values in registers or (just like in Python) on the stack.

In the concrete, the point is also meaningless since those bindings do not involve dictionaries as you seem to think. For positional functional arguments, loooong before the call takes place, the bytecode compiler resolves names to stack indices, and the variables are accessed through those. Just like C can access arguments passed on the stack using constant offsets from the stack pointer.

Here is the code for the normal call fast path:
https://github.com/python/cpython/blob/62be74290aca26d16f3f5...

f = _PyFrame_New_NoTrack(tstate, co, globals, NULL);
if (f == NULL) {
return NULL;
}

fastlocals = f->f_localsplus;

for (i = 0; i < nargs; i++) {
Py_INCREF(*args);
fastlocals[i] = *args++;
}
result = PyEval_EvalFrameEx(f,0);

This sets up a stack frame for the callee (on the heap, yes), then copies the arguments (which are pointers to PyObject) into slots in that stack frame numbered consecutively from 0.

Access to these arguments inside the callee is via the LOAD_FAST bytecode instruction:
https://github.com/python/cpython/blob/master/Python/ceval.c...

case TARGET(LOAD_FAST): {
PyObject *value = GETLOCAL(oparg);
...

which uses the GETLOCAL macro: https://github.com/python/cpython/blob/master/Python/ceval.c...

#define GETLOCAL(i) (fastlocals[i])

Nowhere are name-value bindings allocated dynamically in this normal case. Python does perform dictionary manipulation for keyword args, but not for positional ones. For normal positional arguments, the mechanism is exactly equivalent to a C (or whatever) compiler pushing arguments onto the stack. Local variables are exactly what you claimed that they were not, namely names for storage locations (stack slots).

I'm done with this thread now.
> Ultimately Apple's pricing means all their users are first class - hence security

Yeah... Good luck running the latest version of iOS on an older iPhone. (Many are still have a 5/6 and you really don't want to update those if you value a reasonable experience and latency.)
Continuous Infrastructure with Ansible, Molecule and TravisCI
Also, I’m sure many people tend to stray away from extremes.
This is what I meant to suggest. Pick a canonical set of pronunciations to be used in writing.
On this note, because of the lack of virtualization support in Windows Home, in my small business we're encouraging everyone to get rid of Windows both at home and in the office. They've intentionally crippled Windows Home in a way which impacts us -- we want to support devs doing work from home or on their own hardware. But when their OS can't run Docker, that gets harder. No way we're going to buy Pro licenses for people's home machines just because Microsoft decided to flip a bit in their build scripts and suck even more blood.
my phone has been running systemd since 2013 and it's fine - if anything, much easier to tinker with than android's mess of boot scripts
I find not having the option really annoying when you're in a situation (e.g. relaxing) where you want to navigate with one hand. The right hand can drive the mouse and has easy access to pgup/down, arrows and backspace, but reaching for alt forces you to do crazy finger gymnastic, or use your second hand.

For me that's not the biggest Chrome deal-breaker anyway (besides privacy), as Chrome doesn't support stack-like behavior for switching tabs with ctrl-tab.
Wish there were illustrations
Am I the only one who gets a "FATAL ERROR: 404" message? I tried from different browsers on different devices. Wonder if they just block some countries?
> don’t have nexus or global entry

I am sorry, not a native speaker. What is "nexus or global entry"?
That original source is 20 years old. This is more recent paper

https://ideas.repec.org/p/iuk/wpaper/2010-18.html

which curiously says that US has 5806 lawsuits per 100k people compared to 3681 in the UK (second highest) and immediately adds that it's not special
Version of article that can be viewed from EU: https://www.cnbc.com/2018/12/19/elon-musk-unveils-boring-com...

LA Times version says: "Not available in your region"
> come up with a new security feature and

While they sell this as something that protects against downloaded malware, I think this is going to be used a lot in software testing. We have lots of manual tests of desktop software that neads clean environments which is painful when e.g. comparing several versions side by side etc. This is great compared to running multiple full VM's side by side.
I wish they would have added the option to have the data persist. I have a bunch of software that I run only a few times per year, but I don't want to go through the hassle of re-installing it every time I need to run it. It would have been so much more useful if the data could persist.
I planned to learn French, but je ne speakez it bien. Hopefully 2019 is the year.
> My understanding is that that's only Catholics

No, it mostly just some subset of Protestants that reject it (the practice is common, as well as in Roman Catholicism and some Protestant communities, in the Eastern and Oriental [despite etymological similarity, these are not synonyms] Orthodox Churches, and, apparently, the Assyrian Church of the East.)

> and, only for those in purgatory.

It's true that in the Catholic tradition, there is a special connection between prayers for the dead and purgatory (arguably, purgatory as a doctrine is a Catholic explanation for the ancient Christian practice of prayers for the dead.)
Could you give some details about packaging?
For sure apple has a markup, but there is no way the Honor Play compares to the iPhone XS Max. Starting with the camera.
Everything has gotten bulkier in Gmail, not just the JS, but th CSS, the DOM, the fonts, assets overall because Gmail is an app that’s over a decade old and features have mostly been added, not removed.

This is the fate of all legacy software, OSes, native apps, they all eventually burst under their own weight, and are rewritten clean. Inbox was that dream :)

In particular, Gmail has been engineered to mostly be served as a single page app that functions offline as well. SPAs were a bad architectural trend now being somewhat reversed by code-split PWAs.

The same JS tools like Closure Compiler that enable large SPAs also enable efficient code splitting into tiny pieces (look at photos.google.com as an example)

A hammer is only as good as what you use to build. Web apps got native app envy after installables and app stores took off. I think we’ve woke up from that now and you’ll gradually see it improve.
Trusting Bing, Yandex and Baidu for politically sensitive topics? Are you being sarcastic?
>Serious question: Why would you use WASM for a dynamically typed, GC'ed language?

The point is using it as universal bytecode for deploying anything you want. Ideally we could do front end web development with any language/framework combo and just compile to WASM. It seems like that's the future, with things like Blazor getting major support, and that JS will probably mostly die out over the next 5 years.

https://github.com/aspnet/Blazor
I find it striking how many of the blind spots wrt the web have been a feature of ASP.NET since the beginning: static file serving, caching, authorisation...
> Literally feels like I’m cattle.

That might actually be the intent - make people feel uncomfortable so they get more uncomfortable if they're up to no good.
>> "they also overlap with GDPR"

Both Facebook and Google were hit with GDPR-related lawsuits since the first day of GDPR enforcement.

Companies are being sued left and right by privacy advocates and by "ambulance chasers".

Which is great IMO, I hope Facebook gets at least a big fine for this.
Yeah, it's useful for web.whatsapp.com, email, Slack. I appreciate that I can run these as browser tabs instead of having to explicitly install them as separate programs. The notification popup is useful for them.

It'd be interesting if browsers had a default setting that didn't allow a site to ask for notifications until you had switched to the tab and left it open a handful of times, or if they expired notifications automatically after you hadn't been to a site for a few days. It would also be interesting if they only allowed them for "pinned" tabs.
Where did you buy such a cheap copy of Windows 10 Pro?
Disk encryption is also only available with Pro upwards.

It's not helping against the notion that Windows is insecure to use...
Are you me?

Had a really similar experience until I said that “this is the cheapest rub job I’ve ever gotten” and winked at him. He didn’t appreciate that.

Tbh I seem to be making it my life’s work to be a little shit at airport security. I will _never_ use the millimetre scanner which seems to be a huge point of contentenion. And, while not TSA, the Gatwick airport security were trying very hard to convince me that I didn’t have a solid reason not to use this thing. Almost calling me silly or implying I’m stupid.

On the same trip I tried flying with half a tub of hair créme (layrite) and, while I managed to fly in from Copenhagen with the tub, apparently Gatwick has different rules, so if the container has the potential of fitting more than 100ml it’s disallowed.

Empty bottles are fine, but even a single drop of water makes it forbidden.

It’s. Ludicrous.
Hmm, I'm wondering how they'd respond if you stored your battery in your checked baggage...
The advice is begin sentences with "You" or a verb. Seems like weird advice. There's nothing wrong with, say, this landing page: https://www.7-zip.org/

Following their rules would make it cringe-worthy.

Maybe for certain audiences, in certain types of corporate website, their advice is good, but the article doesn't define the domain to which the advice applies.
Where did you get such a deal?
Just checked, and it's down for me now (Bay area, California) whereas it was up earlier. Looks like Gigapan is down, too.
>If you top up the fluid at that point, everything will seem normal, but the pads will continue to wear until the friction material is entirely gone.

No, nothing will seem normal if your brake pads are worn out. Depending on your care your brake pads are designed in a way that an electrical signal is activated or they make a loud noise before they wear out completely.
Is Money Useless to Open Source Projects?
You mean except Angular?
I love how clearly you can see the smog.
Really cool pic though.
What issue did you it? I'm quite interested as we're looking into using asp.net core on Linux too.
You're contradicting yourself in your first and second paragraph...

Those proper package managers still rely on the packager doing things correctly - just as it would creating a windows .msi.

There's plenty of linux packages that creates files during operation in their designated /var/log/xxx /var/db/xxx /etc/xxx /home/xxx/ directories that you're not able to query using the package manager.
Fittingly, this was also posted a day or two ago and got little response: https://news.ycombinator.com/item?id=18698855
> The fact is that a 500 capacity train running at 75-100s headways destroys this system capacitywise.

This is like that linked tweet: all assertion, no data. What are you using to estimate the theoretical throughput of a Boring Co tunnel system vs Skytrain? Let's debate that. Right now it's all just thin air.

Assumptions I'm willing to believe, and thus make me interested in this prototype's viability:

1. Cars need less space in between them. 5-10s gaps seem more than reasonable based on highway driving. This seems especially true since these are operated autonomously in highly controlled environments, meaning we might need even less distance between cars than free-wheeling, human-operated highway driving.

2. Most train stops are useless for most people — maybe 3x stops per ride on average? Having only one stop per ride would dramatically improve average speed, since a smaller percentage would be spent slowing down, speeding up, or waiting at a station.

3. Smaller tunnels are cheaper to dig, meaning dollar-for-dollar you can build more of them to make up any remaining capacity difference.
I agree, it is not the same sandbox as for example, browser sandboxes which restrict capabilities for multiple tabs to a given set of resources. However, its closer to KVM or Docker than to VirtualBox. The host and the 'guest' appear to be much more tightly integrated than in a full virtualized environment.
Thanks for the link - seems like a lot of their issues are based on playing it as a "startup" (although in the UK you can use a home kitchen for commercial food, you just still need to register with the FSA).

Am planning it as "just a regular" food business, so not looking for the rocket-style growth it seems they were banking on. Interesting story of failure in the space though!
You can get a pro key for 10 bucks.
That has always been the case though. For as long as I've use Linux as a desktop my $HOME directory has been littered with dot-files and folders. And as for Windows, things used to be so much worse. Since the UAC, Windows applications have been limited in where they can write to lest they annoy their users with frequent escalation prompts. Before the UAC developers often used to write files all over the place - it was a complete nightmare! In fact one of the primary purposes of the UAC - as I recall - was to reign developers in.

Even the UAC aside, on Windows you now have the application data directory and permissions on the registry which both take some reliance off random files dumped anywhere. Before then Windows was like the wild west. And we're not talking that long ago in terms of the history of Windows - Vista was released 11 years ago and it took a few years after that for developers to catch up.

Plus with the trend of moving everything to the web, you're getting fewer native applications which can write those random files in seemingly random locations (that's one of the few good things about the move to web applications in my personal opinion).

You'll always have problems with developers having their own opinions - that's inescapable. But things used to be so much worse.
A perfect test would, first, try to prevent correlation between questions. It would be a waste to ask 4 questions when 3 suffice to predict the last answer with good accuracy.

After that, some questions supposed to be perfectly correlated with previous are added. These should, however, use different words or concepts altogether, to avoid detection. These questions are meant to establish consistency, and would pick up on randomness

25 strikes me as too few to get into that kind of verification. I seem to remember serious personality tests to usually contain in the range of 100 to 200 questions.
Any app that work with GNU/Linux also work for the purism phone. KDE is working on an interesting convergent framework kirigami: https://www.kde.org/products/kirigami/.
My London-centric nature essentially has it as being train/metro/tube only, not sure it'd be worthwhile scaling to locations without intense public transport density.
It's a known traveler program you can pay to be a part of that includes fingerprinting, background checks, etc.

After passing verification, they give you a card, and reentry to the country is much easier (go to a kiosk, get a receipt, show it to a border guard, get through in <5 minutes).
I think you overestimate the competence of TSA. Last I had read, TSA had never prevented a terrorist attack, and has an abysmal record in tests where people try to get things like guns and knives past them.
Ego abounds everywhere. However, your point about applicant volume motivating the setting of a high bar for entry is spot on.

This is happening throughout the corporate world. Too many candidates for too few high-paying and elite positions.

My girlfriend works in finance and recently interviewed for a post-MBA position at (arguably) the top company for the work she does. She talked with other candidates, and discovered it was not uncommon to pay thousands of dollars on interview preparation (books, coaching sessions, etc.), and to spend, say, over 100 hours prepping in total... for interviews with a single firm... which you weren't even certain you'd be interviewing with. This trend is only accelerating.

The less pessimistic stance is to just say this is a consequence of greater specialization. The less optimistic stance is to say we are seeing professionalization for the sake of professionalization.

I'm not optimistic.
Why wouldn't the creditor offer to accept 11 oz of gold rather than waiting for the debtor to come to them with 10 oz that they have to accept?
Did Microsoft fix the issue that when Windows virtualization is enabled then VirtualBox VMs do not run [0]? Better they focus some of their resources to fix that first.

If not yet, then Windows Sandbox it is a less useful feature that it may seem, because we have to choose between Windows Virtualization and VirtualBox VM snapshots all the time.

[0] https://www.virtualbox.org/ticket/16801
I have a couple Android devices and I can't get them to update at all. I'm sure there's some kind of solution, but my time is really valuable to me: If all I have to do is spend £1k every four years (£20 a month) to not worry about this, it's a done deal.
> Uninstall was easy as removing that dir.

File writes for application files are rarely the problem any more.

The problem is that in order to function correctly (For some definition of correct, but say e.g. to associate file extensions, create shortcuts, start automatically, install a dependency such as a C++ runtime patch, whatever) the program needs to write to subsystems of the OS in a non-reversible way. It's also very HARD to do these things (create setups) because systems like Windows Installer aren't trivial to use. Every time a setup author makes a mistake there is a risk of stuff being left behind.

Fundamentally, what you are doing is you are in state A when installing the program, creating state B. Then you continue to modify the system simply by using it or installing some more software creating state C. If you now uninstall the first software you don't have anything but a script undoing A->B, which run backwards can only do B->A, but you are in state C and you don't want to first run C->B because you want to keep the other parts of state C. So the uninstall script has to run in unknown territory (a file may have changed, a later dependency version may have been installed globally, a registry entry may not exist because they are NOT isolated per application etc) so the uninstall script just has to do what it can.

A sandbox could be a solution to this, where the sandbox contains diff views over some immutable base image. It probably is a lot easier to do (and do efficiently) with OS support.
It also has that blank area at the bottom, whereas Apple had to basically invent some insane hardware gymnastics to not have that on theirs. The iPhone X screen bends around backwards at the base.
For me it was dissapointing. I dont read scifi that much, but Blindsight was way better
The main pain points for me regarding .NET Core has been the lack of third party libraries, hard to understand sometimes which project can run on .NET Core and several cases that I had to switch back for smaller projects in order to use a specific library.

.NET Core is great, but I would continue to run it on .NET Framework for now.
Looks like a very similar model - am interested in the local versions (for my interests in food, looking for something more sustainable than "startupy").
And it might not even work. Some solutions work only on a fraction of inputs due to a vicious tie-breaking rule.

This thread might help you if you already pass all the tests : https://www.reddit.com/comments/a6f100/-/ebw1uda/
HCL Technologies Acquires IBM's Lotus Notes, Domino and Tivoli for $1.8B
I’m thinking of it more as foundational from the perspective of a programmer’s skill set, not the code itself.

So in that sense, your ability to debug is foundational to your ability to code anything more than the most basic programs.

Granted, they do provide both of those paths.
Basically services where you can pay a few hundred dollars a year and get "pre-screened" so you have to do less when entering another country. You also get to go to the nexus/global entry only line so your time spent in line is often shorter as well.
Prices Leak for Intel’s Monster 28-Core Xeon W-3175X CPU
Artificial intelligence is the future of cryptocurrency trading
Isn't the parallel to UAC a properly configure SELinux? I thought that was the component that lets process rwx from certain locations? I guess a full comparison may be including applocker too.

Not to hot on linux management options I just install the thing over and over.
On Linux Firejail/Firetools offer such functionality.
NEXUS: https://www.cbp.gov/travel/trusted-traveler-programs/nexus

Global Entry: https://www.cbp.gov/travel/trusted-traveler-programs/global-...
Ask HN: What should I offer to my 2 years old to teach him logic?
Christmas is coming soon. I'd love to have some gift to offer to my son to teach him logic, causality, and at some point programming. Most robots (like robot turtles) are not suited for 2 years old, more for > 3 years old it seems.

Would you have any suggestion?
Stripe landing page says " The new standard in online payments" ... out of genuine curiosity how is it fitting "Focus copy on them." ?
Might be something more recent then, though I agree that there are questions which are more flexible than others
You do realize you're attacking the _one_ company which supports their phone for the longest period, do you?

IOS 12 can be installed on the 5S, which is the oldest 64 bit phone. It was launched in 2013.
If you don’t look at Facebook’s origin story this could almost be believable.
> unfortunately for most laypeople it's security and privacy that's on the chopping block.

I think this is why we need legislation: The free market obviously can't sort this out to peoples' benefit.

I have a couple Android devices I can't figure out how to update, so I'm afraid to use them for anything serious. If the author isn't responsible for writing crappy code, and I can't fix it, then where's my lemon law?
This indeed a serious cool product, hope more people realize it.
There's escape options - whether you can use them depends on a number of factors

Challenge with Elon's tunnel is you're stuck underground with no escape options, and maybe nowhere for the smoke to go

As well as escape options most tunnels in EU, also have smoke extraction, fresh air insertion options which help make it easier for passengers to evacuate.

Tunnel fires (even miles from anywhere) are survivable with the right design - https://en.wikipedia.org/wiki/1996_Channel_Tunnel_fire
> Most of the reside in home dir, but stays there forever. Like various cache files, settings, ... And most of the time they are not confined to single dir.

I think you need to support that statement. I believe the vast majority of software on common Unix distros creates no files in $HOME[1], and of those that do the majority use one folder in home[2], which *should+ be used for configuration, and often you don't want it automatically uninstalled on software removal.

The few I can think of that quote to multiple locations do so because the extra locations are shared folders. For example, I would not want my downloads directory removed on uninstallation of Firefox.

1: E.g. Most things in /bin, and /usr/bin.

2: other than what I outlined above, I can't think of any that use multiple directories. If it's truly a common as you say, you should be able to provide some examples.
Wouldn't that make it an ordinary VM?