jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Has anyone rewritten this in something modern? Probably less than 100 lines of Python, for example. Can skip load/save, .... I think he uses the C64 ROMs to get the bitmaps. All those pokes around 1024 are writes to the screen RAM.

# READ Bitmap for selected character from C64 ROM
310 k=asc(a$)
320 if a$>="0" and a$<="9" then k=k+64:goto340 # process numbers 0..9
330 if a$ < "a" or a$ > "z" then 500 # Maybe a function key
340 gosub 970:print "fetch ";a$
350 l%=0
360 k=(k-64)*8+53248
370 poke56333,127:poke 1,peek(1)and251
380 fori=0to6:poke49408+i,peek(k+i):next # Copy character's image from character ROM (53248) to RAM
390 poke 1,peek(1) or 4:poke 56333,129
#
# Look up bits that make character 6x7 = 42 values
# Lighted dots are stored as 1 and background dots as −1
400 for i = 0 to 6
410 j% = peek(49408+i)/2 # byte value - divide by 2 is shift right. Removes first bit
420 for k=1 to 6 # 6 wide
430 l%=l%+1 # counter 1..42
440 f1%(l%) = -1 + (2 * (j% and 1)) # 2 * (1 or 0) => field[counter] = 1 or -1
450 j%=j%/2 # Shifting right again to get the next bit in first position for the AND operator. xxxx xxx1
460 next k
470 next i

# Function keys
510 if j%=1 then gosub 1000:goto 280 # train()
520 if j%=5 then gosub 1080:goto 90 # print_matrix()
530 if j%=2 then gosub 1210:goto 280 # randomize_ten_percent()
540 if j%=6 then gosub 1680:goto 280 # clear_memory()
550 if j%=3 then gosub 1290:goto 280 # recall_pattern()
560 if j%=7 then print chr$(147);:close15:end
570 if j%=4 then gosub 1800:goto 90 # save_to_disk()
580 if j%=8 then gosub 1990:goto 90 # restore_from_disk()

1000 rem train on pattern in f1% def train()
1010 gosub 970:print "training"
1020 for i = 1 to 42
1030 for j = 1 to 42
1040 m%(i,j)=m%(i,j)+f1%(i)*f1%(j) # matrix[i][j] = matrix[i][j] + field1[i] * field1[j]
1050 next j
1060 next i
1070 return

1210 rem randomise 10 percent of f1% def randomize_ten_percent()
1220 gosub 970:print "random"
1230 for i=1 to 42
1240 if rnd(0) > 0.1 then 1260 # Skip > 10%
1250 f1%(i)=-f1%(i) # negate
1260 next i
1270 gosub 750 # update field f2 on screen
1280 return
Please don't post duplicate comments to HN! It lowers signal-noise ratio and makes it hard to merge threads. Now that the threads are merged, we have to go find the other copies and kill them, and if they have replies, move the replies to the surviving copy. That takes REPL work and is a pain.

Here's what to do instead: when you notice that a discussion has forked and your comment is languishing in the losing branch, email hn@ycombinator.com and get us to merge them. Then your comment will get moved to the winning branch, and you've benefited the whole community with an un-split discussion.
It is funny that Why Isn't Sacha Baron Cohen Working Anymore video was posted just three months before his latest show started airing on Showtime. It is also weird seeing the video feature criticism of him from the ADL considering this speech was at his acceptance of an award from the ADL. It doesn't seem like his image needed much repairing after all.
All it takes is a little filtering, some camera shake, and you can hide the tells of a fake.
I'd love to hear from WeWork customers about recent events. Are customers watching this thinking "oh man, I don't know if my workplace will be the same in 6 months, better start looking for alternatives?" Is the atmosphere in their offices any different now?
That drones could be used for nefarious purposes was kind of obvious after years of deadly US drone strikes. That didn't seem to tip off regulators, however. Not until anyone could buy drones capable of carrying heavy cameras or other equipment anywhere.

Either way these regulations don't help much when people just don't care, as can be seen with all the drones flying too close to airports.
Wow. An excellent, pointed take.

Facebook has put profit & self-interest over ethics. They have taken a step-back, reflected, and fully embraced the damage they have caused, are causing, and will continue to cause.

Some of this is reactionary. Zuckerberg feels that "the left" (as if there is one, unified left) has gone to war against him (via his company). Front-runner 2020 candidates like Warren and Sanders are explicitly stating they will examine regulation & oversight legislation to reel in some companies behaviors. His concern may be legitimate, however his reaction is childlike.

Zuckerberg is now taking private dinners with the current POTUS, probably to curry policy favor even though there will be inevitable strings attached (as is always the case). It also means he now has a stake in a "side" of the US body politic and so his actions will move in the direction of support for that side.

Attempting to curry policy favor isn't new, is has happened, does happen, and will happen. That being said, Zuck's newfound eagerness to spread misinformation via the power of his platform is eyebrow-raising.

I would argue that this lack of ethics will ultimately hurt both "sides" of the US political spectrum, it will just take longer for one "side" to feel it than the other.

Note: I use "sides" in quotes specifically because Americans are quite often divided into two opposing sides, even when there are many actual sides, interests, groups.
>So, you clicked 'back', and it took you back to the last page you viewed. And that's unexpected behaviour?

Well, the site is basically a few pages of content split into an endless number of excruciatingly tiny chunks. Each 'page' is really a paragraph (and doesn't actually entail a page load) - nrmally I'd expect 'back' to take me back an entire page, rather than a single paragraph.

If you're going to use ajax to slice pages into tiny sections, it's far more usable if you then make the back button act as if you hadn't done such a stupid thing in the first place.
then your application and idea is as good as the limits of pg's imagination :)
I voted for Obama. I'm a liberal and he has lost the support of the liberals. We are not silent about the continuation, and in some circumstances extension, of the abuses. In quite a few races this past election cycle in the U.S. the Republican candidate won as a result of people like me voting for the Green party.

Obama has been a profound disappointment to me in the area of civil rights. That a former constitutional law professor does not stand against these abuses is almost beyond belief to me. He has been a disappointment in other areas but for him to not defend freedom and justice makes me despair for the future of the country.
Perhaps we should concentrate on why people are so offended when characters in a book say "nigger" or "savage".
Ditto, but via CoffeeScript, and with node.js/socket.io.
I don't think the analogy was pulled out of ... hrm, /dev/random. afaik, the brain researchers have data for opinions.

E.g. the functions of the first levels of the visual cortex is relatively well understood -- both from mapping the nerve connections and from copying the mechanism in computers.

There is a long time evolutionary pressure to conserve energy, all the way back to the evolution of nerves. (The brain use quite a lot of your total energy use, unless you're a non-mechanized lumberjack...)

Edit: The visual cortex might work differently than other parts of the brain (ask a researcher) because of speed demands, which otoh supports the point about energy efficiency.
If I agree to sell you my house in 10 years, and ten years later the house is worth 10x as much, but every other house is only worth twice as much did the value of the deal change?
Yea unfortunately I agree and stops me using it at least in a corporate capacity which would have been a paid for account.

May use for personal use though, for free.
Facebook and Twitter actively remove such content. Does Parler?
Of course you can organize serious crimes on Parler.

But that's also true of telephony, postal letters and in person conversations. Uncountable murders have been organized through those channels!

Does that mean those means of communication should also at least be monitored, and maybe banned outright? If not, what is the difference?
As an Intel Jones Farm campus employee: I hope so.

Every company has different problems that employees experience. Making CPUs is inherently less political than web search and ad tech, and so I suspect there's less interest in social justice type protests at Intel than at Google, and maybe more economic concerns or general work environment concerns.

I think there are also a lot of industry common practices that ought to changee but may require not just individual unions at different companies but unions in multiple companies working together.

Examples include: onerous intellectual property agreements, excessive executive compensation tied to short-term stock gains, anti-compete clauses, severance packages with anti-disparagement clauses, and whole-day uncompensated interviews.

There are also rights that I think should be commonplace in the tech industry: certain minimum working conditions, like a minimum cubicle size, high cube walls if you prefer them, and multiple monitors of a reasonable size and resolution, the right to refuse work if documentation required to do one's job correctly is unintelligible or nonexistent, the right to have any question raised by ten or more employees be addressed in a timely fashion by senior management (even if the legitimate answer sometimes is "that's a secret, we can't tell you for strategic or legal reasons"), the right to have your name and contributions to the company listed publicly if you want, the right to (in cases where it doesn't directly undermine the company's ability to collect revenue) publish one's work with an open source license, and so on.

Anyone working in the tech industry could come up with their own list that would be different, but maybe there's enough overlap to make collective action workable.
Wouldn’t this create more tension by the violent rioters taking it as an offensive to the president by the left?
Let’s not assume that one “side” is racist and the other isn’t. It’s both wrong and unproductive.
The point is these platforms are actively banning apps that appeal to a political party that represents half of America. if Parler is banned from the App Store a PWA is the next best thing.
As Trump is the President of the United States, knowing what he says is in the public's interest - until the end which is reached nowadays.

That's why this action happened now and not much earlier.
Said another way: they refused to provide backup until they were sure the coup had failed.
> Your original question was whether OP was scared of the Women’s March murdering them.

Yes the point of the question was to tease out what concrete differences there were between the two to justify fear of murder in the second case. It seems like his fear is more based on narrative and assumption of bad faith than any direct evidence of intent to “take the capital” violently. The violence was perpetrated against the protestors, not by them.

> But signs point to him being killed by one of the terrorists, so I’ll continue to describe it as murder until evidence arises to the contrary.

You should assume innocence until proof of wrongdoing. Anything else is illiberal.
Every Starbucks in the world uses them.
Agreed. Dustin should probably do a little more work to secure it, however posting fail... Total jerk move.
It seems more versatile, yes. I don't know if that dilutes or improves the service, though.
OK, let's try.

I think it can be done in 40 minutes, one hour tops. 15 minutes to explain what a function is:

f1 : ℝ -> ℝ
f1 = x |-> a × x + b

f2 : (ℝ × ℝ) -> ℝ
f2 = (x, y) |-> x + y - 1

f3 : ℝ -> ℝ -> ℝ
f3 = (x, y) |-> x + y - 1
(I fear curryfication can't be skipped)

f4 : (ℝ -> ℝ) -> ℝ -> ℝ
f4 = f |-> x |-> f(x)

f5 : ∀ a, ∀ b, (a -> b) -> a -> b
f5 = f |-> x |-> f(x)
(Polymorphic types may be left out, but I think
they're important)

Then 5 minutes to explain what a recursive function is:

fac : ℕ -> ℕ
fac = 0 |-> 1
x |-> x × fac(x - 1)

Then 5 minutes to present a fix point combinator…

fix : ∀ a, (a -> a) -> a
fix = f |-> f (fix f)
(or we could just say that a is ℕ)

…and implement the factorial with it.

ffac : (ℕ -> ℕ) -> ℕ -> ℕ
ffac = f |-> 0 |-> 1
f |-> x |-> x × (f(x - 1))

fac : ℕ -> ℕ
fac = fix(fac)

We can do a step by step, normal order evaluation. If any question is asked, just say that evaluating the arguments first just won't work here.

Then, maybe 5 more minutes to explain the concept of self reference without actually naming oneself:

~PM(~P)

Where you assume that for any "printable" string X, PX is true, ~PX is false; that for any X such that XM(X) is printable, PM(X) is true; and that any printable string is true, or just don't have the form PX or ~PX. You will note that ~PM(~P) is true and not printable, because it basically says "I am not printable". This is an anonymous self reference.

Finally, we can go on and present the Y combinator itself. It does the same thing as the "fix" combinator, we just have to show that's because there is an anonymous self reference somewhere. I think it can be done in 10 minutes.

Phew. Done. And I didn't use any knowledge that a high school kid shouldn't have. Did I miss something?
"The Gospel According to Jesus Christ" is the funniest, most blasphemous, theological novel since Mikhail Bulgakov's "The Master and Margarita." It really deserves to be better known...
While I agree that not allowing you to change your name is annoying, I feel relating it to sexism seems a bit extreme.
Hoping for a chrome one, soon. :)
Except in 2005 I bought a chip under 45W and sense then going lower each year, but the graph shows the W/perf as flat.
I didn't think that far. I had the idea and immediately threw it out to the HN community.

I'm going to look at the possibilities and let the business model organically arise from that.

First thing first is deciding on a platform.
You can also sometimes do follow up courses.

My degree was in Maths/Comp-Sci, and as a result, I didn't have some of the courses I wanted open to me on CS due to clashes with compulsory Maths modules for some lectures. Me and a friend ended up sitting at the back of the 50% we could attend (on Networking), and doing a bit of work. After an interview with the prof we were allowed onto the subsequent modules that required the course, despite having never sat the exam...in his words, "It's your degree if you fail it.."
>NOTE: You can always find a character boundary from an arbitrary point in a stream of octets by moving left an octet each time the current octet starts with the bit prefix 10 which indicates a tail octet. At most you'll have to move left 3 octets to find the nearest header octet.

This is incorrect. You can only find boundaries between code points this way.

Until your you learn that not all "user perceived characters" (grapheme clusters) can be expressed as single code point Unicode seems cool. These UTF-8 explanations explain the encoding but leave out this unfortunate detail. Author might not even know this because they deal with subset of Unicode in their life.

If you want to split text between two user perceived characters, not between them, this tutorial does not help.

Unicode encodings are is great if you want to handle subset of languages and characters, if you want to be complete, it's a mess.
I know I could look it up but having an explanation of what any of the variables mean would make this not useless.
It seems you need a version of WhatsApp on your phone that isn't out yet.
This is a cool idea for Amazon but would be really really useful for TripAdvisor. That thing is so blatantly riddled with some people gaming it. I myself have reported people for being ridiculously obvious about it.
Sorry, your browser is not fully supported

There may be some issues with pages layout in your
current browser.
Please use an alternate browser until we resolve the issues.
Thank you.

and no way to skip - it's fullscreen, I see no website.
I really think the answer for this is just going to be dependent on the person. For me, depending on the field, I could either ace it or possibly experience the abject terror. For the subjects that I could ace, e.g. (human) languages and CS, it was boredom/annoyance at even having to take the test. But then again I ultimately quit school and took a software "engineering" position.
Right click and copy the url at the top of the page? I don't understand what the problem is with showing an ad underneath it.
This is Horace Dideu's take on Apple's revenue: http://www.asymco.com/2013/08/22/the-revenue-table-imperial-...

Profit-wise, Apple claim that their digital stores only break-even, but revenue-wise, the stores dwarf the Macintosh line, with music alone matching Macs.
> I think if you dig in, you'll find it's a few orders of magnitude higher.

Based on what? If the goal is just to capture all the wholly domestic communication possible, why engage in this elaborate charade of procedures that are done in secret and not publicly visible anyway?
>I think it's mainly hokum.

Ha! I completely agree. Drink snobbery, whether relating to coffee, beer, wine, or [insert beverage here], has always seemed like confirmation bias in action. Is Startbucks really undrinkable sludge to some people, or is only that way because of that sweet, sweet feeling of smug superiority that they feel when they say it?

I am one of the few that is nerdy enough to blind test myself and friends with things that have an entire culture of snobs around them -- a trait which I picked up after working in the audio industry for years (where people will believe and argue to the death about magical cable properties (give me measurements, or give me death!)).

If I could assemble enough coffee samples, I would love to put myself under test and see if one is empirically "better" to my taste buds. However, logistically it's not possible.

That said, beer and wine is readily available, transportable, and easily testable! So, my girlfriend and I set up a tasting night a few months ago. We grabbed a 6 pack of every cheap beer in the grocery store (pbr, miller lite, Natural Ice, bud, etc..), and then a whole range of wines -- everything from the $70 2011 wine of the year, to a $3 ABC brand bottle. We randomized each trial, poured the wines into glasses and then left the room so others could enter so we wouldn't influence their decisions (our attempt at setting up a double blind test). We had people log their impressions of each one, and then attempt to rate them in ascending order of "quality."

After 4 or 5 trials (it stopped being fun around the 3rd set of trails) we called it quits and looked at everyone's results. It was pretty interesting. In with cheep beer, there was only one consistent looser, and that with Miller Lite (I honestly expected it to be Natural Ice), the rest were all randomly distributed. No one could tell one from the other -- or if one was better than the other -- with any reliability. It actually made it a little frustrating while testing, as some people (including me) though they were being messed with by having several glasses all with the same beer.

The wine had similar results. No clear winner. Result were all over the place with the "best" tasting wine being different for each person each time. With my pallet, I couldn't discern one as being "better," so much as just "different." This one is a little more X, while this one is a little more Y. It was an interesting experience. So, moral of the story, I only buy cheap wine now, because I honestly can't taste the difference. That $70 bottle wasn't even distinguishable from the rest.

I've rambled, but I highly suggest self testing! It's fun, and I can now say that, empirically, Miller lite is undrinkable piss water to my taste buds :)
Did you read the article? The conclusion is that anyone making between 20,000 and 200,000 would see their share of the federal tax burden rise, and those making over 200,000 would see it fall. The paragraph you're quoting from is in a section that could have been titled "Fuck It, It's A Regressive Tax But It's Still Good".

You wrote: The "tax increase" you mention is not an increase, read up on the Fair Tax. The prebate is designed to eliminate the potentially regressive nature of the tax. You were incorrect. You cannot now move the goalposts.
Any parameter/argument is named in Python. What you're providing are default values for arguments.
and people will become smarter

Unfortunately, my impression is the opposite - people are slowly being dissuaded from discovering these restrictions by the promises of convenience, and when they do run into them, they're faced with heavy rhetoric to the effect of "it's for your security" so they (reluctantly) accept it. Incidents like this appear isolated and are downplayed by the majority, who will continue to use the very services that restrict them, purely out of convenience.

Corporations are diverting people's actions of sharing information into their own channels so they can exert more control over them - witness all the "share on Twitter/Facebook/etc" buttons appearing everywhere (I personally block them, but I know they exist); they sure are convenient to use, and as a side-effect of their use, it reduces the amount of people who will "manually" and directly share with others (and thus know more about the transfer of information themselves.)

The same is happening with other types of media too, as evidenced by all the efforts to hide the filesystem of devices from users, since one of the most open ways to share data with someone is to give them a copy of a file. They are even trying to discourage linking to a resource, with browser vendors thinking of hiding URLs or parts of them. Ultimately, they are pushing for a world in which no one owns their (tightly locked-down) computing devices or has any knowledge of how they work (except for a few "specialists"), and all communication between individuals happens via some corporate intermediary. This makes it easier to censor and manipulate the users (probably to squeeze $$$ out of them), which is what the whole idea is about.
Best of luck on your startup! It looks like your goals for Ikura are more ambitious than mine for Jobber --- e.g., Jobber doesn't spawn multiple instances of a job like Ikura does.
Just wait until they shut down gmail.
It was called Ext-VOS.

http://blogs.msdn.com/b/dsyme/archive/2012/07/05/more-c-net-...

WinRT is basically Ext-VOS reborn with .NET metadata.
I can see reasons for requiring non-alphanumeric characters in a password (even though the reasoning behind that might not be valid). But why the hell you would want to forbid using them, is beyond me. Still I've seen this in pretty many sites, even modern ones.

Maybe they don't have proper parametrized queries and are afraid of SQL injections :)
I know a locksmith and he says exactly the same thing. If he has to open someone's front door he starts out with the lockpick keys and just fiddles around with them in the door for a while. Then he goes out to his van and brings in some other tools or cleaners and plays around for a while some more. Finally, he goes out to his van and gets the jiggler gun thingo and opens the door in 10 seconds.

The customer feels less ripped off, and the door is open. Win win.

Once when I locked myself out and needed a locksmith he went to do the same - started with the picks and I said "just use the gun, I don't mind" and the door was opened within the minute! They all do it I tells ya!
To be fair, those scraping pick guns don't take nearly as much skill as using the actual lockpicks...
Blu-tack a cheat-sheet to the wall. Worked for me.