skysight-inc/HackerNews huggingface dataset:
So, you just need to acknowledge the risk you're taking on. You can "live", but if you lose your job and are unable to get one for 6-12 months, then not having a savings will be a disaster. What if you're disabled? You'll have to hire a lawyer to help you get on SS, and in the meantime you can't break your apartment lease or car payments to dynamically lower your cost of living quickly.

It's just a classic retelling of The Ant and the Grasshopper https://en.wikipedia.org/wiki/The_Ant_and_the_Grasshopper

I've also found that the things you mentioned--- vacation, dates, hobbies, are actually more flexible than you think. Lift tickets make skiing an expensive hobby. But hiking or snowshoeing gives you a somewhat similar experience for much less. You can do some research on yelp and pretty easily control the cost of your dates, and once you're serious with someone, they don't/shouldn't care about you being frugal. Similarly, vacations can be done on the cheap. A vacation doesn't mean a trip to Europe, it could mean finding some cool small town nearby and enjoying it. (I feel pretty ashamed at how little I've explored the Western united states, despite having been to Europe & China.)

I'd also say-- you work as a programmer. If you have friends in their 20s/30s who are non-programmers, you should ask or estimate what they're making. They're probably having as much fun as you for much less.
It would be interesting if there was a simple way to monitor dopamine release into the system, with a little bell attached.

Every time you distract yourself with browsing HN or checking whether Toady One has updated Dwarf Fortress, a little ding lets you know you just satisfied an addiction.

Probably turn people into bell addicts with a feedback loop.
> I'd rather have a high quality thing with good defaults than a thousand different things to choose from

You're a one off edge case though. There is a line between flexibility and lack of control.
Pay attention to the road. Distracted driving is the ultimate jerk move, its saying that other peoples lives don't matter.
Gift Contributions to Reduce Debt Held by the Public
> "It counts as a real computer if it runs Doom."

Haha. I remember back in the days when the benchmark for computing and graphic processing power was measured in terms of "Does it run Microsoft Flight Simulator?"
Yeah, similar here in Lithuania. You can say there's three salaries a person can be valued at.

There's the official one which you would declare (pre-tax, or "on-paper"), the actual you get (post-tax, or "hands-on") and the one that shows your actual cost to the employer (pre-tax salary + 31% additional tax).
Is the AND gate really an AND gate? It seems to be a counter. More like a .skip(1) gate.
this calculator nicely illustrates an insight that I feel gets lost the way most people learn and reteach some simple CS concepts:

"two's complement" is not a different system for arithmetic that includes a "sign bit", it's just a different encoding or labelling of states which happens to have a bit that reflects the sign. So, inputs to this calculator can be said to go from 0-15, but more interestingly it can also add numbers in the range -8 to +7 (and therefore, it can also subtract, though it can't negate so you'd have to manually do that to your input by performing a different encoding table lookup).

(edit: now I'm realizing you could negate by performing a two's complement multiplication by -1, performed using this calculator via a sequence of 3 (shift+adds) of your input number to itself... that's correct at least up to some fencepost)

And then by extension, you could test "what about treating the range as -10 to +5", would that encoding succeed or break down? for starters, you would no longer have a sign bit...
provakil.com
I suppose anything more specific - both in case of DDoS and robbery prevention - would require a person/organization specific analysis that takes into account what you want to protect, what resources you have at your disposal and what threat model you operate under.

I would love a link to some resources about how to do such analysis. Maybe someone here knows a good one?
I hear ya. I think it can be done without appearing too snobbish. Most people have some type of honing rod/steel. They just don't use it, because they don't realize how dull their knives actually are.

I often get enlisted into the cooking effort when I visit a friend for big party or over the holidays or whatevs. It's a low-key way for me to take some of the stress off the host, and it's an easy way to start conversations with other guests, which I like as an introvert.

Anyway, when I'm helping in the kitchen, I usually ask the host if I can "sharpen" (really hone but that distinction isn't important to them) their knives. The usual response is "PLEASE DO." I agree it can come off as judgy, but if you're helping them cook, they take it in the positive spirit it's meant.

Just make sure you tell the host. I once honed some knives, got them nice and sharp, and the host immediately cut herself. I asked if it was okay, but I guess she was so used to the dull knives, didn't have good technique, etc.

My other pet peeve is dry and cracked cutting boards. So I also often offer to oil their cutting board if I can find their spoonwax/mineral oil in the back of the pantry.
Maybe an artisan misread an order that was written with Roman numerals and made a thousand of something instead of four.
https://tools.ietf.org/html/rfc2827

http://www.bcp38.info/index.php/Main_Page
If it can run a Turing machine simulator, then it's a real computer.
FAUST: a programming language for audio applications and plugins
qemu-user can already do that too. On Linux you have to put a magic string into an /etc/binfmt.d file (on Fedora at least, the qemu-user package does that for you).

Here's running aarch64 binaries on x86_64 transparently: https://rwmj.wordpress.com/2013/12/22/how-to-run-aarch64-bin...
But you don't really live in a country without borders. Within the EU doesn't count.

In a case of genuine open borders criminals can leave the state quickly to avoid punishment. Then move on to a new target country.

This doesn't happen only because no country signs an open border agreement without also setting up a legal framework to punish criminals who would try to exploit borders to escape punishment.

The reality is that there are bad actors out there and if you aren't stopping them at borders then you'll have to start watching out for them closer to home.

High trust nations are like unpatched machines. You need a firewall.
Google tries to insist that I should use Chrome on my old Surface RT. Only problem is, that isn't a product that exists...
But... https://github.com/gorhill/uBlock#microsoft-edge
Whether Snowden receives a pardon or not, it's worth reviewing the following two questions:

1) Would the intelligence community have policed itself otherwise? Probably not, intel agencies prefer gathering more data over less.

2) Would Congress have changed its oversight posture otherwise? Probably not, as intel agencies do as much as possible to withold info from oversight committees, including lying; and the public would have remained in the dark, so no pressure from that quarter.
I love beer.

But I love not spending days in hospital more.

:)
It also compensates for improper use of punctuation ;).
We might not all pay Microsoft, but we all pay the costs
Also to be fair, learning how to select elements by CSS class is so trivial that it doesn't effectively separate levels of developers. Whether you choose the basic JavaScript version or one from a popular framework, it should take less than a minute to look up if you don't already know it. I imagine that seasoned developers (and possibly recent CS grads, depending on school) are much, much less likely to waste time wondering why $(".myClass") is giving them a "$ is undefined" error in their Angular/React/etc... project.

I might be wrong, I don't have any direct experience with boot camps, but stripping dev skills down to just the minimal, core, practical skills needed to build a working prototype in the language-of-the-month seems like just the latest version of the same short-sightedness that has been plaguing businesses for years. Low-risk, long-term success will always come from building on experience, not "hacks" and short cuts. There will be exceptions/outliers, but they're just lucky, not a model to be copied.
would be great to know which instruments yield the biggest gains
The particularities of cardboard and marbles would likely prevent it from being "self-aware", in so far as "self-awareness" requires that the machine be fed a large amounts of information regarding itself, through itself. How many kinds of sensors can you build out of cardboard and marble? I don't know. But probably not many, and not as good or abundant as those receptors present in mammals, like those which constantly feed data into our nervous system.

But yeah, if this isn't an actual problem, you'd probably have something self-aware.
OK thanks. It's Win 10.
> splat some markdown to the internet

haha, great tagline I must say :D
> By and large, companies that get a bad university applicant who can't build a web app don't let it paint their experience of universities as a whole. But if the same applicant was from a bootcamp suddenly all bootcamps are terrible sources of any serious talent and they'll never be considered if they're in the applicant pool.

This exact thing happened in the late 1990s with Visual Basic/HTML schools. A bunch of unaccredited for-profit courses issuing certificates and promising jobs sprang up during the dot-com boom and were fairly popular. Everyone I had heard about that attended these things left the industry during the crash. I do not see any difference in the way the "bootcamps" are run or what they promise (the word "bootcamp" is new, though), and I think the outcome will be the same.
Can confirm. I interview candidates on a regular basis. Company policy that we never invest time in checking a candidate's GitHub. But I do anyway.

Because of the startling amount of people unable to explain the code in their repositories, I've found code quality / problem complexity / stack similarity alone to be a worthless metric. On the other hand, I've found it to be invaluable to get candidates to explain their code and why they made the decision that they did. It's exactly how a practice assignment works, except candidates are much more passionate about the choices and have invested more time in the project overall.
> wouldn't it be ideal to have a monarchy/dictatorship so that our leaders can spend time thinking about legislation rather than those pesky elections?

There can be some reasonable arguments made for this to be the case. The future ruler could be educated in proper statesmanship, wouldn't have to pander to the masses, would arguably be more difficult to bribe, could focus on governing, etc.

But the failure mode of such a government seems to be much worse than a democracy's.
Turn a Raspberry Pi 3 into a (Tor) WiFi Hotspot
Rumours to ATP.fm podcast (very close ties with apple employees) has heard a bunch of stuff including "No one is working on the Mac Pro"
The Reverse of the Halo Effect
Here is an exercise for you:

Which of the following forms are valid Common Lisp:

(defun foo (a b)
(declare (fixnum a))
"foo"
(declare (fixnum b))
(+ a b))

(defun foo (a b)
"foo"
(declare (fixnum a))
(declare (fixnum b))
(+ a b))

(defun foo (a b)
(declare (fixnum a))
(declare (type fixnum b))
"foo"
(+ a b))

(defun foo (a b)
(declare (type fixnum b))
"foo"
"bar"
(declare (fixnum a))
(+ a b))

(defun foo (a b)
(declare (fixnum a))
(declare (type fixnum b))
"foo"
"bar"
(+ a b))

(defun foo (a b)
(declare (fixnum a))
"foo"
"bar"
(+ a b))
More than I can say for my BS CS plus 17 years.

As I have had 7 different jobs for 12 different employers (due to mergers/acquisitions, by the most generous count), and have needed to run the entire interview gauntlet all 7 times, my primary career goal is no longer to earn more money. It is to never have to do another effing software-industry interview, ever again.

But damn. For $120k/year, in the region where I now live, I might just put Expo2 to whiteboard one more time.

I get tired of justifying my own existence to people who are only pretending to care that I am not actually a human-form automaton to crank out code. In short, the software-industry interview has always been stupid, but it has also become increasingly arrogant and rude. Is it really worth it to put up with the crap-on-you parade for a few more measly dollars in the paycheck?
As a matter of fact, any implementation of the same algorithm has the same parallelizing possibilities. You just need a smart enough compiler.

But a "smart enough compiler" is what compiler people say when they are talking about their version of the abstract anthropogenic equivalent AI. The fact is that the first one is much easier to parallelize, so that real implementations actually do it, while the second one is not done on practice. And it's easier to parallelize because there are some extra guarantees on the signature of those functions that a for loop does not give.
probably an outdated heuristic for distinguishing a "real computer" from a "calculator".
A Scientific Justification for Old Maids and Cats
That would let you modify the code, but it wouldn't demonstrate the author modifying the values and the corresponding CSS changes. You'd have to do all that yourself.
Scaling Microservices on JVM. A Webinar by Simon Ritter
Microsoft is discontinuing EMET next year.

This is a pity, as it allows Windows 7 and 8 users to protect apps against all sorts of exploits.

Perhaps MS wants to up the pressure to upgrade to Windows 10?
The parent comment said C function pointers aren't functions. They are. They just aren't closures.
isnt that backwards? this is x86 code on arm devices.
You can also use kubeadm to bring up a cluster really quickly. We use this in production.
Also, "Is it a real PC clone?" used the "will it run MS Flight Simulator" test.

https://books.google.co.uk/books?id=D0O_-ER3Z_gC&pg=PA168&lp...

(Bottom of 3rd column) https://books.google.co.uk/books?id=PjwEAAAAMBAJ&pg=PA41&lpg...

https://books.google.co.uk/books?id=Wcv9oIHOrjQC&pg=PA170&lp...
Math books = documentation
I think it was Linus Pauling who had a method of moving between relatively related fields, so that by the time he had reached the level of expert understanding in one field he could move to the next and thus start over as a neophyte. Doing this he was able to be contributing at a meaningful level until late in life.

Pauling's experience thus suggests that it is not the age itself that makes one unproductive in the field, but the inability to see things in a new light that experience in the field gives you.

However if you are trying to learn a very complicated field without any of the basics you are probably not going to make it if you are doing it after 30 unless you are able to do without anything that people often get at that age - like relationships, families etc.

Thus again Pauling's way of doing it (if indeed I remember that it was Pauling correctly). You know the basics because you are an expert in a related field. Then you can enter the new field.

Not sure what related fields would make one a good jumping off spot for computer science contributions: math obviously, logical philosophy, linguistics maybe, other stuff (maybe even programming)?
You're talking about manually entering what food you eat (I believe).

GP is talking about the fact that the supermarket already knows every item you buy and keeps it in their big database. This could easily be used to track nutrition with little to no user input.
Very easy to use, no gimmicks.
If you can apply the term to every programming language in widespread use today[1], then yes, it is pretty useless. There is real value in having the term "functional programming" be meaningful and denote a certain class of languages; defining that as "any language with first-class function values" is too broad as to render the term meaningless.

[1] Even C has this with Apple's Blocks extension (http://clang.llvm.org/docs/Block-ABI-Apple.html).
Oh, I agree. For one thing, Senior engineers have lots of failures under their belt. Another trait of Seniors is knowing when "good enough" is good enough for the task at hand vs. the "best" way they were taught in school.
They do this with how the upgrades to Windows 10 worked in the first place:

Sell a license for Windows that is device specific.

When you buy a new/replacement device you 'need' to buy Windows over again. Upgrading that CPU/mobo? Time for a new copy of Windows too.
Taken literally, it even suggests human intelligence is impossible. After all, our thoughts originate from a bunch of neurons following instructions and passing information between each other. And each individual neuron isn't any more intelligent than any other cell and can't be said to "understand" our thoughts any more than the man in the Chinese Room understands Chinese.
Yes, I replied to a comment about poison resistance.
It really is, with the caveat that a delay line is needed upstream to provide the inputs in sequential time. But it satisfies the AND truth table:

A B Y
- - -
0 0 0
0 1 0
1 0 0
1 1 1
I'm not sure we want computers perfecting human biases. I will say that Hollywood (and probably other movie cultures as well) is not above using mean-looking people to represent heavies in film.

Which, despite its unfairness, does give us gems such as this -- https://www.youtube.com/watch?v=A8hjFmPCSjg
> Whiskey never goes bad

As long as you keep it sealed in an air-tight container and in complete darkness. Oxygen and/or light will trigger chemical processes that result in undesirable flavor changes.

Just a heads-up, speaking from experience and research :)
Your argument ad absurdum doesn't make any sense in this context because the problem isn't with elections but with how much they cost to compete in. A senate campaign in a competitive state like Florida or Pennsylvania costs tens of millions of dollars that candidates have to waste time raising from major donors instead of listening to the whole electorate and representing their interests. The more their opponents raise, the more they have to raise and it becomes a vicious cycle that only benefits whoever sells the candidates all that ad space.

There is a very obvious solution: publicly funded elections.
I think it is mostly because they don't understand how much better wired internet is than wireless. I've basically forced many people to connect their devices with Ethernet as a "temporary" measure to solve their problems. For the most part, every single person has decided to leave whatever it is connected.

Yes. Same here. Ethernet is an oddly underrated technology. And Monoprice is one of these things that nerds know about and no one else does. There may be other companies like that—someone above mentioned an enterprise router company that sells better stuff than most consumer companies. Yet I've already forgotten its name.
1-2 months. not remote.
Shame on you. I was only replying to someone who was effectively preaching that it was okay for illegals to enter the country. Simply put, you are rotten and you suck.
I remember clearly a Tunisian opposition party was using a RISEUP mailing list around 2006 to spread its articles, political statements, etc... (When they were banned before the revolution of 2011).

Not all politicians can/know how to operate anything more complex than an email account.
> For example, the first one is completely open to being performed in parallel

So what do you actually have to do to make this actually run in parallel? Or do you truly get it automatically?
Can you recommend something for attaching cables to ceilings in a nondestructive manner? I also live in an apartment and this is a concern.
The Zelda Dungeon Generator
I think it's a poor argument. The difference between OS, application, and web-level content is blurring more and more each year. We have web apps built into OSes, OSes built on top of web browsers, etc.
Ask HN: What do you use to build micro-front ends?
Micro-frontends have been recently listed in Thoughtworks Technology Radar as
"a technique to assess"[0]. They describe it as an approach parallel to the
microservices pattern seen on the backend: a monolith front-end web app is
broken into many sub-applications, each with a certain level of independence
from the others so that it can be developed, tested and deployed in isolation.
These sub-applications share a set of primitives to allow for a cohesive user
experience.

Spotify desktop client is reported[1][2] to be built with such an approach,
isolating micro-apps into iframes using libraries and postMessage APIs to
coordinate. I've personally run into an application built in a similar way,
where many iframes shared APIs exposed by their parent window.

I was wondering if someone in the HN crowd had experiences / tools / frameworks
to share to help someone looking into this topic.

Thanks :)

[0] https://www.thoughtworks.com/radar/techniques/micro-frontends

[1] https://www.quora.com/What-is-the-technology-stack-behind-the-Spotify-web-client/answer/Andreas-Blixt

[2] https://www.quora.com/How-is-Javascript-used-within-the-Spotify-desktop-application/answer/Mattias-Petter-Johansson
You got it right :) It was on the web, but hadn't been audited yet (and lacked encrypted attachments and VoIP signalling and other good stuff). Now it's been audited (https://www.nccgroup.trust/us/our-research/matrix-olm-crypto...), is available on Android & iOS too, and we have encrypted VoIP & attachments too!
How do you debug several places at the same time?

You have a ton of those statements, that's why you organize them in functions, and go debugging high level functions before you go into lower level ones, and then into atomic statements.

Anyway, you'll almost certainly want to do that in an repl. I don't know if swift supports one, if not that would be a real drawback.
I don't see why "trump was elected" would be a reason to not pardon Snowden.

Like, accepting the claim "Trump is an egregious liar" I don't see how that follows.

Trump is terrible and apparently unwilling to do the thing that ought to be done (the pardon), and therefore, ???

That seems like a reason to make the pardon when he still can, not like a reason to not do the pardon.

Can you explain your reasoning?
You'd be called a "New York Republican."
Why would they? From what I remember (helping to de-anonymize users) they didn't do anything illegal...
That's great for people who have the means to, but is financially devastating for people who don't.

It would be one thing to stomach if the dorms looked, and were priced to be more like army barracks, then three-star hotels.
For anyone wondering if this is real
https://www.ftc.gov/system/files/documents/public_statements...
I think the limitation here is that the amount of cardboard required would lead to some sort of gravitational collapse. Other than that, there isn't a limit to the number of sensors you can build out of cardboard and marbles.
You can do this in the 99% case on Linux using qemu-user, but I'm not aware of an equivalent for Windows (and booting an entire operating system in an emulator is a poor experience and will be even slower). I imagine this Windows variant works like qemu-user and Rosetta.

QEMU has some bad performance penalties, I think partially related to the generic JIT (TCG), extremely strict floating point, and full host memory isolation. ExaGear is significantly closer to native performance but I think only supports emulating 32-bit x86.
Yet another reasons to blocks automated updates on Windows. Lets see how Edge becomes 'safer' in that situation.
Here's the link:

https://www.youtube.com/watch?v=RgBDdDdSqNE
Show HN: Homework for US, a listening project
I imagine they were trying to define "computer" versus "calculator," and then banned computers.