๐ Quick links thread
-
The key to making programs fast is to make them do practically nothing
Words to live by, too often overlooked. In our Enterprise Age, programs are usually required to do practically everything in order to achieve anything.
-
@cartman82 said in ๐ Quick links thread:
Why is grep fast
Author of
grep
reveals some of the tricks they used to make it fast.'It was easy, we just asked @SpectateSwamp to write it for us and it just worked!'
-
@ScholRLEA try renaming
grep
tossds
and it completely changes behaviour
-
Bit of history behind more and less, and why we have both
-
-
http://www.cnet.com/news/farmer-uses-drone-to-capture-aerial-view-of-his-cow-art/
The video has two parts that happen simultaneously. The main image is from a drone hovering above the field. The inset image is of Klingenberg in his feed truck, driving around as the cows follow him about. The strategic placement of food helps the farmer move the cows where he wants them so they form a smiley face when seen from the air.
-
@Zecc How did he get a drone that lasted so long in the air?
Don't most drones only have a life of like, 15 minutes?
-
@Zecc Those ants look like cows from up here.
-
@ScholRLEA said in ๐ Quick links thread:
@cartman82 said in ๐ Quick links thread:
Why is grep fast
Author of
grep
reveals some of the tricks they used to make it fast.'It was easy, we just asked @SpectateSwamp to write it for us and it just worked!'
Greppler was a smart old dude but hasn't done anything lately
-
@SpectateSwamp said in ๐ Quick links thread:
@ScholRLEA said in ๐ Quick links thread:
@cartman82 said in ๐ Quick links thread:
Why is grep fast
Author of
grep
reveals some of the tricks they used to make it fast.'It was easy, we just asked @SpectateSwamp to write it for us and it just worked!'
Greppler was a smart old dude but hasn't done anything latelyUhm... what are you talking about? Greppler? The name GREP is an acronym ('Global Regular Expression Parser').
-
@ScholRLEA said in ๐ Quick links thread:
@SpectateSwamp said in ๐ Quick links thread:
@ScholRLEA said in ๐ Quick links thread:
@cartman82 said in ๐ Quick links thread:
Why is grep fast
Author of
grep
reveals some of the tricks they used to make it fast.'It was easy, we just asked @SpectateSwamp to write it for us and it just worked!'
Greppler was a smart old dude but hasn't done anything latelyUhm... what are you talking about? Greppler? The name GREP is an acronym ('Global Regular Expression Parser').
OMG I didn't know that! figures a well-used Linux program is actually an acronym...
-
@ScholRLEA said in ๐ Quick links thread:
The name GREP is an acronym ('Global Regular Expression Parser').
I was told many years ago that the name came from an ed-ism:
g/re/p
. Theg
is for global, yes, but thep
is for print. I've no way to verify that this is the real origin.
-
@dkf That may be, as Wicked-Pedo agrees with you; I heard that explanation before but forgot it. That probably was the original source, with the acronym coming later as a backronym. Either way, it didn't come from Greppler (which apparently is a legitimate surname, but no one by that name was involved in it).
-
I had to share this when I saw
There are ideas to stop talking about serverless and start talking about servicefull, then thereโs also a half-serious proposal to rename the whole thing to Jeff.
-
No links (cause the source site is horrible at getting linked) but just an image:
According to the accompanying title text he hasn't gotten it re-approved for road use yet.
-
@Yamikuronue said in ๐ Quick links thread:
recycled fad?
This. Yes, it's possible to do without servers in a formal sense (or rather to make everything have some server-ness about it) but there are good configuration and security reasons for splitting servers and clients, and they're not going away.
-
@dkf said in ๐ Quick links thread:
splitting servers and clients
Skimming through the article, I don't think it's treading on the client-server separation (I was kind of hoping for them to propose some crazy peer-to-peer architecture, if only to bash them over the heads for it), but rather promoting Amazon Lambda and other platforms where instead of running a "server", or even an "application", you define each of your endpoints/scheduled tasks/whatever separately on the cloud platform. Kind of RPC-as-a-service stuff.
Which is admittedly cool stuff - you can (potentially - not sure if they allow it), say, decide your
createWidget
procedure which does lots of business logic and validation should live on a beefier machine thangetAllWidgets
, which instead gets a bigger pipe to the database. Or realize a part of your website is extensively used in, say, Asia and relocate the endpoints responsible for it to another data center.But "serverless" is a buzzword in this context. There's still a "server" in the architectural meaning of the word, it's just that your application (or rather a set of loosely coupled procedures) doesn't live on a single physical server.
-
-
@Maciejasjmj Reading the article is a toโฆ
Some applications fit that model better than others, but most of the stuff that people write about this assumes that everything fits just nicely because they've got something to sell. Could be hosting, could be consultancy, could even be their world view (though that's usually resolved to one of the other two curiously enough ;)). Not everything is so convenient though; big data is one of the examples of this (as it is expensive to move around, either in terms of time or money).
-
@Tsaukpaetra said in ๐ Quick links thread:
figures a well-used Linux program is actually an acronym
I wouldn't have been surprised if it stood for grep regular expression parser
-
Linus on point about lawyers:
A few excerpts:
"Lawyers: poisonous to openness, poisonous to community, poisonous to
projects".Let's just be honest and very clear for a moment. I realize that that
is hard when talking about legal issues, but let's just cut through
all the bullshit and try.The fact is, the people who have created open source and made it a
success have been the developers doing work - and the companies that
we could get involved by showing that we are not all insane crazy
people like the FSF.
-
@dse quoted Linus in ๐ Quick links thread:
"Lawyers: poisonous to openness, poisonous to community, poisonous to
projects".IME, lawyers are all about โyou say what you want to do, I'll help you find a way to do it within the lawโ. They usually don't have much of an objective themselves other than to become a judge and/or make a lot of money. Also, lawyers are also all about converting your budget into their fees.
-
-
This happens (with varying degrees) in 90% of the startups. Startup life is volatile and stressful. Leave it to college graduates who have no life, and stick to your tried-and-true old fashioned companies.
-
Hm, I think you just doxxed @Lorne-Kates' personal website...
-
-
@dse Welcome to Dot Bomb, round 3. Or is it 4, already? Anyway, BAU in Silly Valley.
-
-
Amateur Radio Sleuthing Pins Down Source of Strange RF Interference
2016 08 09 http://www.arrl.org/news/view/amateur-radio-sleuthing-pins-down-source-of-strange-rf-interference
Summary:
Police in Evanston, Illinois, investigated an apparent interference source in an area where key fob owners found they could not open or start their vehicles remotely until their vehicles were towed at least a block away, nor were they able to call for help on their cell phones when problems occurred.
When they asked the FCC to help they were told it considered key fob malfunctions a problem for automakers.
Then they asked to Kermit Carlson, from the ARRL (national association for Amateur Radio in the US) Lab, if he could take a look.
He voluntered, carried some instrumental and inspected the area with the aid of police and some locals.
The interference source turned out to be a recently replaced neon sign switching-mode power supply, which was generating a substantial signal within the on-street parking area just across the sidewalk, between 8 and 40 feet from the sign.
The problematic power supply interference also disabled Carlsonโs cell phone when he was within a few feet of the device.
-
@Yamikuronue said in ๐ Quick links thread:
Serverless architectures: game-changer or a recycled fad?
Missing from any of the advocates' spiels I've heard so far:
- At what scale it even makes sense to worry about "scaling"?
- How reliable are these integration platforms?
- How do you deal with debugging, strange errors, gremlins?
- How do financial terms with Amazon/Google/MS scale? Once you are fully invested in a particular proprietary lambda platform and can no longer easily escape, what's stopping them from treating you like IBM treats their "customers" / hostages?
-
@dse said in ๐ Quick links thread:
[Ksummit-discuss] [CORE TOPIC] GPL defense issues
Haha, crazy Linus said "bullshit". Linus is so crazy!
-
@cartman82 Linus, you so cray!
-
@Yamikuronue You write your application logic. You hand it to a computer, it runs it. That's all. I don't see why people are making this seem so fucking complicated. The whole idea of having to spawn a VM with an entire fucking OS on top just to run your python script to ping your website every 30 seconds is and has always been madness.
Here's what the next big thing will be: apps that can run locally (when using a beefy desktop system) or remotely (when using a smartphone), and even switch from one to the other without the user noticing anything.
-
@dse said in ๐ Quick links thread:
"Lawyers: poisonous to openness, poisonous to community, poisonous to
projects".A poisonous concept in general.
Think about it: laws are just rules that we force people to follow to keep things running. The existence of lawyers means those rules have become so complicated that people are not expected to be able to understand them.
That in itself is a pretty bad thing, but it gets worse: they have a strong incentive to keep things that way, and enough power to make it happen. Does literally anyone in the entire fucking legal system have the opposite incentive? I don't think so.
-
@bb36e said in ๐ Quick links thread:
@cartman82 Linus, you so cray!
Filed Under: you must have seen that coming.
-
https://www.youtube.com/watch?v=LluTdhxdrxQ
Feminist goes to live as a man for a year and a half, to see what it's like. IMO her conclusions are wrapped because she gravitated towards typical male things and situations (bowling, strip clubs, men only therapy). But it's still interesting.
-
@cartman82 said in ๐ Quick links thread:
How do financial terms with Amazon/Google/MS scale? Once you are fully invested in a particular proprietary lambda platform and can no longer easily escape, what's stopping them from treating you like IBM treats their "customers" / hostages?
Did the due diligence for this a few years back, and I don't think the answer has changed much since. Until you get quite a lot larger than anything you can get without having a good talk with their sales team, your ability to switch isn't too badly hampered unless you insist on tying into every single bell and whistle that their platforms provide. However it doesn't pay to over-trust them at all. You don't want to set your virtual services up by hand, backing up your key data to systems that you control is wise, and never make changes directly in production.
You know, usual good practice. And don't take my word for it if your company's ass is on the line! Do your own homework!
-
In defense of Douglas Crockford
Fucking cry-bullies just can't leave the poor guy alone. This shit needs to stop. Time for people to speak up, like this guy.
-
Everything I've been able to find points to two comments Crockford has made: one being labeled as sexist and the other as slut-shaming. The first comment he made which you can watch here was as harmless as:
"Instead we're adding a second kind of object which unfortunately is known as weak map. And that's a problem because nobody wants to put anything weak in their program, right?" * flexes on stage *
The second incident which you can also watch for yourself is where he "slut-shames the web" [1] [2]:
"So the old web was great because it provided promiscuity. It meant that you could go and connect to anything and you're probably going to be okay. You might get shocked and embarrassed but your machine's not going to get taken over, your identity is not going to get stolen. That hasn't always been true but pretty much the web can do that and that's good because that allows us to get introduced to things. We used to call it surfing. That you could go from one thing to another and discover stuff and start forming relationships. Unfortunately, the same thing which allows the promiscuity to work is very bad for dealing with commmitment. So that's what the new web is for. You know, once I have found my bank I want to make sure from this point on I'm talking to my bank and I'm not talking to anything which pretends to be my bank."
i'm failing hard to see what is offensive in those statements. one is a joke that could be considered of bad taste, and the other... well, i have no clue.
-
-
@cartman82 said in ๐ Quick links thread:
leave the poor guy alone
To be fair, he is almost single-handedly responsible for the fact that everything is Javascript now.
-
@cartman82 If I squinch one eye shut and look at him sideways, I can kinda sorta see the reasoning that might lead a person to take Crockford's comments on weak maps and web promiscuity as offensive but Christ on a bike they'd have to be working hard at it. Also, I suspect that those offended are all too young to have paid attention to stuff like Promiscuous Mode in network interface controllers.
That said: it's up to the organizers of any conference to make the call on who speaks at it, and the only reasonable basis upon which to do that is to consider the preferences of the attendees. If the Nodevember organizers would rather run a conference for people who are more offended by the words "weak" and "promiscuous" than they are about being denied the opportunity of access to well-known technical expertise, they're entitled to do that.
In my view, the mature response to thinking Nodevember has lost its mind is simply not to go. If instead you start fulminating and pontificating about awful people doing awful things, you're simply doing the exact same thing you're objecting to.
Crockford will always have an audience because Crockford knows things that other people are interested in learning. Being turned into a political football in yet another SJWs vs manbabies online war is, I'm sure, quite low on his list of priorities.
-
@flabdablet said in ๐ Quick links thread:
That said: it's up to the organizers of any conference to make the call on who speaks at it, and the only reasonable basis upon which to do that is to consider the preferences of the attendees. If the Nodevember organizers would rather run a conference for people who are more offended by the words "weak" and "promiscuous" than they are about being denied the opportunity of access to well-known technical expertise, they're entitled to do that.
In my view, the mature response to thinking Nodevember has lost its mind is simply not to go. If instead you start fulminating and pontificating about awful people doing awful things, you're simply doing the exact same thing you're objecting to.
That would all be well and good, if they decided not to invite him in the first place.
It's not like this was some recent revelation about Crokford's attitude and sense of humor. This is all old news. They knew what they were getting when they brought him in. The fact that they then decided to publicly un-invite him based on some internal SJW politics kerfuffle is, IMO, inexcusable.
-
@Jarry said in ๐ Quick links thread:
"Instead we're adding a second kind of object which unfortunately is known as weak map. And that's a problem because nobody wants to put anything weak in their program, right?" * flexes on stage *
How is that sexist? If anything it's discriminatory against weak people.
Are they implying {sex} is weaker than {other sex}? :only_half_trolling:
-
@cartman82 said in ๐ Quick links thread:
The fact that they then decided to publicly un-invite him based on some internal SJW politics kerfuffle is, IMO, inexcusable.
When "internal SJW politics kerfuffle" translates to "half our other speakers aren't coming if Crockford does" then as a conference organizer you're between a rock and a hard place. The most reasonable thing to do under those circumstances is to disappoint as few attendees as possible. How to go about doing that comes down to a judgment call on the attitudes of your attendees.
The only people with actual standing to object to their decision are ticket holders for their conference; if you weren't intending to go anyway, your opinion about what they've done is essentially irrelevant.
In my own irrelevant opinion, they've at least done the right thing by offering refunds to people for whom Crockford was the main drawcard.
Also in my own irrelevant opinion: I haven't seen anything from Crockford that could reasonably be described as either sexist or slut-shaming, and if I were organizing a conference and had received objections to Crockford's inclusion on the sole basis of the "weak" and "promiscuous" video snippets presented above, I would be dismissing those objections as specious. But I'm not organizing such a conference, and I don't know any of the organizers, nor any of the speakers, nor Crockford; so I'm not in any position to hold - much less publish - an informed opinion on whether or not the Nodevember organizers have done something "unforgivable".
-
@flabdablet said in ๐ Quick links thread:
When "internal SJW politics kerfuffle" translates to "half our other speakers aren't coming if Crockford does" then as a conference organizer you're between a rock and a hard place. The most reasonable thing to do under those circumstances is to disappoint as few attendees as possible. How to go about doing that comes down to a judgment call on the attitudes of your attendees.
The most reasonable thing when terrorized is to negotiate with terrorists.
Doesn't make it the correct or good thing.The organizers could have taken a stand. Let the crybullies go against Crokford directly, in the open. Instead, the organizers allowed them to backstab him from the safety of anonymity they provided. Disgusting.
@flabdablet said in ๐ Quick links thread:
The only people with actual standing to object to their decision are ticket holders for their conference; if you weren't intending to go anyway, your opinion about what they've done is essentially irrelevant.
So a moral argument or critique is only relevant if you are directly affected? Otherwise, we should all shut up about any bad thing in the world that don't touch us directly?
-
@cartman82 said in ๐ Quick links thread:
we should all shut up about any bad thing in the world that don't touch us directly?
Depends on the extent and accuracy of the information available about the issue.
For the vast bulk of industry/subculture insider disputes, and anything that doesn't really exist outside the twitter/youtube/4chan/reddit/tumblr complex, the default position would have to be "yes".
-
@cartman82 said in ๐ Quick links thread:
backstab
Really, though? Crockford is pretty damn secure in his fame. This is at best a minor blip in his timeline.
-
@Yamikuronue said in ๐ Quick links thread:
Really, though? Crockford is pretty damn secure in his fame. This is at best a minor blip in his timeline.
It's a clear signal to everyone else that, if you have a dissenting opinion from the twitter gestalt, you better shut up about it.
My main concern is the big picture, not the particulars of this or that *gate.
-
@cartman82 I mean, I just figure, Crockford has always had his own opinions, and going up against him just reflects badly on the twitter gestalt rather than really posing a threat. I don't really see the JS community being intimidated by this, you know?