skysight-inc/HackerNews huggingface dataset:
Assuming I can, I always study code with a debugger and various simplification techniques (say throw in `abort()` or raise an exception to get a stack trace or throw in `printf()` on interesting objects). Usually I just start it up with `gdb ./program` and step through and see where it takes me. If the code is complex enough, I'll even start ripping out parts to see where it's required (often it's not in whatever simple case you're interested in).

If I can't use a debugger (i.e. my initial assumption fails), I usually run for the hills...
Are you sure about that?

History shows us that typically, soldiers will fight for whoever guarantees their pay.

Combined with this;

https://en.wikipedia.org/wiki/Milgram_experiment

it shows that money, orders and chain of command are powerful motivators.

These are normal, good people who signed up to protect us.

I wouldn't put that number anywhere near 99%. Probably closer to 50%. Maybe even lower.

I'm sure the people in any given totalitarian regime once thought the same way about their armed forces.
I never gamble. I know next time is black.
Clearly, the solution is to let self-driving cars drive into town on the opposite side of the road.
Living in a densely populated city is far less resource-consuming than living in rural areas.

You should be thankful for cities, especially if you enjoy living in nature. Distributing city populations evenly across the land would do serious harm to that natural beauty you claim to enjoy.
They are both taxed, but at a different rate. The government picks up the cost in terms of lost income. Yes, it's a subsidy (a deliberate tax break). The historic reason is that diesel was used for trucks. Later, diesel cars were considered to be environmentally better since they produce less CO2 per kilometer. They're just worse in other regards.
A simple timer is under complicated - if you cook two slices in immediate successionm, the second slice will be burned as the coils will still be hot. As I understand it, a good quality toaster will have at minimum both a thermal switch (like a bimetallic switch) and a timer, which only starts when the toaster is hot.

I don't see how a simple thermostat with no timer can do the job by itself.
Maybe they could mine Bitcoin with their spare capacity.
Take a look at https://nanobox.io/, I'm using it for side projects and it's great and cheap (I'm not related to them)
Everyone hates cold calling. Everyone. Some people like the challenge and the reward of getting a total stranger to spend money. But no one actually like a cold calling.

But there are a lot of things we do professionally that we don't enjoy. Expense reports are a huge time sink and I hate doing them. But I hate not getting reimbursed even more.

If you are trying to hire salespeople who can cold call well then I suggest looking for people that are highly organized, process driven, friendly and good storytellers. During the interview try and pay attention to how many times they say "uh" "like" and "you know." Ask them their favorite experience from last summer and see if the way they tell the story is interesting. Try to get them to tell you if they have student loans, a mortgage, a family...anything that indicates a greater immediate financial need. Challenge something they said and see if they defend themselves (competitiveness). The best salesperson I know is crazy as a shithouse rat and rather unreliable...until I tell him I met a guy that's better at sales than he is. Then he gets to work and does things that will blow your mind (cold call to 5 figure deal in 2 weeks). The second best cold caller I know told me in the interview "I hate cold calls. But I love Chanel."

It takes a personality type but it isn't difficult work at all. Most people are just scared and/or don't spend enough time on the work.
Maybe this sounds naive, but as a European I'll never understand this, why doesn't US just implement country wide VAT?
The same "small town" thing happens in Philadelphia, where I used to live. This might be a property of cities of roughly that size.
P100D Salvage in England – Tesla Motors Club
I've read on reddit that the letters have gone to people with $2000 or more total over those years, if anyone sees one for less I'd be curious to know how much it was for.

I've bought stuff on Newegg and haven't received a tax letter, but I didn't spend $2000.
I am not so concerned with guilt and liability as I am that this is TESTING. As in, not sure yet whether it's easy for production. Looking for bugs. In a risky environment, among the general public. Normally, beta testers are volunteers, who know what they are getting into, and nobody else is involved. This is playing with lives. Every pedestrian the car approaches is an unwilling bug checker.
I expect the opposite. As everyone moves to efficient light bulbs for instance, the utilities still want to make X% profit on Y revenue for Z customers, roughly, and will adjust numbers upwards until they stay at least at the same place.
- much larger mouth than bottom

- handle unless broken

- about 3 inches tall

- porcelain
A major problem with any state machine is that they tend to fall apart or become major bottlenecks if concurrency is required...

It is still shared state, a thing to minimize. Usually message passing (current buzzword: reactive) approaches work much better.
And no mention of electric cars, which by themselves could more than double demand...
It's quite simple. If you want to do business in the EU or with people who reside in the EU, you need to comply with the EU's regulations.

Don't like it? Don't do business in/with the EU. Then you're free to ignore their frameworks, rules and regulations.

They are not trying to "impose their regulations on the rest of the world", they're trying to protect the privacy of their inhabitants. That this leads to measures that need to be taken by companies doing business with (the data of) their inhabitants is a side-effect and only logical.
Show HN: React Easy Params: Auto-Sync Your State with the URL and LocalStorage
One common mitigation for rush hour traffic is to steal some lanes from the reverse-flow traffic to give more capacity for peak-flow traffic.
My experience is only with small companies and there you can take any phone number and it will be easy to get to the boss. With bigger companies there is a lot of strategy needed to get to someone who can make a decision.
Also the dev experience that it give is awesome
Stupid, yes, unknown, no. Every piece of tax software I've used has asked "Did you make purchases online without paying state sales tax?", and in saying "Yes", will ask you how much you spent. Now, obviously, I don't keep receipts, so I just estimate, but paying an extra $30-50 at tax time just to ensure that it looks good to the IRS, -and- if something like this happens it looks like I paid, is worth the piece of mind.
Indeed. In Erlang I had never actually used any of the FSM modules in practice because in my case a simple gen_server works just as well.
Interfacing Python and C: The CFFI Module vs. “ctypes”
Yeah, makes you wonder how much the psychological part affects you physically, and vice versa.

I often ask myself if the positive things about smoking were just delusions to justify feeding the nicotine addiction, or if the physical consumption was a product of my mind being convinced it was a good thing somehow.
So… the next line of defense is to block all third parties by default (requests to other domains) and only enable specific domains on a case-by-case basis?
You can make sure the tooltip flips position to avoid going off the edge of the screen using just CSS?
Why isn't CT going after NewEgg for failing to incoporate sales tax into their checkout process? No one expects to be personally responsible for sales tax, considering all of the transactions they're used to have the seller incorporating sales tax into the price paid. Pushing that burden to the consumer and surprising them with a demand for unpaid taxes they didn't know existed is unethical.
If self driving cars go mainstream, people's attitude and thinking of the car as only a transport vehicle may change. Even in congested traffic one may view it as a secondary home where they can work and eat breakfast in and not care about the time it takes.
5G will have decent latency (3-5ms or stgh), this might suffice to steer in real-time.
It's something that basically every big block is trying to do, the US has enforced DMCA and other stuff on other providers as well.
Though in principle, GDPR only covers EU citizens - if you would be selling a product from Australia that exploded upon using it for the first time to an EU citizen, wouldn't you expect EU authorities to go after you as well?
That's impressive.

Wikipedia is highly connected. Even pretty darn different things often seem to have only three degrees of separation. For example, here's Ramesses II to Ankylosaurus in three:

https://www.sixdegreesofwikipedia.com/?source=Ramesses%20II&...

After trying a bunch of things, I finally found a fourth-degree separation: William the Conqueror to Ankylosaurus.

https://www.sixdegreesofwikipedia.com/?source=William%20the%...
Doesn’t bother me, I block everything by default and selectively whitelist. At this point in time it’s the only way to be safe.
For text, computing resources are cheap enough that it can be entirely non-profit or run by independent bloggers, etc. Wikipedia, blogs, IRC, and sites like HN don't require all that much and could be financed without ads if they chose to be.

Video, particularly HD video, absolutely requires ads or subscriptions. Social networks could probably be built atop WebRTC and run in a federated way, more like IRC... but image or video sharing would start to demand significant resources.
I don't have solution for everyone, but here's what I do:

- take a 5 min break every ~hour and walk around office (in my country it is legal requirement that for every hour you spend in front of computer, you get 5 min break, so I don't have to explain that to anyone or look for excuses).

- do simple exercise at desk from time to time (like standing up and down, moving head, stretching hands and back etc.)

- walk to/from work (~5 km one way) whenever it's an acceptable weather outside (I use this time for thinking as I've found out that walking helps to concentrate).

- exercise 3 times a week (well, at least I try to).

I've never been a fan of standing desk, because due to my physical condition my back and knees start to hurt after some time standing still.
Yes. But you don't need them. You need Google, LinkedIn, a spreadsheet and time. Calling the main line of 99% of companies will get you to the person you are looking for. The other 1% are multibillion dollar companies that aren't going to buy from you.
I'm sorry, but I just can't agree with you. If we start to take words and stretch their meaning beyond the agreed upon definition then any argument becomes meaningless. 'subsidy' is a very clearly defined term.

"a sum of money granted by the state or a public body to help an industry or business keep the price of a commodity or service low."

If the state is issuing a tax on something it is by definition not subsidized.
You can still do all that with HEAD, the only difference is you don't return a message body, thus saving 1 byte plus a few in the actual header you would not need any more.

For example; you would do a head request and node.js and php would still need to be configured to handled the HEAD request but instead of its handler returning "1" it would simply return.
The technique I used was to always leave a few bytes spare at the end of each subroutine so I could add code later on without breaking every single jump address. The pain we went through!
This is about state-level tax revenue, not federal-level. Plenty of states don't have a sales tax.
Where are you getting 16GB ram for $25 a month? Would be pretty handy.
Maybe I'm misreading that, but it doesn't say anything about Cygwin, per se, just about Cygnus, the company.
I saw quite a lot RISC-V discussions lately, I was first confused and asked myself "why people are so interested in such stuff not coming out ranked top X in performance". Now I get it - it is close to impossible to evaluate new ideas/proposals like Memory Tagging on those CPUs with closed design and tight patent "protections".
Is that guaranteed for safety critical applications?
How does Linode compares to DigitalOcean? I see that at least price wise DigitalOcean looks cheaper.
The pricing structure that is currently baked into power bills assumes that the cost of generation is paramount, and that the cost of distribution is nothing.

As distributed generation increases, regulations will have to change to reflect the fact that the cost of the distribution does not go away. I wonder what the best pricing structure is for the future.
State machines are one of the most traditional programming constructs there is, and most people I've seen champion or use them are the types who would rather program in assembly than Haskell. Heck, some "imperative thinking" programmers consider state machines only slightly more exotic than a for loop, and would be similarly dismayed if a colleague didn't know how to write one.
>Look, I'll be honest. I didn't read a book.

>But I don't want to debate its title, instead its reductionist view of people nothing more as vehicles for the immortal DNA.

The problem is that the book does not expound this reductionist view; it is only your conception of the book (likely based on the title) that does.
BeagleWire – Fully Open ICE40 FPGA BeagleBone Cape
Would you rather China, now on its way to being led by a dictator no different than a Mugabe-like figure in Africa, gain this talent to be used to bolster state run entitities — you know they’ll use any foreign tech developed on Chinese soil for government purposes — or let a relatively less corrupt, much freer government like the USA bring this talent over to build industry in the states where people are much more free, and you’re not indirectly helping the next chairman Mao?

And to say something so bold as “China is the new USA” is to link the US to things like unending autocratic control, corruption, etc., the list could go on. So no. I disagree. If China wanted to be the new US it would start where the US started and being in the poor, tired, cold etc.,
He bought a car that by every reasonable standard of informing himself about emissions was perfectly fine.

There is simply no way to lay blame on him. Blame the car industry.
a bigger question could be context when a teacup is important versus just a "cup"
Different tax systems can affect the equation even if you disregard that you pay less at the pump for fuel that your car consumes less than a petrol equivalent – lower CO2 figures may also mean that you pay less yearly fees or less taxes on car registration as well. The break-even figure certainly varies by country (as does depreciation of different cars).
Absolutely! Anybody who does business in Europe or even has users in Europe is subject to this law.

The amount of effort being put into GDPR compliance within my organization is just staggering. It really makes me think about these kind of laws from a new perspective, because they cost businesses so much to implement.

(I'm not saying whether GDPR is right or wrong! Just that it's expensive.)
Using uBlock Origin in medium mode will block third party domains by default. You will be safe.

https://github.com/gorhill/uBlock/wiki/Blocking-mode:-medium...
Depends on whether you compare this to what a classic web application should be doing versus what it actually does.
sunshine!=day
If it's sunny outside, people go outside. If it's raining, you stay inside and watch TV.
After skimming the paper, I think it's actually closer to segmentation. They just split the address space into X number of segments. The allocator then ensures every allocation lies completely within one of these segments and attaches that segment's ID to the returned pointer. Fundamentally, paging and segmentation are fairly similar though, so you're not wrong, there is just no concept of a 'page-table' here.

That said, I feel like the paper is missing a few details on the implementation. They give the example of a segment size of 64 bytes, and a tag size of 4 bits. Obviously, that doesn't even cover a full 4K page of data. So I presume the segments must repeat, meaning after segment 15 there is another segment 0. This seems to fit into their probability description (An OOB access might hit the next segment with the same ID, but it's unlikely).

The approach still seems a bit limited though. I would assume objects larger then 64 bytes would have to be untagged, since normally you would access them via offsetting from the same base pointer, and that base pointer would always have the same tag. But also, a big problem is that most OOB accesses are likely to hit the region of memory just past the allocated region. So with larger segments you are likely to miss many of these OOB accesses since the tag is still correct.

All that said, I don't think this idea is mentioned in the paper, but you could also vary the size of every set of tags in the address space. So have, say, 20 sets of tags for 64-byte regions, then after that 20 sets of tags for 1024-byte regions, and etc. So there is a mix of small and large regions. There's no guarantee you would have the right amount of different-sized regions, but you can always fall-back to using untagged if you need so it is not a disaster if the numbers are a little off (Besides, of course, the fact that untagged memory loses the security advantages of the tagged memory.
> Don't like it? Don't do business in/with the EU. Then you're free to ignore their frameworks, rules and regulations.

So, should you just start blocking IPs from EU-based citizens?
Most browsers already send you a warning if the main thread appears to be blocked. Maybe they could also add a warning like:

> This page is consuming a lot of resources, do you want to keep executing JavaScript on this page?

> Stop / Allow only this time / Allow always
Give me a few more years and I'll get back to you.
Literally half my bill is distribution charges.
Any such state model is not the actual thing it models (which is almost always stateless continuous time) therefore extremely annoying to work with. Also a source of bugs and concurrency issues.
I think only one approach works these days:

Consider the whole web hostile. Browse with uBlock Origin and JS off. Enable JS for trusted domains only. Give up, blacklist, and go elsewhere if whack-a-mole enabling needs too many unknown random domains enabled just to read that article.
Well, this is complicated. One of the linked studies shows the opposite result claimed in this article. This article says:

"About 60 to 90 minutes before a usual bedtime, the body starts losing core temperature. There’s a physiological explanation for that: when the body is heated, we feel more alert. And conversely, when the body cools down, we tend to feel sleepier. Cooler internal body temperatures are correlated with a rise in melatonin, a hormone that induces sleepiness. A bunch of doctors tested this out by making people wear skinsuits—they kind of look like cycling outfits—that dropped their body temperature just a touch, one or two degrees Fahrenheit, to see if they’d sleep better. They did."

But when I look at the linked abstract, it says:

"By employing a thermosuit to control skin temperature during nocturnal sleep, we demonstrate that induction of a mere 0.4 degrees C increase in skin temperature, whilst not altering core temperature, suppresses nocturnal wakefulness (P<0.001) and shifts sleep to deeper stages (P<0.001) in young and, especially, in elderly healthy and insomniac participants. Elderly subjects showed such a pronounced sensitivity, that the induced 0.4 degrees C increase in skin temperature was sufficient to almost double the proportion of nocturnal slow wave sleep and to decrease the probability of early morning awakening from 0.58 to 0.04. Therefore, skin warming strongly improved the two most typical age-related sleep problems; a decreased slow wave sleep and an increased risk of early morning awakening."

It's worthing noting that the abstract disagrees with the article in two main dimensions: it's only a small change in surface skin temperature, not core body temperature; and the abstract says it's a temperature increase, not a decrease.
Do you have an EU-wide VAT, or is it a separate calculation for each country?
If a 10 year wait time for greencards and restricting the H4 spouses of those skilled visa workers to work legally is not a carrot, then yes US is doing a great job attracting and retaining talents.

I went behind the carrot for 3 years and then immigrated to Canada. My spouse has dignity now and she is a full time employee just like me earning a very good salary. In US, she lost all her confidence,dignity and was depressed because she was "not allowed" to work though she was a post graduate degree holder.

Any skilled workers who care about their H4 spouses should do the same.

https://travel.state.gov/content/travel/en/legal/visa-law0/v...

https://www.forbes.com/sites/stuartanderson/2017/01/28/green...

http://h4-visa-a-curse.blogspot.ca/p/home.html

https://qz.com/797831/the-h4-visa-and-the-desperation-of-ind...
Another great resource on hardware extensions for security, including efficient tagged memory, is the Cheri work at Cambridge:

http://www.cl.cam.ac.uk/research/security/ctsrd/cheri/
And if nobody is held responsible, there is no risk for a company to put shoddy software on the street.
...if there's ten of them. If there's 1000 of them, now the rush hour traffic is both ways. That is the expected scenario, not "I have my very special car like nobody else has."
Except that increases the incentives to lower electricity usage.

And even if you can't meaningfully cut your usage any further, inflating utility prices would still make a local solar installation more attractive.
One can derive argument for both sides from industrial revolution (not many horses working around), but generalizing from one datapoint isn't the most intellectually robust way to analyze the issue.
I wonder if one takes away someone's internet is he/she to consider themselves "poor"? I would certainly think so of myself.
I am not currently running docker on prod (but I am about to) you Sir pointed me to a good direction. Thank you!
Ask HN: Why uncached DNS resolutions are still slow?
Most of the DNS resolvers respond <100ms. Some queries can take up to a second.

Why is it still so slow? What are we doing to speed it up?
Easy (?) when you install a new browser, it should load few standard pages in the background and check what's their CPU% usage. Get average value for all the tests, multiply it by 2 just to have a little bit of wiggle room. Next time website runs, monitor the usage, if it's over the threshold block the script and ask user if they would like to continue running the script.

I'm not going to file patent for this, thanks in the code will be enough. Enjoy :)
I was hoping to bear near people as well. I suppose it was a bit fanciful; I visited Ghent in spring and it was jaw-droppingly beautiful (flowers spilling over railings along a pretty river. The blue skies didn't hurt either). That would cost a bit, but from the looks of it not _too_ much all things considered. Some of the old walled cities are car-free enough that I'd let a six year old ride a bike in them, thus Rothenburg odt.

Alternately, a nature reservation shouldn't have residences in it, should it? When we get away from cities, towns, and villages, it becomes more feasible to just buy enough land to enjoy it without automobiles. A bit lonely though.
At least some calculations suggest that they will balance out the efficiency savings. Electrification of the heat sector is another big unknown.
https://en.wikipedia.org/wiki/Induced_demand
Yeah, I should have phrased that differently:

ADHD people don't benefit from the "energizing" properties of caffeine.